@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=DM+Serif+Display:ital@0;1&display=swap');


/* ------------------------------------------------------------------------------------
CUSTOM CSS  
------------------------------------------------------------------------------------*/
* {
  word-break: break-word;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
}

.font-serif {
  font-family: 'DM Serif Display', Georgia, serif;
}

.tracking-\[0\.2em\] {
  letter-spacing: 0.2em;
}

.content-wrap {
  max-width: var(--container-7xl);
  width: 100%;
  margin: 0 auto;
}

.text-\[11px\] {
  font-size: 11px;
}

button,
.btn {
  transition: all 0.3s ease;
}

button:hover,
.btn:hover {
  opacity: 0.9;
}

input {
  accent-color: var(--foreground);
}

/* HEADER CSS */

header .menu a {
  line-height: 20px;
}

header.site-header img {
  height: calc(var(--spacing) * 8);
}

ul.wp-block-list {
  list-style: disc;
  padding-left: 30px;
}

ul.wp-block-list li {
  padding-left: 0px;
}

ul.wp-block-list li::before {
  background-size: 18px;
  position: unset;
  display: none;
}

h1.wp-block-heading {
  margin-bottom: 1.5rem;
}
.account-options button {
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free v7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--><path d="M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"/></svg>');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px;
}

header:has(nav.active) .account-options button {
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><!--!Font Awesome Free v7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--><path d="M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z"/></svg>');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px;
}

.cat-icon-card .grid a:hover>div {
  background-color: var(--foreground);
  color: var(--background);
}

.actions button:hover {
  color: var(--foreground);
  cursor: pointer;
}

.cart-number {
  position: relative;
}

.number-value {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--foreground);
  aspect-ratio: 1;
  width: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  height: 16px;
  color: var(--color-white);
  font-size: 12px;
  font-weight: 500;
}

.cat-icon-card .dashicons {
  color: var(--muted-foreground);
}

/* nav.header-cat-list .overflow-x-auto {
  -ms-overflow-style: none;  
  scrollbar-width: none; 
} */
nav.header-cat-list .overflow-x-auto::-webkit-scrollbar {
  width: 5px;
  height: 5px;

}

/* Track */
::-webkit-scrollbar-track {
  background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--foreground);
  border-radius: 10px;
}


/* MEGA MENU CSS   */
/* MEGA MENU STYLES */
.header-nav {
  /* position: relative; */
  width: 100%;
}

.header-nav>ul {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-nav ul li a {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  color: var(--muted-foreground);
}

.header-nav>ul li svg {
  transition: transform 0.3s ease;
  width: 10px;
}

.header-nav>ul li:hover>svg {
  transform: translateY(-2px) rotate(180deg);
}

.header-nav ul,
.menu-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-panel-wrapper {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  background: #fafafa;
  width: 100%;
  left: 0;
  top: 100%;
  padding: 2rem 2.5rem;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.header-nav>ul li:hover .mega-panel-wrapper {
  opacity: 1;
  visibility: visible;
}

.mega-panel {
  width: 100%;
  /* display: flex;
  flex-direction: row;
  flex-wrap: wrap; */
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.menu-group {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 0.25rem;
  flex-basis: calc((25% - 1.5rem) + (1.5rem / 4));
  /* background: #fff; */
  border-radius: 200px;
}

.menu-group .parent-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  /* font-weight: 600;
  color: #000; */
  text-decoration: none;
  /* margin-bottom: 10px; */
  padding: 5px 10px;
  /* font-size: 18px; */
}

.menu-group svg {
  width: 14px;
  aspect-ratio: 7/10;
}

.menu-group ul {
  padding: 0 10px;
}

.menu-group ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 2px 10px;
}

.mega-panel-wrapper .menu-group:hover {
  /* color: #1a2a6c; */
  background: var(--accent);
}

.header-nav .has-mega-menu:hover {
  background-color: var(--accent);
  border-radius: 200px;
}

.header-nav>ul li svg path {
  fill: var(--muted-foreground);
}

.header-nav .has-mega-menu:hover svg {
  transform: rotate(180deg);
}

.header-nav .has-mega-menu:hover .menu-group svg {
  transform: rotate(0deg);
}

.header-nav .has-mega-menu:hover svg path {
  fill: var(--muted-foreground);
}

/*------------------------------------------------------------------------------------
 BODY CONTENT  
 ------------------------------------------------------------------------------------*/

.wp-singular.page:not(.home) main {
  max-width: var(--container-7xl);
  margin: 0 auto;
  padding: 60px calc(var(--spacing) * 6);
  font-size: var(--text-base);
}

.wp-singular.page:has(.custom-template) main {
    max-width: 100%;
    padding: 0;
}

.product-badge {
  font-size: 12px;
  padding: 2px 5px;
}

.blog-item:hover {
  box-shadow: 1px 0 5px 0px #DDD;
}

.blog-item:hover img {
  transform: scale(1.05);
}


.product-cards {
  background-color: var(--card);
}

.post-type-archive-product .products ul,
.post-type-archive-product ul.products {
  overflow: auto;
}

.woocommerce .products ul::after,
.woocommerce .products ul::before,
.woocommerce ul.products::after,
.woocommerce ul.products::before {
  /* content: " "; */
  /* display: none; */
}

.woocommerce ul.products li.product,
.wc-block-product-template__responsive>li {
  border-color: var(--border);
  border-style: var(--tw-border-style);
  border-width: 1px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  /* width: 100% !important; */
  /* margin: 0; */
  padding-bottom: 60px;
}

.woocommerce ul.products.slick-slider li.product {
  clear: unset !important;
  min-height: 475px;
  padding-bottom: 60px;
}

.woocommerce ul.products li.product a img,
.wc-block-product-template__responsive>li img {

  background-color: var(--background);
  /* padding: calc(var(--spacing) * 6); */
  transition: all 0.3s ease;
}

.woocommerce ul.products li.product:hover img,
.wc-block-product-template__responsive>li:hover img {
  transform: scale(1.025);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product p.font-medium.tracking-wider,
.wc-block-product-template__responsive>li .wp-block-post-title,
.wc-block-product-template__responsive>li .wp-block-woocommerce-product-price {
  margin: 0;
  padding: 0 calc(var(--spacing) * 4);
  color: var(--foreground);
  transition: all 0.3s ease;
}

.woocommerce ul.products li.product .star-rating {
  margin-left: calc(var(--spacing) * 4);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  margin-bottom: calc(var(--spacing) * 3);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title:hover {
  color: var(--muted-foreground);
}

.woocommerce ul.products li.product .price,
.wc-block-product-template__responsive>li .woocommerce-Price-amount.amount {
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-lg);
  line-height: var(--tw-leading, var(--text-lg--line-height));
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none;
}

.woocommerce ul.products li.product .button {
  width: 80% !important;
  margin-left: 10%;
  margin-bottom: calc(var(--spacing) * 4);
  border-radius: 100px;
  color: var(--background);
  background-color: var(--foreground);
  font-size: 12px;
  padding: 10px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
}

.woocommerce ul.products li.product .button {
  position: absolute;
  bottom: 16px;
  margin-bottom: 0;
}

.woocommerce ul.products li.product .added_to_cart.wc-forward {
  margin: 0 auto;
  width: 100%;
  text-align: center;
  padding: 0;
  margin-bottom: 1rem;
  text-decoration: underline;
  color: var(--muted-foreground);
  text-decoration-color: var(--muted-foreground);
  text-underline-offset: 2px;
  font-size: var(--text-sm);
}

.woocommerce ul.products li.product .button::before,
.product .wp-block-button__link:before {
  content: "\f174";
  font-family: Dashicons;
  margin-right: 10px;
  font-family: WooCommerce;
  content: "\e01d";
  font-size: 14px;
}

.woocommerce ul.products li.product .button:hover,
.wc-block-product-template__responsive>li .wp-element-button:hover {
  opacity: 0.8;
}

.text-background-60 {
  opacity: 60%;
  color: var(--background);
}

.cta-btn {
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background-color: color-mix(in oklab, var(--background) 90%, transparent);
}

.header-search input {
  padding-left: calc(var(--spacing) * 10);
  padding-right: calc(var(--spacing) * 4);
  padding-block: calc(var(--spacing) * 2.5);
}

.woocommerce ul.products .slick-list {
  margin: 0 -15px;
  /* Pulls the list outwards to hide half the margin of the edge slides */
}

.woocommerce ul.products .slick-slide {
  margin: 0 15px !important;
  /* Adds 15px margin on the left and right of each slide */
}

.products-wrapper .slick-prev,
.products-wrapper .slick-next,
.related.products .slick-prev,
.related.products .slick-next {
  z-index: 1;
  background: #FFF;
  border: 1px solid var(--border);
  border-radius: 100px;
  /* padding: 18px; */
  top: -60px;
  right: 0;
  color: var(--muted-foreground);
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.products-wrapper .slick-prev,
.related.products .slick-prev {
  left: auto;
  right: 20px;
}


.products-wrapper .slick-prev,
.related.products .slick-prev {
  left: auto;
  right: 45px;
}

.products-wrapper .slick-prev::before,
.related.products .slick-prev::before {
  content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-left size-4" aria-hidden="true"><path d="m15 18-6-6 6-6"></path></svg>');
}

.products-wrapper .slick-prev:before,
.slick-next:before,
.related.products .slick-prev:before,
.related.products .slick-next:before {
  font-size: unset;
}

.products-wrapper .slick-next:before,
.related.products .slick-next:before {
  content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-right size-4" aria-hidden="true"><path d="m9 18 6-6-6-6"></path></svg>');
}

.product-tags,
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
  position: absolute;
  top: 10px;
  left: 10px;
  color: var(--background);
  font-weight: var(--font-weight-medium);
  font-size: 10px;
  background-color: var(--foreground);
  padding: calc(var(--spacing) * 1.5) calc(var(--spacing) * 2.5);
  border-radius: 100px;
  line-height: 1;
  min-height: unset;
}

.woocommerce ul.products li.product .onsale {
  min-height: unset;
  min-width: unset;
  right: auto;
}

.widget.widget_nav_menu .menu {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 3);
}

.widget.widget_nav_menu a {
  padding: 0;
}

/* SEARCH  */
.search .container {
  align-items: flex-start;
}


.search-wrapper .container {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(3, 1fr);
}

/* Product grid must span full width — otherwise it sits in one 1/3 column and cards collapse */
.search-wrapper .container>.woocommerce {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
}

.search-wrapper .container>.search-results-pagination {
  grid-column: 1 / -1;
}

.search-wrapper article {
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #FFF;
  padding: 1rem;
}

.search-wrapper article h2 {
  padding-top: 0;
}

.search-wrapper article img {
  margin-bottom: 0.5rem;
}

.navigation.pagination {
  grid-column: 1 / -1;
}

.woocommerce nav.woocommerce-pagination ul {
  border: 0;
  margin: 0;
}

.pagination .nav-links,
.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  gap: 0;
  justify-content: center;
}

.pagination .nav-links .page-numbers,
.woocommerce nav.woocommerce-pagination ul li .page-numbers {
  padding: 5px 15px;
  color: var(--foreground);
  font-size: 20px;
  line-height: 28px;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
}

.pagination .nav-links .page-numbers.current,
.woocommerce nav.woocommerce-pagination ul li span.current {
  border: 1px solid;
  background: var(--foreground);
  color: var(--background);
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: unset;
  color: unset;
}

/* 404 PAGE */
.not-found-content {
  flex-direction: column;
}


ul.wc-block-grid__products {
  display: flex;
  gap: 1rem;
  margin: 2rem 0 0;
}

.wc-block-grid.has-4-columns .wc-block-grid__product {
  flex: 1 0 calc(25% - 1rem) !important;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.wc-block-grid__products .woocommerce-Price-amount.amount {
  font-size: 1.125rem;
  font-weight: 500;
}

@media screen and (max-width: 767px) {
  .wc-block-grid.has-4-columns .wc-block-grid__product {

    margin-bottom: 1rem;
  }

  .wc-block-grid.has-4-columns .wc-block-grid__product .wc-block-grid__product-link,
  .wc-block-grid.has-4-columns .wc-block-grid__product .wc-block-grid__product-link * {
    width: 100%;
  }

}

/*------------------------------------------------------------------------------------
 SINGLE page  
 ------------------------------------------------------------------------------------*/
.woocommerce-cart .cart_totals .wc-proceed-to-checkout .checkout-button {
  padding: 12px 24px !important;
  font-size: 14px;
  border-radius: 200px !important;
  line-height: 1 !important;
  min-height: unset;
}

.woocommerce-cart .site-main,
.woocommerce-checkout .site-main,
.search .container,
.woocommerce-account .woocommerce {
  max-width: var(--container-7xl);
  padding: 60px 24px;
  width: 100%;
  margin: 0 auto;
}

/*------------------------------------------------------------------------------------
  Classic cart — [woocommerce_cart] shortcode (theme woocommerce/cart/cart.php)
  Core WC styles expect a table; this template uses wcmsc-* markup. These rules apply
  on the cart page only (.woocommerce-cart) so the shortcode cart is styled even if
  wc-multistep-checkout CSS is not loaded.
------------------------------------------------------------------------------------*/

.woocommerce-cart .wcmsc-cart-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.woocommerce-cart .wcmsc-cart-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--card, #fff);
  border: 1px solid var(--border, #e9ecef);
  border-radius: 0.75rem;
  padding: 1rem;
  transition: box-shadow 0.2s ease;
}

.woocommerce-cart .wcmsc-cart-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.woocommerce-cart .wcmsc-cart-item__thumbnail {
  flex-shrink: 0;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--muted, #f8f9fa);
}

.woocommerce-cart .wcmsc-cart-item__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.woocommerce-cart .wcmsc-cart-item__thumbnail a {
  display: block;
  width: 100%;
  height: 100%;
}

.woocommerce-cart .wcmsc-cart-item__details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.woocommerce-cart .wcmsc-cart-item__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.4;
}

.woocommerce-cart .wcmsc-cart-item__name a {
  color: inherit;
  text-decoration: none;
}

.woocommerce-cart .wcmsc-cart-item__name a:hover {
  text-decoration: underline;
}

.woocommerce-cart .wcmsc-cart-item__meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.woocommerce-cart .wcmsc-cart-item__price,
.woocommerce-cart .wcmsc-cart-item__subtotal {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.woocommerce-cart .wcmsc-cart-item__price .wcmsc-label,
.woocommerce-cart .wcmsc-cart-item__subtotal .wcmsc-label {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground, #8a8fa8);
}

.woocommerce-cart .wcmsc-save-badge {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 0.25rem;
  background: var(--muted);
  color: var(--foreground);
}

.woocommerce-cart .wcmsc-price-regular {
  opacity: 0.7;
}

.woocommerce-cart .wcmsc-qty-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid #dee2e6;
  border-radius: 50px;
  overflow: hidden;
}

.woocommerce-cart .wcmsc-qty-minus, .woocommerce-cart .wcmsc-qty-plus {
  background: #f8f9fa;
  border: none;
  width: 2rem;
  height: 2rem;
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  padding: 0;
}

.woocommerce-cart .wcmsc-qty-minus:hover,
.woocommerce-cart .wcmsc-qty-plus:hover {
  background: var(--accent);
}

.woocommerce-cart .wcmsc-qty-stepper input.wcmsc-qty-val,
.woocommerce-cart .wcmsc-qty-stepper input.qty {
  min-width: 2.25rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  border: none;
  background: transparent;
  padding: 0 0.25rem;
  margin: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}

.woocommerce-cart .wcmsc-qty-stepper input.qty::-webkit-outer-spin-button,
.woocommerce-cart .wcmsc-qty-stepper input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.woocommerce-cart .wcmsc-cart-item__remove {
  flex-shrink: 0;
  margin-left: auto;
  align-self: center;
}

.woocommerce-cart .wcmsc-cart-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}


.woocommerce-cart .wcmsc-cart-form-actions .coupon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.wc-empty-cart-message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* text-align: center; */
  border-top: 3px solid var(--foreground);
  align-items: center;
}

.cart-empty.woocommerce-info {
  display: block;
  border: 0;
  width: fit-content;
}

.woocommerce .woocommerce-info::before {
  color: var(--foreground);
}

.return-to-shop {
  margin: 0 auto;
}

/* Theme choice: hide default “Update cart” (quantity changes still need WC AJAX or another update path) */
.woocommerce-cart .wcmsc-cart-form-actions button[name="update_cart"] {
  display: none !important;
}

@media (max-width: 600px) {
  .woocommerce-cart .wcmsc-cart-item {
    flex-wrap: wrap;
  }

  .woocommerce-cart .wcmsc-cart-item__thumbnail {
    width: 4.5rem;
    height: 4.5rem;
  }

  .woocommerce-cart .wcmsc-cart-item__meta {
    gap: 0.75rem;
  }

  .woocommerce-cart .wcmsc-cart-item__remove {
    margin-left: 0;
  }
}

/*------------------------------------------------------------------------------------
  Classic cart — Cart totals (cart-totals.php) + Proceed to checkout
  Matches line-item cards: sans-serif title, card container, aligned columns.
  Two-column layout: line items left, summary + checkout right (like order summary).
------------------------------------------------------------------------------------*/

/* Shortcode wraps in div.woocommerce — grid places form left, collaterals right */
.woocommerce-cart .woocommerce {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 901px) {
  .woocommerce-cart .woocommerce {
    display: grid;
    /* Line items flex; cart totals / collaterals = 30% of .woocommerce width */
    grid-template-columns: 1fr 360px;
    /* Tighter gutter between line items and cart totals (was 2rem / 2.5rem) */
    row-gap: 1.5rem;
    column-gap: 3rem;
    align-items: start;
  }

  /* Notices / anything except form + sidebar span full width above the grid row */
  .woocommerce-cart .woocommerce>*:not(.woocommerce-cart-form):not(.cart-collaterals) {
    grid-column: 1 / -1;
  }

  .woocommerce-cart .woocommerce>.woocommerce-cart-form {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .woocommerce-cart .wcmsc-native-cart-wrap {
    width: 100%;
    max-width: none;
  }

  .woocommerce-cart .woocommerce>.cart-collaterals {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    align-self: start;
    position: sticky;
    top: 7.5rem;
  }
}

.woocommerce-cart .cart-collaterals {
  margin-top: 0;
  /* Grid column is 30% on desktop; min-width 0 avoids overflow clipping in grid */
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.woocommerce-cart .woocommerce>.cart-collaterals {
  top: 150px;
}

.woocommerce ul#shipping_method li input {
  accent-color: var(--foreground);
}

.cross-sells h2 {
  font-size: 18px;
  margin-bottom: 1rem;
}

.wcmsc-free-badge {
  background: var(--foreground);
}

.wcmsc-shipping-free {
  color: var(--foreground);
}

#wcmsc-cart-block {
  background: #FFF;
  margin-bottom: 0;
  padding: 1.5rem;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .woocommerce-cart .cart-collaterals {
    margin-top: 1.5rem;
  }
}

/*
 * WooCommerce layout (woocommerce-layout.css): .cart-collaterals .cart_totals { float: right; width: 48%; }
 * so totals can sit beside cross-sells. With only cart totals, that leaves ~50% empty inside the sidebar.
 */
.woocommerce-cart .cart-collaterals .cart_totals {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  clear: both;
}

.woocommerce-cart .cart_totals {
  background: var(--card, #fff);
  border: 1px solid var(--border, #e9ecef);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  box-sizing: border-box;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

/* Default theme uses serif on h2; cart totals should match product UI */
.woocommerce-cart .cart_totals>h2 {
  font-family: var(--font-dm-sans), "DM Sans", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin: 0 0 1rem;
  font-style: normal;
}

.woocommerce-cart .cart_totals table.shop_table {
  border: none;
  margin: 0;
  border-collapse: collapse;
  background: transparent;
  width: 100%;
  table-layout: fixed;
}

/* Mixed row types: money rows as mini-tables; shipping row stacked (see below) */
.woocommerce-cart .cart_totals table.shop_table tbody {
  display: block;
}

.woocommerce-cart .cart_totals table.shop_table tr:not(.shipping):not(.woocommerce-shipping-totals) {
  display: table;
  width: 100%;
  table-layout: fixed;
  border-bottom: 1px solid var(--border, #e9ecef);
}

.woocommerce-cart .cart_totals table.shop_table tr:not(.shipping):not(.woocommerce-shipping-totals):last-of-type {
  border-bottom: none;
}

.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td {
  padding: 0.65rem 0;
  padding-right: 0.5rem;
  vertical-align: top;
  border: none !important;
  background: transparent !important;
  font-size: 0.9375rem;
  line-height: 1.45;
  /* Override global * { word-break: break-word } — avoid “Subtot|al” / “Shipm|ent” */
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: manual;
}

.woocommerce-cart .cart_totals table.shop_table th {
  font-weight: 600;
  font-weight: 400;
  text-align: left;
  width: 42%;
  max-width: 11rem;
  white-space: normal;
  color: var(--foreground);
  vertical-align: top;
}

.woocommerce-cart .cart_totals table.shop_table td {
  text-align: right;
  color: var(--foreground);
  width: 58%;
  vertical-align: top;
}

/* Keep money on one line (global * { word-break: break-word } splits amounts) */
.woocommerce-cart .cart_totals table.shop_table td .woocommerce-Price-amount,
.woocommerce-cart .cart_totals table.shop_table td .amount {
  white-space: nowrap;
  word-break: normal;
}

.woocommerce-cart .cart_totals tr.cart-subtotal th,
.woocommerce-cart .cart_totals tr.order-total th,
.woocommerce-cart .cart_totals tr.fee th,
.woocommerce-cart .cart_totals tr.cart-discount th {
  white-space: nowrap;
}

/* Shipping: full-width stack so radios + labels aren’t trapped in a narrow <td> */
.woocommerce-cart .cart_totals tr.shipping,
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals {
  display: block;
  width: 100%;
  padding: 0.35rem 0 0.75rem;
  border-bottom: 1px solid var(--border, #e9ecef);
  box-sizing: border-box;
}

.woocommerce-cart .cart_totals tr.shipping th,
.woocommerce-cart .cart_totals tr.shipping td,
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals th,
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals td {
  display: block;
  width: 100% !important;
  max-width: none !important;
  text-align: left !important;
  padding-left: 0;
  padding-right: 0;
}

.woocommerce-cart .cart_totals tr.shipping th,
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals th {
  font-weight: 600;
  margin-bottom: 0.5rem;
  padding-top: 0.5rem;
}

.woocommerce-cart .cart_totals tr.shipping td,
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals td {
  padding-top: 0;
}

.woocommerce-cart .cart_totals ul#shipping_method li label {
  white-space: normal;
  word-break: normal;
  line-height: 1.4;
}

.woocommerce-cart .cart_totals ul#shipping_method {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
}

.woocommerce-cart .cart_totals ul#shipping_method li {
  margin: 0 0 0.35rem;
  padding: 0;
  text-align: left;
}

.woocommerce-cart .cart_totals ul#shipping_method li:last-child {
  margin-bottom: 0;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-destination {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.woocommerce-cart .cart_totals .woocommerce-shipping-calculator {
  margin-top: 0.5rem;
}

.woocommerce-cart .cart_totals tr.order-total th,
.woocommerce-cart .cart_totals tr.order-total td {
  font-size: 1.125rem;
  font-weight: 700;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.woocommerce-cart .cart_totals tr.order-total td {
  text-align: right;
}

.woocommerce-cart .wc-proceed-to-checkout {
  padding: 0;
  margin: 1.25rem 0 0;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  background: var(--foreground) !important;
  color: var(--background) !important;
  border-radius: 0.75rem !important;
  padding: 0.875rem 1.25rem !important;
  font-weight: 600;
  font-size: var(--text-sm, 0.875rem);
  font-family: var(--font-dm-sans), "DM Sans", system-ui, sans-serif !important;
  border: none !important;
  line-height: 1.3;
  min-height: 2.75rem;
  white-space: normal;
  word-break: normal;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
  opacity: 0.92;
}

/* SINGLE PRODUCT  */

.single-product .wpf-search-container {
  max-width: var(--container-7xl);
  padding: 0 24px;
  width: 100%;
  margin: 0 auto;
}

.woocommerce .single-product {
  padding: 40px 0;
}

.accessible-breadcrumb-wrapper {
  background-color: var(--card);
  border-color: var(--border);
  border-bottom-style: var(--tw-border-style);
  border-bottom-width: 1px;
  padding-block: calc(var(--spacing) * 4);
  /* padding-inline: calc(var(--spacing) * 6); */
  margin-bottom: 40px;
}

.woocommerce .woocommerce-breadcrumb {
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
  color: var(--foreground);
  font-weight: var(--font-weight-medium);
  padding-inline: calc(var(--spacing) * 6);
  margin: 0 auto;
  max-width: var(--container-7xl);
}

.woocommerce-product-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  width: calc((100% - 440px) - 2.5rem) !important;
}

.woocommerce .product .summary {
  margin-bottom: 2em;
  max-width: 440px;
  width: 100%;
}

.summary.entry-summary p.text-xs.font-medium,
.summary.entry-summary span.text-muted-foreground {
  color: var(--foreground);
}

.woocommerce.single-product .product .product_title {
  font-size: var(--text-3xl);
  line-height: var(--tw-leading, var(--text-3xl--line-height));
  margin-bottom: calc(var(--spacing) * 5);
}

.woocommerce.single-product .product .woocommerce-product-rating {
  /* margin-bottom: 1.618em; */
  margin-bottom: calc(var(--spacing) * 6);
}

.woocommerce.single-product .woocommerce-product-rating .star-rating {
  color: var(--chart-4);
}

.woocommerce .product .summary .text-foreground {
  color: var(--foreground);
}

.woocommerce.single-product .mt-1\.5.text-xs {
  margin-top: calc(var(--spacing) * 1.5);
}

.woocommerce.single-product h3.text-xs.font-medium.uppercase {
  margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));
  margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
  font-family: var(--font-dm-sans), "DM Sans", system-ui, sans-serif;
}

.summary.entry-summary .flex.items-center.gap-3.rounded-2xl {
  margin-bottom: 12px;
}

.summary.entry-summary .product form.cart {
  margin-bottom: 0;
}

.summary.entry-summary .product_meta {
  display: none;
}

.woocommerce .product .flex-viewport {
  border-radius: 1rem;
}

.woocommerce-product-gallery .flex-control-thumbs {
  width: 100%;
}

.woocommerce-product-gallery .flex-control-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.woocommerce-product-gallery .flex-control-thumbs li {
  flex-basis: calc((20% - 1rem) + (1rem/5));
  border: 1px solid #CCC;
  padding: 0.5rem;
  border-radius: 4px;
}

.woocommerce-tabs.wc-tabs-wrapper {
  padding: 4rem 0;
  display: block;
}

.woocommerce.single-product .product .woocommerce-tabs .wc-tabs {
  padding: 0;
}

.woocommerce.single-product .product .woocommerce-tabs .wc-tabs li {
  border: unset;
  background-color: unset;
  border-radius: 0;
  margin: 0;
  padding: 0 1em;
}

.woocommerce.single-product .product .woocommerce-tabs .wc-tabs li.active {
  background: unset;
  border-bottom-color: unset;
  border-color: var(--foreground);
  border-bottom: 2px solid;
}

.woocommerce.single-product .product .woocommerce-tabs .wc-tabs li::before,
.woocommerce.single-product .product .woocommerce-tabs .wc-tabs li::after {
  content: unset;
  display: none;
}

.woocommerce.single-product .product .woocommerce-tabs .wc-tabs li a {

  color: var(--muted-foreground);
  font-weight: var(--font-weight-medium);
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
}

.woocommerce.single-product .product .woocommerce-tabs .wc-tabs li.active a {

  color: var(--foreground);
}

.woocommerce div.product .woocommerce-tabs .panel h2 {

  font-family: 'DM Serif Display', Georgia, serif;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05rem;
}

.woocommerce div.product .woocommerce-tabs .panel p {
  font-size: 14px;
  margin: 10px 0;
}

.woocommerce.single-product .product form.cart .quantity {
  max-width: 120px;
  width: 100%;
}

.woocommerce .product .summary input[name=quantity] {
  outline: none;
  width: 100%;
}

.woocommerce #review_form #respond p {
  color: var(--muted-foreground);
}

.comment-form-name-email {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  flex-direction: row;
}

.comment-form-author input,
.comment-form-email input {
  border: 1px solid;
  border-radius: 5px;
  margin-left: 5px;
  padding: 3px;
}

.comment-form-comment {
  max-width: 570px;
}
.woocommerce p.stars a {
  font-size: 18px;
}

.woocommerce-Tabs-panel ul li {
  position: relative;
  margin-bottom: 0.825rem;
}

section.related.products {
  margin-bottom: 70px;
}

#comments,
#review_form_wrapper {
  max-width: 800px;
  width: 100%;
}

#review_form_wrapper {
  background: #FFF;
  padding: 1.5rem;
  border-radius: 5px;
  box-shadow: 0 0 8px 0px #EEE;
}
.comment-respond .comment-reply-title{
  font-size: 22px;
  margin-bottom: 10px;
  display: inline-block;
  font-weight: 500;
}

.comment-form-rating {
  margin: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 0.5rem;
}

.woocommerce #review_form #respond .form-submit input {
  background: var(--foreground);
  color: var(--background);
  font-weight: var(--font-weight-medium);
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
  padding-inline: calc(var(--spacing) * 8);
  color: var(--primary-foreground);
  border-radius: 3.40282e38px;
  height: calc(var(--spacing) * 10);
}

.woocommerce #review_form #respond textarea {
  border: 1px solid;
  border-radius: 10px;
  margin-top: 1rem;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td,
.woocommerce #review_form #respond {
  font-size: var(--text-sm, 0.875rem);
}


.woocommerce div.product form.cart {
  margin-top: 1rem;
}

.woocommerce div.product p.stock {
  font-size: var(--text-sm);
  color: var(--muted-foreground);
}

/* The above code is defining a CSS style for labels within elements with the class "wpf_item". It sets
the font size to a custom property (--text-sm) and the line height to either another custom property
(--tw-leading) or a fallback value of (--text-sm--line-height). */
/* .wpf_item label {
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
} */
/*------------------------------------------------------------------------------------
 SHOP PAGE  
 ------------------------------------------------------------------------------------*/
button {
  cursor: pointer;
}

button.product-grid-view,
button.product-list-view {
  background: unset;
}

button.product-grid-view.active,
button.product-list-view.active {
  background-color: var(--accent);
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  border-top: 3px solid var(--foreground);

}

.products-wrapper .woocommerce-info {
  border-top-color: var(--foreground);
}

.products-wrapper .woocommerce-info::before {
  color: var(--foreground);
}

.products-wrapper.list-view .product {
  width: 100% !important;
}

.post-type-archive-product aside {
  flex-basis: 250px;
}

.post-type-archive-product .wpf_items_wrapper .wpf_item ul li {
  display: block;
  margin-right: 0;
}

.post-type-archive-product .wpf_item input[type=checkbox] {
  border-radius: 0;
  color: #000;
  border-color: #CCC;
  height: 14px;
  width: 14px;
  font-size: 10px;
}

.post-type-archive-product .wpf_item label {
  font-size: 14px;
}

.post-type-archive-product .wpf_item ul.wpf_price_range {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 0.5rem;
}

.post-type-archive-product .wpf_item ul.wpf_price_range li {
  margin: 0;
  padding: 0.25rem 0;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.post-type-archive-product .wpf_item .wpf_price_range input {
  display: block;
}

.post-type-archive-product .wpf_slider.ui-slider {
  background: rgba(0, 0, 0, .15);
  border: none;
  height: 2px;
  margin: 1.5em 0 .8em;
}

.post-type-archive-product .wpf_slider.ui-slider .ui-widget-header {
  background: var(--foreground);
}

.post-type-archive-product .wpf-slider-label {
  font-size: 1rem;
}

.horizontal-filter {
  /* width: 100%; */
  display: block;
}

.horizontal-filter .wpf_items_wrapper ul li {
  margin: 0 !important;
}

.horizontal-filter .wpf_items_wrapper ul {
  /* width: 100%; */
  display: flex;
  flex-wrap: wrap;
  gap: calc(var(--spacing) * 2);
}

.horizontal-filter .wpf_item input[type=checkbox] {
  display: none;
}

.horizontal-filter .wpf_item label {
  padding: 0.5rem 2rem;
  border-radius: 100px;
  color: var(--muted-foreground);
  background: #FFF;
  font-weight: var(--font-weight-medium);
  font-size: var(--text-xs);
  padding-block: calc(var(--spacing) * 1.5);
  padding-inline: calc(var(--spacing) * 4);
  border: 1px solid var(--border);
}

.horizontal-filter .wpf_items_wrapper ul li:has([type="checkbox"]:checked) label {
  background: var(--foreground);
  color: var(--background);
}


/* CART AND CHECKOUT  */

.woocommerce-cart .wc-block-components-sidebar-layout .wc-block-components-main,
.wc-block-components-sidebar-layout .wc-block-components-main {
  width: 75%;
  width: calc(100% - 220px);
}

.woocommerce-cart .wc-block-components-sidebar,
.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-sidebar {
  width: 25%;
  max-width: 220px;
}

.wc-block-checkout__sidebar.is-sticky {
  top: 130px;
}

.wp-block-button__link {
  background-color: var(--foreground);
}

.wc-block-components-product-name {
  font-weight: 600;
  font-size: 14px !important;
}

.wc-block-components-sidebar-layout .wc-block-components-main table,
.wc-block-cart .wp-block-woocommerce-cart-order-summary-block,
.wc-block-components-form,
.wp-block-woocommerce-checkout-order-summary-block {
  background: #FFF !important;
  padding: 1rem;
  border-radius: 10px;
  border-bottom: 0;
}

.wc-block-components-sidebar-layout .wc-block-components-main table {
  margin-bottom: 4rem;
  /* border-spacing: 10px; */
  border: 1rem solid transparent;
}

.wc-block-cart__main .wc-block-cart-items th {
  padding: 8px 16px 12px 15px !important;
  /* white-space: nowrap; */
}

table.wc-block-cart-items,
table.wc-block-cart-items td,
table.wc-block-cart-items th {
  line-height: 4.888889;
}

a.button,
button.button,
.wc-block-components-button.wp-element-button,
.wc-block-cart .wc-block-cart__submit-container .wc-block-cart__submit-button,
.wc-block-components-checkout-return-to-cart-button,
.woocommerce table.shop_table .button,
.wcmsc-nav #place_order,
.woocommerce .woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce-Button.button {
  background: var(--foreground) !important;
  color: #FFF !important;
  border-radius: 200px !important;
  width: auto !important;
  /* padding: 1rem 2.5rem !important; */
  padding-block: calc(var(--spacing) * 2) !important;
  padding-inline: calc(var(--spacing) * 4) !important;
  font-size: var(--text-sm);
  line-height: unset !important;
  /* margin: 0 auto !important; */
}

.wc-block-components-checkout-return-to-cart-button {
  background-color: var(--background) !important;
  padding-left: 2rem !important;
  color: var(--foreground) !important;
}

.wc-block-cart .wp-block-woocommerce-product-collection h2.wp-block-heading {
  font-size: inherit;
  line-height: inherit;
}

.wc-block-product-template__responsive>li .wp-element-button,
.wc-block-product-template__responsive>li .wp-block-woocommerce-product-price {
  margin-bottom: 1rem;
}

.cart-related .wp-block-post-title {
  font-family: 'DM Sans';
  font-size: 14px !important;
  font-weight: 500;
}

.wc-block-components-quantity-selector {
  line-height: 1;
}

.wc-block-components-form .wc-block-components-text-input input,
.wc-block-components-form .wc-blocks-components-select select,
.wc-block-components-form .wc-block-components-textarea {
  border-radius: calc(var(--radius) + 4px) !important;
  border-color: var(--input) !important;
}

.woocommerce .woocommerce-message {
  border-top-color: var(--foreground);
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  border: 1px solid;
  border-top: 3px solid;
  border-radius: 4px;
  justify-content: space-between;
}

.woocommerce .woocommerce-message::before {
  color: var(--foreground);
  left: 1rem;
}

.woocommerce .woocommerce-message .button.wc-forward {
  border-radius: 100px;
  color: var(--background);
  background-color: var(--foreground);
  font-size: 14px;
  padding: 10px;
  font-weight: 500;
}

.woocommerce .woocommerce-message::after {
  display: none;
}


.wcmsc-notices:empty {
  margin: 0;
}

/* CART MULTISTEP FORM */
/* .woocommerce-notices-wrapper {
  display: none;
} */
/* WooCommerce outputs errors/success in .woocommerce-notices-wrapper (login, cart, etc.).
   Do not hide globally — it was blocking My Account login error messages. If a multistep
   checkout plugin duplicates notices, scope display:none to that plugin’s wrapper only. */

.woocommerce-checkout .site-main {
  max-width: 100%;
  padding: 0;
}

.wcmsc-checkout-wrapper {
  max-width: 100%;
  background: unset;
}

.wcmsc-progress-steps {
  max-width: var(--container-7xl);
}

.wcmsc-layout,
.wc-block-components-sidebar-layout.wc-block-cart {
  display: grid;
  max-width: var(--container-7xl);
  margin: 0 auto;
  padding-block: calc(var(--spacing) * 12);
  padding-inline: calc(var(--spacing) * 6);
  grid-template-columns: 1fr 220px;
  gap: 40px;
  padding-left: 0;
  padding-right: 0;
  align-items: start;
  padding: 32px 24px 64px;
}

.woocommerce-cart .wc-block-components-sidebar-layout .wc-block-components-main,
.wc-block-components-sidebar-layout .wc-block-components-main {
  width: 100%;
  padding: 0;
}

.wc-block-components-sidebar-layout .wc-block-components-main table .wc-block-cart-items__row {
  padding: 1rem;
  /* border: 1px solid #CCC; */
  /* border: 1px solid black; */
  border-collapse: collapse;
}

.wc-block-cart__main .wc-block-cart-items td {
  border-top: 0;

}

.woocommerce-cart .wc-block-components-sidebar {
  width: auto;
  top: 120px;
  position: sticky;
}

.wcmsc-panel {
  box-shadow: unset;
  background: unset;
}

.wcmsc-panel[data-step="review"] .wcmsc-step-header {
  align-items: center;
  background: #FFF;
  margin-bottom: 0;
  padding: 2rem;
  margin-bottom: 1rem;
  border-radius: 10px;
}

.wcmsc-panel[data-step="review"] .wcmsc-native-cart-wrap {
  background: #FFF;
  margin-bottom: 0;
  padding: 2rem;
  border-radius: 10px;
}

.wcmsc-panel-inner {
  padding: 0;
}

.woocommerce table.shop_table {
  margin-bottom: 4rem;
}

.wcmsc-summary-items {
  display: none;
}

.wcmsc-step-header {
  align-items: center;
}

.wcmsc-step-title {
  font-size: var(--text-sm);
  font-family: var(--font-dm-sans), "DM Sans", system-ui, sans-serif;
}

.woocommerce-cart-form__cart-item.cart_item a:not(.remove) {
  font-weight: 600;
  font-size: 14px !important;
}

#add_payment_method table.cart img,
.woocommerce-cart table.cart img,
.woocommerce-checkout table.cart img {
  width: 80px;
  border-radius: 5px;
}

.woocommerce table.shop_table .button {
  padding: calc(.667em + 2px) calc(1.333em + 2px) !important;
  padding: 10px 15px !important;
  line-height: 1 !important;
}

.wcmsc-cross-sells-heading {
  font-size: 18px;
  margin-bottom: 1rem;
}

.wcmsc-cross-sells-section .products.columns-4 {
  grid-template-columns: repeat(auto-fill, minmax(max(150px, calc(25% - .9375em)), 1fr));
  display: grid;
  grid-gap: 1.25em;
}

.wcmsc-cross-sells-section .products.columns-4::before,
.wcmsc-cross-sells-section .products.columns-4::after {
  display: none;
}

.wcmsc-cross-sells-section .products.columns-4 li.product {
  width: 100% !important;
  margin: 0 !important;
  padding-bottom: 60px;
}

.wcmsc-sidebar {
  top: 125px;
}

.wcmsc-btn-next,
.wcmsc-btn-place-order,
.wcmsc-btn-back {
  font-size: var(--text-sm);
  border-radius: 100px;
}



.wcmsc-panel:not([data-step="review"]) .wcmsc-panel-inner {
  padding: 0;
  background: #FFF;
  margin-bottom: 0;
  padding: 2rem;
  border-radius: 10px;
}

.wcmsc-panel:not([data-step="review"]) .wcmsc-step-header {
  padding: 0;
}

.wcmsc-shipping-option {
  border-color: var(--border);
}

.wcmsc-shipping-option.is-selected {
  border-color: var(--border);
  background: unset;
  box-shadow: unset;
}

.wcmsc-shipping-option:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.wcmsc-section-label {
  font-family: "DM Sans", system-ui, sans-serif;
}

.wcmsc-label {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 5px;
}

.wcmsc-input,
.wcmsc-select,
.wcmsc-textarea {
  line-height: 1.4;
}

.wcmsc-qty-stepper {
  border-radius: 50px;
}

.wcmsc-qty-stepper .quantity {
  margin: 0;
  display: flex;
  align-items: center;
}

.wcmsc-cart-item__details .wcmsc-cart-item__meta {
  flex-wrap: wrap;
  /* flex-direction: row-reverse; */
  align-self: flex-start;
}

/* .wcmsc-cart-item__meta .wcmsc-cart-item__subtotal {
  display: none;
}

.wcmsc-cart-item__meta .wcmsc-cart-item__price .wcmsc-label {
  display: none;
}

.wcmsc-cart-item__meta  .wcmsc-cart-item__price {
  align-self: center; */
.wcmsc-cart-item__meta .wcmsc-cart-item__price {
  font-weight: 600;
}

.wcmsc-cart-item__remove .wcmsc-remove-item {
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-trash2 lucide-trash-2 size-4" aria-hidden="true"><path d="M10 11v6"></path><path d="M14 11v6"></path><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6"></path><path d="M3 6h18"></path><path d="M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path></svg>');
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: center;
  text-indent: -999vw;
  opacity: 0.7;
}

.wcmsc-cart-item__remove .wcmsc-remove-item:hover {
  text-indent: 0;
  background: var(--foreground) !important;
  color: red !important;
}

.wcmsc-cross-sells-section {
  margin-top: 3rem;
}

.wcmsc-nav #place_order,
.wcmsc-checkout-wrapper #place_order {
  padding: 12px 24px !important;
  min-height: 44px;
}

.woocommerce-checkout #payment ul.payment_methods li {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 1rem;
  align-items: center;
}

.wcmsc-checkout-wrapper #payment ul.wc_payment_methods li.wc_payment_method label {
  padding: 0;
}

.woocommerce-checkout #payment div.payment_box {
  background: var(--background);
}

.woocommerce-checkout #payment div.payment_box::before{
  border: 1px solid var(--background);
}



.text-lg.fa-brands, .text-lg.fa-solid {
  line-height: 1;
}

.payment-options span {
  align-items: center;
  /* line-height: 0; */
}

.payment-options img {
  height: 18px;
  width: auto;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {

  z-index: 1;
}

.footer-widgets {
  /* grid-template-columns: repeat(4,1fr); */
  /* grid-template-columns: 1.5fr 2fr 1fr 1fr; */
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  
}


.footer-widgets .widget_text {
  color: var(--muted-foreground);
  font-size: var(--text-base);
}

.footer-quick-links li {
  display: inline-block;
}

@media screen and (max-width: 900px) {
  .wcmsc-layout {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .wcmsc-sidebar {
    position: unset;
    width: 100%;
  }

  .wcmsc-steps-container {
    width: 100%;
  }

  .wcmsc-cross-sells-section .products.columns-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* THANK YOU PAGE  */

.woocommerce-order-received .woocommerce-order {
  max-width: var(--container-7xl);
  margin: 3rem auto;
  padding-block: calc(var(--spacing) * 12);
  padding-inline: calc(var(--spacing) * 6);
  background: #FFF;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  flex-direction: column;
  margin: 0;
}

.woocommerce-order-received .woocommerce-order h2 {
  margin-bottom: 1rem;
}

.woocommerce-customer-details address,
.woocommerce-edit-address.woocommerce-account .woocommerce-Address {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  line-height: 1.5;
  border-width: 1px !important;
  padding: 1rem !important;
}

.woocommerce-edit-address.woocommerce-account address {
  font-style: normal;
}

.woocommerce-account .addresses .title .edit {
  float: unset;
  text-decoration: underline;
}

.woocommerce .woocommerce-thankyou-order-details.order_details,
.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details li {
  margin-bottom: 1rem;
}

.woocommerce-order-received .woocommerce .woocommerce-order-details {
  margin-bottom: 0;
}

@media screen and (max-width: 767px) {
  .woocommerce-order-received .woocommerce-order {
    margin: 1rem;
  }

  .woocommerce-account .woocommerce {
    padding: 1rem;
  }
}

/* MY ACCOUNT PAGE */
.woocommerce-account .woocommerce {

  font-size: 1rem;
}

.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce .woocommerce-MyAccount-content {
  background: #FFF;
  padding: 1.5rem;
  border-radius: 10px;
}

.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation {
  margin-bottom: 1rem;
}

.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  /* gap: 1rem; */
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  padding: 1rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active {
  background: var(--foreground) !important;
  color: #FFF !important;
  /* padding: 10px; */
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}


.woocommerce-account .woocommerce .woocommerce-MyAccount-content .shop_table {
  margin: 0;
}

.woocommerce-account .woocommerce .my_account_orders td,
.woocommerce-account .woocommerce .my_account_orders th {
  padding: 10px 10px;
}

.woocommerce-MyAccount-content h2 {
  margin-bottom: 1rem;
}

.woocommerce-account .woocommerce-Addresses {
  margin-top: 1rem;
}

.woocommerce-account .woocommerce-Address {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem;
}

.woocommerce table.shop_table td {
  color: var(--muted-foreground);
  font-size: var(--text-base);
}

.woocommerce table.my_account_orders td {
  font-size: .85rem;
}

.woocommerce table.shop_table tfoot td {
  color: var(--foreground);
}

.woocommerce-pagination {
  margin-top: 1rem;
}

.woocommerce-pagination .woocommerce-button {
  border-radius: 200px !important;
  font-size: 14px !important;
}

/*------------------------------------------------------------------------------------
 BLOG ARCHIVE PAGE CSS  
 ------------------------------------------------------------------------------------*/

.post-archive-grid {
  gap: 2rem;
  width: 100%;
}

.post-archive-grid .post-card {
  height: auto;
  padding: 0;
  cursor: pointer;
  flex-basis: calc((33.33% - 2rem) + 2rem / 3);
  align-self: stretch;
  flex-grow: 0;
  color: var(--foreground);
  border-radius: 1rem;
  border: 1px solid;
  overflow: hidden;
}

.post-archive-grid .post-card>a {
  text-decoration: none;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  height: 100%;
}

.card-item .pill {
  font-size: 14px;
  padding: 6px 14px;
  border: 1px solid;
  border-radius: 200px;
  line-height: 1;
}

.post-archive-grid .card-item:hover a {
  color: unset;
}

.post-archive-grid .post-card .post-main {

  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  /* height: 100%; */
  /* min-height: 300px; */
  justify-content: space-between;
}

.post-archive-grid .post-main {
  position: relative;
  padding: 1.5rem;
}

.post-links {
  margin-bottom: 1.25rem;
}

.post-category {
  background-color: var(--primary);
  color: var(--color-white);
  transition: all 0.3s ease;
}

.post-links .link-element {
  margin: 0;
  background-color: var(--primary);
  visibility: hidden;
  opacity: 0;
  padding: 12px 26px;
  line-height: 10px;
  /* font-size: 10px; */
  border-radius: var(--radius-200);
  margin-top: auto;
  transition: all 0.2s ease;
}

.post-archive-grid .card-item:hover .post-category {
  opacity: 0.8;
}

.post-archive-grid .card-item .link-element {
  position: absolute;
  right: 42px;
  top: 44px;
}

.post-archive-grid .card-item:hover .link-element {
  visibility: visible;
  opacity: 1;
  right: 36px;
  top: 32px;
}

.post-archive-grid .card-item .post-category {
  margin-top: 14px;
}

.image-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.post-archive-grid .card-item figure img {
  transition: all 0.3s ease;
}

.post-archive-grid .card-item:hover figure img {
  transform: scale(1.05);
}

.post-archive-grid .post-content {
  gap: 1rem;
  margin-bottom: 1rem;
  /* height: 7rem; */
}

.card-title {
  font-size: 1.25rem;
}

.post-content p {
  font-size: 1rem;
}

.post-meta {
  /* padding: 0.625rem 1rem; */
  /* border-radius: var(--radius-200); */
  /* border: 1px solid rgba(102, 102, 102, 0.25); */
  font-size: 13px;
  gap: 0.75rem;
  align-self: flex-start;
  margin-top: auto;
  text-decoration: underline;
}

.read-time {
  display: flex;
  gap: 6px;
  align-items: center;
}

.divider {
  color: rgba(102, 102, 102, 0.25);
}

.post-archive-grid .card-item figure {
  overflow: hidden;
  margin-top: auto;
  width: 100%;
  aspect-ratio: 12/6.75;
}

/*------------------------------------------------------------------------------------
 SINGLE POST CSS 
 ------------------------------------------------------------------------------------*/
.woocommerce-Tabs-panel ul li,
.wp-block-list li {
  position: relative;
  padding-left: 30px;
}

.woocommerce-Tabs-panel ul li:before,
.wp-block-list li:before {
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 100%;
  display: flex;
  content: '';
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check mt-0.5 size-4 shrink-0 text-foreground" aria-hidden="true"><path d="M20 6 9 17l-5-5"></path></svg>');
  background-size: 18px;
  background-repeat: no-repeat;
}

.wp-block-list li:before {
  width: 24px;
  background-size: 24px;
}

/* Banner Section */
.post-banner {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #fff;
}

/* Overlay */
.post-banner:before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  z-index: 1;
  content: '';
}

/* Content inside banner */
.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Title */
.post-title {
  font-size: 3rem;
  margin-bottom: 15px;
  line-height: 1.2;
}

/* Meta info */
.post-meta {
  font-size: 0.9rem;
  opacity: 0.9;
}

.post-meta span {
  margin-right: 15px;
}

/* Content section */
.single-post .post-content {
  padding: 60px calc(var(--spacing) * 6);
  font-size: 1rem;
  line-height: 1.8;
}

/* Gutenberg blocks spacing fix */
.single-post .post-content>* {
  margin-bottom: 20px;
}

/* LOGIN PAGE   */
.woocommerce-account .woocommerce-notices-wrapper {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

.woocommerce-account .woocommerce-notices-wrapper .woocommerce-error {
  margin: 0;
}

.woocommerce-account .woocommerce:has(.woocommerce-form-login) .woocommerce-form-login__logo,
.woocommerce-account .woocommerce:has(.woocommerce-form-login) h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.woocommerce-account .woocommerce-form-login__logo .custom-logo-link {
  display: inline-block;
}

.woocommerce-account .woocommerce-form-login__logo .custom-logo {
  max-height: 4rem;
  width: auto;
  height: auto;
}

.woocommerce-account .woocommerce-form-login.login {
  max-width: 500px;
  margin: 0 auto;
  background: #ffffff;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  margin-bottom: calc(var(--spacing) * 3);
}

.woocommerce-account .woocommerce-form-login.login label {
  margin-bottom: 5px;
}

.woocommerce-account .woocommerce-form-login.login label,
.woocommerce-account .woocommerce-form-login.login .input-text,
.woocommerce-account .woocommerce-form-login.login select {
  color: var(--muted-foreground);
}

.woocommerce-account .woocommerce-form-login.login .input-text,
.woocommerce-account .woocommerce-form-login.login select {
  border-color: var(--border);
  border-radius: 50px;
  padding: 0.625rem;
}

.woocommerce-account .woocommerce-form-login.login .form-row:has(.woocommerce-form-login__submit) label {
  margin: 0;
  line-height: 1;
  display: flex;
  gap: 5px;
}

.woocommerce-account .woocommerce-form-login.login .form-row:has(.woocommerce-form-login__submit) {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
}

.woocommerce-form-login__submit {
  margin: 0 !important;
}

.woocommerce-LostPassword.lost_password {
  text-decoration: underline;
  color: var(--muted-foreground);
}

.woocommerce-lost-password .woocommerce-message:before {
  transform: translateY(-50%);
}

.logo-wrap {
  gap: 5px;
}


.footer-copyright {
  width: 100%;
}

.footer-copyright .wp-social-link {
  background: var(--foreground);
  background: #000;
  width: 30px;
  aspect-ratio: 1;
  height: 30px;
  display: flex !important;
  justify-content: center;
  font-size: 16px;
}

.footer-copyright p {
  font-size: 14px;
}

.footer-widgets div:has(.footer-quick-links) {
    grid-column: 1/-1;
}

ul.footer-quick-links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-quick-links li {
    display: flex;
    gap: 1rem;
}
/*------------------------------------------------------------------------------------
 RESPONSIVE CSS 
 ------------------------------------------------------------------------------------*/

 @media screen and (min-width:768px) {
  .header-cat-list .header-search.hidden {
    /* display: none; */
}
  
 }
@media screen and (max-width:1199px) {
  .mega-panel {
    grid-template-columns: repeat(4, 1fr);

  }
}

@media screen and (max-width:991px) {
  .woocommerce-product-gallery {
    width: 48% !important;
  }

  .woocommerce ul.products.slick-slider li.product {
    min-height: 400px;
  }

  .post-archive-grid .post-card {
    flex-basis: calc((50% - 2rem) + 2rem / 2);
  }

  .wc-block-components-sidebar-layout.wc-block-cart {
    padding-top: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .woocommerce-cart .wc-block-components-sidebar {

    width: 100%;
    max-width: 100%;

  }

  .wc-block-components-sidebar-layout.wc-block-cart {

    padding: 0;
  }

  .footer-widgets {
    grid-template-columns: repeat(3,1fr);
}
}

@media screen and (max-width: 767px) {
  .site-header nav {
    position: absolute;
    width: 90vw;
    height: 100vh;
    background: #fffffffa;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    border: none !important;
  }

  body.no-scroll {
    overflow: hidden;
    height: 100%;
    /* Ensures it works on mobile */
  }

  .site-header nav.active {
    max-height: 90vh;
    overflow: scroll;
  }

  .site-header nav>div {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }

  .site-header nav .header-search {
    display: block;
    margin-bottom: 1rem;
  }

  .site-header .menu {
    display: block;
  }

  .site-header .menu a {
    line-height: 20px;
    width: 100%;
    display: block;
    padding-left: 0;
    padding-right: 0;
  }

  .header-nav>ul {

    display: block;
  }

  a.more-link {
    display: none !important;
  }

  .header-nav .has-mega-menu:hover {

    background: unset;
    border-radius: 0;
  }

  .mega-panel-wrapper {
    padding: 0;
    background: unset;
    position: unset;
    visibility: visible;
    opacity: 1;
  }

  .mega-panel {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: 100%;
    gap: 0;
    display: block;
    padding-bottom: 4rem;
  }

  .menu-group {
    border: 0;
    flex-basis: 100%;
    width: 100%;
    padding: 0;
  }

  .menu-group .parent-link {
    padding: 10px;
  }

  section.related.products {
    margin-bottom: 40px;
  }

  .woocommerce .product .summary,
  .woocommerce-product-gallery,
  .woocommerce-cart .wc-block-components-sidebar-layout .wc-block-components-main,
  .wc-block-components-sidebar-layout .wc-block-components-main {
    width: 100% !important;
    max-width: 100% !important;
  }

  .wp-block-woocommerce-cart .wc-block-cart__main table.wc-block-cart-items .wc-block-cart-items__row {
    padding: 16px;
  }

  .post-content {
    padding: 30px calc(var(--spacing) * 6);
  }

  .search .container {

    gap: 1rem;
  }

  .search-wrapper article {
    flex-basis: calc((50% - calc(var(--spacing) * 2)));
  }

  .cat-icon-card .grid {
    gap: 30px 15px;
  }

  .footer-widgets {
    grid-template-columns: repeat(2,1fr);
    gap: 2rem;
}

.footer-copyright {
  justify-content: center !important;
  flex-wrap: wrap !important;
}
ul.footer-quick-links,
.footer-quick-links li {

    gap: 0.5rem;
}

.footer-widgets div:has(.footer-quick-links) {
    margin: 0;
}

footer .py-16 {
    padding: 2rem 2rem 1rem;
}
}

@media screen and (max-width: 640px) {
  .view-all-link {
    margin-right: 100px;
  }

  .products-wrapper .slick-prev,
  .products-wrapper .slick-next,
  .related.products .slick-prev,
  .related.products .slick-next {
    top: -55px;
  }

  .view-all-link .invisible {
    display: none;
  }

  .post-archive-grid .post-card {
    flex-basis: 100%;
  }

  .wp-singular.page:not(.home) main {
    padding: 20px;
  }

  .wcmsc-layout {

    padding: 10px 0 0;
  }

  .wcmsc-panel[data-step="review"] .wcmsc-native-cart-wrap,
  .wcmsc-panel:not([data-step="review"]) .wcmsc-panel-inner {
    padding: 1rem;
  }

  .post-type-archive-product .horizontal-filter {

    margin-bottom: 0;
  }

  .post-type-archive-product .filter-dropdown {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media screen and (max-width: 460px) {

  #wcmsc-cart-block {
    padding: 0;
  }

  .wcmsc-cart-item {
    flex-wrap: nowrap;
    flex-direction: column;
  }

  .wcmsc-cart-item__thumbnail {
    width: 100%;
    height: 250px;
  }

  .wcmsc-cart-item__name {
    text-align: center;
  }

  .wcmsc-cart-item__details .wcmsc-cart-item__meta {

    flex-direction: column;
    align-self: flex-start;
    width: 100%;
    gap: 1rem;
  }


}

@media screen and (max-width: 320px) {

  .post-type-archive-product ul.products[class*=columns-] li.product,
  .woocommerce-page ul.products[class*=columns-] li.product {
    width: 100%;
    margin-bottom: 1.5rem;
  }
}