/* ==========================================================================
   KouzinaMax — Woodmart-style skin (original implementation)
   Brand: Kouzina Max — deep green + flame orange (from kouzinaMaxLogo.svg),
   white backgrounds, 1222px container, 0-radius buttons
   ========================================================================== */

/* ---------- 1. Design tokens (Kouzina Max brand) ---------- */
:root {
  --wd-primary: #035335;            /* deep brand green — CTAs, badges, prices */
  --wd-primary-bright: #0a6b47;     /* brighter green — hovers, links, active */
  --wd-alternative: #f44406;        /* logo flame orange — sale/promo only */
  --wd-beige: #e5dfdb;              /* logo warm beige */
  --wd-section-bg: #f2efeb;         /* soft beige-derived section tint */
  --wd-feature-icon: #0a6b47;
  --wd-text: #777777;
  --wd-title: #242424;
  --wd-entities: #333333;
  --wd-btn-shop: #035335;
  --wd-btn-shop-hover: #024027;
  --wd-btn-default: #f7f7f7;
  --wd-btn-default-hover: #efefef;
  --wd-container: 1222px;
  --wd-header-brd: rgba(129, 129, 129, 0.2);
  --wd-title-size: 32px;
  --wd-section-gap: 80px;
}

/* ---------- 2. Base ---------- */
body {
  color: var(--wd-text);
  font-size: 14px;
  line-height: 1.6;
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--wd-title);
  font-weight: 400;
}

.container {
  max-width: var(--wd-container) !important;
}

img {
  max-width: 100%;
}

.main-content {
  overflow: clip;
}

/* ---------- 3. Buttons ---------- */
.yc-btn,
.btn,
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 32px;
  background-color: var(--wd-btn-shop);
  color: #fff !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.yc-btn:hover,
.btn:hover,
button[type="submit"]:hover {
  background-color: var(--wd-btn-shop-hover);
  color: #fff !important;
  transform: translateY(-1px);
}

.yc-btn:active {
  transform: none;
}

/* Main add-to-cart button (product page): teal with a clearly active hover */
.yc-btn.add-to-cart-button {
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.yc-btn.add-to-cart-button:hover {
  background: #44b099 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(79, 195, 170, 0.35);
}

.yc-btn.add-to-cart-button:active {
  transform: translateY(0);
  box-shadow: none;
}

/* ---------- 4. Forms (underlined style) ---------- */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
textarea,
select {
  border: 0 !important;
  border-bottom: 1px solid #e7e7e7 !important;
  border-radius: 0 !important;
  background: transparent;
  padding: 10px 2px;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: var(--wd-entities);
  transition: border-color 0.25s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-bottom-color: var(--wd-primary) !important;
}

::placeholder {
  color: #9e9e9e;
}

/* Quantity box (product + cart) */
.quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e7e7e7;
  background: #fff;
}

.quantity-control .cart-quantity-btn {
  width: 30px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--wd-entities);
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.quantity-control .cart-quantity-btn:hover {
  background-color: var(--wd-primary);
  color: #fff;
}

/* ---------- 5. Section titles ---------- */
.yc-section-title,
.wd-title {
  margin: 0 0 30px;
  text-align: center;
  color: var(--wd-title);
  font-size: var(--wd-title-size);
  font-weight: 400;
  line-height: 1.3;
}

@media (max-width: 768px) {
  :root {
    --wd-title-size: 24px;
    --wd-section-gap: 40px;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  :root {
    --wd-section-gap: 60px;
  }
}

/* ---------- 6. Product grid (Woodmart look) ---------- */
.yc-featured-products .product-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

@media (max-width: 1024px) {
  .yc-featured-products .product-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .yc-featured-products .product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

/* Old card wrapper borders removed */
[class^="product-item-"],
[class*=" product-item-"] {
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* New card */
.wd-grid-item {
  position: relative;
  text-align: center;
}

.wd-grid-item .product-element-top {
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
}

.wd-grid-item .product-image-link {
  display: block;
  position: relative;
  background: #fff;
}

.wd-grid-item .product-image-link > img {
  display: block;
  width: 100%;
  height: auto;
}

.wd-grid-item .hover-img {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  opacity: 0;
  transition: opacity 0.5s ease, transform 2s cubic-bezier(0, 0, 0.44, 1.18);
  z-index: 1;
}

.wd-grid-item .hover-img img {
  width: 100%;
  height: auto;
}

.wd-grid-item:hover .hover-img {
  opacity: 1;
  transform: scale(1.09);
}

@media (max-width: 1024px) {
  .wd-grid-item .hover-img {
    display: none;
  }
}

.wd-grid-item .wd-entities-title {
  margin: 0 0 5px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.wd-grid-item .wd-entities-title a {
  color: var(--wd-entities);
  transition: color 0.25s ease;
}

.wd-grid-item .wd-entities-title a:hover {
  color: rgba(51, 51, 51, 0.65);
}

.wd-grid-item .price {
  display: block;
  margin: 0;
  color: var(--wd-primary);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.wd-grid-item .price del {
  color: #bdbdbd;
  font-size: 90%;
  font-weight: 400;
  margin-inline-end: 6px;
}

.wd-grid-item .price ins {
  text-decoration: none;
  color: var(--wd-primary);
}

/* Hot price: when a sale old price is struck through, the current price turns flame orange */
.wd-grid-item .price del + ins,
.wd-grid-item .price ins.on-sale {
  color: var(--wd-alternative);
}

/* Sale / promo pill labels — flame orange (logo accent) */
.product-labels {
  position: absolute;
  top: 7px;
  inset-inline-start: 7px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  min-height: 50px;
  padding: 5px 7px;
  border-radius: 35px;
  background-color: var(--wd-alternative);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  direction: ltr;
}

.product-label.promo {
  background-color: var(--wd-alternative);
}

@media (max-width: 575px) {
  .product-label {
    min-width: 40px;
    min-height: 40px;
    font-size: 10px;
  }
}

/* Hover action buttons (add / quick view / wishlist) */
.wd-buttons {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
}

[dir="rtl"] .wd-buttons {
  transform: translateX(-20px);
}

.wd-grid-item:hover .wd-buttons,
.wd-grid-item:focus-within .wd-buttons {
  opacity: 1;
  transform: translateX(0);
}

.wd-buttons .wd-action-btn > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  color: var(--wd-entities);
  font-size: 20px;
  transition: color 0.2s ease;
}

.wd-buttons .wd-action-btn > a:hover {
  color: var(--wd-primary);
}

.wd-buttons .wd-action-btn > a ion-icon {
  pointer-events: none;
}

.wd-buttons .wd-action-btn.wd-added > a {
  color: var(--wd-primary);
}

/* Add-to-cart action: teal circle, clearly active */
.wd-buttons .wd-add-cart > a {
  background: var(--wd-primary);
  color: #fff;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.wd-buttons .wd-add-cart > a:hover {
  background: #44b099;
  color: #fff;
  transform: scale(1.08);
}

@media (max-width: 1024px) {
  .wd-buttons {
    opacity: 1;
    transform: none;
    border-radius: 35px;
    overflow: hidden;
  }

  .wd-buttons .wd-quick-view {
    display: none;
  }

  .wd-buttons .wd-action-btn > a {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}

/* ---------- 7. Splide restyle (product sliders + hero) ---------- */
.splide__arrow {
  width: 48px !important;
  height: 48px !important;
  background: #fff !important;
  border: 1px solid #e7e7e7 !important;
  border-radius: 50% !important;
  color: var(--wd-entities);
  font-size: 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.splide__arrow:hover {
  background: #333 !important;
  color: #fff;
}

.splide__arrow svg {
  fill: currentColor;
  width: 18px;
  height: 18px;
}

.splide__pagination__page {
  width: 10px;
  height: 10px;
  background: #d5d5d5 !important;
  border: 0 !important;
  opacity: 1 !important;
}

.splide__pagination__page.is-active {
  background: var(--wd-entities) !important;
  transform: scale(1.15);
}

/* Product carousel spacing */
.yc-featured-products .splide__slide {
  padding: 3px;
}

/* Hero slider: banners at natural proportions (no fixed height, no crop) */
[class^="section-slider-"] .splide {
  height: auto !important;
}

[class^="section-slider-"] .splide__slide {
  position: relative;
  height: auto !important;
}

.wd-slide-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
}

/* Mobile hero: fixed 240px slides (all slides, so the height doesn't jump) */
@media (max-width: 768px) {
  [class^="section-slider-"] .yc-slider__mobile .splide__slide {
    height: 240px !important;
    overflow: hidden;
  }

  [class^="section-slider-"] .yc-slider__mobile .wd-slide-img {
    height: 100%;
    max-height: none;
    object-fit: cover;
  }
}

.wd-desktop-only {
  display: block;
}

.wd-mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .wd-desktop-only {
    display: none;
  }

  .wd-mobile-only {
    display: block;
  }

  .wd-slide-img {
    max-height: 240px;
  }
}

/* ---------- 8. Sticky smart header ---------- */
.yc-header {
  position: sticky;
  top: 0;
  z-index: 350;
  background: #fff;
  border-bottom: 1px solid var(--wd-header-brd);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yc-header.wd-stuck {
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.yc-header.wd-hidden {
  transform: translateY(-100%);
}

@media (max-width: 768px) {
  .yc-header {
    position: fixed;
    inset-inline: 0;
    top: 0;
  }

  body {
    padding-top: 60px;
  }
}

/* ---------- 9. Fullscreen search overlay ---------- */
.wd-search-full-screen {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 15vh 20px 0;
  background: rgba(0, 0, 0, 0.94);
}

.wd-search-full-screen.wd-open {
  display: flex;
  animation: wd-fade-in 0.3s ease;
}

.wd-search-full-screen form {
  width: 100%;
  max-width: 690px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.wd-search-full-screen input[type="text"] {
  flex: 1;
  border: 0 !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4) !important;
  background: transparent;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  padding: 10px 2px;
}

.wd-search-full-screen input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.wd-search-full-screen button[type="submit"] {
  min-height: auto;
  padding: 10px 22px;
  background: var(--wd-btn-shop);
}

.wd-search-full-screen .wd-search-info {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.wd-close-search {
  position: absolute;
  top: 30px;
  inset-inline-start: 30px;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  background: transparent;
  border: 0;
}

@keyframes wd-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- 10. Floating cart basket ---------- */
.wd-cart-basket {
  position: fixed;
  bottom: 12px;
  right: 0;
  z-index: 340;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #fff;
  color: var(--wd-primary);
  border-radius: 50%;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
  font-size: 30px;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.wd-cart-basket:hover {
  transform: scale(1.05);
}

.wd-cart-basket .wd-basket-count {
  position: absolute;
  top: -9px;
  inset-inline-start: -8px;
  min-width: 28px;
  height: 28px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wd-primary);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

/* ---------- 11. Cart drawer ---------- */
/* Column layout: header / scrolling items / footer. Only the items scroll,
   so the total and buttons never cover the last product. */
.cart-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -100%;
  z-index: 1000;
  width: 360px;
  max-width: 92vw;
  height: 100%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease-in-out;
}

.cart-drawer.open {
  right: 0;
}

.cart-drawer .cart-drawer__close {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--wd-title);
  font-size: 26px;
  cursor: pointer;
}

.cart-drawer__content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cart-drawer__content .header {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 56px;
  border-bottom: 1px solid #eee;
}

.cart-drawer__content .header h2.cart {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  color: var(--wd-title);
  font-size: 20px;
  font-weight: 600;
}

.cart-drawer__content .header h2.cart span {
  color: var(--wd-primary);
  font-size: 13px;
  font-weight: 600;
}

.cart-drawer__items {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.cart-drawer__items .products {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* One row per product: image | name, variants, price, then qty + remove */
.cart-drawer__items .cart-item {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.cart-drawer__items .cart-item .item-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cart-drawer__items .cart-item .item-image {
  flex: none;
  width: 76px;
  height: 76px;
  object-fit: cover;
  background: var(--wd-section-bg);
}

.cart-drawer__items .cart-item .item-details {
  flex: 1 1 auto;
  min-width: 0;
}

.cart-drawer__items .cart-item .product-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 4px;
  color: var(--wd-title);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.cart-drawer__items .cart-item .variants {
  margin-bottom: 4px;
  color: var(--wd-text);
  font-size: 12px;
  line-height: 1.5;
}

.cart-drawer__items .cart-item .product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}

.cart-drawer__items .cart-item .product-price .price {
  color: var(--wd-primary);
  font-size: 15px;
  font-weight: 700;
}

.cart-drawer__items .cart-item .compare-price {
  color: #a8a8a8;
  font-size: 12px;
  text-decoration: line-through;
}

.cart-drawer__items .cart-item .item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cart-drawer__items .quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e0e0e0;
  background: #fff;
}

.cart-drawer__items .quantity-control .cart-quantity-btn {
  width: 32px;
  height: 32px;
  font-size: 16px;
}

.cart-drawer__items .quantity-control input {
  width: 36px;
  height: 32px;
  padding: 0;
  border: 0;
  border-inline: 1px solid #e0e0e0;
  color: var(--wd-title);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  -moz-appearance: textfield;
}

.cart-drawer__items .quantity-control input::-webkit-outer-spin-button,
.cart-drawer__items .quantity-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-drawer__items .remove-item-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: 0;
  color: #a8a8a8;
  font-size: 18px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.cart-drawer__items .remove-item-btn:hover {
  color: var(--wd-alternative);
}

.cart-drawer__items .cart-item .spinner {
  width: 20px;
  height: 20px;
}

/* Bundles inside the drawer follow the same spacing */
.cart-drawer__items .cart-bundle-group[ui-context=drawer] {
  margin: 16px;
}

/* Empty state */
.cart-drawer__items .empty-cart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 60px 24px;
  text-align: center;
}

.cart-drawer__items .empty-cart ion-icon {
  color: var(--wd-beige);
  font-size: 64px;
}

.cart-drawer__items .empty-cart p {
  margin: 0;
  color: var(--wd-title);
  font-size: 15px;
  font-weight: 600;
}

/* Footer: total + actions, always visible */
.cart-drawer__content .footer {
  flex: none;
  padding: 14px 16px 16px;
  background: #fff;
  box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.08);
}

.cart-drawer__content .footer .price-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.cart-drawer__content .footer .total-price {
  color: var(--wd-title);
  font-size: 15px;
}

.cart-drawer__content .footer .currency-value {
  color: var(--wd-primary);
  font-size: 18px;
  font-weight: 700;
}

.cart-drawer__content .footer .footer-spinner {
  width: 20px;
  height: 20px;
}

.cart-drawer__content .yc-btn {
  display: flex;
  width: 100%;
  min-height: 48px;
  margin: 0;
  background: var(--wd-btn-shop) !important;
  color: #fff !important;
  font-weight: 600;
}

.cart-drawer__content .yc-btn:hover {
  background: var(--wd-btn-shop-hover) !important;
}

.cart-drawer__content .footer .cart-action {
  display: block;
  margin-top: 8px;
  padding: 10px;
  background: var(--wd-btn-default);
  color: var(--wd-entities);
  font-size: 14px;
  text-align: center;
  transition: background-color 0.25s ease;
}

.cart-drawer__content .footer .cart-action:hover {
  background: var(--wd-btn-default-hover);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 390;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ---------- 12. Wishlist drawer ---------- */
.wd-wishlist-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  inset-inline-end: 0;
  z-index: 400;
  width: 320px;
  max-width: 92vw;
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  transform: translateX(110%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
}

[dir="rtl"] .wd-wishlist-drawer {
  transform: translateX(-110%);
}

.wd-wishlist-drawer.open {
  transform: translateX(0);
}

.wd-wishlist-drawer .wd-drawer-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border-bottom: 2px solid #eee;
}

.wd-wishlist-drawer .wd-drawer-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #000;
}

.wd-wishlist-drawer .wd-wishlist-close {
  position: absolute;
  top: 12px;
  inset-inline-start: 10px;
  background: transparent;
  border: 0;
  font-size: 22px;
  color: #333;
  cursor: pointer;
}

.wd-wishlist-drawer .wd-wishlist-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px 15px;
}

.wd-wishlist-drawer .wd-wl-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f2f2f2;
}

.wd-wishlist-drawer .wd-wl-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
}

.wd-wishlist-drawer .wd-wl-item .wd-wl-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  margin-bottom: 4px;
}

.wd-wishlist-drawer .wd-wl-item .wd-wl-price {
  color: var(--wd-primary);
  font-weight: 600;
}

.wd-wishlist-drawer .wd-wl-remove {
  margin-inline-start: auto;
  align-self: flex-start;
  background: transparent;
  border: 0;
  color: #999;
  font-size: 18px;
  cursor: pointer;
}

.wd-wishlist-drawer .wd-wl-remove:hover {
  color: #df1e2f;
}

.wd-wishlist-drawer .wd-wl-empty {
  padding: 40px 10px;
  text-align: center;
  color: #777;
}

/* ---------- 13. Quick view modal ---------- */
.wd-quick-view-overlay {
  position: fixed;
  inset: 0;
  z-index: 450;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
}

.wd-quick-view-overlay.open {
  display: flex;
}

.wd-quick-view {
  position: relative;
  width: 100%;
  max-width: 920px;
  background: #fff;
  overflow: hidden;
  animation: wd-pop-in 0.3s ease;
}

.wd-quick-view .wd-qv-close {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  z-index: 2;
  background: transparent;
  border: 0;
  font-size: 24px;
  color: #333;
  cursor: pointer;
}

.wd-quick-view .wd-qv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.wd-quick-view .wd-qv-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wd-quick-view .wd-qv-summary {
  padding: 40px 30px;
  text-align: center;
}

.wd-quick-view .wd-qv-title {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--wd-title);
}

.wd-quick-view .wd-qv-price {
  color: var(--wd-primary);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.wd-quick-view .wd-qv-price del {
  color: #bdbdbd;
  font-size: 90%;
  font-weight: 400;
  margin-inline-end: 6px;
}

.wd-quick-view .wd-qv-cta {
  min-width: 200px;
}

@media (max-width: 768px) {
  .wd-quick-view .wd-qv-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes wd-pop-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 14. Feature boxes (services / why us / contact) ---------- */
.wd-feature-boxes {
  padding-top: var(--wd-section-gap);
  padding-bottom: var(--wd-section-gap);
  background: #fff;
}

.wd-feature-boxes.wd-alt-bg {
  background: var(--wd-section-bg);
}

.wd-feature-boxes .wd-boxes-grid {
  display: grid;
  gap: 30px;
}

.wd-feature-boxes .wd-box {
  text-align: center;
}

.wd-feature-boxes .wd-box .wd-box-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 42px;
  color: var(--wd-feature-icon);
}

.wd-feature-boxes .wd-box .wd-box-icon ion-icon {
  pointer-events: none;
}

.wd-feature-boxes .wd-box .wd-box-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 400;
  color: var(--wd-title);
}

.wd-feature-boxes .wd-box .wd-box-text {
  margin: 0;
  font-size: 14px;
  color: var(--wd-text);
  line-height: 1.7;
}

.wd-feature-boxes .wd-box .wd-box-link {
  color: var(--wd-primary);
  font-weight: 600;
  font-size: 15px;
}

/* ---------- 15. Testimonials ---------- */
.wd-testimonials {
  padding-top: var(--wd-section-gap);
  padding-bottom: var(--wd-section-gap);
  background: var(--wd-section-bg);
}

.wd-testimonial {
  background: #fff;
  padding: 30px;
  text-align: center;
  height: 100%;
  box-sizing: border-box;
}

.wd-testimonial .wd-stars {
  color: #eabe12;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.wd-testimonial .wd-stars .wd-star-off {
  color: #c9c9c9;
}

.wd-testimonial .wd-text {
  font-size: 14px;
  color: var(--wd-text);
  line-height: 1.8;
  margin: 0 0 16px;
}

.wd-testimonial .wd-author {
  font-size: 15px;
  font-weight: 600;
  color: var(--wd-entities);
}

/* ---------- 16. Instagram strip ---------- */
.wd-instagram {
  padding-top: var(--wd-section-gap);
  padding-bottom: var(--wd-section-gap);
}

.wd-instagram .wd-ig-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

@media (max-width: 768px) {
  .wd-instagram .wd-ig-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
}

.wd-instagram .wd-ig-item {
  position: relative;
  display: block;
  overflow: hidden;
  background: #f4f4f4;
}

.wd-instagram .wd-ig-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.wd-instagram .wd-ig-item:hover img {
  transform: scale(1.08);
}

.wd-instagram .wd-ig-item .wd-ig-mask {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 22px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.wd-instagram .wd-ig-item:hover .wd-ig-mask {
  opacity: 1;
}

/* ---------- 17. Footer skin ---------- */
.yc-footer {
  background: #fff;
  border-top: 1px solid #e7e7e7;
  color: var(--wd-text);
}

.yc-footer .yc-footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 20px;
}

.yc-footer .yc-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.yc-footer .yc-footer-links .item {
  display: inline-block;
  padding: 8px 12px;
  color: var(--wd-text);
  font-size: 14px;
  transition: color 0.2s ease;
}

.yc-footer .yc-footer-links .item:hover {
  color: var(--wd-entities);
}

.yc-footer .yc-footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.yc-footer .link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #333;
  border-radius: 50%;
  overflow: hidden;
  transition: background-color 0.25s ease;
}

.yc-footer .link:hover {
  background: var(--wd-primary);
}

.yc-footer .link img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Store social accounts (footer has no menu links any more) */
.yc-footer .yc-footer-row {
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.yc-footer .link ion-icon {
  color: #fff;
  font-size: 20px;
}

.yc-footer .link--whatsapp {
  background: #25d366;
}

.yc-footer .yc-footer-phone {
  color: var(--wd-text);
  font-size: 14px;
  font-weight: 600;
}

.yc-footer .yc-footer-copyright {
  border-top: 1px solid rgba(119, 119, 119, 0.2);
}

.yc-footer .yc-footer-copyright .min-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
}

.yc-footer .copyright-title {
  color: var(--wd-text);
  font-size: 13px;
}

.yc-footer .yc-footer-brand {
  display: block;
  margin-top: 4px;
  color: var(--wd-text);
  font-size: 13px;
}

.yc-footer .yc-footer-brand strong {
  color: var(--wd-entities);
  font-weight: 600;
}

.yc-footer .yc-footer-brand i {
  font-style: normal;
}

.yc-footer .yc-footer-slogan {
  display: block;
  margin-top: 2px;
  color: var(--wd-primary);
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .yc-footer .yc-footer-row {
    justify-content: center;
    text-align: center;
  }

  .yc-footer .yc-footer-links {
    justify-content: center;
  }

  .yc-footer .yc-footer-copyright .min-footer {
    justify-content: center;
    text-align: center;
  }
}

/* ---------- 18. Page title banner (collections / search) ---------- */
.wd-page-title {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 152px;
  margin-bottom: 40px;
  background-color: var(--wd-primary);
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
}

.wd-page-title .wd-pt-inner {
  width: 100%;
  padding: 20px;
}

.wd-page-title h1 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 32px;
  font-weight: 400;
}

.wd-page-title .wd-breadcrumbs {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.wd-page-title .wd-breadcrumbs a {
  color: rgba(255, 255, 255, 0.7);
}

.wd-page-title .wd-breadcrumbs a:hover {
  color: #fff;
}

/* ---------- 19. Scroll to top ---------- */
.wd-scroll-top {
  position: fixed;
  bottom: 90px;
  inset-inline-end: 12px;
  z-index: 330;
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 50%;
  color: #333;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.wd-scroll-top.wd-show {
  display: flex;
}

.wd-scroll-top:hover {
  background: #333;
  color: #fff;
}

/* ---------- 20. Navbar drawer (mobile menu) ---------- */
.navigation-drawer.navbar-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  inset-inline-start: 0;
  width: 300px;
  max-width: 86vw;
  z-index: 400;
  background: #fff;
  padding: 20px;
  overflow-y: auto;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  /* Hidden by default (matches main.js closeDrawer state) */
  transform: translateX(-150vw);
  transition: transform 0.3s ease;
}

[dir="rtl"] .navigation-drawer.navbar-drawer {
  transform: translateX(150vw);
}

.navigation-drawer.navbar-drawer .logo img {
  max-width: 100px;
}

.navigation-drawer.navbar-drawer .mobile-search {
  display: flex;
  gap: 8px;
  margin: 18px 0;
}

.navigation-drawer.navbar-drawer .mobile-search input {
  flex: 1;
  border: 1px solid #e7e7e7 !important;
  border-radius: 0 !important;
  padding: 10px 12px;
}

.navigation-drawer.navbar-drawer .items-wrapper a {
  display: block;
  padding: 12px 4px;
  color: var(--wd-entities);
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid #f2f2f2;
}

.navigation-drawer.navbar-drawer .close-drawer-btn {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  background: transparent;
  border: 0;
  font-size: 24px;
  cursor: pointer;
}

/* ---------- 21. Misc ---------- */
/* Links */
a.wd-link {
  color: #333;
}

a.wd-link:hover {
  color: #242424;
}

/* Old featured-products section wrappers cleaned */
.yc-featured-products {
  padding-top: var(--wd-section-gap);
  padding-bottom: var(--wd-section-gap);
}

/* Sort + pagination on listings */
.main-sort select,
.main-pagination a,
.main-pagination span {
  color: var(--wd-entities);
}

.main-pagination a:hover {
  color: var(--wd-primary);
}

/* ---------- 22. Shop pages (collection + all products) ---------- */
.yc-product-listing-container {
  padding: 0 16px 60px; /* overrides legacy 150-250px paddings from product-listing.css */
}

.wd-page-title .breadcrumbs-container,
.wd-page-title .breadcrumbs-listings {
  background: none;
  padding: 0;
}

.wd-page-title .breadcrumbs-listings {
  margin: 0 auto;
}

.wd-page-title .breadcrumbs-container {
  position: static;
}

.wd-page-title .breadcrumbs-container a,
.wd-page-title .breadcrumbs-container span {
  color: rgba(255, 255, 255, 0.75);
}

.wd-page-title .breadcrumbs-container a:hover {
  color: #fff;
}

.wd-page-title .breadcrumbs-container .listings__item {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
}

/* Collection banner breadcrumbs: match the search page's .wd-crumbs.
   Selectors must beat main.css's 3-class Aura rules (grey/black text). */
.wd-page-title .breadcrumbs-container .breadcrumbs-listings {
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
}

.wd-page-title .breadcrumbs-container .breadcrumbs-listings a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 400;
}

.wd-page-title .breadcrumbs-container .breadcrumbs-listings a:hover {
  color: #fff;
}

.wd-page-title .breadcrumbs-container .breadcrumbs-listings .third-listing {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.wd-page-title .breadcrumbs-container .breadcrumbs-listings ion-icon {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.wd-page-title .wd-pt-name {
  margin: 8px 0 0;
  color: #fff;
  font-size: 32px;
  font-weight: 400;
}

.wd-page-title .wd-crumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
}

.wd-page-title .wd-crumbs a,
.wd-page-title .wd-crumbs span {
  color: rgba(255, 255, 255, 0.75);
}

.wd-page-title .wd-crumbs a:hover {
  color: #fff;
}

.wd-page-title .wd-crumbs ion-icon {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* Sidebar layout */
.wd-shop-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 60px;
}

.wd-shop-widget__title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--wd-primary);
  color: var(--wd-title);
  font-size: 16px;
  font-weight: 600;
}

.wd-shop-widget__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wd-shop-widget__sublist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wd-shop-widget__sublist .wd-shop-cat {
  padding-inline-start: 14px;
  font-size: 13px;
  color: var(--wd-text);
}

.wd-shop-cat {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid rgba(129, 129, 129, 0.12);
  color: var(--wd-text);
  font-size: 14px;
  transition: color 0.2s ease, padding-inline-start 0.2s ease;
}

.wd-shop-cat:hover {
  color: var(--wd-primary-bright);
  padding-inline-start: 6px;
}

.wd-shop-cat--all {
  color: var(--wd-primary);
  font-weight: 600;
}

.wd-shop-cat--all:hover {
  color: var(--wd-primary-bright);
}

.wd-shop-cat.wd-active {
  color: var(--wd-primary);
  font-weight: 600;
  padding-inline-start: 6px;
}

/* Toolbar: result count + sort */
.wd-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.wd-shop-count {
  color: var(--wd-text);
  font-size: 13px;
}

.wd-shop-toolbar .sort-container {
  display: block;
  margin: 0;
}

/* Sort dropdown (Woodmart select look) */
.sort-container #productDropdownFiltring {
  position: relative;
  z-index: 20; /* above product cards' badges/buttons (z-index 1-2) */
  width: 280px;
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--wd-header-brd);
  border-radius: 0;
  background: #fff;
}

.sort-container #productDropdownFiltring .dropbtn {
  position: relative;
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  padding: 10px 14px;
  padding-inline-end: 40px; /* room for the chevron */
  color: var(--wd-title);
  font-size: 14px;
  font-weight: 500;
}

.sort-container #productDropdownFiltring .dropbtn .order-by {
  margin: 0;
  min-width: 0; /* let the flex item shrink so the ellipsis works */
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sort-container #productDropdownFiltring .dropdown-icon {
  position: absolute;
  top: 50%;
  left: auto;
  right: auto;
  inset-inline-end: 14px;
  transform: translateY(-50%);
  font-size: 16px;
  pointer-events: none;
}

.sort-container #productDropdownFiltring .dropdown-content {
  top: 100%;
  left: 0;
  right: 0;
  z-index: 30;
  width: 100%;
  margin: 0;
  padding: 6px 0;
  border: 1px solid var(--wd-header-brd);
  border-top: 0;
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.sort-container #productDropdownFiltring .dropdown-content a {
  display: block; /* one option per line on every page (search doesn't load product-listing.css) */
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 10px 14px;
  color: var(--wd-text);
  font-size: 14px;
  text-align: start;
}

.sort-container #productDropdownFiltring .dropdown-content a:hover,
.sort-container #productDropdownFiltring .dropdown-content a:focus-visible {
  background: var(--wd-section-bg);
  color: var(--wd-primary);
}

.sort-container #productDropdownFiltring .dropdown-content a.selected {
  color: var(--wd-primary);
  font-weight: 600;
}

/* Compact sub-category pills */
.wd-subcat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.wd-subcat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--wd-header-brd);
  border-radius: 0;
  background: #fff;
  color: var(--wd-title);
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.wd-subcat-chip:hover {
  border-color: var(--wd-primary);
  color: var(--wd-primary);
}

.wd-subcat-chip__img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--wd-section-bg);
}

.wd-subcat-chip__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Empty collection state */
.wd-empty-collection {
  padding: 70px 20px;
  text-align: center;
}

.wd-empty-collection .wd-empty-title {
  color: var(--wd-title);
  font-size: 22px;
}

.wd-empty-collection .wd-empty-text {
  margin: 10px 0 0;
  color: var(--wd-text);
}

.wd-empty-collection .yc-btn {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 28px;
  background: var(--wd-primary);
  border-radius: 0;
  color: #fff;
  font-size: 14px;
}

.wd-empty-collection .yc-btn:hover {
  background: var(--wd-primary-bright);
  color: #fff;
}

/* Product grid */
.yc-product-listing-container .product-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.yc-product-listing-container .product-list:empty {
  display: none;
}

@media (max-width: 1024px) {
  .yc-product-listing-container .product-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .wd-shop-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .wd-shop-sidebar {
    display: none;
  }

  .wd-page-title .wd-pt-name {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .yc-product-listing-container .product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .wd-shop-toolbar .sort-container,
  .sort-container #productDropdownFiltring {
    width: 100%;
  }
}

/* ---------- 23. Product page ---------- */
.yc-single-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

@media (max-width: 1024px) {
  .yc-single-product {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

.yc-single-product .product-name {
  margin: 0 0 10px;
  color: var(--wd-title);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
}

.yc-single-product .product-price-container {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.yc-single-product .product-price {
  margin: 0;
  color: var(--wd-primary);
  font-size: 24px;
  font-weight: 600;
}

.yc-single-product .compare-price del {
  color: #bdbdbd;
  font-size: 18px;
  font-weight: 400;
}

.yc-single-product .product-description {
  margin: 16px 0;
  color: var(--wd-text);
  font-size: 14px;
  line-height: 1.8;
}

.yc-single-product .product-details > * {
  margin-bottom: 8px;
}

/* Keep the whole details column tight (cuisineMall-like density) */
.yc-single-product .product-details {
  row-gap: 0;
}

.yc-single-product .product-details > details.wd-acc {
  margin-bottom: 8px;
}

/* Gallery images square, no rounding */
.yc-single-product .splide__track img,
.yc-single-product img {
  border-radius: 0;
}

/* Variant option buttons (Woodmart swatch style) */
.yc-single-product .product-variants button,
.yc-single-product .product-variants .yc-variant,
.yc-single-product [class*="variant"] button {
  min-height: 42px;
  padding: 8px 18px;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 0;
  color: var(--wd-entities);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.yc-single-product .product-variants button:hover,
.yc-single-product [class*="variant"] button:hover {
  border-color: #333;
}

.yc-single-product .product-variants button.selected,
.yc-single-product [class*="variant"] button.selected {
  background: #333;
  border-color: #333;
  color: #fff;
}

/* ---------- 24. Search / cart page headers ---------- */
.main-search .yc-section-title,
.cart-page-title {
  color: var(--wd-title);
  font-size: var(--wd-title-size);
  font-weight: 400;
  text-align: center;
}

/* ---------- 24b. Hero slogan (Kouzina Max brand) ----------
   Big readable slogan over the hero images: white type on a soft
   bottom scrim so it stays legible on any photo. */
.yc-slider__desktop .caption,
.yc-slider__mobile .caption {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 24px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.yc-slider__desktop .caption::before,
.yc-slider__mobile .caption::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(3, 83, 53, 0.55),
    rgba(3, 83, 53, 0.18) 60%,
    transparent
  );
}

.yc-slider__desktop .caption > *,
.yc-slider__mobile .caption > * {
  margin: 0;
}

.yc-slider__desktop .caption p:first-child,
.yc-slider__mobile .caption p:first-child {
  font-size: clamp(26px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.yc-slider__desktop .caption p:not(:first-child),
.yc-slider__mobile .caption p:not(:first-child) {
  font-size: clamp(13px, 1.6vw, 18px);
  font-weight: 400;
  opacity: 0.92;
}

/* ---------- 25. Native <details> accordions (product page) ---------- */details.wd-acc {
  border: 1px solid #ededed;
  background: #fff;
  overflow: hidden;
}

details.wd-acc summary.wd-acc-title {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: inherit;
  transition: color 0.2s ease;
}

details.wd-acc summary.wd-acc-title::-webkit-details-marker {
  display: none;
}

details.wd-acc summary.wd-acc-title:hover {
  color: var(--wd-primary);
}

details.wd-acc summary.wd-acc-title::after {
  content: '';
  width: 8px;
  height: 8px;
  border-inline-end: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateX(-2px);
  transition: transform 0.25s ease;
  flex: 0 0 auto;
}

details.wd-acc[open] summary.wd-acc-title::after {
  transform: rotate(-135deg) translateX(-2px);
}

details.wd-acc .wd-acc-body {
  padding: 2px 16px 14px 16px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--wd-text);
}

/* ---------- 26. Mobile header & cards (cuisineMall behavior) ---------- */
/* On mobile the header shows only menu + logo: search and wishlist live
   inside the menu drawer, and product cards keep their floating buttons
   for desktop only. */
@media (max-width: 768px) {
  .yc-navbar .corner {
    display: none;
  }

  .product-grid-item .wd-buttons {
    display: none !important;
  }
}

/* ---------- 27. Menu drawer top row + flat category list ---------- */
.wd-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px 10px 18px;
}

.wd-drawer-tools {
  display: flex;
  align-items: center;
}

.wd-drawer-tools .wishlist {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 0;
  font-size: 21px;
  color: #333;
  cursor: pointer;
  transition: color 0.25s ease;
}

.wd-drawer-tools .wishlist:hover {
  color: var(--wd-primary);
}

.wd-drawer-tools .wishlist ion-icon {
  pointer-events: none;
}

.wd-drawer-tools .wd-wishlist-count {
  position: absolute;
  top: 2px;
  inset-inline-start: 2px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wd-primary);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

/* Flat one-line category links — identical to the desktop bar (cuisineMall) */
.wd-drawer-cat {
  display: block;
  padding: 13px 18px;
  border-bottom: 1px solid #f2f2f2;
  color: var(--wd-title);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.wd-drawer-cat:hover,
.wd-drawer-cat.is-active {
  background: var(--wd-section-bg, #fafafa);
  color: var(--wd-primary);
}
