/* Maks Cha Dao — mcd-woocommerce.css (split from legacy bundle) */
/* extracted */
/* --- block 4 --- */
/* Logo header */
.mcd-logo-img{height:68px;width:auto;max-width:none;}
.mcd-brand{width:auto;flex-shrink:0;}
#categories .mcd-cats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;width:100%;}
.mcd-cat-card-inner{overflow:hidden;}
.mcd-cat-row{display:contents;}
.mcd-cat-card{height:auto;min-height:0;}
.mcd-cat-card-inner{height:100%;display:flex;flex-direction:column;justify-content:flex-end;}
/* Remove reviews */
#reviews,.woocommerce-Reviews,section.reviews-section{display:none!important;}

/* extracted */
/* --- block 6 --- */
/* === Header sizing per spec: 92px height, logo max 180px === */
.mcd-header,.site-header{height:92px;min-height:92px;}
.mcd-header-inner,.mcd-header > .mcd-wrap.mcd-header-inner{height:92px;display:flex;align-items:center;}
/* === Shop page — unified page chrome handles archive title === */

/* extracted */
/* --- block 9 --- */
/* ===== SHOP PAGE — PRODUCT GRID ===== */

/* 4-column grid, 24px gap */
body:not(.mcd-product-page) .woocommerce ul.products,
body:not(.mcd-product-page) .woocommerce-page ul.products,
body:not(.mcd-product-page).post-type-archive-product ul.products,
body:not(.mcd-product-page).woocommerce-shop ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 0;
  margin: 0 0 40px 0;
}

/* Product card base */
.woocommerce ul.products li.product:not(.mcd-product-card),
.woocommerce-page ul.products li.product:not(.mcd-product-card) {
  width: 100%;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(212,181,101,0.14);
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color .25s ease;
  float: none;
}
.woocommerce ul.products li.product:hover {
  border-color: rgba(212,181,101,0.4);
}

/* Placeholder image area — 1:1 square (not on compact cards) */
.mcd-product-placeholder:not(.mcd-product-placeholder--compact) {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.mcd-product-placeholder span {
  font-size: 64px;
  opacity: 0.08;
  color: #d4b565;
  line-height: 1;
}

/* Real WooCommerce image */
.woocommerce ul.products li.product .post_featured img,
.woocommerce ul.products li.product img.wp-post-image,
.woocommerce ul.products li.product .attachment-woocommerce_thumbnail {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  margin-bottom: 14px;
}

/* Post layout wrapper — remove extra spacing */
.woocommerce ul.products li.product .post_item {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0;
}
.woocommerce ul.products li.product .post_featured {
  margin-bottom: 0;
  padding: 0;
}
.woocommerce ul.products li.product .post_featured a {
  display: block;
}

/* Product title */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
  font-size: 16px;
  font-weight: 500;
  color: #F4F1EA;
  line-height: 1.3;
  min-height: 42px;
  max-height: 48px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  padding: 0;
  margin: 0 0 8px 0;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title a,
.woocommerce ul.products li.product h2 a {
  color: #F4F1EA;
  text-decoration: none;
}
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title a,
.woocommerce ul.products li.product:hover h2 a {
  color: #d4b565;
}

/* Hide description excerpt in loop */
.woocommerce ul.products li.product .post_excerpt,
.woocommerce ul.products li.product .woocommerce-product-details__short-description,
.woocommerce ul.products li.product .entry-summary > p:not(.price),
.woocommerce ul.products li.product .post_data > p:not(.price),
.woocommerce ul.products li.product .post_data [class*="excerpt"] {
  display: none;
}

/* Category badge & meta */
.woocommerce ul.products li.product .posted_in,
.woocommerce ul.products li.product .cat-links {
  font-size: 11px;
  color: rgba(244,241,234,0.45);
  margin-bottom: 4px;
  display: block;
}

/* Price */
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product span.price {
  font-size: 22px;
  font-weight: 600;
  color: #d4b565;
  margin: auto 0 10px 0;
  display: block;
  padding-top: 8px;
}

/* Add to cart / View product button */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .add_to_cart_button {
  display: block;
  width: 100%;
  height: 42px;
  line-height: 42px;
  padding: 0;
  text-align: center;
  background: transparent;
  border: 1px solid rgba(212,181,101,0.4);
  color: #d4b565;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 4px;
  transition: background .25s, color .25s;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover {
  background: #d4b565;
  color: #000;
}

/* Hide wishlist button in grid */
.woocommerce ul.products li.product .mcd-wishlist-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  background: rgba(5,5,5,0.7);
  border: 1px solid rgba(212,181,101,0.2);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  color: rgba(244,241,234,0.5);
  padding: 0;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.woocommerce ul.products li.product .mcd-wishlist-btn:hover {
  color: #d4b565;
  border-color: rgba(212,181,101,0.5);
}

/* In-stock badge */
.woocommerce ul.products li.product .availability,
.woocommerce ul.products li.product .stock {
  font-size: 11px;
  color: rgba(212,181,101,0.7);
  margin-bottom: 4px;
}

/* Remove star rating from loop */
.woocommerce ul.products li.product .star-rating {
  display: none;
}

/* Shop page heading */
.woocommerce-shop h1.page-title,
body.woocommerce-shop .mcd-cat-hero__title,
.woocommerce-shop .entry-title,
.archive.woocommerce-shop h1 {
  font-size: 64px !important;
  font-weight: 400 !important;
  color: #F4F1EA !important;
  letter-spacing: .02em !important;
}

/* Results count & ordering row */
.woocommerce-result-count {
  color: rgba(244,241,234,0.5) !important;
  font-size: 13px !important;
}
.woocommerce-ordering select {
  background: transparent !important;
  border: 1px solid rgba(212,181,101,0.28) !important;
  color: #F4F1EA !important;
  height: 42px !important;
  padding: 0 12px !important;
  font-size: 13px !important;
}



/* extracted */
/* --- block 10 --- */
/* ===== SHOP FIX v25 — placeholder height + meta cleanup ===== */

/* Cap placeholder at fixed height, not full 1:1 */
.mcd-product-placeholder {
  aspect-ratio: unset;
  height: 200px;
  max-height: 200px;
}

/* Hide meta tags: "аромат · баланс", tags, etc */
.woocommerce ul.products li.product .tagged_as,
.woocommerce ul.products li.product .post_data .mcd-meta,
.woocommerce ul.products li.product .post_data p.mcd-meta,
.woocommerce ul.products li.product .post_data [class*="tags"],
.woocommerce ul.products li.product .post_header + p,
.woocommerce ul.products li.product .post_data > *:not(.post_header):not(.availability):not(.price):not(.button):not(.add_to_cart_button):not(.woocommerce-loop-product__title):not(.post_featured):not(.mcd-wishlist-btn) {
  display: none;
}

/* Keep only: image area, title, stock, price, button */
.woocommerce ul.products li.product .post_data {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.woocommerce ul.products li.product .post_header {
  margin-bottom: 8px;
}

/* Price always at bottom */
.woocommerce ul.products li.product .price {
  margin-top: auto;
  padding-top: 12px;
}

/* Availability styled small */
.woocommerce ul.products li.product .availability {
  display: block;
  font-size: 11px;
  color: rgba(212,181,101,0.65);
  margin-bottom: 4px;
}

/* Category tags pill — keep but small */
.woocommerce ul.products li.product .product_tag,
.woocommerce ul.products li.product .product-category,
.woocommerce ul.products li.product .cat-link-list {
  display: none;
}

/* Hide WC "продукт" term label */
.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product mark {
  display: none;
}

/* Make sure post_featured link doesn't add extra height */
.woocommerce ul.products li.product .post_featured,
.woocommerce ul.products li.product .post_featured a {
  display: block;
  line-height: 0;
  margin-bottom: 14px;
}

/* Fix card to not stretch too tall */
.woocommerce ul.products li.product,
.woocommerce ul.products li.product .post_item {
  height: auto;
  min-height: unset;
}



/* extracted */
/* --- block 11 --- */
/* Show Виж продукта button, hide Бърз преглед */
.woocommerce ul.products li.product a.mcd-view-product {
  display: block;
  width: 100%;
  height: 42px;
  line-height: 42px;
  padding: 0;
  text-align: center;
  background: transparent;
  border: 1px solid rgba(212,181,101,0.35);
  color: #d4b565;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 10px;
  transition: background .25s, color .25s, border-color .25s;
}
.woocommerce ul.products li.product a.mcd-view-product:hover {
  background: #d4b565;
  color: #000;
  border-color: #d4b565;
}
/* Hide quick preview */
.woocommerce ul.products li.product a.mcd-quick-btn {
  display: none;
}
/* Decimals comma: inc/wc-price-display.php (avoid double comma with legacy ::before) */
.woocommerce-Price-amount .decimals::before {
  content: none !important;
}
.woocommerce ul.products li.product .price .woocommerce-Price-amount {
  font-size: inherit;
  color: inherit;
}
.woocommerce ul.products li.product .price .woocommerce-Price-currencySymbol {
  font-size: 14px;
  vertical-align: super;
  margin-right: 2px;
}
/* Category badge pill */
.woocommerce ul.products li.product .cat-link-list,
.woocommerce ul.products li.product [class*="product_cat"] a {
  display: none;
}
.woocommerce ul.products li.product .mcd-cat-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(212,181,101,0.7);
  border: 1px solid rgba(212,181,101,0.25);
  padding: 2px 8px;
  margin-bottom: 6px;
}



/* extracted */
/* --- block 12 --- */
/* Ultra-high specificity to show view-product button */
body.woocommerce-page ul.products li.product a.mcd-view-product,
body.woocommerce ul.products li.product a.mcd-view-product,
body ul.products li.product a.mcd-view-product {
  display: block;
  visibility: visible;
}
/* And hide quick-btn */
body ul.products li.product a.mcd-quick-btn,
body.woocommerce ul.products li.product a.mcd-quick-btn {
  display: none;
}



/* extracted */
/* --- block 18 --- */
/* --- Global container max-width 1480px --- */
.container, .container-wide,
.trx_addons_wrap, .trx_addons_container,
.content_wrap, .page_content_wrap,
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1480px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* --- Hover: buttons brightness --- */
.sc_button, .woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce #respond input#submit,
.wp-block-button__link, [class*="sc_button"],
.mcd-btn, button[type="submit"] {
    transition: filter 0.2s ease, opacity 0.2s ease;
}
.sc_button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce input.button:hover, .woocommerce #respond input#submit:hover,
.wp-block-button__link:hover, [class*="sc_button"]:hover,
.mcd-btn:hover, button[type="submit"]:hover {
    filter: brightness(1.08);
}

/* --- Hover: card border brightens --- */
.scheme_default .post_item,
.woocommerce ul.products li.product,
.sc_team_item, .sc_services_item,
[class*="sc_blogger_item"],
.trx_addons_column-1_2, .trx_addons_column-1_3, .trx_addons_column-1_4,
.mcd-contacts-form-card, .mcd-visit-card {
    transition: border-color 0.25s ease;
}
.scheme_default .post_item:hover,
.woocommerce ul.products li.product:hover,
.sc_team_item:hover, .sc_services_item:hover,
[class*="sc_blogger_item"]:hover,
.mcd-contacts-form-card:hover, .mcd-visit-card:hover {
    border-color: rgba(212,181,101,0.45);
}



/* extracted */
/* --- block 19 --- */
@media (max-width: 1023px) {
  /* Header — 76px height, logo 118px wide */
  .page_wrap > header.site_header,
  header#site_header { height: 76px !important; min-height: 76px !important; }
  header#site_header .logo_image img,
  .page_wrap > header .logo img { max-width: 118px !important; width: 118px !important; }
  /* Burger — show, hide nav links */
  .menu_mobile_button { display: flex !important; }
  .top_panel .sc_layouts_row_type_normal .menu_main_nav { display: none !important; }
  .top_panel_mobile .menu_main_nav { display: flex !important; flex-direction: column; }
  /* Section padding */
  .wpb_row.vc_row, section.wpb_row { padding-left: 16px !important; padding-right: 16px !important; }
}

@media (max-width: 767px) {
  /* H1 headings */
  h1, .page_title h1, .entry-title { font-size: 34px !important; line-height: 1.15 !important; }
  .sc_layouts_title_title { font-size: 38px !important; }
  /* Hero override */
  .mcd-hero-title, [class*="mcd-hero"] h1 { font-size: 42px; }

  /* Product grid — 2 columns */
  .woocommerce ul.products { grid-template-columns: 1fr 1fr; gap: 12px; }
  .woocommerce ul.products.columns-3,
  .woocommerce ul.products.columns-4,
  .woocommerce ul.products.columns-5 {
    grid-template-columns: 1fr 1fr;
  }

  /* Buttons — full-width, 48px height */
  .woocommerce a.button, .woocommerce button.button,
  .woocommerce input.button, .woocommerce #respond input#submit,
  .sc_button, .mcd-btn { 
    width: 100%; 
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  /* Section padding */
  .wpb_row.vc_row, section.wpb_row, .vc_row { 
    padding-top: 32px !important; 
    padding-bottom: 32px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .mcd-contacts-wrap { padding: 32px 16px 60px; }
  .mcd-contacts-grid { grid-template-columns: 1fr; }
  .mcd-contacts-map-block { grid-template-columns: 1fr; }

  /* Footer — single column (accordion-ready) */
  .footer_wrap .footer_columns,
  footer .trx_addons_columns_wrap { 
    grid-template-columns: 1fr !important; 
    flex-direction: column !important;
  }
  footer .footer_column { width: 100% !important; margin-bottom: 0 !important; }
  /* Footer accordion toggle */
  footer .footer_column h5,
  footer .footer_column .widget-title {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(212,181,101,0.15);
    margin-bottom: 0 !important;
  }
  footer .footer_column h5::after,
  footer .footer_column .widget-title::after {
    content: '+';
    font-size: 20px;
    color: #d4b565;
    transition: transform 0.25s;
  }
  footer .footer_column.mcd-open h5::after,
  footer .footer_column.mcd-open .widget-title::after { content: '−'; }
  footer .footer_column .widget { 
    overflow: hidden; 
    max-height: 0; 
    transition: max-height 0.35s ease;
  }
  footer .footer_column.mcd-open .widget { max-height: 600px; }

  /* Tea category cards — single col */
  .mcd-categories-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* Blog/article grids */
  .trx_addons_column-1_3, .trx_addons_column-1_4 { width: 100% !important; }
  .trx_addons_column-1_2 { width: 100% !important; }
}



/* extracted */
/* --- block 20 --- */
/* Cart layout */
.woocommerce-cart .woocommerce { max-width:1480px; margin:0 auto; padding:0 32px; }
.woocommerce-cart table.cart { width:100%; border-collapse:collapse; }
.woocommerce-cart table.cart th {
    font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:.08em;
    color:rgba(212,181,101,0.7); border-bottom:1px solid rgba(212,181,101,0.2); padding:10px 12px;
}
.woocommerce-cart table.cart td { padding:18px 12px; border-bottom:1px solid rgba(255,255,255,0.05); vertical-align:middle; }
/* Sticky summary */
.cart-collaterals .cart_totals {
    position:sticky; top:108px;
    background:rgba(255,255,255,0.03); border:1px solid rgba(212,181,101,0.15);
    border-radius:8px; padding:28px;
}
.cart_totals h2 { font-size:16px; font-weight:600; text-transform:uppercase; letter-spacing:.06em; margin-bottom:20px; color:#F4F1EA; }
.cart_totals table { width:100%; border-collapse:collapse; margin-bottom:20px; }
.cart_totals table th { font-size:13px; color:rgba(244,241,234,0.6); padding:8px 0; font-weight:400; }
.cart_totals table td { font-size:14px; text-align:right; padding:8px 0; }
.cart_totals table tr.order-total td { font-size:20px; font-weight:600; color:#d4b565; }
/* Checkout button */
.wc-proceed-to-checkout .checkout-button {
    display:block; width:100%; height:52px; background:#d4b565; color:#000;
    font-weight:600; text-transform:uppercase; letter-spacing:.06em;
    text-align:center; line-height:52px; border:none; cursor:pointer;
}
.wc-proceed-to-checkout .checkout-button:hover { filter:brightness(1.08); }
/* Benefits under summary */
.mcd-cart-benefits {
    margin-top:20px; display:grid; grid-template-columns:1fr 1fr; gap:12px;
}
.mcd-cart-benefit {
    display:flex; align-items:flex-start; gap:10px;
    padding:12px; background:rgba(255,255,255,0.02); border:1px solid rgba(212,181,101,0.1); border-radius:6px;
}
.mcd-cart-benefit svg { width:18px; height:18px; stroke:#d4b565; flex-shrink:0; margin-top:2px; }
.mcd-cart-benefit span { font-size:12px; color:rgba(244,241,234,0.7); line-height:1.4; }
/* Empty cart */
.woocommerce-cart .cart-empty {
    text-align:center; padding:80px 20px;
}
.woocommerce-cart .cart-empty::before {
    content:''; display:block; width:64px; height:64px; margin:0 auto 24px;
    background:rgba(212,181,101,0.12); border-radius:50%;
}
.woocommerce-cart .return-to-shop .button {
    height:52px; padding:0 32px; background:#d4b565; color:#000;
    font-weight:600; text-transform:uppercase; border:none;
}
@media(max-width:767px){
    .woocommerce-cart .woocommerce{ padding:0 16px; }
    .cart-collaterals .cart_totals{ position:static; margin-top:32px; }
    .mcd-cart-benefits{ grid-template-columns:1fr 1fr; }
}



/* extracted */
/* --- block 21 --- */
/* Step indicator */
.woocommerce-checkout .woocommerce::before {
    content:'Стъпка 3 от 3 — Завършване на поръчката';
    display:block; font-size:12px; color:rgba(212,181,101,0.7);
    letter-spacing:.08em; text-transform:uppercase;
    margin-bottom:28px; padding-bottom:14px;
    border-bottom:1px solid rgba(212,181,101,0.15);
}
/* 2-col layout 64/36 */
#customer_details { width:62% !important; float:left !important; padding-right:40px !important; }
#order_review { width:36%; float:right; position:sticky; top:108px; }
.woocommerce-checkout::after { content:''; display:table; clear:both; }
/* Form fields */
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select {
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(212,181,101,0.2);
    color:#F4F1EA; height:50px;
    padding:0 14px; border-radius:0;
}
.woocommerce-checkout .form-row label { font-size:12px; color:rgba(244,241,234,0.6); margin-bottom:6px; display:block; }
/* Shipping/payment method cards */
.woocommerce-shipping-methods li,
.wc_payment_methods .wc_payment_method {
    background:rgba(255,255,255,0.03); border:1px solid rgba(212,181,101,0.1);
    border-radius:6px; padding:14px 16px; margin-bottom:8px;
    cursor:pointer; transition:border-color .2s;
}
.woocommerce-shipping-methods input[type=radio]:checked + label,
.wc_payment_methods input[type=radio]:checked ~ label {
    color:#d4b565;
}
.woocommerce-shipping-methods li:has(input:checked),
.wc_payment_methods .wc_payment_method:has(input:checked) {
    border-color:#d4b565;
    background:rgba(212,181,101,0.06);
}
/* Order summary */
#order_review {
    background:rgba(255,255,255,0.03); border:1px solid rgba(212,181,101,0.12);
    border-radius:8px; padding:28px;
}
#order_review h3 { font-size:15px; font-weight:600; text-transform:uppercase; letter-spacing:.06em; margin-bottom:20px; }
#payment #place_order {
    width:100%; height:54px; background:#d4b565;
    color:#000; font-weight:700; text-transform:uppercase;
    letter-spacing:.06em; border:none; cursor:pointer;
    margin-top:20px;
}
/* Mobile — single column, order summary accordion */
@media(max-width:767px){
    #customer_details,#order_review { width:100%; float:none; padding-right:0; position:static; }
    #order_review { margin-top:32px; }
    .woocommerce-checkout .woocommerce::before { font-size:11px; }
}



/* extracted */
/* --- block 22 --- */
/* Layout */
.woocommerce-account.logged-in .woocommerce { max-width:1480px; margin:0 auto; padding:0 32px; display:flex; gap:40px; align-items:flex-start; }
/* Sidebar nav */
.woocommerce-MyAccount-navigation {
    width:260px; flex-shrink:0;
    background:rgba(255,255,255,0.02); border:1px solid rgba(212,181,101,0.12);
    border-radius:8px; overflow:hidden; padding:8px 0;
}
.woocommerce-MyAccount-navigation ul { list-style:none; margin:0; padding:0; }
.woocommerce-MyAccount-navigation li a {
    display:block; padding:13px 20px; font-size:14px;
    color:rgba(244,241,234,0.75); text-decoration:none;
    transition:color .2s; border-left:3px solid transparent;
}
.woocommerce-MyAccount-navigation li a:hover { color:#d4b565; }
.woocommerce-MyAccount-navigation li.is-active a {
    color:#d4b565;
    background:rgba(212,181,101,0.10);
    border-left-color:#d4b565;
}
/* Content area */
.woocommerce-MyAccount-content { flex:1; min-width:0; }
/* Orders table */
.woocommerce-orders-table { width:100%; border-collapse:collapse; }
.woocommerce-orders-table th {
    font-size:11px; text-transform:uppercase; letter-spacing:.08em;
    color:rgba(212,181,101,0.7); border-bottom:1px solid rgba(212,181,101,0.2);
    padding:10px 12px; font-weight:600;
}
.woocommerce-orders-table td { padding:14px 12px; border-bottom:1px solid rgba(255,255,255,0.05); font-size:14px; }
.woocommerce-orders-table .order-status {
    display:inline-block; padding:3px 10px; border-radius:12px; font-size:11px; font-weight:600;
    background:rgba(212,181,101,0.15); color:#d4b565;
}
/* Profile card via dashboard greeting */
.woocommerce-MyAccount-content p.woocommerce-customer-details,
.woocommerce-account p.woocommerce-message {
    background:rgba(255,255,255,0.03); border:1px solid rgba(212,181,101,0.12);
    border-radius:8px; padding:20px; margin-bottom:24px;
}
/* Mobile */
@media(max-width:767px){
    .woocommerce-account .woocommerce { flex-direction:column; gap:24px; padding:0 16px; }
    .woocommerce-MyAccount-navigation { width:100%; }
}



/* extracted */
/* --- block 23 --- */
/* ============================================
   LOGO IMPROVEMENTS (larger, more readable)
   ============================================ */

/* Header logo desktop */
.site-header .custom-logo,
.site-header .custom-logo-link img,
.mcd-hd-logo img,
header .logo img,
.trx_addons_logo img,
.sc_layouts_logo img,
#header_logo img {
    width: 220px;
    height: auto;
    max-width: 220px;
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.5));
    transition: filter 0.2s ease;
}
.site-header .custom-logo:hover img,
.site-header .custom-logo-link:hover img {
    filter: drop-shadow(0 0 5px rgba(212,181,101,0.5));
}
/* Header logo mobile */
@media (max-width: 767px) {
    .site-header .custom-logo,
    .site-header .custom-logo-link img,
    .mcd-hd-logo img,
    header .logo img,
    .trx_addons_logo img,
    .sc_layouts_logo img,
    #header_logo img {
        width: 150px;
        max-width: 150px;
    }
    .header-icon svg {
        width: 26px !important;
        height: 26px !important;
    }
    .cart-badge {
        width: 20px !important;
        height: 20px !important;
        font-size: 12px !important;
        line-height: 20px !important;
        top: -8px !important;
        right: -10px !important;
    }
    .mobile-menu-header .custom-logo,
    .mobile-menu-header .custom-logo-link img {
        width: 150px !important;
    }
}
/* Footer logo desktop */
.site-footer .custom-logo,
.site-footer .custom-logo-link img,
.mcd-fn-logo img,
footer .logo img {
    width: 200px;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}
@media (max-width: 767px) {
    .site-footer .custom-logo,
    .site-footer .custom-logo-link img,
    .mcd-fn-logo img,
    footer .logo img {
        width: 160px;
        max-width: 160px;
    }
}
/* Text logo fallback */
.site-logo-text,
.mcd-logo-text {
    font-family: var(--font-serif, 'Noto Serif SC', serif);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #fff 0%, #d4b565 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    display: inline-block;
}
@media (max-width: 767px) {
    .site-logo-text, .mcd-logo-text { font-size: 24px; }
}



/* extracted */
/* --- block 24 --- */
/* Fix shop page: ThemeREX parent hides this container, our catalog is inside it */
.woocommerce .list_products_header,
.woocommerce-page .list_products_header {
  display: block !important;
}
/* Hide native WC breadcrumb inside our catalog (we use own heading) */
.mcd-catalog .woocommerce-breadcrumb { display: none; }

/* Fix header: hide ugly ThemeREX search button overlay */
.mcd-header .trx_addons_search_wrap,
.mcd-header form.search-form,
#mcd-header .search-form { display: none; }

/* Fix ТЪРСЕНЕ button — if it's the ThemeREX search icon, make it clean */
.mcd-header-right .mcd-btn--search,
#mcd-header .header-button-search { 
  background: transparent;
  border: none;
  padding: 0;
  color: var(--text-primary);
}

/* Fix green dot — hide unknown bubble elements in header */
.mcd-header .notification-dot:not(.woocommerce-widget-layered-nav),
#mcd-header .dot-indicator { display: none; }

/* Remove green Claude chat bubble from footer bottom bar */
.site-footer claude-static-chat-button,
#footer-bottom claude-static-chat-button { display: none !important; }

/* Fix footer Блог visibility — if menu not updated via WP Admin */
/* (handled via WP Admin menu) */



/* extracted */
/* --- block 26 --- */
.mcd-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.mcd-badge--urgent { background: rgba(220,53,69,0.15); color: #e06c75; border: 1px solid rgba(220,53,69,0.3); }
.mcd-badge--low    { background: rgba(212,181,101,0.15); color: #d4b565; border: 1px solid rgba(212,181,101,0.3); }
.mcd-harvest-year  { font-size: 0.75rem; color: rgba(232,227,216,0.5); margin: 3px 0; font-style: italic; }
.mcd-product-meta-row {
    display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0;
}
.mcd-meta-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 14px; border-radius: 20px;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
}
.mcd-meta-badge.mcd-badge--urgent { background: rgba(220,53,69,0.1); color: #e06c75; border: 1px solid rgba(220,53,69,0.25); }
.mcd-meta-badge.mcd-badge--low    { background: rgba(212,181,101,0.1); color: #d4b565; border: 1px solid rgba(212,181,101,0.25); }
.mcd-meta-badge.mcd-badge--ok     { background: rgba(212,181,101,0.08); color: #d4b565; border: 1px solid rgba(212,181,101,0.22); }
.mcd-meta-badge.mcd-badge--year   { background: rgba(232,227,216,0.06); color: rgba(232,227,216,0.7); border: 1px solid rgba(232,227,216,0.15); }



/* extracted */
/* --- block 29 --- */
body.woocommerce-cart .mcd-page-hero,
body.woocommerce-checkout .mcd-page-hero { display:none!important; }
.widget_shopping_cart_content { background:#0d0600!important; color:#e8d5a3!important; }
.widget_shopping_cart .total { background:#1a0e04!important; border-top:1px solid #3d2a0f!important; }
.widget_shopping_cart .buttons .button { background:transparent!important; border:1px solid #d4b565!important; color:#d4b565!important; }
.widget_shopping_cart .buttons .checkout,.widget_shopping_cart .buttons .wc-forward { background:#d4b565!important; color:#0d0600!important; }
.woocommerce-mini-cart__empty-message { color:#e8d5a3!important; }
.woocommerce-Price-amount bdi { white-space:nowrap!important; }



/* extracted */
/* --- block 30 --- */
/* Цена не се отрязва */
.woocommerce div.product p.price,.entry-summary .price{white-space:nowrap;overflow:visible;font-size:clamp(1.4rem,3vw,2rem);}
/* Variations overflow */
.woocommerce-variation-price,.single_variation_wrap{overflow:visible!important;}
/* Product title wrap */
.entry-summary h1.product_title{font-size:clamp(1.2rem,3vw,2.2rem)!important;word-break:break-word;}



/* extracted */
/* --- block 31 --- */
/* Variations grid fix */
.mcd-variation-swatches,.mcd-swatches-wrap,.variations_form .variations{width:100%!important;overflow:visible!important;}
/* Вариациите да се wrap-ват */
.mcd-swatch-list,.wc-pao-addon-field{display:flex!important;flex-wrap:wrap!important;gap:8px!important;overflow:visible!important;}
/* Цената в header на variation box */
.entry-summary .price,.woocommerce-variation-price .woocommerce-Price-amount{overflow:visible!important;white-space:nowrap!important;}
/* Цялата дясна колона */
.entry-summary{overflow:visible!important;max-width:100%!important;}
.woocommerce div.product .entry-summary{overflow-x:hidden!important;}
/* Summary scroll на мобилен */
@media(max-width:768px){
.woocommerce div.product div.images,.woocommerce div.product .entry-summary{width:100%!important;float:none!important;}
.woocommerce div.product{display:flex!important;flex-direction:column!important;}
}



/* extracted */
/* --- block 32 --- */
.entry-summary { overflow: visible !important; overflow-x: visible !important; overflow-y: visible !important; }
.woocommerce div.product .entry-summary { overflow: visible !important; }
.mcd-variation-container, .mcd-swatches-wrap,
[class*="variation-wrap"], [class*="swatch-list"] {
  overflow: visible;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.woocommerce-variation-price { overflow: visible !important; white-space: nowrap; }
/* Цената горе вдясно */
.mcd-product-header-price, .entry-summary > .price:first-of-type { 
  overflow: visible !important; 
  white-space: nowrap !important;
}



/* extracted */
/* --- block 37 --- */
/* Maps iframe — pointer-events fix на mobile */
@media (max-width: 768px) {
    .mcd-map-wrap { position: relative; }
    .mcd-map-wrap iframe { pointer-events: none; }
    .mcd-map-wrap::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 1;
    }
    .mcd-map-wrap.active iframe { pointer-events: auto; }
    .mcd-map-wrap.active::after { display: none; }
}

/* Thumbnail gallery iOS scroll fix */
.woocommerce-product-gallery__wrapper,
.flex-viewport,
.flexslider {
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}
.woocommerce-product-gallery .flex-control-thumbs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding-bottom: 4px;
    scrollbar-width: none;
}
.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar { display: none; }
.woocommerce-product-gallery .flex-control-thumbs li {
    flex: 0 0 72px;
    width: 72px !important;
}



/* extracted */
/* --- block 38 --- */
.woocommerce-ordering select{background:#1a0e04!important;color:#d4b565!important;border:1px solid #3d2a0f!important;padding:8px 28px 8px 10px!important;font-size:.8rem!important;border-radius:2px!important;-webkit-appearance:none!important;appearance:none!important;}



/* extracted */
/* --- block 42 --- */
.page-title:not(.woocommerce-products-header__title),
    h1.entry-title { display: none !important; }



/* extracted */
/* --- block 43 --- */
/* Единен стил за CTA бутони (single product → mcd-single-product.css) */
body:not(.mcd-product-page) .button:not(.mcd-product-card__atc),
body:not(.mcd-product-page) button[type=submit]:not(.mcd-product-card__atc),
body:not(.mcd-product-page) .add_to_cart_button:not(.mcd-product-card__atc),
body:not(.mcd-product-page) .checkout-button,
body:not(.mcd-product-page) .wc-forward,
body:not(.mcd-product-page) a.button:not(.mcd-product-card__atc),
body:not(.mcd-product-page) input[type=submit] {
    background: transparent;
    border: 1.5px solid #d4b565;
    color: #d4b565;
    padding: 11px 26px;
    font-family: Georgia, serif;
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 0;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}
body:not(.mcd-product-page) .button:not(.mcd-product-card__atc):hover,
body:not(.mcd-product-page) .add_to_cart_button:not(.mcd-product-card__atc):hover,
body:not(.mcd-product-page) .checkout-button:hover,
body:not(.mcd-product-page) a.button:not(.mcd-product-card__atc):hover,
body:not(.mcd-product-page) button[type=submit]:not(.mcd-product-card__atc):hover {
    background: #d4b565;
    color: #1a0e04;
}
/* Alt/primary variant */
.button.alt, .checkout-button {
    background: #d4b565 !important;
    color: #1a0e04 !important;
}
.button.alt:hover, .checkout-button:hover {
    background: #a8883a !important;
}

/* --- FIX G2: Отступи между секциите --- */
.entry-content > section,
.woocommerce-tabs,
.related.products,
.upsells.products,
[class*="-section"],
.elementor-section {
    margin-top: 48px !important;
    margin-bottom: 48px !important;
}

/* --- FIX G3: 茶 иероглиф — ограничи до декоративен max 3 --- */
.tea-deco:nth-of-type(n+4),
span.cha-char:nth-of-type(n+4),
[class*=deco-cha]:nth-of-type(n+4) {
    display: none !important;
}

/* --- FIX G4: Единен хедър на всички страници --- */
.site-header, #site-header, #header, header {
    background: #100a02;
    border-bottom: 1px solid rgba(212,181,101,0.15);
}
/* Скрий текстов дублиран логотип ако има img логотип */
.site-header .logo-text:not(:only-child) {
    display: none;
}

/* --- FIX G5: Карточки на продукти — единна височина --- */
.woocommerce ul.products li.product {
    display: flex;
    flex-direction: column;
}
.woocommerce ul.products li.product .woocommerce-loop-product__link {
    flex: 1;
}
.woocommerce ul.products li.product img {
    object-fit: cover;
    aspect-ratio: 1/1;
    width: 100%;
}



/* extracted */
/* --- block 44 --- */
/* === PRODUCT TITLE OVERFLOW FIX === */
.product .entry-title,
.product_title.entry-title,
.woocommerce div.product .product_title {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    max-width: 100% !important;
    font-size: clamp(1.4rem, 3vw, 2.2rem) !important;
    line-height: 1.3 !important;
}

/* === PRODUCT LAYOUT FIX — предотврати излизане извън контейнер === */
.woocommerce div.product {
    overflow: hidden !important;
}
.woocommerce div.product div.summary {
    overflow: visible !important;
    word-break: break-word !important;
}

/* === LOGO FIX — по-добри пропорции === */
.mcd-svg-logo-maks {
    font-size: 10px;
    letter-spacing: 5px;
    opacity: 0.75;
    display: block;
}
.mcd-svg-logo-chadao {
    font-size: 24px;
    letter-spacing: 4px;
    white-space: nowrap;
}

/* === PRODUCT IMAGE PLACEHOLDER — по-добър стил за 茶 === */
.woocommerce-product-gallery .woocommerce-product-gallery__image,
.woocommerce div.product div.images {
    background: #1a0e04 !important;
}
img.attachment-woocommerce_thumbnail,
img.wp-post-image {
    object-fit: cover !important;
}

/* === NOINDEX fix — добави чрез inline тяло === */



/* extracted */
/* --- block 45 --- */
/* === PRODUCT PAGE: overflow & title fix === */
.woocommerce div.product .summary,
.woocommerce div.product .woocommerce-product-details__short-description,
.product_title.entry-title {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}
.woocommerce div.product {
    overflow-x: hidden !important;
}
.woocommerce div.product .product_title {
    font-size: clamp(1.2rem, 2.5vw, 2rem) !important;
    line-height: 1.35 !important;
    word-wrap: break-word !important;
}
/* Variant/swatch блок */
.woocommerce div.product form.cart,
.woocommerce div.product .variations_form {
    max-width: 100% !important;
    overflow: hidden !important;
}



/* extracted */
/* --- block 46 --- */
/* === MCD PRODUCT TITLE: font-size + overflow === */
.mcd-product-info__title {
    font-size: clamp(1.3rem, 3vw, 2rem);
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.35;
    max-width: 100%;
    hyphens: auto;
}
.mcd-product-info {
    overflow: hidden;
    max-width: 100%;
}

/* CSS2 stage 6g: folded from mcd-product-cards.css */

/* Maks Cha Dao — unified product cards (catalog loop) */

/* No product photos — placeholders only */
.mcd-product-card__media img,
.woocommerce ul.products li.mcd-product-card img,
.woocommerce ul.products li.product:not(.mcd-product-card) img {
  display: none !important;
}

.mcd-product-placeholder,
.mcd-product-card .mcd-product-placeholder--brand,
.mcd-product-card .mcd-product-placeholder--compact {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #141210 0%, #0a0908 55%, #1a1510 100%);
  aspect-ratio: 4 / 3;
  min-height: clamp(120px, 12vw, 180px);
  border-bottom: 1px solid rgba(184, 155, 109, 0.1);
}

.mcd-product-placeholder__kanji {
  font-size: 1.35rem;
  opacity: 0.16;
  color: #d4b565;
  line-height: 1;
}

.mcd-product-card .mcd-product-placeholder__label {
  display: none;
}

.woocommerce ul.products,
.woocommerce-page ul.products,
body.post-type-archive-product ul.products,
body.woocommerce-shop ul.products,
.mcd-products-grid ul.products {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
  padding: 0;
  margin: 0 0 48px;
  list-style: none;
}

/* WooCommerce float-clearfix ::before/::after become empty first grid cells */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after,
.mcd-products-grid ul.products::before,
.mcd-products-grid ul.products::after {
  display: none;
  content: none;
}

@media (max-width: 1400px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1200px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 380px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    gap: 10px;
  }
}

/* Card shell */
.woocommerce ul.products li.mcd-product-card,
.woocommerce-page ul.products li.mcd-product-card {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  border: 1px solid rgba(212, 181, 101, 0.16) !important;
  background: linear-gradient(165deg, #11100e 0%, #0a0908 100%) !important;
  border-radius: 2px;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0;
}

.woocommerce ul.products li.mcd-product-card:hover {
  border-color: rgba(212, 181, 101, 0.45) !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.mcd-product-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}

/* Media */
.mcd-product-card__media {
  position: relative;
  overflow: hidden;
  background: #0d0c0a;
}

.mcd-product-card__img-link {
  display: block;
  position: relative;
  text-decoration: none;
  aspect-ratio: 4 / 3;
  min-height: clamp(120px, 12vw, 180px);
}

.mcd-product-card__media img,
.mcd-product-card__img-link img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  margin: 0;
  transition: transform 0.35s ease;
}

.mcd-product-card:hover .mcd-product-card__media img {
  transform: scale(1.04);
}

.mcd-product-card__media .mcd-product-placeholder,
.mcd-product-card__media .woocommerce-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, rgba(212, 181, 101, 0.12) 0%, #0d0c0a 70%);
}

.mcd-product-card__media .mcd-product-placeholder span,
.mcd-product-card__media .woocommerce-placeholder::before {
  font-size: clamp(2.5rem, 8vw, 4rem);
  opacity: 0.35;
  color: #d4b565;
  line-height: 1;
}

/* Badges on card */
.mcd-product-card .mcd-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
}

.mcd-product-card .mcd-badge--sale {
  background: #d4b565;
  color: #1a0e04;
}

.mcd-product-card .mcd-badge--out {
  background: rgba(80, 80, 80, 0.9);
  color: #e8e3d8;
}

.mcd-product-card .mcd-badge--urgent,
.mcd-product-card .mcd-badge--low {
  top: auto;
  bottom: 10px;
  left: 10px;
  right: auto;
  font-size: 9px;
  background: rgba(26, 14, 4, 0.88);
  border: 1px solid rgba(212, 181, 101, 0.35);
  color: #d4b565;
}

.mcd-product-card .mcd-wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 7, 6, 0.82);
  border: 1px solid rgba(212, 181, 101, 0.22);
  border-radius: 50%;
  color: rgba(244, 241, 234, 0.55);
  padding: 0;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.mcd-product-card .mcd-wishlist-btn:hover,
.mcd-product-card .mcd-wishlist-btn.is-active {
  color: #d4b565;
  border-color: rgba(212, 181, 101, 0.55);
}

/* Body */
.mcd-product-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 10px 12px 6px;
  gap: 4px;
  min-width: 0;
}

.mcd-product-card__body .woocommerce-loop-product__title,
.mcd-product-card__body h2 {
  font-family: var(--font-display, 'Noto Serif SC', Georgia, serif) !important;
  font-size: 0.82rem !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  max-height: 2.6em;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mcd-product-card__body .woocommerce-loop-product__title a,
.mcd-product-card__body h2 a {
  color: #f4f1ea !important;
  text-decoration: none !important;
}

.mcd-product-card:hover .woocommerce-loop-product__title a,
.mcd-product-card:hover h2 a {
  color: #d4b565 !important;
}

.mcd-product-card__body .price,
.mcd-product-card__body span.price {
  font-size: 0.95rem;
  font-weight: 600;
  color: #d4b565;
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

.mcd-product-card__body .mcd-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.45);
}

.mcd-product-card__body .mcd-card-meta span {
  padding: 2px 7px;
  border: 1px solid rgba(212, 181, 101, 0.15);
  border-radius: 2px;
}

.mcd-product-card__body .mcd-card-note {
  font-size: 11px;
  color: rgba(244, 241, 234, 0.5);
  line-height: 1.35;
  font-style: italic;
}

.mcd-product-card__body .mcd-stock-badge,
.mcd-product-card__body .mcd-harvest-year,
.mcd-product-card__body .product-loop-weight {
  font-size: 11px;
  color: rgba(212, 181, 101, 0.75);
  margin: 0;
}

.mcd-product-card__body .mcd-stock-badge--out {
  color: rgba(244, 241, 234, 0.45);
}

.mcd-product-card__body .star-rating,
.mcd-product-card__body .post_excerpt {
  display: none;
}

/* Footer actions */
.mcd-product-card__footer {
  display: block;
  padding: 0 12px 10px;
  margin-top: 0;
}

.mcd-product-card__atc {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  height: auto;
  line-height: 1.2;
  padding: 8px 10px;
  margin: 0;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  white-space: normal;
  text-align: center;
}

/* Legacy Woo/teahouse overrides must not inflate mcd cards */
.woocommerce ul.products li.mcd-product-card.product {
  padding: 0 !important;
  border-radius: 2px !important;
}

.woocommerce ul.products li.mcd-product-card .mcd-product-badges {
  top: 6px;
  left: 6px;
}

.woocommerce ul.products li.mcd-product-card .mcd-badge {
  padding: 2px 6px;
  font-size: 8px;
}

.woocommerce ul.products li.mcd-product-card .mcd-wishlist-btn {
  width: 28px;
  height: 28px;
  top: 6px;
  right: 6px;
}

.mcd-product-card__media .mcd-product-placeholder,
.mcd-product-card__media .woocommerce-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: clamp(120px, 12vw, 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, rgba(212, 181, 101, 0.12) 0%, #0d0c0a 70%);
}

.mcd-product-card__media .mcd-product-placeholder span,
.mcd-product-card__media .woocommerce-placeholder::before {
  font-size: 1.65rem;
  opacity: 0.2;
  color: #d4b565;
  line-height: 1;
}

.mcd-product-card__view {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.55);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

.mcd-product-card__view:hover {
  color: #d4b565;
}

@media (max-width: 480px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .mcd-products-grid ul.products {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .mcd-product-card__footer {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .mcd-product-card__atc {
    width: 100%;
    text-align: center;
  }
}

/* Hide legacy loop chrome not used in new card */
.mcd-product-card .mcd-quick-overlay,
.mcd-product-card .mcd-view-product,
.mcd-product-card .post_item,
.mcd-product-card .post_featured,
.mcd-product-card .post_data,
.mcd-product-card .product_excerpt,
.mcd-product-card .mcd-stock-badge {
  display: none;
}

/* Beat legacy inline shop CSS (Customizer / old wp_head blocks) */
.woocommerce ul.products li.mcd-product-card.product .mcd-product-card__body h2.woocommerce-loop-product__title,
.woocommerce ul.products li.mcd-product-card.product .mcd-product-card__body .woocommerce-loop-product__title {
  font-family: var(--font-display, 'Noto Serif SC', Georgia, serif) !important;
  font-size: 0.82rem !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  min-height: 0 !important;
  max-height: 2.6em !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce ul.products li.mcd-product-card.product .mcd-product-card__body .price,
.woocommerce ul.products li.mcd-product-card.product .mcd-product-card__body span.price {
  font-size: 0.95rem !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce ul.products li.mcd-product-card.product .mcd-product-card__media img,
.woocommerce ul.products li.mcd-product-card.product .mcd-product-card__img-link img {
  display: none;
  aspect-ratio: 4 / 3;
  min-height: clamp(120px, 12vw, 180px);
}

.woocommerce ul.products li.mcd-product-card.product .button.mcd-product-card__atc,
.woocommerce ul.products li.mcd-product-card.product a.mcd-product-card__atc {
  min-height: 34px !important;
  height: auto !important;
  line-height: 1.2 !important;
  font-size: 0.625rem !important;
  padding: 8px 10px !important;
  margin: 0 !important;
}

/* Catalog section — room for floating widgets */
.mcd-products-section,
.mcd-archive-wrap .woocommerce {
  padding-bottom: 88px;
}

/* Sort row — auto-submit, hide redundant button */
.woocommerce-ordering .orderby-submit,
.woocommerce-ordering button[type="submit"] {
  display: none !important;
}

.woocommerce-ordering select {
  min-width: 180px;
  cursor: pointer;
}

/* Checkout — collapsed terms */
.mcd-terms-details {
  margin: 16px 0;
  border: 1px solid rgba(212, 181, 101, 0.2);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.02);
}

.mcd-terms-details summary {
  cursor: pointer;
  padding: 12px 16px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #d4b565;
  list-style: none;
}

.mcd-terms-details summary::-webkit-details-marker {
  display: none;
}

.mcd-terms-details__body {
  max-height: 220px;
  overflow-y: auto;
  padding: 0 16px 16px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(244, 241, 234, 0.75);
}

.mcd-terms-details__body h2,
.mcd-terms-details__body h3 {
  font-size: 14px;
  margin: 12px 0 6px;
  color: #f4f1ea;
}

/* Side cart + WhatsApp spacing */
.xoo-wsc-basket,
.xoo-wsc-cart-trigger {
  bottom: 20px !important;
  right: 18px !important;
  z-index: 9997 !important;
}

.mcd-whatsapp-btn {
  bottom: 88px;
  right: 18px;
}

@media (max-width: 768px) {
  .xoo-wsc-basket,
  .xoo-wsc-cart-trigger {
    bottom: 14px !important;
    right: 14px !important;
  }

  .mcd-whatsapp-btn {
    bottom: 76px;
    right: 14px;
    width: 48px;
    height: 48px;
  }
}

/* Side cart panel — hide off-screen from AT when closed (class is on body, not container) */
body:not(.xoo-wsc-cart-active):not(.xoo-wsc-slider-active) .xoo-wsc-container,
body:not(.xoo-wsc-cart-active):not(.xoo-wsc-slider-active) .xoo-wsc-slider {
  visibility: hidden;
  pointer-events: none;
}

body.xoo-wsc-cart-active .xoo-wsc-container,
body.xoo-wsc-slider-active .xoo-wsc-slider {
  visibility: visible;
  pointer-events: auto;
}

/* Loop overrides (merged from mcd-product-loop-fix.css) */
.woocommerce ul.products li.mcd-product-card .post_item,
.woocommerce ul.products li.mcd-product-card .post_featured,
.woocommerce ul.products li.mcd-product-card .post_data,
.woocommerce ul.products li.mcd-product-card .product_excerpt {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce ul.products li.mcd-product-card.product .mcd-product-card__body h2.woocommerce-loop-product__title,
.woocommerce ul.products li.mcd-product-card.product .mcd-product-card__body .woocommerce-loop-product__title,
.woocommerce ul.products li.mcd-product-card.product .mcd-product-card__body h2 {
  font-size: 0.82rem !important;
  line-height: 1.3 !important;
  min-height: 0 !important;
  max-height: 2.6em !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce ul.products li.mcd-product-card.product .mcd-product-card__body .price,
.woocommerce ul.products li.mcd-product-card.product .mcd-product-card__body span.price {
  font-size: 0.95rem !important;
  margin: 0 0 2px !important;
  padding: 0 !important;
}

.woocommerce ul.products li.mcd-product-card .mcd-product-card__media {
  max-height: 108px;
  overflow: hidden;
}

.woocommerce ul.products li.mcd-product-card .mcd-product-card__img-link {
  max-height: 108px;
}

.woocommerce ul.products li.mcd-product-card .mcd-product-card__view {
  display: none !important;
}

.woocommerce ul.products li.mcd-product-card .mcd-product-card__footer {
  padding-top: 0;
}

/* ── v27.9.90 — card redesign: hierarchy, border, CTA ─────────── */

.woocommerce ul.products li.mcd-product-card,
.woocommerce-page ul.products li.mcd-product-card {
  border: 1px solid rgba(212, 181, 101, 0.14) !important;
  border-radius: 4px !important;
  background: linear-gradient(165deg, rgba(17, 16, 14, 0.95) 0%, rgba(10, 9, 8, 0.98) 100%) !important;
  box-shadow: none !important;
}

.woocommerce ul.products li.mcd-product-card:hover {
  border-color: rgba(212, 181, 101, 0.38) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
}

.mcd-product-card__body {
  padding: 12px 14px 8px;
  gap: 6px;
}

.mcd-product-card__body .woocommerce-loop-product__title,
.mcd-product-card__body h2 {
  font-size: 0.875rem !important;
  line-height: 1.35 !important;
  max-height: 2.8em !important;
}

.mcd-product-card__price,
.mcd-product-card__price .price,
.mcd-product-card__body .mcd-product-card__price .price {
  font-size: 1.05rem;
  font-weight: 700;
  color: #e4cc82;
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.mcd-product-card__footer {
  padding: 0 14px 12px;
}

.mcd-product-card__atc,
.mcd-product-card__atc.button,
.woocommerce ul.products li.mcd-product-card .mcd-product-card__atc,
.woocommerce ul.products li.mcd-product-card .button,
.woocommerce ul.products li.mcd-product-card a.add_to_cart_button {
  width: 100% !important;
  min-height: 36px !important;
  height: auto !important;
  line-height: 1.25 !important;
  padding: 9px 12px !important;
  font-size: 0.625rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  white-space: normal !important;
  border-radius: 4px !important;
  border: 1px solid rgba(212, 181, 101, 0.45) !important;
  background: linear-gradient(180deg, #e4cc82 0%, #d4b565 55%, #b8944f 100%) !important;
  color: #1a0e04 !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2) !important;
  transition: filter 0.2s ease, box-shadow 0.2s ease !important;
}

.mcd-product-card__atc:hover,
.mcd-product-card:hover .mcd-product-card__atc,
.woocommerce ul.products li.mcd-product-card .button:hover,
.woocommerce ul.products li.mcd-product-card a.add_to_cart_button:hover {
  filter: brightness(1.06) !important;
  color: #1a0e04 !important;
  border-color: #d4b565 !important;
}

.woocommerce ul.products li.mcd-product-card .mcd-product-card__atc.added,
.woocommerce ul.products li.mcd-product-card a.add_to_cart_button.added {
  background: #3d6b45 !important;
  border-color: #5a9a64 !important;
  color: #fff !important;
  font-size: 0.5625rem !important;
  letter-spacing: 0.06em !important;
}

.mcd-product-card__atc--view {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: transparent !important;
  border: 1px solid rgba(200, 168, 75, 0.35) !important;
  color: rgba(244, 241, 234, 0.85) !important;
}

.mcd-catalog-toolbar {
  margin-bottom: 12px;
}

/* ── CSS2 stage 4d: folded from harmony-pass + visual-pass ── */

@media (min-width: 1025px) {
  .mcd-archive-layout .mcd-products-grid ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 1.4vw, 18px);
  }
}

.woocommerce ul.products li.mcd-product-card {
  border-radius: 10px !important;
  overflow: hidden;
}

.mcd-product-card__img-link,
.mcd-product-card__media .mcd-product-placeholder,
.mcd-product-card__media .woocommerce-placeholder {
  aspect-ratio: 4 / 3;
  max-height: none;
  min-height: clamp(120px, 12vw, 180px);
}

.mcd-product-card__body {
  padding: 8px 12px 4px;
  gap: 2px;
}

.mcd-product-card__body .woocommerce-loop-product__title,
.mcd-product-card__body h2 {
  font-size: clamp(0.78rem, 0.95vw, 0.875rem) !important;
  max-height: 2.8em;
}

.mcd-product-card__body .price,
.mcd-product-card__body span.price {
  font-size: 0.875rem;
}

.mcd-product-card__footer {
  padding: 0 12px 12px;
}

.mcd-badge--low,
.mcd-meta-badge.mcd-badge--low {
  color: #d4b565;
  background: rgba(212, 181, 101, 0.12);
  border-color: rgba(212, 181, 101, 0.28);
}

/* ── CSS2 stage 6b: loop badges + minimal card (folded from mcd-mockup-ui.css) ── */

.mcd-product-card__media .mcd-product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mcd-badge--new {
  background: rgba(212, 181, 101, 0.95);
  color: #1a0e04;
}

.mcd-badge--limited {
  background: rgba(26, 14, 4, 0.9);
  border: 1px solid rgba(212, 181, 101, 0.45);
  color: #d4b565;
}

.mcd-product-card__body .mcd-card-note,
.mcd-product-card__body .product-loop-weight,
.mcd-product-card__body .mcd-harvest-year {
  display: none;
}

.mcd-product-card__body .mcd-stock-badge {
  font-size: 10px;
  opacity: 0.7;
}

.mcd-product-card__footer {
  grid-template-columns: 1fr;
}

.mcd-product-card__atc {
  width: 100%;
  text-align: center;
}

