/* ===== Westerlund Health — main.css ===== */
:root{
  --indigo:#302060; --indigo-700:#3a2a70; --indigo-900:#1C1740;
  --blue:#205090; --blue-600:#2a63ad;
  --gold:#E0A23C; --gold-600:#c98a26;
  --ink:#1C1740; --muted:#5B5775; --line:#e7e7f0;
  --bg:#ffffff; --bg-soft:#F5F6FA; --bg-indigo:#241a4d;
  --r:14px; --r-sm:10px; --r-lg:22px;
  --shadow:0 6px 24px rgba(48,32,96,.08); --shadow-lg:0 18px 50px rgba(48,32,96,.14);
  --maxw:1200px; --gap:clamp(16px,3vw,28px);
  --h-serif:'Sora',system-ui,sans-serif; --body:'Plus Jakarta Sans',system-ui,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--body);color:var(--ink);background:var(--bg);line-height:1.65;font-size:17px;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:var(--h-serif);color:var(--indigo);line-height:1.12;letter-spacing:-.02em;font-weight:800;margin:0 0 .4em}
h1{font-size:clamp(2.1rem,5vw,3.6rem)}
h2{font-size:clamp(1.7rem,3.6vw,2.6rem)}
h3{font-size:clamp(1.2rem,2vw,1.5rem)}
p{margin:0 0 1em}
a{color:var(--blue);text-decoration:none}
a:hover{color:var(--indigo)}
img{max-width:100%;height:auto;display:block}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px;border-radius:6px}
.wld-skip{position:absolute;left:-9999px;top:0;z-index:200;background:var(--indigo);color:#fff;padding:.7rem 1.2rem;border-radius:0 0 10px 0;font-weight:700}
.wld-skip:focus{left:0;color:#fff}
.wld-container{max-width:var(--maxw);margin:0 auto;padding:0 clamp(16px,4vw,32px)}
.wld-section{padding:clamp(48px,7vw,88px) 0}
.wld-soft{background:var(--bg-soft)}
.eyebrow{font-family:var(--body);font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--blue);font-size:.78rem;margin-bottom:.6rem}
.center{text-align:center}
.lead{font-size:1.12rem;color:var(--muted)}

/* ===== Buttons ===== */
.btn{display:inline-flex;align-items:center;gap:.5rem;font-family:var(--body);font-weight:700;font-size:1rem;border-radius:999px;padding:.85rem 1.6rem;border:2px solid transparent;cursor:pointer;transition:.18s ease;text-align:center;line-height:1}
.btn-gold{background:var(--gold);color:#3a2a08;box-shadow:0 8px 20px rgba(224,162,60,.32)}
.btn-gold:hover{background:var(--gold-600);color:#3a2a08;transform:translateY(-2px)}
.btn-indigo{background:var(--indigo);color:#fff}
.btn-indigo:hover{background:var(--indigo-700);color:#fff;transform:translateY(-2px)}
.btn-ghost{background:transparent;color:var(--indigo);border-color:var(--indigo)}
.btn-ghost:hover{background:var(--indigo);color:#fff}
.btn-wa{background:#25D366;color:#0b3d20}
.btn-wa:hover{background:#1fb959;color:#0b3d20;transform:translateY(-2px)}
.btn-block{display:flex;width:100%;justify-content:center}

/* ===== Trust bar ===== */
.wld-trustbar{background:var(--indigo);color:#fff;font-size:.82rem}
.wld-trustbar .wld-container{display:flex;flex-wrap:wrap;gap:.4rem 1.6rem;justify-content:center;align-items:center;padding-top:.55rem;padding-bottom:.55rem}
.wld-trustbar span{display:inline-flex;align-items:center;gap:.45rem;opacity:.95}
.wld-trustbar span::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--gold)}

/* ===== Header ===== */
.wld-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:saturate(140%) blur(8px);border-bottom:1px solid var(--line)}
.wld-header .wld-container{display:flex;align-items:center;gap:1.5rem;padding-top:.8rem;padding-bottom:.8rem}
.wld-logo img,.custom-logo{height:46px;width:auto}
.wld-nav{display:flex;gap:1.4rem;margin-left:auto}
.wld-nav a{color:var(--indigo);font-weight:600;font-size:.98rem;padding:.3rem 0;position:relative}
.wld-nav a::after{content:"";position:absolute;left:0;bottom:-2px;width:0;height:2px;background:var(--gold);transition:.2s}
.wld-nav a:hover::after,.wld-nav .current-menu-item>a::after{width:100%}
.wld-actions{display:flex;align-items:center;gap:.8rem;margin-left:.4rem}
.wld-cart{position:relative;color:var(--indigo);display:inline-flex;align-items:center}
.wld-cart .count{position:absolute;top:-8px;right:-10px;background:var(--gold);color:#3a2a08;font-size:.7rem;font-weight:700;min-width:18px;height:18px;border-radius:999px;display:grid;place-items:center;padding:0 4px}
.wld-burger{display:none;background:none;border:0;color:var(--indigo);cursor:pointer}

/* ===== Hero ===== */
.wld-hero{background:linear-gradient(120deg,#f3f1fb 0%,#eef4fb 60%,#f7f8fc 100%)}
.wld-hero .wld-container{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(24px,5vw,56px);align-items:center;padding-top:clamp(40px,6vw,80px);padding-bottom:clamp(40px,6vw,80px)}
.wld-hero h1 span{background:linear-gradient(90deg,var(--indigo),var(--blue));-webkit-background-clip:text;background-clip:text;color:transparent}
.wld-hero .lead{max-width:42ch}
.wld-hero-cta{display:flex;flex-wrap:wrap;gap:.8rem;margin:1.4rem 0 1.1rem}
.wld-hero-mini{display:flex;flex-wrap:wrap;gap:1rem;color:var(--muted);font-size:.86rem;font-weight:600}
.wld-hero-mini span{display:inline-flex;align-items:center;gap:.4rem}
.wld-stars{color:var(--gold);letter-spacing:1px}
.wld-hero-img{position:relative;border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--shadow-lg);aspect-ratio:4/3;background:#e9e6f5}
.wld-hero-img img{width:100%;height:100%;object-fit:cover}

/* ===== Benefits ===== */
.wld-benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--gap)}
.wld-benefit{text-align:center;padding:1.2rem}
.wld-benefit .ic{width:54px;height:54px;margin:0 auto .7rem;border-radius:14px;background:#ece9f7;color:var(--indigo);display:grid;place-items:center}
.wld-benefit .ic svg{width:26px;height:26px}
.wld-benefit b{display:block;color:var(--indigo);font-family:var(--h-serif);font-size:1.02rem}
.wld-benefit small{color:var(--muted)}

/* ===== Product grid (Woo loop) ===== */
.wld-shop .products,ul.products{display:grid !important;grid-template-columns:repeat(3,1fr);gap:var(--gap);margin:0;padding:0;list-style:none}
ul.products li.product{margin:0 !important;width:auto !important;float:none !important;background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column;transition:.18s;text-align:left}
ul.products li.product:hover{box-shadow:var(--shadow-lg);transform:translateY(-3px)}
ul.products li.product a.woocommerce-LoopProduct-link{display:block;padding:0}
ul.products li.product img{width:100%;aspect-ratio:1/1;object-fit:cover;background:var(--bg-soft);margin:0}
ul.products li.product .woocommerce-loop-product__title{font-family:var(--h-serif);font-size:1.08rem;color:var(--indigo);padding:1rem 1.1rem .2rem;font-weight:700}
ul.products li.product .price,ul.products li.product .price .woocommerce-Price-amount,ul.products li.product .price bdi{padding:0 1.1rem;color:var(--ink) !important;font-weight:700;font-size:1.15rem}
ul.products li.product .price .woocommerce-Price-amount,ul.products li.product .price bdi{padding:0}
ul.products li.product .price del{color:var(--muted);font-weight:500;font-size:.9rem;margin-right:.4rem}
ul.products li.product .price ins{text-decoration:none}
.wld-badge{display:inline-block;margin:0 1.1rem;padding:.2rem .6rem;background:#ece9f7;color:var(--indigo);border-radius:999px;font-size:.74rem;font-weight:700}
.wld-ship-note{padding:.1rem 1.1rem 0;color:var(--muted);font-size:.8rem;margin:0}
ul.products li.product .button{margin:.8rem 1.1rem 1.1rem;background:var(--gold);color:#3a2a08;border-radius:999px;font-weight:700;padding:.7rem 1rem;border:0;transition:.18s}
ul.products li.product .button:hover{background:var(--gold-600);transform:translateY(-1px)}
ul.products li.product .added_to_cart{margin:0 1.1rem 1.1rem;font-size:.85rem}
.woocommerce ul.products li.product .onsale,.onsale{background:var(--blue);color:#fff;border-radius:999px;min-height:auto;padding:.2rem .7rem;font-weight:700;top:10px;right:10px;left:auto;margin:0;position:absolute}
ul.products li.product{position:relative}

/* ===== Section heading ===== */
.wld-head{max-width:62ch;margin:0 auto clamp(24px,4vw,44px)}
.wld-head.center{text-align:center}

/* ===== Steps / rutina ===== */
.wld-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gap)}
.wld-step{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:1.6rem;text-align:center}
.wld-step .n{width:40px;height:40px;border-radius:999px;background:var(--indigo);color:#fff;font-weight:700;display:grid;place-items:center;margin:0 auto .8rem;font-family:var(--h-serif)}

/* ===== Brand band ===== */
.wld-band{background:linear-gradient(120deg,var(--indigo),var(--blue));color:#fff;border-radius:var(--r-lg);overflow:hidden;display:grid;grid-template-columns:1.1fr .9fr;align-items:center}
.wld-band .txt{padding:clamp(28px,4vw,52px)}
.wld-band h2{color:#fff}
.wld-band p{color:rgba(255,255,255,.88)}
.wld-band img{width:100%;height:100%;object-fit:cover;min-height:260px}

/* ===== Testimonials ===== */
.wld-quotes{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gap)}
.wld-quote{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:1.6rem;box-shadow:var(--shadow)}
.wld-quote .wld-stars{font-size:1rem;margin-bottom:.6rem}
.wld-quote p{font-size:1.02rem}
.wld-quote cite{color:var(--muted);font-style:normal;font-weight:700;font-size:.9rem}

/* ===== FAQ ===== */
.wld-faq{max-width:780px;margin:0 auto}
.wld-faq details{background:#fff;border:1px solid var(--line);border-radius:var(--r-sm);margin-bottom:.7rem;padding:0 1.2rem;transition:.18s}
.wld-faq summary{cursor:pointer;list-style:none;padding:1.05rem 0;font-weight:700;color:var(--indigo);display:flex;justify-content:space-between;gap:1rem}
.wld-faq summary::-webkit-details-marker{display:none}
.wld-faq summary::after{content:"+";color:var(--gold);font-size:1.4rem;line-height:1}
.wld-faq details[open] summary::after{content:"–"}
.wld-faq details[open]{box-shadow:var(--shadow)}
.wld-faq details p{padding-bottom:1.1rem;color:var(--muted);margin:0}

/* ===== CTA WhatsApp band ===== */
.wld-cta-wa{background:var(--indigo);color:#fff;border-radius:var(--r-lg);text-align:center;padding:clamp(32px,5vw,56px)}
.wld-cta-wa h2{color:#fff}
.wld-cta-wa p{color:rgba(255,255,255,.85);max-width:50ch;margin:0 auto 1.4rem}

/* ===== Newsletter ===== */
.wld-news{display:flex;gap:.6rem;max-width:480px;margin:1rem auto 0;flex-wrap:wrap}
.wld-news input{flex:1;min-width:200px;border:1px solid var(--line);border-radius:999px;padding:.85rem 1.2rem;font-family:var(--body);font-size:1rem}

/* ===== Footer ===== */
.wld-footer{background:var(--bg-indigo);color:#cfc9e6;padding-top:clamp(40px,6vw,72px)}
.wld-footer a{color:#cfc9e6}
.wld-footer a:hover{color:#fff}
.wld-footer .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:var(--gap)}
.wld-footer h3{color:#fff;font-size:1rem;margin-bottom:.9rem}
.wld-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}
.wld-footer a{display:inline-block;padding:.18rem 0;min-height:24px}
.wld-footer .brand img{height:44px;margin-bottom:1rem;filter:brightness(0) invert(1)}
.wld-footer .pay{display:flex;gap:.5rem;margin-top:.8rem;flex-wrap:wrap}
.wld-footer .pay span{background:rgba(255,255,255,.1);border-radius:8px;padding:.35rem .6rem;font-size:.72rem}
.wld-footer .legal{border-top:1px solid rgba(255,255,255,.14);margin-top:clamp(28px,4vw,44px);padding:1.4rem 0;font-size:.8rem;color:#9b94bd}
.wld-footer .legal .leyenda{max-width:80ch;margin:0 auto .6rem;text-align:center}

/* ===== Single product ===== */
.single-product div.product{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,4vw,48px)}
.single-product .woocommerce-product-gallery{margin:0;overflow:hidden;max-width:100%}
.single-product .woocommerce-product-gallery img,.single-product .woocommerce-product-gallery .zoomImg{max-width:100%}
.single-product .product_title{margin-top:.2rem}
.single-product .woocommerce-Price-amount{font-size:1.6rem;font-weight:800;color:var(--indigo)}
.single-product .price del .woocommerce-Price-amount{font-size:1.05rem;color:var(--muted)}
.single-product .single_add_to_cart_button,.single-product .single_add_to_cart_button.button{background:var(--gold);color:#3a2a08;border-radius:999px;font-weight:700;padding:1rem 2rem;border:0;font-size:1.05rem}
.single-product .single_add_to_cart_button:hover{background:var(--gold-600)}
.single-product .quantity input{border:1px solid var(--line);border-radius:10px;padding:.6rem;height:auto}
.wld-legend{font-size:.82rem;color:var(--muted);border-top:1px solid var(--line);padding-top:1rem;margin-top:1rem}
.woocommerce-tabs{grid-column:1/-1;margin-top:clamp(24px,4vw,40px)}
.woocommerce-tabs ul.tabs{list-style:none;display:flex;gap:.5rem;padding:0;border-bottom:1px solid var(--line);margin:0 0 1.4rem}
.woocommerce-tabs ul.tabs li{margin:0}
.woocommerce-tabs ul.tabs li a{display:block;padding:.7rem 1.2rem;font-weight:700;color:var(--muted);border-bottom:3px solid transparent}
.woocommerce-tabs ul.tabs li.active a{color:var(--indigo);border-color:var(--gold)}
.wld-prose h2,.wld-prose h3{margin-top:1.4em}
.wld-prose ul{padding-left:1.2em}
.wld-prose li{margin-bottom:.3em}
.related.products{grid-column:1/-1;margin-top:clamp(32px,5vw,56px)}
.related.products>h2{margin-bottom:1.2rem}

/* ===== Cart / Checkout polish ===== */
.woocommerce-cart .wld-shop,.woocommerce-checkout .wld-shop,.woocommerce-account .wld-shop{padding:clamp(32px,5vw,64px) 0}
.woocommerce table.shop_table{border-radius:var(--r);overflow:hidden;border:1px solid var(--line)}
.woocommerce .cart-collaterals .cart_totals,.woocommerce-checkout #order_review{background:var(--bg-soft);border:1px solid var(--line);border-radius:var(--r);padding:1.2rem}
.woocommerce #payment, .woocommerce-checkout #payment{background:transparent}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.select2-container .select2-selection{border:1px solid var(--line);border-radius:10px;padding:.7rem}
.woocommerce #respond input#submit,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce .button{background:var(--indigo);color:#fff;border-radius:999px;font-weight:700;border:0}
.woocommerce #respond input#submit:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce .button:hover{background:var(--indigo-700);color:#fff}
.woocommerce button.button.alt,.woocommerce #place_order,.woocommerce .checkout-button{background:var(--gold) !important;color:#3a2a08 !important}
.woocommerce button.button.alt:hover{background:var(--gold-600) !important}
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-top-color:var(--blue);border-radius:10px}

/* ===== Breadcrumb / page ===== */
.woocommerce-breadcrumb{color:var(--muted);font-size:.85rem;margin-bottom:1.2rem}
.wld-page-hero{background:var(--bg-soft);border-bottom:1px solid var(--line);padding:clamp(32px,5vw,56px) 0}
.wld-page-hero h1{margin:0}
.wld-prose{max-width:820px;margin:0 auto}
.wld-prose.cart-wide{max-width:none}

/* ===== Blog ===== */
.wld-posts{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gap)}
.wld-post{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column}
.wld-post img{aspect-ratio:16/10;object-fit:cover}
.wld-post .pad{padding:1.2rem;display:flex;flex-direction:column;gap:.5rem;flex:1}
.wld-post h3{font-size:1.15rem;margin:0}

/* ===== Sticky mobile add-to-cart ===== */
.wld-sticky-cart{display:none}

/* ===== Floating WhatsApp ===== */
.wld-fab{position:fixed;right:18px;bottom:18px;z-index:60;background:#25D366;color:#fff;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;box-shadow:0 10px 26px rgba(0,0,0,.22)}
.wld-fab svg{width:30px;height:30px}

/* ===== Responsive ===== */
@media(max-width:1024px){
  .wld-benefits{grid-template-columns:repeat(2,1fr)}
  ul.products .products,ul.products{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:860px){
  .wld-nav,.wld-actions .btn-wa span{display:none}
  .wld-burger{display:inline-flex}
  .wld-hero .wld-container{grid-template-columns:1fr}
  .wld-hero-img{order:-1}
  .wld-band,.single-product div.product{grid-template-columns:1fr}
  .wld-band img{min-height:200px}
  .wld-steps,.wld-quotes,.wld-posts{grid-template-columns:1fr}
  ul.products,.wld-shop .products{grid-template-columns:repeat(2,1fr) !important}
  .wld-footer .cols{grid-template-columns:1fr 1fr}
  /* nav mobile */
  .wld-nav.open{display:flex;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;padding:1rem 1.5rem;border-bottom:1px solid var(--line);gap:.4rem;margin:0}
  .single-product .single_add_to_cart_button{width:100%}
  .wld-sticky-cart{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:55;background:#fff;border-top:1px solid var(--line);padding:.7rem 1rem;gap:.8rem;align-items:center;justify-content:space-between;box-shadow:0 -6px 20px rgba(48,32,96,.12)}
  .wld-fab{bottom:78px}
}
@media(max-width:520px){
  .wld-benefits,ul.products,.wld-shop .products,.wld-footer .cols{grid-template-columns:1fr !important}
  body{font-size:16px}
}
