/*
Theme Name: Shop4
Theme URI: nhanbt95
Author: Your Name or Company
Author URI: https://example.com/
Description: A modern and elegant beauty and cosmetics WordPress theme inspired by the Vela design. This theme is fully responsive and built with a strong design system for easy customization.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: e-commerce, beauty, cosmetics, responsive-layout, custom-colors, one-column, two-columns, accessibility-ready
Text Domain: vela
*/

.announcement-bar {
  background-color: var(--color-accent-hover);
  color: var(--color-text-inverse);
  text-align: center;
}

.announcement-bar__text {
  margin: 0;
  font-size: var(--font-size-base);
  letter-spacing: var(--spacing-sm);
}

/* 6.2 - Main Header Layout */
.site-header {
  background-color: var(--color-white);
  padding: var(--spacing-lg) 0;
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  /* 3 columns: Left - Center (auto) - Right */
  align-items: center;
  gap: var(--spacing-lg);
  padding: var(--spacing-sm) 0;
}

/* 6.3 - Logo */
.site-header__logo {
  /* Center logo in its column */
  height: 80px;
  width: 170px;
}

.logo-text {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 2px;
  line-height: 1;
  color: var(--color-text-primary);
  text-transform: uppercase;
}

.logo-text span {
  color: var(--color-accent);
}

/* 6.4 - Main Navigation (Desktop) */
.main-navigation ul {
  display: flex;
  justify-content: flex-start;
  /* Align menu to the left */
  align-items: center;
  gap: var(--spacing-xl);
}

.main-navigation ul a {
  font-size: var(--font-size-sm);
  position: relative;
  padding: var(--spacing-sm) 0;
  font-family: var(--font-family-secondary);
  text-transform: uppercase;
}

.main-navigation ul a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent-hover);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-fast);
}

.main-navigation ul a:hover::after,
.main-navigation .current-menu-item>a::after {
  transform: scaleX(1);
}

.site-header__actions {
  justify-self: end;
}

.header-actions-list {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.header-action-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  position: relative;
  color: var(--color-text-primary);
}

.header-action-item .material-icons {
  font-size: 27px;
  transition: color var(--transition-fast);
  vertical-align: middle;
  position: relative;
  color: var(--color-accent);
}

.wooo_login:hover {
  cursor: pointer;
}

.header-action-item:hover>span {
  color: var(--color-accent);
}

a.header-action-item:hover .material-icons,
a.header-action-item:hover span {
  color: var(--color-accent-hover);
}

.header-action-item .count-badge {
  position: absolute;
  top: -8px;
  right: -12px;
  background-color: var(--color-accent);
  color: var(--color-white);
  width: 18px;
  height: 18px;
  border-radius: var(--border-radius-full);
  font-size: 11px;
  font-weight: var(--font-weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* 6.6 - Mobile Navigation & Toggle */
.mobile-nav-toggle {
  display: none;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-box {
  display: inline-block;
  position: relative;
  height: 80px;
  width: 80px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 34px;
  height: 2px;
  background-color: var(--color-accent);
  position: absolute;
  transition: transform 0.2s ease-in-out;
}

.hamburger-inner {
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
}

.hamburger-inner::before {
  content: '';
  top: -10px;
}

.hamburger-inner::after {
  content: '';
  bottom: -10px;
}

.mobile-nav-active .hamburger-inner {
  background-color: transparent;
}

.mobile-nav-active .hamburger-inner::before {
  transform: translateY(10px) rotate(45deg);
}

.mobile-nav-active .hamburger-inner::after {
  transform: translateY(-10px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  max-width: 80%;
  height: 100vh;
  background-color: var(--color-background);
  box-shadow: var(--box-shadow-medium);
  padding: var(--spacing-xxl) var(--spacing-xl);
  z-index: 1000;
  transition: right var(--transition-smooth);
  overflow-y: auto;
}

.mobile-nav--is-open {
  right: 0;
}

body.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav ul li {
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav ul a {
  display: block;
  padding: var(--spacing-lg) 0;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  display: flex;
  align-items: center;
}

/* 6.7 - Responsive Media Queries */
@media (max-width: 992px) {
  .site-header__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
  }

  .site-header__logo {
    text-align: left;
  }

  .site-header__navigation,
  .site-header__actions {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
    justify-self: end;
  }
}

/*
==============================================
  CUSTOM CATEGORY GRID SECTION
==============================================
*/
.custom-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* CÃ¡Â»â„¢t giÃ¡Â»Â¯a nhÃ¡Â»Â hÃ†Â¡n 2 cÃ¡Â»â„¢t bÃƒÂªn */
  gap: var(--grid-gap, 1.5rem);
  align-items: stretch;
  margin-top: var(--spacing-xl);
  max-width: 800px;
  margin: 0 auto;
}

.custom-category-grid .category-item {
  padding: var(--spacing-md);
}

.category-item a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

.category-middle-column {
  display: flex;
  flex-direction: column;
  gap: var(--grid-gap, 1.5rem);
}

.category-image-wrapper {
  overflow: hidden;
  width: 100%;
  flex-grow: 1;
  /* Cho phÃƒÂ©p wrapper co giÃƒÂ£n Ã„â€˜Ã¡Â»Æ’ lÃ¡ÂºÂ¥p Ã„â€˜Ã¡ÂºÂ§y khÃƒÂ´ng gian */
  border-radius: var(--border-radius-md);
}

.category-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-smooth, 0.3s ease-in-out);
}

.category-item .category-title {
  text-align: center;
  margin-top: var(--spacing-sm, 0.5rem);
  font-family: var(--font-family-header);
  font-size: var(--font-size-base, 1.2rem);
  font-weight: var(--font-weight-normal, 400);
  color: var(--color-text-primary, #222222);
  padding: var(--spacing-sm, 0.5rem);
  transition: color var(--transition-fast, 0.2s ease);
  text-transform: uppercase;
}

.product-section .section-title,
.category-section .section-title,
.highlights-title,
.tips-section .section-title {
  color: var(--color-accent-hover);
}


.wc-block-components-order-summary .wc-block-components-order-summary-item__image {
  width: 50% !important;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__image>img {
  width: 100% !important;
  max-width: 100% !important;
  object-fit: scale-down;
}

@media(max-width: 1280px) {
  .wc-block-components-order-summary .wc-block-components-order-summary-item {
    flex-wrap: wrap !important;
  }
}

/* Hover effects */
.category-item a:hover img {
  transform: scale(1.05);
}

.category-item a:hover .category-title {
  color: var(--color-accent-hover, #ea5847);
}

.section-title {
  position: relative;
  margin-bottom: 2rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--color-accent-hover, #ea5847);
  border-radius: var(--border-radius-sm, 4px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .custom-category-grid {
    grid-template-columns: 1fr 1fr;
    /* ChuyÃ¡Â»Æ’n thÃƒÂ nh 2 cÃ¡Â»â„¢t */
  }

  /* Ã„ÂÃ¡ÂºÂ©y cÃ¡Â»â„¢t bÃƒÂªn phÃ¡ÂºÂ£i xuÃ¡Â»â€˜ng hÃƒÂ ng mÃ¡Â»â€ºi vÃƒÂ  chiÃ¡ÂºÂ¿m trÃ¡Â»Ân chiÃ¡Â»Âu rÃ¡Â»â„¢ng */
  .category-item-large:last-child {
    grid-column: 1 / -1;
    margin-top: var(--grid-gap, 1.5rem);
  }
}

@media (max-width: 768px) {
  .custom-category-grid {
    grid-template-columns: 1fr;
    /* ChuyÃ¡Â»Æ’n thÃƒÂ nh 1 cÃ¡Â»â„¢t */
  }

  .category-item-large:last-child {
    margin-top: 0;
    /* BÃ¡Â»Â margin top khi Ã„â€˜ÃƒÂ£ vÃ¡Â»Â 1 cÃ¡Â»â„¢t */
  }
}

/*
==============================================
8.2 - Product Section
==============================================
*/
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4 columns on desktop */
  gap: var(--grid-gap);
}

.product-card {
  text-align: left;
}

/* --- Image and Hover Effects Section --- */
.product-card__image-wrapper {
  position: relative;
  /* Important for positioning child buttons */
  background-color: var(--color-surface-tertiary);
  /* Light background color for the image */
  border-radius: var(--border-radius-lg);
  margin-bottom: var(--spacing-lg);
  /* border: 1px dotted var(--color-accent-hover); */
  overflow: hidden;
  /* Hide overflowing child elements */
}

.product-card__image-wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  /* Ensure the image is always square */
  object-fit: contain;
  /* Display the entire product, without cropping */
  transition: transform var(--transition-smooth);
}

.product-card__image-wrapper a {
  opacity: 2;
}

/* Dark overlay on hover */
.product-card__overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  width: fit-content;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: all var(--transition-smooth);
}

/* Quick View Button */
.btn--quick-view,
.btn--view {
  background-color: var(--color-accent-hover);
  color: var(--color-white);
  padding: var(--spacing-sm) var(--spacing-sm);
  border-radius: var(--border-radius-lg);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  transform: translateY(20px);
  /* Slide up effect */
  transition: all var(--transition-smooth);
  border: 1px solid var(--color-accent-hover);
  text-align: center;
  display: flex;
  justify-content: center;
  align-content: center;
}

.btn--quick-view:hover,
.btn--view:hover {
  background: var(--color-white);
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

.btn--quick-view .material-icons,
.btn--view .material-icons {
  font-size: 27px;
}

/* Wishlist Button */
.btn--wishlist {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  background: var(--color-white);
  border: 1px solid var(--color-accent-hover);
  border-radius: var(--border-radius-full);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  /* Hidden by default */
  transform: translateX(20px);
  /* Slide in effect */
  transition: all var(--transition-smooth);
}

.btn--wishlist .material-icons {
  font-size: 20px;
  color: var(--color-accent-hover);
}

/* --- Activate Hover Effects on Image --- */
.product-card__image-wrapper:hover .product-card__overlay {
  opacity: 1;
}

.product-card__image-wrapper:hover .btn--quick-view,
.product-card__image-wrapper:hover .btn--view {
  transform: translateY(0);
  margin-left: 5px;
}

.product-card__image-wrapper:hover .btn--wishlist {
  opacity: 1;
  transform: translateX(0);
}

.product-card__image-wrapper:hover img {
  transform: scale(1.05);
  /* Slight image scale */
}


/* --- Product Information Section --- */
.product-card__info {
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.product-card__title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-normal);
  margin-bottom: var(--spacing-xs);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4em;
  /* Adjust line-height for a better look */
  max-height: 2.8em;
  /* line-height * number of lines */
}

.product-card__title a:hover {
  color: var(--color-accent-hover);
}

/* Display star rating */
.product-card__rating {
  margin-bottom: var(--spacing-xs);
}

.star-rating {
  font-size: 0.9em;
  color: var(--color-rating);
}

.product-card__details {
  min-height: 90px;
  text-align: center;
}

.product-card__price {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-accent-hover);
  font-family: var(--font-family-header);
}

/* Add to Cart Button */
.product-card__actions .button {
  width: 100%;
  text-align: center;
  background-color: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  padding-top: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  font-weight: var(--font-weight-medium);
}

.product-card__actions .button:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

/* 
----------------------------------------------
Responsive for Product Section
----------------------------------------------
*/
@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns on tablet */
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns on mobile */
  }
}



.search.active {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  width: 50%;
  height: 100vh;
  overflow: auto;
  z-index: 9999;
}

/*
==============================================
COMPLETE CSS FOR SEARCH POPUP
==============================================
*/

/* --- 1. Main popup container --- */
/*
 * Assuming your <section class="search"> tag 
 * is already positioned as 'fixed' and takes up the entire screen.
 * This code focuses on the content inside.
*/
section.search.active {

  display: flex;
  justify-content: flex-end;
  /* Push content to the right */
}

/* --- 2. Main white content frame --- */
.search__form {
  width: 100%;
  /* Width of the popup */
  background-color: #ffffff9c;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  padding: 30px;
  box-sizing: border-box;
  /* Important so padding doesn't increase the size */
}

/* --- 3. Close button (X) --- */
.close__search {
  position: absolute;
  top: 30px;
  right: 10px;
  /* = max-width of popup + spacing */
  font-size: 32px;
  color: var(--color-black);
  cursor: pointer;
  z-index: 10000;
}

/* --- 4. Title "WHAT ARE YOU LOOKING FOR?" --- */
/* Your HTML does not have this part, but here's how to add it if you want */
.search__form::before {
  content: 'WHAT ARE YOU LOOKING FOR?';
  display: block;
  margin-bottom: 20px;
  font-size: 0.9em;
  color: var(--color-accent);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --- 5. Search form and input --- */
#product-search-form {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ddd;
  margin-bottom: 30px;
}

#product-search-keyword {
  width: 100%;
  border: none;
  outline: none;
  padding: 15px 40px 15px 0;
  font-size: 1.2rem;
  font-weight: 300;
  padding: 1rem 2rem;
}

#product-search-keyword::placeholder {
  color: #aaa;
}

/* Add search icon (simulated with CSS) */
#product-search-form::after {
  content: 'search';
  /* Material Icons icon name */
  font-family: 'Material Icons';
  /* Or 'Material Icons Outlined' */
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: #333;
}


/* --- 6. Search results area --- */
#product-search-result {
  flex-grow: 1;
  /* Take up remaining space */
  overflow-y: scroll;
  /* Add scrollbar when results are long */
  padding-right: 15px;
  /* Space for scrollbar */
  margin-right: -15px;
  /* Compensate for padding */
}

/* "PRODUCTS" title */
#product-search-result ul::before {
  content: 'PRODUCTS';
  display: block;
  margin-bottom: 20px;
  font-size: 0.9em;
  color: #555;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#product-search-result ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* --- 7. Individual product items in results --- */
#product-search-result li a {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #f5f5f5;
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s;
}

#product-search-result li:last-child a {
  border-bottom: none;
}

#product-search-result li a:hover {
  background-color: #f9f9f9;
}

#product-search-result img {
  width: 70px;
  /* Image size */
  height: 70px;
  object-fit: cover;
  margin-right: 20px;
}

.name-pd {
  font-weight: 500;
  text-transform: uppercase;
  /* Uppercase letters */
  letter-spacing: 0.5px;
  margin-bottom: 5px;
  line-height: 1.4;
}

.price-pd {
  color: #777;
  font-size: 0.9em;
}

/* --- 8. Footer "Search for..." (Needs to be added with JS) --- */
/* This CSS is ready, you just need to add this div tag with JS and it will work */
.search-popup__footer {
  margin-top: auto;
  /* Push to the bottom */
  padding-top: 20px;
}

.search-popup__footer a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #f5f5f5;
  text-decoration: none;
  color: #555;
  transition: background-color 0.2s;
}

.search-popup__footer a:hover {
  background-color: #eee;
}

/* Arrow icon (simulated) */
.search-popup__footer a::after {
  content: 'arrow_forward';
  font-family: 'Material Icons';
  font-size: 24px;
}


/*
==============================================
10.0 - Features Section
==============================================
*/
.features-section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  background: var(--color-accent-hover);
}

.features-grid {
  display: grid;
  /* 4 columns on desktop */
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap);
  text-align: center;
}

.feature-item {
  position: relative;
  z-index: 99999999;
}

.feature-icon .material-icons {
  height: 140px;
  width: 140px;
  display: inline-block;
  transition: all .4s;
}

.feature-title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
}

.feature-description {
  font-size: var(--font-size-sm);
  color: var(--color-white);
}

/*
----------------------------------------------
Responsive for Features Section
----------------------------------------------
*/

/* For tablets */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns */
  }
}

/* For mobile phones */
@media (max-width: 576px) {
  .features-grid {
    grid-template-columns: 1fr;
    /* 1 column */
  }
}


/* =================================================
5.0 - Blog Section
================================================== */

.blog-section {
  padding-bottom: var(--section-padding-y);
}

/* Section Title Styling (assuming this is already partially styled) */
.section-title {
  position: relative;
  margin-bottom: var(--spacing-xl);
}

.section-title h2 {
  font-family: var(--font-family-header);
  font-size: var(--font-size-h2);
  color: var(--color-accent-hover);
  letter-spacing: 1px;
}

/* Underline for the section title */
.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  /* Adjust as needed */
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 2px;
  background-color: var(--color-surface-primary);
}


/* Blog Swiper and Post Card */
.blog-swiper {
  padding-bottom: 50px !important;
  /* Space for pagination */
}

.post-card {
  display: flex;
  flex-direction: column;
}

.post-card__image-wrapper {
  position: relative;
  overflow: hidden;
  margin-bottom: var(--spacing-lg);
}

.post-card__image-wrapper a {
  display: block;
}

.post-card__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-smooth);
}

.post-card:hover .post-card__image-wrapper img {
  transform: scale(1.05);
}

.post-card__date {
  position: absolute;
  top: var(--spacing-md);
  left: var(--spacing-md);
  background-color: var(--color-white);
  padding: var(--spacing-sm) var(--spacing-md);
  text-align: center;
  z-index: 10;
  line-height: 1.1;
  min-width: 60px;
  /* Ensures a nice shape */
}

.post-card__date .day {
  display: block;
  font-family: var(--font-family-header);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
}

.post-card__date .month {
  display: block;
  font-family: var(--font-family-secondary);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-secondary);
}

.post-card__content {
  text-align: left;
  /* Aligns content to the left as in the image */
}

.post-card__category {
  display: inline-block;
  font-family: var(--font-family-secondary);
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  margin-bottom: var(--spacing-sm);
  font-weight: var(--font-weight-semibold);
}

.post-card__category:hover {
  color: var(--color-accent-hover);
}

.post-card__title {
  font-family: var(--font-family-header);
  font-size: var(--font-size-h3);
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-primary);
}

.post-card__title a:hover {
  color: var(--color-accent-hover);
}

.post-card__excerpt {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-base);
  margin-bottom: var(--spacing-md);
}

/* Remove default <p> tags from excerpt */
.post-card__excerpt p {
  margin: 0;
}

.post-card__read-more {
  font-family: var(--font-family-secondary);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  transition: color var(--transition-fast);
}

.post-card__read-more:hover {
  color: var(--color-accent-hover);
}


/* Swiper Pagination Dots */
.blog-swiper .swiper-pagination {
  bottom: 0 !important;
  position: absolute;
}

.blog-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: var(--color-border);
  opacity: 1;
  transition: background-color var(--transition-fast);
}

.blog-swiper .swiper-pagination-bullet-active {
  background-color: var(--color-dark);
}

/*
==============================================
12.0 - Footer Styles
==============================================
*/

/* --- Main Footer Wrapper --- */
.main-footer {
  padding: var(--spacing-xxl) 0;
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  border-top: 1px solid var(--color-border);
  padding-bottom: 1rem;
  margin-top: var(--spacing-xl);
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding-x);
  display: grid;
  /* Split layout into 4 columns based on HTML */
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: var(--spacing-xl);
}

/* --- General Column Styles --- */
.footer-column h4 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
  margin-bottom: var(--spacing-lg);
}

/* --- Column 1: Company Info --- */
.company-info img {
  max-width: 150px;
  /* Adjust logo size if needed */
  margin-bottom: var(--spacing-lg);
  max-height: 74px;
}

.company-info .contact-block,
.company-info .address-block {
  margin-bottom: var(--spacing-md);
}

.company-info h4 {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-accent);
  margin: 0;
  white-space: nowrap;
}

.company-info span,
.company-info span a {
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-normal);
}

.company-info span a:hover {
  color: var(--color-accent);
}

/* --- Column 2 & 3: Menu Links --- */
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: var(--spacing-md);
}

.footer-column ul li a {
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.footer-column ul li a:hover {
  color: var(--color-accent-hover);
}

/* --- Column 4: Newsletter & Social --- */
.newsletter-description {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-base);
  margin: var(--spacing-md) 0;
  color: var(--color-text-secondary);
}

.newsletter-form .input-group {
  display: flex;
  align-items: center;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  padding: var(--spacing-xs) var(--spacing-md);
}

.newsletter-form .input-group .material-icons {
  font-size: 22px;
  color: var(--color-text-secondary);
  margin-right: var(--spacing-sm);

}

.newsletter-form input[type="email"] {
  flex-grow: 1;
  border: none;
  background: transparent;
  padding: var(--spacing-sm) 0;
  font-size: var(--font-size-sm);
  color: var(--color-text-primary);
  outline: none;
  width: 175px;
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--color-text-secondary);
}

.newsletter-form button[type="submit"] {
  background: transparent;
  border: none;
  color: var(--color-accent);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-sm);
  cursor: pointer;
  padding: var(--spacing-sm);
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.newsletter-form button[type="submit"]:hover {
  color: var(--color-accent-hover);
}

.social-follow {
  margin-top: var(--spacing-xl);
}

.social-icons {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.social-icons a img {
  width: 30px;
  height: 30px;
  opacity: .8;
  transition: opacity var(--transition-fast);
}

.social-icons a:hover img {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid var(--color-white);
  padding-top: var(--spacing-md);
  margin-top: var(--spacing-md);
  /* Create space with the columns above */
  text-align: center;
}

.footer-bottom .container {
  /* Ensure content in the container is centered */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  font-size: 2.5rem;
  /* Font size for the logo */
  font-weight: var(--font-weight-bold);
  letter-spacing: 2px;
  line-height: 1;
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-bottom: var(--spacing-md);
}

.footer-logo .logo-v {
  color: var(--color-accent);
  /* Accent color for the letter 'V' */
}

.copyright-text {
  font-size: var(--font-size-xl);
  color: var(--color-text-secondary);
  margin: 0 0 var(--spacing-xs) 0;
  /* Remove default top/bottom margin of the p tag */
}

.payment-methods {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-md);
  /* Space between icons */
}

.footer-logo {
  height: 60px;
  width: 60px;
}

.payment-methods img {
  height: 24px;
  /* Fixed height for icons */
  width: auto;
}

/* 
----------------------------------------------
Responsive for Footer
----------------------------------------------
*/

@media (max-width: 992px) {
  .footer-container {
    /* Switch to 2 columns on tablet */
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer-container {
    /* Switch to 1 column on mobile */
    grid-template-columns: 1fr;
  }

  .company-info h4 {
    white-space: normal;
  }
}

.list-bill {
  display: flex;
  gap: 1rem;
}

.list-bill li img {
  height: 62px;
}