/*
Theme Name: Celibrand Tandil
Theme URI: https://celibrand.com.ar
Author: Celibrand
Description: Tema personalizado para Celibrand Tandil — Alimentos Libres de Gluten. Muestra productos de WooCommerce con pedidos por WhatsApp.
Version: 5.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: celibrand
Tags: e-commerce, woocommerce, food, gluten-free
*/

/* ===== RESET ===== */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;font-size:16px!important}
body{
  font-family:'DM Sans',sans-serif!important;
  font-size:1rem!important;
  color:#1a1a1a;
  background:#fafaf8!important;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
/* Accessibility: visually hide elements meant only for screen readers (WordPress .screen-reader-text) */
.screen-reader-text{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap;border:0;padding:0;margin:-1px}

/* Ensure price-related SR text is never visible in previews: force-hide inside price containers */
.featured-price .screen-reader-text,
.product-price .screen-reader-text,
.woocommerce-Price-amount .screen-reader-text{display:none !important;visibility:hidden !important}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto;display:block}
ul{list-style:none}
h1,h2,h3,h4{font-family:'Montserrat',sans-serif}

/* ===== VARIABLES ===== */
:root{
  --accent:#c5a46d;
  --accent-dark:#b08c52;
  --dark:#1a1a1a;
  --light:#fafaf8;
  --card-bg:#fff;
  --muted:#6b6b6b;
  --radius:16px;
  --shadow:0 4px 24px rgba(0,0,0,.06);
  --shadow-hover:0 12px 40px rgba(0,0,0,.12);
}

/* ===== WP ADMIN BAR ===== */
body.admin-bar .site-header{top:32px}
@media(max-width:782px){body.admin-bar .site-header{top:46px}}

/* ===== KILL WP / WOO DEFAULTS ===== */
.entry-content,.page-content,.post-content,
.site-main,.site-content,main,#main,#primary,#content,.content-area{
  padding:0!important;margin:0!important;max-width:none!important;
  font-size:inherit!important;
}
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering{display:none!important}
.woocommerce div.product .woocommerce-tabs{display:none!important}

/* Force WP/Gutenberg overrides */
body .wp-site-blocks{padding:0!important}
body .is-layout-constrained>*{max-width:none!important}
.wp-block-post-content{font-size:inherit!important}
.has-global-padding{padding:0!important}
body .wp-element-button{font-size:inherit!important}
p,li,td,th,input,select,textarea,button{font-size:inherit}
.woocommerce-page .site-main,.woocommerce .site-main{font-size:1rem!important}

/* ===== HEADER ===== */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(0,0,0,.06);
  transition:box-shadow .3s;
}
.site-header.scrolled{box-shadow:0 2px 20px rgba(0,0,0,.08)}
.header-top{
  background:var(--dark);color:#fff;
  display:flex;justify-content:center;align-items:center;gap:20px;
  padding:6px 20px;font-size:.8rem;
}
.header-top a{color:#fff;display:flex;align-items:center;gap:8px;opacity:.85;transition:opacity .3s}
.header-top a:hover{opacity:1}
.header-top svg{width:18px;height:18px;fill:#fff}
.header-main{
  max-width:1200px;margin:0 auto;
  display:flex;justify-content:space-between;align-items:center;
  padding:10px 24px;
}
.logo img,.custom-logo{height:55px;width:auto!important;max-height:55px}
.custom-logo-link{display:inline-block;line-height:0}
.nav-links{display:flex;gap:6px;align-items:center}
.nav-links a{
  font-family:'Montserrat',sans-serif;font-weight:600;font-size:.85rem;
  text-transform:uppercase;letter-spacing:.6px;
  padding:9px 15px;border-radius:8px;
  transition:background .3s,color .3s;
}
.nav-links a:hover,.nav-links a.active{background:var(--accent);color:#fff}

/* Dropdown */
.nav-dropdown{position:relative}
.nav-dropdown>a::after{content:' ▾';font-size:.65rem}
.dropdown-menu{
  position:absolute;top:100%;left:0;min-width:200px;
  background:#fff;border-radius:12px;box-shadow:var(--shadow-hover);
  padding:8px 0;opacity:0;visibility:hidden;
  transform:translateY(8px);transition:all .25s;z-index:100;
}
.nav-dropdown:hover .dropdown-menu{opacity:1;visibility:visible;transform:translateY(0)}
.dropdown-menu a{
  display:block;padding:10px 20px;font-size:.8rem;text-transform:none;
  letter-spacing:0;font-weight:500;border-radius:0;
}
.dropdown-menu a:hover{background:#f5f0e6;color:var(--accent-dark)}

/* Hamburger */
.hamburger{display:none;background:none;border:none;cursor:pointer;padding:8px}
.hamburger span{display:block;width:24px;height:2px;background:var(--dark);margin:5px 0;transition:.3s;border-radius:2px}
.mobile-nav{
  display:none;position:fixed;top:0;left:0;width:100%;height:100vh;
  background:rgba(255,255,255,.98);backdrop-filter:blur(12px);
  z-index:1100;flex-direction:column;align-items:center;justify-content:flex-start;gap:16px;
  overflow-y:auto;-webkit-overflow-scrolling:touch;
  padding:calc(88px + env(safe-area-inset-top, 0px)) 24px 32px;
}
.mobile-nav.open{display:flex}
.mobile-nav a{
  font-family:'Montserrat',sans-serif;font-size:1.1rem;font-weight:700;
  text-transform:uppercase;letter-spacing:1px;padding:10px 24px;
  transition:color .2s;
}
.mobile-nav a:hover,.mobile-nav a.active{color:var(--accent)}
.mobile-nav > a,.mobile-nav-dropdown > a{width:min(420px,100%)}
.mobile-nav-dropdown{width:min(420px,100%)}
.mobile-nav-dropdown>a{
  display:flex;align-items:center;justify-content:space-between;
}
.mobile-submenu-arrow{
  display:inline-flex;align-items:center;justify-content:center;
  width:34px;height:34px;border-radius:999px;cursor:pointer;flex-shrink:0;
}
.mobile-submenu-arrow::before{
  content:'';width:0;height:0;
  border-left:6px solid transparent;border-right:6px solid transparent;
  border-top:7px solid currentColor;
  transition:transform .2s;
}
.mobile-submenu{
  max-height:0;overflow:hidden;background:#f5f4f1;border-radius:12px;
  transition:max-height .3s,padding .3s;
}
.mobile-nav-dropdown.open-sub .mobile-submenu{
  max-height:360px;padding:8px 0;
}
.mobile-nav-dropdown.open-sub .mobile-submenu-arrow::before{transform:rotate(180deg)}
.mobile-submenu a{
  display:block;padding:10px 16px;
  font-size:1rem;font-weight:600;text-transform:none;letter-spacing:0;
}
.mobile-close{position:absolute;top:16px;right:20px;font-size:2.2rem;background:none;border:none;cursor:pointer;z-index:1000;color:var(--dark)}

@media(max-width:900px){
  .nav-links{display:none}
  .hamburger{display:block}
  .header-main{padding:8px 16px}
  .logo img,.custom-logo{height:42px!important;max-height:42px}
  .header-top{padding:4px 16px;gap:14px}
  .header-top svg{width:16px;height:16px}
}
@media(max-width:480px){
  .header-main{padding:6px 12px}
  .logo img,.custom-logo{height:36px!important;max-height:36px}
}

/* ===== HERO (Home) ===== */
.hero{
  margin-top:95px;
  position:relative;overflow:hidden;
  min-height:92vh;display:flex;align-items:flex-end;
}
.hero::before{
  content:'';position:absolute;inset:0;
  background:linear-gradient(to top,rgba(26,26,26,.95) 0%,rgba(26,26,26,.7) 30%,rgba(26,26,26,.15) 55%,transparent 70%);
  z-index:1;
}
.hero-inner{
  max-width:1280px;margin:0 auto;padding:0 1.5rem 1.5rem;
  position:relative;z-index:2;
  width:100%;text-align:center;
}
.hero-text h1{
  font-size:clamp(2.2rem,5vw,3.8rem);font-weight:800;
  line-height:1.1;color:#fff;margin-bottom:.8rem;
  text-shadow:0 2px 12px rgba(0,0,0,.4);
}
.hero-text h1 span{color:var(--accent)}
.hero-text p{
  font-size:1.1rem;color:rgba(255,255,255,.9);margin-bottom:1.5rem;
  max-width:550px;line-height:1.7;margin-left:auto;margin-right:auto;
}
.hero-cta{
  display:inline-flex;align-items:center;gap:.6rem;
  background:var(--accent);color:#fff;padding:1rem 2.5rem;
  border-radius:50px;font-weight:600;font-size:1rem;
  font-family:'Montserrat',sans-serif;
  transition:background .3s,transform .2s;
  box-shadow:0 4px 20px rgba(197,164,109,.4);
}
.hero-cta:hover{background:var(--accent-dark);transform:translateY(-2px)}
.hero-cta svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hero-badge{
  display:inline-block;margin-left:1rem;
  background:rgba(255,255,255,.95);border-radius:50px;padding:.7rem 1.5rem;
  box-shadow:0 4px 15px rgba(0,0,0,.15);
  font-family:'Montserrat',sans-serif;font-weight:700;
  font-size:.85rem;color:var(--accent);
  vertical-align:middle;
}
.hero-buttons{display:flex;align-items:center;justify-content:center;gap:1rem;flex-wrap:wrap}
@media(max-width:768px){
  .hero{
    min-height:78vh;margin-top:78px;
    background-position:center center!important;
  }
  .hero::before{
    background:linear-gradient(to top,rgba(8,8,8,.95) 0%,rgba(8,8,8,.82) 40%,rgba(8,8,8,.45) 70%,rgba(8,8,8,.2) 100%);
  }
  .hero-inner{padding:0 1.15rem 3rem}
  .hero-text h1{
    font-size:clamp(2.15rem,10.2vw,3.05rem);
    line-height:1.03;
    margin-bottom:1rem;
  }
  .hero-text p{
    font-size:1.1rem;
    line-height:1.5;
    max-width:360px;
    margin-bottom:1.45rem;
  }
  .hero-buttons{flex-direction:column;gap:1rem}
  .hero-cta{
    min-width:250px;
    justify-content:center;
    padding:1rem 2rem;
    font-size:1.05rem;
    border-radius:999px;
    box-shadow:0 10px 30px rgba(197,164,109,.35);
  }
  .hero-badge{
    margin-left:0;
    margin-top:.2rem;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:205px;
    padding:.75rem 1.6rem;
    font-size:1rem;
    border-radius:999px;
  }
}
@media(max-width:480px){
  .hero{min-height:76vh;margin-top:72px}
  .hero-inner{padding:0 1rem 3.1rem}
  .hero-text h1{font-size:clamp(2rem,10vw,2.55rem)}
  .hero-text p{font-size:1rem;line-height:1.45}
}

/* ===== SECTIONS ===== */
.section{padding:1rem 1.5rem;max-width:1320px;margin:0 auto}
.section-header{text-align:center;margin-bottom:1rem}

/* Reduce vertical space for alternate sections */
.section.section-alt{
  padding-top:1rem;
  padding-bottom:1rem;
}
.section.section-alt .section-header{margin-bottom:1rem}
@media(max-width:768px){
  .section.section-alt{padding-top:0.8rem;padding-bottom:0.8rem}
}
.section-header h2{
  font-size:clamp(1.6rem,3vw,2.4rem);font-weight:800;
  color:#1a1a1a;margin-bottom:.4rem;
}
.section-header h2 span{color:var(--accent)}
.section-header .bar{width:50px;height:3px;background:var(--accent);margin:.6rem auto 0;border-radius:3px}
.section-header p{margin-top:10px;color:var(--muted);font-size:1.05rem;max-width:540px;margin-inline:auto}
.section-alt{background:#f3f0ea}

/* ===== PRODUCT CARDS ===== */
.product-card{
  background:var(--card-bg);border-radius:var(--radius);overflow:hidden;
  box-shadow:var(--shadow);transition:transform .35s,box-shadow .35s;
  display:flex;flex-direction:column;
}
.product-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-hover)}
.product-card-img{
  position:relative;overflow:hidden;
  aspect-ratio:1/1;background:#f8f6f2;
}
.product-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.product-card:hover .product-card-img img{transform:scale(1.06)}
.product-card-badge{
  position:absolute;top:12px;left:12px;
  background:#e74c3c;color:#fff;
  font-family:'Montserrat',sans-serif;font-weight:700;font-size:.7rem;
  padding:4px 12px;border-radius:50px;
}
.product-card-body{
  padding:18px 20px 22px;flex:1;
  display:flex;flex-direction:column;
}
.product-card-body h3{
  font-family:'Montserrat',sans-serif;font-size:1rem;font-weight:700;
  color:var(--dark);margin-bottom:10px;line-height:1.3;flex:1;
}
.product-price{
  font-family:'Montserrat',sans-serif;font-weight:700;
  color:var(--accent-dark);font-size:1.1rem;margin-bottom:14px;
}
.product-price del,.product-price .old-price{
  text-decoration:line-through;color:#999;font-weight:500;
  font-size:.85rem;margin-right:8px;
}
.btn-product{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  margin-top:auto;
  background:var(--dark);color:#fff;
  font-family:'Montserrat',sans-serif;font-weight:600;font-size:.82rem;
  text-transform:uppercase;letter-spacing:.5px;
  padding:12px 22px;border-radius:10px;
  transition:background .3s;
}
.btn-product:hover{background:var(--accent)}

/* ===== FEATURED PRODUCT ===== */
.featured{background:linear-gradient(135deg,#faf8f4 0%,#f0ece3 100%)}
.featured-inner{
  max-width:1100px;margin:0 auto;padding:2rem 1.5rem;
  display:grid;grid-template-columns:1fr 1fr;gap:2rem;
  align-items:center;
}
/* make the featured block clip overflowing children and have a soft radius */
.featured-inner{overflow:hidden;border-radius:20px}
.featured-img img{border-radius:20px;box-shadow:0 15px 45px rgba(0,0,0,.08)}

/* Make featured (Caja Matera) buttons and qty control slightly smaller and tighter */
.featured .btn-add-cart-big{padding:.6rem 1rem;font-size:.9rem;border-radius:12px}
.featured .hero-cta{padding:.65rem 1.1rem;font-size:.95rem}
.featured .btn-mercadolibre{padding:.6rem 1rem;font-size:.95rem}
.featured .single-qty-control button{width:36px;height:36px}
.featured .single-qty-control input{width:60px;padding:6px}
.featured .featured-buttons-row{gap:10px}

@media(min-width:769px){
  .featured .featured-buttons-row a,.featured .featured-buttons-row button{white-space:nowrap}
}

/* Tighter fixes: ensure image keeps its area and buttons don't overflow or render oversized icons */
.featured-img img{width:100%;height:auto;max-height:360px;object-fit:cover}
.featured-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.featured .btn-add-cart-big{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:.55rem .9rem}
.featured .btn-add-cart-big svg{width:20px;height:20px;flex-shrink:0}
.featured .single-qty-control{display:inline-flex;align-items:center;gap:6px}
.featured .single-qty-control input{width:56px}

@media(max-width:480px){
  .featured-img img{max-height:220px}
  .featured .btn-add-cart-big svg{width:18px;height:18px}
}
.featured-img img{width:100%;height:auto;display:block;object-fit:cover}
.featured-text{overflow-wrap:break-word}

/* Quantity control small tweaks */
.single-qty-control input{width:68px;text-align:center;padding:8px;border:none;background:transparent}
.single-qty-control button{width:40px;height:40px}

/* Make add-to-cart button wrap safely and not overflow */
.btn-add-cart-big{white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}

/* Featured buttons row spacing */
.featured-buttons-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}

@media(max-width:768px){
  .featured-inner{padding:1.4rem 1rem}
  .featured-actions{flex-direction:column;align-items:stretch;gap:12px}
  .featured-buttons-row{flex-direction:column;width:100%}
  .featured-buttons-row a,.featured-buttons-row button{width:100%;box-sizing:border-box;padding-left:1rem;padding-right:1rem}
  .btn-add-cart-big{padding:.7rem 1rem;font-size:.9rem}
  .single-qty-control{justify-content:flex-start}
}

/* Extra-tight mobile fixes for small phones (e.g. 375x667) */
@media(max-width:400px){
  .featured-inner{padding:1rem .6rem}
  .featured-text h2{font-size:1.15rem;line-height:1.2;word-break:break-word;overflow-wrap:break-word}
  .featured-text p{font-size:.92rem}
  .featured-img{max-width:100%;margin:0 auto}
  .featured-img img{width:100%;height:auto;border-radius:16px}
  .featured-actions{align-items:stretch}
  .single-qty-control{width:100%;display:flex;gap:8px}
  .single-qty-control input{width:76px}
  .btn-add-cart-big, .hero-cta, .btn-mercadolibre{width:100%;white-space:normal;box-sizing:border-box;padding-left:12px;padding-right:12px}
  .featured-buttons-row{gap:10px}
  .featured-buttons-row a,.featured-buttons-row button{width:100%;text-align:center}
  .featured-text{overflow:hidden}
}

/* Make featured buttons shorter (max width) and centered */
.featured .featured-buttons-row{justify-content:center}
.featured .featured-buttons-row a,.featured .featured-buttons-row button{
  width:auto!important; /* prefer intrinsic size */
  max-width:260px; /* limit length */
  box-sizing:border-box;padding-left:12px;padding-right:12px;text-align:center
}
.featured-text h2{
  font-size:clamp(1.6rem,3vw,2.5rem);font-weight:800;
  margin-bottom:.8rem;color:#1a1a1a;
}
.featured-text p{font-size:1.05rem;color:#555;margin-bottom:1.5rem;line-height:1.7}
@media(max-width:768px){
  .featured-inner{grid-template-columns:1fr;text-align:center;padding:2.5rem 1.2rem}
  .featured-img{max-width:320px;margin:0 auto}
  .featured-text h2{font-size:1.5rem}
  .featured-text p{font-size:.92rem}
  .featured-price{font-size:1.2rem}
}

/* ===== SWIPER ===== */
.swiper{padding-bottom:0.6rem!important}
.swiper-pagination-bullet{background:var(--accent)!important}
.swiper-button-next,.swiper-button-prev{
  color:var(--accent)!important;
  background:rgba(255,255,255,.9);
  width:40px!important;height:40px!important;
  border-radius:50%;box-shadow:0 2px 10px rgba(0,0,0,.1);
}
.swiper-button-next::after,.swiper-button-prev::after{font-size:16px!important}

/* Global overrides: prevent Swiper's library or inline sizing from forcing large heights */
.swiper-wrapper{height:auto !important;min-height:0 !important}
.swiper{height:auto !important}
.swiper-slide{height:auto !important}

/* ===== GALLERY ===== */
.gallery-section{background:#1a1a1a;padding:0.6rem 0}
.gallery-section .section-header h2{color:#fff}
.gallery-section .bar{background:var(--accent)}

/* Compact gallery variant */
.gallery-mini{background:#1a1a1a;padding:0.2rem 0;margin-bottom:0}
.gallery-mini .section{padding-top:0.2rem;padding-bottom:0}
.gallery-mini .section-header h2{color:#000000;font-size:1.1rem;margin-bottom:.4rem}
.gallery-mini .bar{background:var(--accent)}
.gallery-mini .gallery-swiper{padding-bottom:0}
.gallery-mini .swiper-wrapper{align-items:center;height:auto !important}
.gallery-mini .swiper-slide{aspect-ratio:auto;max-height:180px;overflow:hidden}
.gallery-mini .gallery-swiper img{border-radius:10px;width:auto;max-height:180px;object-fit:cover}

@media(max-width:768px){
  .gallery-mini .swiper-slide{max-height:140px}
  .gallery-mini .gallery-swiper img{max-height:140px}
}

/* Ensure gallery slides are a consistent square box and images cover */
.gallery-section .gallery-swiper{}
.gallery-section .swiper-wrapper{align-items:stretch;height:auto !important}
.gallery-section .swiper-slide{
  display:flex;
  align-items:center;
  justify-content:center;
  aspect-ratio:1/1;
  overflow:hidden;
}
.gallery-section .gallery-swiper img{
  border-radius:12px;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

@media(max-width:768px){
  .gallery-section 
  .gallery-section .swiper-slide{aspect-ratio:auto;height:auto}
  .gallery-section .gallery-swiper img{height:auto;max-height:260px;object-fit:cover}
}

/* ===== CTA ===== */
.cta-section{
  position:relative;padding:5rem 1.5rem;
  background:url('https://celibrand.com.ar/wp-content/uploads/2024/01/Captura-de-pantalla-2024-01-04-155447.png') center/cover no-repeat;
  min-height:400px;display:flex;align-items:center;justify-content:center;
}
.cta-section::before{content:'';position:absolute;inset:0;background:rgba(0,0,0,.55)}
.cta-content{position:relative;z-index:1;text-align:center;max-width:650px;color:#fff}
.cta-content h2{font-size:clamp(1.6rem,3vw,2.4rem);font-weight:700;margin-bottom:1rem}
.cta-content p{font-size:1rem;line-height:1.7;opacity:.92;margin-bottom:1.5rem}
.cta-btn{
  display:inline-block;background:var(--accent);color:#fff;
  padding:.8rem 2rem;border-radius:50px;font-weight:600;
  font-family:'Montserrat',sans-serif;font-size:.9rem;
  transition:background .3s,transform .2s;
}
.cta-btn:hover{background:var(--accent-dark);transform:translateY(-2px)}

/* ===== SHOP HERO ===== */
.shop-hero{
  margin-top:95px;
  background:linear-gradient(135deg,var(--dark) 0%,#2a2a2a 100%);
  color:#fff;text-align:center;padding:60px 24px 50px;
  position:relative;overflow:hidden;
}
.shop-hero::before{
  content:'';position:absolute;top:-50%;right:-20%;
  width:500px;height:500px;border-radius:50%;
  background:radial-gradient(circle,rgba(197,164,109,.15),transparent 70%);
}
.shop-hero h1{
  font-family:'Montserrat',sans-serif;font-size:2.8rem;font-weight:800;
  letter-spacing:-1px;position:relative;
}
.shop-hero h1 span{color:var(--accent)}
.shop-hero p{margin-top:12px;font-size:1.1rem;opacity:.8;max-width:500px;margin-inline:auto;position:relative}

/* ===== FILTER PILLS ===== */
.filter-bar{max-width:1200px;margin:-28px auto 0;padding:0 24px;position:relative;z-index:10}
.filter-pills{
  display:flex;gap:10px;justify-content:center;flex-wrap:wrap;
  background:var(--card-bg);border-radius:var(--radius);padding:16px 24px;
  box-shadow:var(--shadow);
}
.filter-pill{
  font-family:'Montserrat',sans-serif;font-weight:600;font-size:.85rem;
  padding:11px 24px;border-radius:50px;border:2px solid #eee;
  background:transparent;color:var(--muted);cursor:pointer;
  transition:all .3s;white-space:nowrap;
  text-decoration:none;display:inline-block;
}
.filter-pill:hover{border-color:var(--accent);color:var(--accent)}
.filter-pill.active{background:var(--accent);color:#fff;border-color:var(--accent)}

/* ===== SHOP GRID ===== */
.shop-grid-section{max-width:1200px;margin:40px auto 60px;padding:0 24px}
.product-count{
  font-family:'Montserrat',sans-serif;font-size:.85rem;color:var(--muted);
  margin-bottom:24px;font-weight:500;
}
.product-count span{color:var(--dark);font-weight:700}
.product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:26px;
}

/* ===== SINGLE PRODUCT ===== */
.breadcrumbs{
  padding:6.5rem 1.5rem 1rem;
  max-width:1200px;margin:0 auto;
  font-size:.85rem;color:#999;
}
.breadcrumbs a{color:#999;transition:color .2s}
.breadcrumbs a:hover{color:var(--accent)}
.breadcrumbs span{color:var(--dark);font-weight:500}

.single-product-section{
  max-width:1200px;margin:0 auto;padding:1rem 1.5rem 3rem;
  display:grid;grid-template-columns:1fr 1fr;gap:3rem;
  align-items:start;
}
.product-gallery{position:relative;overflow:hidden}
.product-main-img{
  border-radius:16px;overflow:hidden;
  background:#f5f3ee;aspect-ratio:1;
}
.product-main-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.product-main-img:hover img{transform:scale(1.04)}
.product-thumbnails{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap;overflow:hidden}
.product-thumbnails img{
  width:70px;height:70px;object-fit:cover;
  border-radius:8px;cursor:pointer;
  border:2px solid transparent;transition:border-color .2s;
}
.product-thumbnails img.active,
.product-thumbnails img:hover{border-color:var(--accent)}

.product-info{padding-top:.5rem}
.product-info .product-category{
  display:inline-block;background:#f3f0ea;color:var(--accent);
  padding:.3rem .8rem;border-radius:20px;
  font-size:.75rem;font-weight:600;
  font-family:'Montserrat',sans-serif;
  text-transform:uppercase;letter-spacing:.05em;
  margin-bottom:.8rem;
}
.product-info h1{
  font-size:clamp(1.4rem,3vw,2rem);font-weight:800;
  color:var(--dark);margin-bottom:.6rem;
}
.product-info .product-price-main{
  font-family:'Montserrat',sans-serif;
  font-size:1.6rem;font-weight:700;color:var(--accent);
  margin-bottom:1.2rem;
}
.product-info .product-price-main del{
  font-size:1rem;color:#aaa;font-weight:400;margin-right:8px;
}
.product-info .product-short-desc{
  font-size:.95rem;color:#555;line-height:1.7;
  margin-bottom:1.5rem;padding-bottom:1.5rem;
  border-bottom:1px solid #eee;
}

/* WhatsApp buy button - removed */

.product-meta-info{
  margin-top:1.5rem;padding-top:1.5rem;
  border-top:1px solid #eee;font-size:.85rem;color:#888;
}
.product-meta-info p{margin-bottom:.4rem}
.product-meta-info a{color:var(--accent)}
.product-meta-info a:hover{text-decoration:underline}

.product-full-desc{
  max-width:1200px;margin:0 auto;padding:0 1.5rem 2rem;
}
.product-full-desc-inner{
  background:#fff;border-radius:16px;padding:2rem;
  box-shadow:0 2px 12px rgba(0,0,0,.05);
}
.product-full-desc-inner h3{
  font-weight:700;margin-bottom:1rem;color:var(--dark);
}
.product-full-desc-inner .desc-content{
  font-size:.95rem;color:#555;line-height:1.8;
}
.product-full-desc-inner .desc-content p{margin-bottom:1rem}

@media(max-width:768px){
  .single-product-section{grid-template-columns:1fr;gap:1.5rem;padding:1rem 1.2rem 2rem}
  .breadcrumbs{padding-top:5.5rem;padding-left:1.2rem;padding-right:1.2rem;font-size:.8rem}
  .product-info h1{font-size:1.3rem}
  .product-info .product-price-main{font-size:1.3rem}
  .product-thumbnails img{width:56px;height:56px}
  .btn-add-cart-big{padding:.75rem 1.5rem;font-size:.85rem;width:100%;justify-content:center}
}

/* ===== RELATED PRODUCTS ===== */
.related-products{max-width:1200px;margin:0 auto;padding:2rem 1.5rem 4rem}
.related-products h2{font-size:1.6rem;font-weight:800;text-align:center;margin-bottom:2rem;color:var(--dark)}
.related-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:20px;
}

/* ===== MAP / PARTNERS ===== */
.map-section{max-width:1200px;margin:-28px auto 0;padding:0 24px;position:relative;z-index:10}
.map-card{background:var(--card-bg);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.map-card iframe{width:100%;height:500px;border:none;display:block}
.partners-section{max-width:1200px;margin:60px auto;padding:0 24px}
.partners-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
  gap:24px;
}
.partner-card{
  background:var(--card-bg);border-radius:var(--radius);
  overflow:hidden;box-shadow:var(--shadow);
  transition:transform .35s,box-shadow .35s;
  display:flex;align-items:center;justify-content:center;
  aspect-ratio:1/1;padding:20px;
}
.partner-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-hover)}
.partner-card img{max-width:100%;max-height:100%;object-fit:contain;transition:transform .4s}
.partner-card:hover img{transform:scale(1.08)}

@media(max-width:900px){
  .map-card iframe{height:400px}
  .partners-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:16px}
  .partner-card{padding:16px}
}
@media(max-width:600px){
  .map-card iframe{height:320px}
  .partners-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .partner-card{padding:14px}
}

/* ===== FOOTER ===== */
.site-footer{background:var(--dark);color:#fff;padding:50px 20px 24px}
.footer-inner{
  max-width:1200px;margin:0 auto;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:40px;
}
@media(max-width:600px){
  .site-footer{padding:40px 16px 20px}
  .footer-inner{grid-template-columns:1fr;gap:28px;text-align:center}
  .footer-socials{justify-content:center}
  .footer-logo img{margin:0 auto 12px}
}
.footer-col h4{
  font-family:'Montserrat',sans-serif;font-weight:700;
  text-transform:uppercase;font-size:.8rem;letter-spacing:1.5px;
  color:var(--accent);margin-bottom:16px;
}
.footer-col p,.footer-col a{font-size:.92rem;color:rgba(255,255,255,.7);line-height:1.7}
.footer-col a{display:block;margin-bottom:6px;transition:color .2s}
.footer-col a:hover{color:var(--accent)}
.footer-logo img{height:50px;margin-bottom:12px}
.footer-socials{display:flex;gap:12px;margin-top:12px}
.footer-socials a{
  width:40px;height:40px;border-radius:50%;
  background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;
  transition:background .3s;margin-bottom:0;
}
.footer-socials a:hover{background:var(--accent)}
.footer-socials svg{width:20px;height:20px;fill:#fff}
.footer-bottom{
  max-width:1200px;margin:40px auto 0;
  border-top:1px solid rgba(255,255,255,.1);padding-top:20px;
  text-align:center;font-size:.78rem;color:rgba(255,255,255,.4);
}
.footer-partner{text-align:center;margin-top:16px}
.footer-partner a{display:inline-block;margin-bottom:0}
.footer-partner img{height:50px;opacity:.7;transition:opacity .3s}
.footer-partner img:hover{opacity:1}

/* ===== SCROLL TOP ===== */
.scroll-top{
  position:fixed;bottom:24px;right:28px;z-index:900;
  width:42px;height:42px;border-radius:50%;
  background:var(--dark);color:#fff;border:none;cursor:pointer;
  display:none;align-items:center;justify-content:center;
  font-size:1.2rem;box-shadow:0 2px 10px rgba(0,0,0,.2);
  transition:background .3s;
}
.scroll-top.visible{display:flex}
.scroll-top:hover{background:var(--accent)}

/* ===== ANIMATIONS ===== */
.fade-up{opacity:0;transform:translateY(30px);transition:opacity .6s ease,transform .6s ease}
.fade-up.visible{opacity:1;transform:translateY(0)}

/* ===== PAGINATION ===== */
.woo-pagination{text-align:center;margin:2rem 0}
.woo-pagination .nav-links{display:inline-flex;gap:6px;justify-content:center}
.woo-pagination .page-numbers{
  display:flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:50%;
  background:#fff;color:var(--dark);
  font-family:'Montserrat',sans-serif;font-weight:600;font-size:.85rem;
  border:2px solid #eee;transition:all .3s;text-decoration:none;
}
.woo-pagination .page-numbers:hover{border-color:var(--accent);color:var(--accent)}
.woo-pagination .page-numbers.current{background:var(--accent);color:#fff;border-color:var(--accent)}

/* ===== ADD TO CART BUTTON ===== */
.btn-add-cart{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  margin-top:8px;
  background:var(--accent);color:#fff;
  font-family:'Montserrat',sans-serif;font-weight:600;font-size:.82rem;
  text-transform:uppercase;letter-spacing:.5px;
  padding:12px 22px;border-radius:10px;border:none;cursor:pointer;
  transition:background .3s,transform .2s;width:100%;
}
.btn-add-cart:hover{background:var(--accent-dark);transform:translateY(-1px)}
.btn-add-cart svg{width:16px;height:16px;fill:#fff}

/* Single product add to cart */
.btn-add-cart-big{
  display:inline-flex;align-items:center;gap:10px;
  background:var(--accent);color:#fff;
  padding:.9rem 2rem;border-radius:50px;
  font-family:'Montserrat',sans-serif;font-weight:700;font-size:.95rem;
  transition:background .3s,transform .2s;
  box-shadow:0 4px 15px rgba(197,164,109,.35);
  border:none;cursor:pointer;margin-bottom:10px;
}
.btn-add-cart-big:hover{background:var(--accent-dark);transform:translateY(-2px)}
.btn-add-cart-big svg{width:20px;height:20px;fill:#fff}

/* Qty control (single product) */
.single-qty-control{
  display:inline-flex;align-items:center;gap:0;
  border:2px solid #e0ddd8;border-radius:10px;overflow:hidden;
  margin-bottom:14px;
}
.single-qty-control button{
  width:40px;height:40px;background:#f8f6f2;border:none;cursor:pointer;
  font-size:1.2rem;font-weight:700;color:#555;
  display:flex;align-items:center;justify-content:center;
  transition:background .2s,color .2s;user-select:none;
}
.single-qty-control button:hover{background:var(--accent);color:#fff}
.single-qty-control input{
  width:50px;height:40px;border:none;text-align:center;
  font-family:'Montserrat',sans-serif;font-weight:600;font-size:1rem;
  color:var(--dark);background:#fff;-moz-appearance:textfield;
}
.single-qty-control input::-webkit-outer-spin-button,
.single-qty-control input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

.product-buttons-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:14px;position:relative;z-index:2}

/* ===== CART BADGE ===== */
.cart-link{position:relative;display:inline-flex;align-items:center;gap:6px}
.cart-badge{
  position:absolute;top:-6px;right:-10px;
  background:#e74c3c;color:#fff;
  font-size:.65rem;font-weight:700;
  width:18px;height:18px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-family:'Montserrat',sans-serif;
}
.cart-badge:empty{display:none}

/* ===== CART PAGE ===== */
.cart-hero{
  margin-top:95px;
  background:linear-gradient(135deg,var(--dark) 0%,#2d2520 100%);
  color:#fff;text-align:center;
  padding:60px 24px 50px;
}
.cart-hero h1{
  font-size:clamp(2rem,4vw,3rem);font-weight:800;
  letter-spacing:-0.02em;margin-bottom:.5rem;
}
.cart-hero h1 span{color:var(--accent)}
.cart-hero p{font-size:1.05rem;color:rgba(255,255,255,.65);max-width:500px;margin:0 auto}

.min-purchase-banner{
  background:linear-gradient(90deg,var(--accent),#b8934f);
  color:#fff;text-align:center;
  padding:.75rem 1.5rem;
  font-family:'Montserrat',sans-serif;font-weight:700;font-size:.9rem;
  letter-spacing:.05em;text-transform:uppercase;overflow:hidden;position:relative;
}
.min-purchase-banner .banner-content{
  display:inline-flex;align-items:center;gap:.5rem;
  animation:slideBanner 12s linear infinite;
}
@keyframes slideBanner{0%{transform:translateX(60%)}100%{transform:translateX(-60%)}}

.cart-section{max-width:1000px;margin:0 auto;padding:3rem 1.5rem 4rem}

.cart-header{
  display:grid;grid-template-columns:90px 1fr auto auto auto;
  gap:1.2rem;padding:0 1.5rem .8rem;
  font-family:'Montserrat',sans-serif;font-weight:700;font-size:.72rem;
  color:#aaa;text-transform:uppercase;letter-spacing:.08em;
}
.cart-items{display:flex;flex-direction:column;gap:1rem;margin-bottom:2rem}
.cart-item{
  display:grid;grid-template-columns:90px 1fr auto auto auto;
  align-items:center;gap:1.2rem;
  background:#fff;border-radius:16px;padding:1rem 1.5rem;
  box-shadow:0 2px 12px rgba(0,0,0,.04);border:1px solid rgba(0,0,0,.04);
  transition:box-shadow .3s,transform .2s,opacity .3s;
}
.cart-item:hover{box-shadow:0 6px 24px rgba(0,0,0,.08);transform:translateY(-2px)}
.cart-item-img{width:90px;height:90px;border-radius:12px;overflow:hidden;flex-shrink:0}
.cart-item-img img{width:100%;height:100%;object-fit:cover}
.cart-item-info{min-width:0}
.cart-item-name{
  font-family:'Montserrat',sans-serif;font-weight:600;font-size:.95rem;
  color:var(--dark);margin-bottom:.2rem;
}
.cart-item-name a{color:var(--dark);transition:color .2s}
.cart-item-name a:hover{color:var(--accent)}
.cart-item-sku{font-size:.78rem;color:#999}
.cart-item-price{
  font-family:'Montserrat',sans-serif;font-weight:600;
  font-size:.95rem;color:var(--dark);white-space:nowrap;
}

.qty-control{
  display:inline-flex;align-items:center;gap:0;
  border:1px solid #e0ddd8;border-radius:8px;overflow:hidden;
}
.qty-btn{
  width:36px;height:36px;background:#f8f6f2;border:none;cursor:pointer;
  font-size:1.1rem;font-weight:600;color:#555;
  display:flex;align-items:center;justify-content:center;
  transition:background .2s,color .2s;user-select:none;
}
.qty-btn:hover{background:var(--accent);color:#fff}
.qty-input{
  width:44px;height:36px;border:none;text-align:center;
  font-family:'Montserrat',sans-serif;font-weight:600;font-size:.9rem;
  color:var(--dark);background:#fff;-moz-appearance:textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

.cart-item-remove{
  width:36px;height:36px;border-radius:50%;
  background:#fef2f2;border:none;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  transition:background .2s,transform .2s;flex-shrink:0;
}
.cart-item-remove:hover{background:#fee2e2;transform:scale(1.1)}
.cart-item-remove svg{width:16px;height:16px;fill:#ef4444}

.cart-bottom{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:start}
.coupon-section{
  background:#fff;border-radius:16px;padding:1.5rem;
  box-shadow:0 2px 12px rgba(0,0,0,.04);border:1px solid rgba(0,0,0,.04);
}
.coupon-section h3,.cart-totals h3{
  font-size:.85rem;font-weight:700;text-transform:uppercase;
  letter-spacing:.05em;color:#888;margin-bottom:1rem;
}
.coupon-form{display:flex;gap:.5rem}
.coupon-input{
  flex:1;padding:.7rem 1rem;border:1px solid #e0ddd8;border-radius:10px;
  font-family:'DM Sans',sans-serif;font-size:.9rem;background:#fafaf8;
  transition:border-color .2s;outline:none;
}
.coupon-input:focus{border-color:var(--accent)}
.coupon-btn{
  padding:.7rem 1.2rem;background:var(--dark);color:#fff;
  border:none;border-radius:10px;font-family:'Montserrat',sans-serif;
  font-weight:600;font-size:.82rem;cursor:pointer;transition:background .2s;
  white-space:nowrap;
}
.coupon-btn:hover{background:#333}

.cart-totals{
  background:#fff;border-radius:16px;padding:1.5rem;
  box-shadow:0 2px 12px rgba(0,0,0,.04);border:1px solid rgba(0,0,0,.04);
}
.totals-row{
  display:flex;justify-content:space-between;align-items:center;
  padding:.7rem 0;border-bottom:1px solid #f0ede8;
}
.totals-row:last-of-type{
  border-bottom:none;padding-top:1rem;margin-top:.5rem;
  border-top:2px solid var(--dark);
}
.totals-label{font-size:.9rem;color:#666}
.totals-value{font-family:'Montserrat',sans-serif;font-weight:600;font-size:.95rem}
.totals-row:last-of-type .totals-label{
  font-family:'Montserrat',sans-serif;font-weight:700;font-size:1rem;color:var(--dark);
}
.totals-row:last-of-type .totals-value{font-size:1.3rem;font-weight:800;color:var(--dark)}

.checkout-btn{
  display:block;width:100%;margin-top:1.2rem;padding:1rem;
  background:linear-gradient(135deg,var(--accent),#b8934f);color:#fff;
  border:none;border-radius:12px;font-family:'Montserrat',sans-serif;
  font-weight:700;font-size:.95rem;letter-spacing:.04em;
  text-transform:uppercase;cursor:pointer;text-align:center;
  transition:transform .2s,box-shadow .3s;
}
.checkout-btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(197,164,109,.35)}

.continue-shopping{
  display:inline-flex;align-items:center;gap:.4rem;
  margin-top:1.5rem;font-family:'Montserrat',sans-serif;
  font-weight:600;font-size:.85rem;color:var(--accent);transition:color .2s,gap .2s;
}
.continue-shopping:hover{color:var(--accent-dark);gap:.7rem}
.continue-shopping svg{width:16px;height:16px;fill:currentColor;transition:transform .2s}
.continue-shopping:hover svg{transform:translateX(-3px)}

.cart-empty{text-align:center;padding:4rem 1.5rem}
.cart-empty-icon{
  width:80px;height:80px;margin:0 auto 1.5rem;
  background:#f0ede8;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
}
.cart-empty-icon svg{width:36px;height:36px;fill:var(--accent)}
.cart-empty h2{font-size:1.4rem;font-weight:700;margin-bottom:.5rem}
.cart-empty p{color:#888;margin-bottom:1.5rem}
.cart-empty .btn-shop{
  display:inline-block;padding:.85rem 2rem;
  background:linear-gradient(135deg,var(--accent),#b8934f);color:#fff;
  border-radius:12px;font-family:'Montserrat',sans-serif;
  font-weight:700;font-size:.9rem;letter-spacing:.04em;
  text-transform:uppercase;transition:transform .2s,box-shadow .3s;
}
.cart-empty .btn-shop:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(197,164,109,.35)}

@media(max-width:768px){
  .cart-header{display:none}
  .cart-item{
    grid-template-columns:70px 1fr;grid-template-rows:auto auto;
    gap:.8rem;padding:1rem;
  }
  .cart-item-img{width:70px;height:70px;grid-row:1/3}
  .cart-item-info{grid-column:2}
  .cart-item-price,.cart-item .qty-control,.cart-item-remove{grid-column:2}
  .cart-bottom{grid-template-columns:1fr}
}
@media(max-width:480px){
  .cart-hero{padding:40px 1rem 32px;margin-top:72px}
  .cart-hero h1{font-size:1.5rem}
  .cart-section{padding:2rem 1rem 3rem}
}

/* ===== CHECKOUT PAGE ===== */
.checkout-hero{
  margin-top:95px;
  background:var(--dark);
  padding:60px 1.5rem 50px;
  text-align:center;
}
.checkout-hero h1{
  color:#fff;font-size:clamp(1.8rem,4vw,2.8rem);font-weight:700;margin-bottom:.5rem;
}
.checkout-hero .accent{color:var(--accent)}
.checkout-hero p{color:rgba(255,255,255,.6);font-size:1rem}

.min-alert{
  background:linear-gradient(90deg,var(--accent),#d4b87e);
  color:#fff;text-align:center;padding:.6rem 1rem;
  font-weight:600;font-size:.85rem;letter-spacing:.02em;
  font-family:'Montserrat',sans-serif;
}

.checkout-section{
  max-width:1200px;margin:0 auto;padding:3rem 1.5rem 4rem;
  display:grid;grid-template-columns:1.2fr 1fr;gap:2.5rem;align-items:start;
}
@media(max-width:900px){.checkout-section{grid-template-columns:1fr}}

.checkout-card{
  background:#fff;border-radius:16px;
  box-shadow:0 2px 16px rgba(0,0,0,.06);
  padding:2rem;margin-bottom:1.5rem;
}
.checkout-card h2{
  font-size:1.2rem;font-weight:700;margin-bottom:1.5rem;color:var(--dark);
  display:flex;align-items:center;gap:.5rem;
}
.checkout-card h2 .icon{
  width:28px;height:28px;background:var(--accent);
  border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.checkout-card h2 .icon svg{width:16px;height:16px;fill:#fff}

.form-group{margin-bottom:1.2rem}
.form-group label{
  display:block;font-size:.82rem;font-weight:600;
  color:#555;margin-bottom:.4rem;font-family:'Montserrat',sans-serif;
}
.form-group label .req{color:var(--accent);margin-left:2px}
.form-group input,.form-group select,.form-group textarea{
  width:100%;padding:.75rem 1rem;border:1.5px solid #e0ddd8;
  border-radius:10px;font-family:'DM Sans',sans-serif;
  font-size:.92rem;background:#fafaf8;
  transition:border-color .25s,box-shadow .25s;outline:none;color:var(--dark);
}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{
  border-color:var(--accent);box-shadow:0 0 0 3px rgba(197,164,109,.15);
}
.form-group textarea{resize:vertical;min-height:80px}
.form-row-2{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
@media(max-width:500px){.form-row-2{grid-template-columns:1fr}}

.order-item{
  display:flex;justify-content:space-between;align-items:center;
  padding:.8rem 0;border-bottom:1px solid #f0ede8;
}
.order-item:last-of-type{border-bottom:none}
.order-item-name{font-size:.9rem;color:#333;flex:1}
.order-item-qty{
  font-size:.8rem;color:#999;background:#f0ede8;
  border-radius:6px;padding:.15rem .5rem;margin:0 .8rem;white-space:nowrap;
}
.order-item-price{font-weight:600;font-size:.9rem;color:var(--dark);white-space:nowrap}

.order-totals{margin-top:1.2rem;padding-top:1.2rem;border-top:2px solid #f0ede8}
.order-total-row{
  display:flex;justify-content:space-between;align-items:center;
  padding:.4rem 0;font-size:.92rem;
}
.order-total-row.grand{
  font-size:1.15rem;font-weight:700;color:var(--dark);
  padding-top:.8rem;margin-top:.4rem;border-top:2px solid var(--accent);
}
.order-total-row.discount{color:#2a9d3e;font-weight:600}

.checkout-coupon-toggle{
  font-size:.85rem;color:var(--accent);cursor:pointer;
  display:inline-flex;align-items:center;gap:.4rem;
  margin-bottom:1rem;transition:opacity .25s;
}
.checkout-coupon-toggle:hover{opacity:.8}
.checkout-coupon-toggle svg{width:14px;height:14px;fill:var(--accent)}
.checkout-coupon-area{display:none;gap:.5rem;margin-bottom:1rem}
.checkout-coupon-area.open{display:flex}
.checkout-coupon-area input{
  flex:1;padding:.65rem 1rem;border:1.5px solid #e0ddd8;
  border-radius:10px;font-family:'DM Sans',sans-serif;font-size:.9rem;
  background:#fafaf8;outline:none;
}
.checkout-coupon-area input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(197,164,109,.15)}
.checkout-coupon-msg{
  font-size:.82rem;padding:.5rem .8rem;border-radius:8px;
  margin-bottom:.8rem;display:none;
}
.checkout-coupon-msg.success{display:block;background:#e8f5e9;color:#2a9d3e;border:1px solid #c8e6c9}
.checkout-coupon-msg.error{display:block;background:#ffeef0;color:#d32f2f;border:1px solid #ffcdd2}

.bank-card{
  background:linear-gradient(135deg,#f8f6f2 0%,#f0ede8 100%);
  border-radius:14px;padding:1.5rem;margin-top:1rem;
}
.bank-card h3{
  font-size:.95rem;font-weight:700;margin-bottom:1rem;color:var(--dark);
  display:flex;align-items:center;gap:.5rem;
}
.bank-row{display:flex;align-items:center;gap:.5rem;padding:.4rem 0;font-size:.88rem}
.bank-row .bank-label{font-weight:600;color:#555;min-width:65px}
.bank-row .bank-value{color:var(--dark);word-break:break-all}
.bank-row .bank-icon{font-size:1.1rem;flex-shrink:0}

.submit-wa{
  display:flex;align-items:center;justify-content:center;gap:.8rem;
  width:100%;padding:1rem;background:#25d366;color:#fff;
  border:none;border-radius:12px;font-family:'Montserrat',sans-serif;
  font-weight:700;font-size:1rem;letter-spacing:.02em;cursor:pointer;
  transition:background .25s,transform .15s,box-shadow .25s;margin-top:1.5rem;
}
.submit-wa:hover{background:#20bf5b;transform:translateY(-2px);box-shadow:0 8px 24px rgba(37,211,102,.3)}
.submit-wa svg{width:24px;height:24px;fill:#fff}

.back-cart{
  display:block;text-align:center;margin-top:1rem;
  color:var(--accent);font-weight:600;font-size:.88rem;transition:opacity .25s;
}
.back-cart:hover{opacity:.7}

.checkout-right{position:sticky;top:110px}

.privacy-text{font-size:.78rem;color:#999;text-align:center;margin-top:1rem;line-height:1.5}
.privacy-text a{color:var(--accent);text-decoration:underline}

/* ===== TOAST NOTIFICATION ===== */
.toast{
  position:fixed;bottom:100px;left:50%;transform:translateX(-50%) translateY(20px);
  background:var(--dark);color:#fff;
  padding:14px 28px;border-radius:12px;
  font-family:'Montserrat',sans-serif;font-weight:600;font-size:.9rem;
  box-shadow:0 8px 30px rgba(0,0,0,.2);
  opacity:0;transition:all .4s;z-index:9999;pointer-events:none;
  display:flex;align-items:center;gap:10px;
}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.toast svg{width:20px;height:20px;fill:var(--accent)}

/* ===== RESPONSIVE (Shop) ===== */
@media(max-width:900px){
  .shop-hero{margin-top:80px}
  .shop-hero h1{font-size:2rem}
  .product-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px}
  .product-card-body{padding:12px 14px 16px}
  .product-card-body h3{font-size:.82rem}
  .product-price{font-size:.92rem}
  .btn-product{padding:9px 14px;font-size:.72rem}
  .btn-add-cart{padding:9px 14px;font-size:.72rem}
}
@media(max-width:600px){
  .shop-hero{padding:40px 20px 36px;margin-top:72px}
  .shop-hero h1{font-size:1.5rem}
  .shop-hero p{font-size:.88rem}
  .filter-bar{margin-top:-20px}
  .filter-pills{padding:12px 14px;gap:8px}
  .filter-pill{font-size:.72rem;padding:8px 14px}
  .product-grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .section{padding:2.5rem 1rem}
  .section-header h2{font-size:1.3rem}
  .product-card-body{padding:10px 12px 14px}
  .product-card-body h3{font-size:.78rem}
  .product-price{font-size:.85rem;margin-bottom:8px}
  .btn-product{padding:8px 10px;font-size:.68rem}
  .btn-add-cart{padding:8px 10px;font-size:.68rem}
}

/* ===== MERCADO LIBRE BUTTON ===== */
.btn-mercadolibre{
  display:inline-flex;align-items:center;gap:10px;
  background:#FFE600;color:#333;
  padding:.85rem 2rem;border-radius:50px;
  font-family:'Montserrat',sans-serif;font-weight:700;font-size:.95rem;
  transition:background .3s,transform .2s;
  box-shadow:0 4px 15px rgba(255,230,0,.35);
  border:none;cursor:pointer;text-decoration:none;
}
.btn-mercadolibre:hover{background:#f5dd00;transform:translateY(-2px);color:#333}
.btn-mercadolibre svg{width:24px;height:24px;flex-shrink:0}

/* ===== FEATURED ACTIONS ===== */
.featured-price{
  font-family:'Montserrat',sans-serif;
  font-size:1.5rem;font-weight:700;color:var(--accent);
  margin-bottom:1rem;
}
.featured-actions{
  display:flex;align-items:center;gap:1rem;
  margin-bottom:1rem;flex-wrap:wrap;
}
.featured-buttons-row{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;
}

/* ===== PRODUCT PURCHASE FORM ===== */
.product-purchase-form-wrapper{
  margin-top:2rem;border-top:1px solid #eee;padding-top:1.5rem;
  position:relative;z-index:2;clear:both;
}
.purchase-form-toggle{
  display:inline-flex;align-items:center;gap:8px;
  font-family:'Montserrat',sans-serif;font-weight:700;font-size:1rem;
  color:var(--dark);cursor:pointer;
  padding:.8rem 0;transition:color .2s;
  user-select:none;
}
.purchase-form-toggle:hover{color:var(--accent)}
.purchase-form-toggle::after{
  content:'▸';font-size:.85rem;transition:transform .3s;display:inline-block;
}
.purchase-form-toggle.open::after{transform:rotate(90deg)}

.purchase-form-panel{
  display:none;
  background:#fff;border-radius:16px;
  box-shadow:0 4px 24px rgba(0,0,0,.08);
  padding:2rem;margin-top:1rem;
  border:1px solid rgba(0,0,0,.06);
  animation:fadeSlideDown .35s ease;
}
.purchase-form-panel.open{display:block}
@keyframes fadeSlideDown{
  from{opacity:0;transform:translateY(-10px)}
  to{opacity:1;transform:translateY(0)}
}
.purchase-form-panel h3{
  font-size:1.15rem;font-weight:700;margin-bottom:1.5rem;
  color:var(--dark);padding-bottom:1rem;
  border-bottom:2px solid #f0ede8;
}

@media(max-width:768px){
  .featured-actions{flex-direction:column;align-items:flex-start}
  .featured-buttons-row{flex-direction:column;width:100%}
  .featured-buttons-row a,.featured-buttons-row button{width:100%;justify-content:center;text-align:center;box-sizing:border-box;padding-left:0;padding-right:0}
  .product-buttons-row{flex-direction:column}
  .product-buttons-row a,.product-buttons-row button{width:100%;justify-content:center;text-align:center}
  .purchase-form-panel{padding:1.5rem}
}
