/* ===== Todoshop Silver – diseño ===== */
:root{
  --ink:#0e0d17; --ink-2:#171627; --ink-3:#22213a;
  --silver:#c9ced8; --silver-2:#eef0f5; --line:#e3e6ee;
  --bg:#ffffff; --bg-alt:#f5f6fa; --text:#1a1a26; --muted:#656b7c;
  --accent:#ff7a18; --accent-2:#7b2cff;
  --ok:#17a34a; --warn:#e08a00; --bad:#d6293e;
  --r:16px; --r-sm:10px; --shadow:0 10px 30px -12px rgba(14,13,23,.25);
  --font:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  --head:'Bricolage Grotesque','Inter',system-ui,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font);color:var(--text);background:var(--bg);line-height:1.55;-webkit-font-smoothing:antialiased}
img,video{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{font-family:var(--head);line-height:1.1;margin:0 0 .5em;letter-spacing:-.02em}
h1{font-size:clamp(2rem,5vw,3.6rem);font-weight:800}
h2{font-size:clamp(1.6rem,3.4vw,2.4rem);font-weight:800}
h3{font-size:1.2rem;font-weight:700}
p{margin:0 0 1em}
ul,ol{padding:0;margin:0}
.ts-wrap{width:min(1200px,100% - 32px);margin-inline:auto}
.ts-center{text-align:center}
.ts-hide-sm{display:inline}
[hidden]{display:none!important}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px}

/* Botones */
.ts-btn,.button,button.button,input[type=submit].button,.woocommerce a.button,.single_add_to_cart_button,#place_order{
  display:inline-flex;align-items:center;justify-content:center;gap:.5em;border:2px solid transparent;cursor:pointer;
  font:700 1rem/1 var(--font);padding:.95em 1.5em;border-radius:999px;transition:.2s;text-align:center;white-space:nowrap}
.ts-btn-lg{padding:1.1em 1.9em;font-size:1.05rem}
.ts-btn-primary,.button.alt,.single_add_to_cart_button,#place_order,.checkout-button{
  background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#fff;box-shadow:0 10px 24px -10px var(--accent)}
.ts-btn-primary:hover,.button.alt:hover,.single_add_to_cart_button:hover,#place_order:hover,.checkout-button:hover{transform:translateY(-2px);filter:brightness(1.07)}
.ts-btn-ghost,.button{background:transparent;color:inherit;border-color:currentColor}
.ts-btn-ghost:hover,.button:hover{background:var(--ink);color:#fff;border-color:var(--ink)}
.ts-btn-light{background:#fff;color:var(--ink)}
.ts-btn-light:hover{transform:translateY(-2px)}
.ts-hero .ts-btn-ghost{color:#fff;border-color:rgba(255,255,255,.5)}
.ts-hero .ts-btn-ghost:hover{background:#fff;color:var(--ink);border-color:#fff}
button[disabled],.disabled{opacity:.5;cursor:not-allowed}

/* Barra superior */
.ts-topbar{background:var(--ink);color:#d9dbe6;font-size:.82rem}
.ts-topbar-in{display:flex;gap:24px;justify-content:center;padding:8px 0;flex-wrap:wrap}
.ts-topbar b{color:#fff}
.ts-topbar-season{color:var(--accent);font-weight:600}
.ts-topbar-season b{color:var(--accent)}

/* Header */
.ts-header{position:sticky;top:0;z-index:50;background:rgba(14,13,23,.92);backdrop-filter:blur(14px);color:#fff;border-bottom:1px solid rgba(255,255,255,.08)}
.admin-bar .ts-header{top:32px}
.ts-header-in{display:flex;align-items:center;gap:28px;height:68px}
.ts-logo{display:flex;align-items:center;gap:10px;font-family:var(--head);font-weight:800;font-size:1.35rem;letter-spacing:-.03em}
.ts-logo b{background:linear-gradient(90deg,#fff,var(--silver) 50%,#8e97a8);-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:800}
.ts-nav{display:flex;gap:6px;align-items:center;margin-left:12px;flex:1}
.ts-nav>a,.ts-drop-btn{padding:10px 14px;border-radius:999px;font-weight:600;font-size:.95rem;color:#d6d9e6;background:none;border:0;cursor:pointer;font-family:inherit;display:inline-flex;align-items:center;gap:6px}
.ts-nav>a:hover,.ts-drop-btn:hover{color:#fff;background:rgba(255,255,255,.08)}
.ts-drop{position:relative}
.ts-drop-menu{position:absolute;top:100%;left:0;min-width:240px;background:var(--ink-2);border:1px solid rgba(255,255,255,.1);border-radius:var(--r);padding:8px;display:none;box-shadow:var(--shadow)}
.ts-drop:hover .ts-drop-menu,.ts-drop.open .ts-drop-menu{display:block}
.ts-drop-menu a{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;color:#e8eaf3;font-weight:600}
.ts-drop-menu a:hover{background:rgba(255,255,255,.07)}
.ts-drop-menu i{font-style:normal;width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(135deg,var(--c1),var(--c2))}
.ts-actions{display:flex;gap:4px;margin-left:auto}
.ts-icon-btn{position:relative;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:none;border:0;color:#fff;cursor:pointer;font-size:1rem}
.ts-icon-btn:hover{background:rgba(255,255,255,.1)}
.ts-cart-count{position:absolute;top:2px;right:0;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--accent);color:#fff;font:700 .7rem/18px var(--font);text-align:center}
.ts-burger{display:none;background:none;border:0;width:42px;height:42px;cursor:pointer;flex-direction:column;gap:5px;justify-content:center;align-items:center}
.ts-burger span{width:22px;height:2px;background:#fff;border-radius:2px}
.ts-searchbar{background:var(--ink-2);padding:14px 0}
.ts-searchbar form{display:flex;gap:10px}
.ts-searchbar input{flex:1;padding:14px 18px;border-radius:999px;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.07);color:#fff;font:inherit}

/* Hero */
.ts-hero{position:relative;background:var(--ink);color:#fff;overflow:hidden;padding:clamp(40px,7vw,90px) 0}
.ts-hero-bg{position:absolute;inset:0;background:
  radial-gradient(60% 70% at 85% 30%,color-mix(in srgb,var(--accent) 45%,transparent),transparent 70%),
  radial-gradient(50% 60% at 10% 90%,color-mix(in srgb,var(--accent-2) 40%,transparent),transparent 70%)}
.ts-hero-grid{position:relative;display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(24px,5vw,70px);align-items:center}
.ts-pill{display:inline-block;padding:7px 14px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);font-weight:600;font-size:.88rem;margin-bottom:18px}
.ts-hero h1{margin-bottom:.35em}
.ts-lead{font-size:1.1rem;color:#cdd0de;max-width:52ch}
.ts-hero-price{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;margin:20px 0 8px}
.ts-price-now{font:800 clamp(2.4rem,5vw,3.4rem)/1 var(--head)}
.ts-hero-price s{color:#9aa0b3;font-size:1.3rem}
.ts-ship-note{color:#cdd0de;font-size:.95rem}
.ts-ship-note b{color:#fff}
.ts-hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}
.ts-hero-bullets{list-style:none;display:flex;gap:18px;flex-wrap:wrap;color:#cdd0de;font-size:.92rem}
.ts-hero-bullets li::before{content:"✓";color:var(--accent);font-weight:800;margin-right:6px}
.ts-hero-media{position:relative}
.ts-hero-main{position:relative;aspect-ratio:1;border-radius:28px;overflow:hidden;background:#fff;box-shadow:0 30px 80px -20px color-mix(in srgb,var(--accent) 60%,#000)}
.ts-hero-main img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity .35s;background:#fff}
.ts-hero-main img.is-on{opacity:1}
.ts-thumbs{display:flex;gap:10px;margin-top:14px;justify-content:center}
.ts-thumbs button{width:64px;height:64px;border-radius:12px;overflow:hidden;border:2px solid transparent;padding:0;background:#fff;cursor:pointer;opacity:.65}
.ts-thumbs button.is-on{border-color:var(--accent);opacity:1}
.ts-thumbs img{width:100%;height:100%;object-fit:cover}
.ts-chip{position:absolute;top:12px;left:12px;z-index:2;padding:6px 12px;border-radius:999px;font:700 .78rem/1 var(--font);background:#fff;color:var(--ink)}
.ts-chip-sale{background:var(--bad);color:#fff;font-size:.95rem;top:16px;left:16px}
.ts-chip-season{background:linear-gradient(135deg,var(--c1),var(--c2));color:#fff}

/* Stock */
.ts-stock{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:.92rem;margin:0}
.ts-stock i{width:9px;height:9px;border-radius:50%;background:var(--ok);box-shadow:0 0 0 4px color-mix(in srgb,var(--ok) 25%,transparent)}
.ts-stock-low i{background:var(--warn);box-shadow:0 0 0 4px color-mix(in srgb,var(--warn) 25%,transparent)}
.ts-stock-out i{background:var(--bad)}
.ts-hero .ts-stock{color:#e6e8f2}

/* Confianza */
.ts-trust{background:var(--bg-alt);border-bottom:1px solid var(--line)}
.ts-trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding:22px 0}
.ts-trust-grid div{display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:center}
.ts-trust-grid span{grid-row:span 2;font-size:1.7rem}
.ts-trust-grid b{font-size:.95rem;line-height:1.2}
.ts-trust-grid small{color:var(--muted)}

/* Secciones */
.ts-section{padding:clamp(48px,7vw,96px) 0}
.ts-section-alt{background:var(--bg-alt)}
.ts-sec-head{text-align:center;max-width:640px;margin:0 auto 40px}
.ts-sec-head p{color:var(--muted)}
.ts-eyebrow{display:inline-block;font:700 .78rem/1 var(--font);letter-spacing:.12em;text-transform:uppercase;color:var(--accent);margin-bottom:12px}

/* Temporadas */
.ts-season-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}
.ts-season-card{position:relative;display:flex;flex-direction:column;gap:4px;padding:26px;border-radius:22px;color:#fff;overflow:hidden;
  background:linear-gradient(135deg,var(--c1),var(--c2));min-height:190px;justify-content:flex-end;transition:.25s}
.ts-season-card:hover{transform:translateY(-6px) rotate(-.6deg);box-shadow:0 24px 40px -20px var(--c1)}
.ts-season-emoji{position:absolute;top:14px;right:18px;font-size:4rem;line-height:1;filter:drop-shadow(0 6px 10px rgba(0,0,0,.3))}
.ts-season-card strong{font:800 1.5rem/1.1 var(--head)}
.ts-season-card small{opacity:.9;font-weight:500}
.ts-arrow{position:absolute;bottom:20px;right:22px;font-weight:800;transition:.2s}
.ts-season-card:hover .ts-arrow{transform:translateX(5px)}
.ts-season-card.is-soon{filter:grayscale(.85) brightness(.8);opacity:.75;cursor:default}
.ts-season-card.is-soon:hover{transform:none;box-shadow:none}

/* Video */
.ts-video-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,5vw,64px);align-items:center}
.ts-video-frame{border-radius:24px;overflow:hidden;background:#000;box-shadow:var(--shadow);aspect-ratio:9/12;max-height:560px}
.ts-video-frame video,.ts-product-video video{width:100%;height:100%;object-fit:cover}
.ts-checks{list-style:none;margin:18px 0 26px;display:grid;gap:10px}
.ts-checks li{padding-left:30px;position:relative}
.ts-checks li::before{content:"✓";position:absolute;left:0;top:0;width:22px;height:22px;border-radius:50%;background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#fff;font-size:.8rem;font-weight:800;display:grid;place-items:center;top:2px}

/* Pasos */
.ts-steps{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.ts-steps li{background:var(--bg-alt);border-radius:22px;padding:28px}
.ts-steps span{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--ink);color:#fff;font:800 1.2rem var(--head);margin-bottom:16px}
.ts-steps p{color:var(--muted);margin:0}

/* FAQ */
.ts-faq-wrap{max-width:820px}
.ts-faq details{background:#fff;border:1px solid var(--line);border-radius:16px;margin-bottom:10px;padding:0 20px}
.ts-faq summary{cursor:pointer;font-weight:700;padding:18px 0;list-style:none;display:flex;justify-content:space-between;gap:12px}
.ts-faq summary::after{content:"+";font-size:1.4rem;line-height:1;color:var(--accent)}
.ts-faq details[open] summary::after{content:"–"}
.ts-faq details p{color:var(--muted)}

/* CTA */
.ts-cta{background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#fff;padding:48px 0}
.ts-cta-in{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.ts-cta h2{margin-bottom:6px}.ts-cta p{margin:0;opacity:.92}

/* Footer */
.ts-footer{background:var(--ink);color:#b9bdce;padding-top:60px;margin-top:0}
.ts-footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:36px;padding-bottom:40px}
.ts-footer h4{color:#fff;font-size:1rem;margin-bottom:14px}
.ts-footer ul{list-style:none;display:grid;gap:9px}
.ts-footer a:hover{color:#fff}
.ts-footer .ts-logo{color:#fff;margin-bottom:14px}
.ts-footer-about{max-width:34ch;font-size:.92rem}
.ts-social{display:flex;gap:14px;flex-wrap:wrap}
.ts-pay{display:flex;gap:6px;flex-wrap:wrap;margin-top:16px}
.ts-pay span{font-size:.72rem;padding:5px 9px;border:1px solid rgba(255,255,255,.2);border-radius:6px}
.ts-footer-legal{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.1);padding:20px 0;font-size:.85rem}
.ts-wa{position:fixed;left:18px;bottom:18px;z-index:40;width:54px;height:54px;border-radius:50%;background:#25d366;color:#fff;display:grid;place-items:center;box-shadow:0 10px 24px -8px rgba(37,211,102,.7)}

/* Drawer carrito */
.ts-drawer-bg{position:fixed;inset:0;background:rgba(10,9,20,.55);z-index:90;backdrop-filter:blur(2px)}
.ts-drawer{position:fixed;top:0;right:0;bottom:0;width:min(420px,100%);background:#fff;z-index:100;transform:translateX(100%);transition:transform .3s;display:flex;flex-direction:column}
.ts-drawer.open{transform:none}
.ts-drawer-head{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid var(--line)}
.ts-drawer-head h3{margin:0}
.ts-drawer-head .ts-icon-btn{color:var(--ink)}
.ts-drawer .widget_shopping_cart_content{display:flex;flex-direction:column;flex:1;min-height:0}
.woocommerce-mini-cart{list-style:none;flex:1;overflow:auto;padding:8px 20px}
.woocommerce-mini-cart-item{position:relative;display:grid;grid-template-columns:64px 1fr;gap:6px 12px;padding:14px 22px 14px 0;border-bottom:1px solid var(--line)}
.woocommerce-mini-cart-item img{grid-row:span 2;width:64px;height:64px;object-fit:cover;border-radius:10px;border:1px solid var(--line)}
.woocommerce-mini-cart-item a:not(.remove){font-weight:600}
.woocommerce-mini-cart-item .remove{position:absolute;right:0;top:14px;font-size:1.3rem;color:var(--muted)}
.woocommerce-mini-cart-item .quantity{color:var(--muted);font-size:.9rem}
.woocommerce-mini-cart__total{display:flex;justify-content:space-between;padding:16px 20px 0;font-weight:700;margin:0}
.woocommerce-mini-cart__buttons{display:grid;gap:10px;padding:14px 20px 20px;margin:0}
.woocommerce-mini-cart__buttons .button{width:100%}
.woocommerce-mini-cart__empty-message{padding:40px 20px;text-align:center;color:var(--muted)}

/* Páginas / WooCommerce comunes */
.ts-page,.ts-shop{padding:36px 0 70px}
.ts-page-head{margin-bottom:28px}
.ts-page-head h1{font-size:clamp(1.8rem,4vw,2.8rem)}
.ts-page-text .ts-content{max-width:780px}
.ts-content h2{margin-top:1.4em}
.woocommerce-breadcrumb{font-size:.85rem;color:var(--muted);margin-bottom:12px}
.woocommerce-breadcrumb a:hover{color:var(--accent)}
.ts-term-desc{color:var(--muted);max-width:640px}
.ts-notice,.woocommerce-message,.woocommerce-info,.woocommerce-error{list-style:none;background:var(--bg-alt);border-left:4px solid var(--accent);padding:14px 18px;border-radius:12px;margin:0 0 20px;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.woocommerce-error{border-color:var(--bad);background:#fdecef}
.woocommerce-message .button{padding:.6em 1.1em;font-size:.9rem}
.woocommerce-result-count{color:var(--muted);float:left;margin:0 0 20px}
.woocommerce-ordering{float:right;margin:0 0 20px}
.woocommerce-ordering select,select,input[type=text],input[type=email],input[type=tel],input[type=password],input[type=number],input[type=search],textarea,.select2-selection{
  font:inherit;padding:13px 14px;border:1.5px solid var(--line);border-radius:12px;background:#fff;width:100%;color:var(--text)}
.woocommerce-ordering select{width:auto}
input:focus,select:focus,textarea:focus{border-color:var(--accent);outline:0;box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 22%,transparent)}
.price,.amount{font-weight:700}
.price del,.price del .amount{color:var(--muted);font-weight:500}
.price ins{text-decoration:none}

/* Grillas de producto */
ul.products{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:20px;clear:both;margin:0;padding:0}
ul.products li.product{position:relative;background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;transition:.25s;display:flex;flex-direction:column}
ul.products li.product:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
ul.products li.product a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1}
ul.products li.product img{aspect-ratio:1;object-fit:contain;width:100%;background:#fff}
ul.products li.product .woocommerce-loop-product__title{font:700 1rem/1.3 var(--font);padding:14px 16px 4px;margin:0}
ul.products li.product .price{padding:0 16px 14px;display:block;font-size:1.1rem}
ul.products li.product .button{margin:auto 16px 16px;padding:.8em 1em;font-size:.92rem;background:var(--ink);color:#fff;border-color:var(--ink)}
ul.products li.product .button:hover{background:var(--accent);border-color:var(--accent)}
ul.products li.product .added_to_cart{display:none}
.onsale{position:absolute;top:12px;right:12px;z-index:2;background:var(--bad);color:#fff;border-radius:999px;padding:6px 12px;font:700 .78rem/1 var(--font)}
.woocommerce-pagination ul{list-style:none;display:flex;gap:6px;justify-content:center;margin-top:32px}
.woocommerce-pagination a,.woocommerce-pagination span{display:grid;place-items:center;min-width:42px;height:42px;border-radius:12px;border:1px solid var(--line);font-weight:600}
.woocommerce-pagination .current{background:var(--ink);color:#fff;border-color:var(--ink)}

/* Ficha de producto */
.ts-shop.is-single div.product{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,5vw,60px);align-items:start}
.ts-shop.is-single .woocommerce-product-gallery{position:relative;border-radius:24px;overflow:hidden;background:#fff;border:1px solid var(--line);margin:0}
.woocommerce-product-gallery__wrapper{margin:0}
.woocommerce-product-gallery__image img{width:100%;aspect-ratio:1;object-fit:contain;background:#fff}
.woocommerce-product-gallery__trigger{position:absolute;top:12px;right:12px;z-index:3;width:38px;height:38px;border-radius:50%;background:#fff;box-shadow:var(--shadow);font-size:0;display:grid;place-items:center}
.woocommerce-product-gallery__trigger::before{content:"⤢";font-size:1.1rem}
.flex-control-thumbs{list-style:none;display:flex;gap:10px;padding:12px;margin:0;overflow:auto;background:#fff}
.flex-control-thumbs li{flex:0 0 72px}
.flex-control-thumbs img{border-radius:10px;border:2px solid transparent;opacity:.6;cursor:pointer;aspect-ratio:1;object-fit:cover}
.flex-control-thumbs img.flex-active{border-color:var(--accent);opacity:1}
.ts-shop.is-single .summary{position:sticky;top:96px}
.ts-shop.is-single .product_title{font-size:clamp(1.8rem,3.6vw,2.6rem)}
.ts-shop.is-single .summary .price{font:800 2.2rem/1 var(--head);margin:10px 0 14px;display:block}
.woocommerce-product-details__short-description{color:var(--muted);margin-bottom:16px}
form.variations_form{display:block}
table.variations{width:100%;border-collapse:collapse;margin:14px 0}
table.variations th,table.variations td{display:block;text-align:left;padding:0}
table.variations th label{font-weight:700;font-size:.9rem;display:block;margin-bottom:6px}
table.variations select{max-width:100%}
.reset_variations{display:inline-block;margin-top:8px;font-size:.85rem;color:var(--muted);text-decoration:underline}
.woocommerce-variation-price{margin:6px 0}
.woocommerce-variation-availability{font-size:.9rem;font-weight:600;color:var(--ok);margin-bottom:6px}
.woocommerce-variation-add-to-cart{display:flex;gap:12px;align-items:stretch;margin-top:12px}
.woocommerce-variation-add-to-cart .single_add_to_cart_button{flex:1}
.single_add_to_cart_button.disabled{opacity:.45}
form.cart{display:flex;gap:12px;align-items:stretch;margin:18px 0}
form.variations_form.cart{display:block}
.quantity{display:inline-flex}
.quantity .qty{width:84px;text-align:center;padding:14px 8px;font-weight:700}
form.cart .single_add_to_cart_button{flex:1}
.ts-perks{list-style:none;display:grid;gap:12px;margin-top:22px;padding:18px;border:1px dashed var(--silver);border-radius:18px;background:var(--bg-alt)}
.ts-perks li{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:center}
.ts-perks span{font-size:1.5rem}
.ts-perks b{display:block;font-size:.95rem}
.ts-perks small{color:var(--muted)}
.woocommerce-tabs{grid-column:1/-1;margin-top:20px}
.woocommerce-tabs ul.tabs{list-style:none;display:flex;gap:8px;border-bottom:1px solid var(--line);margin-bottom:20px}
.woocommerce-tabs ul.tabs a{display:block;padding:12px 18px;font-weight:700;border-bottom:3px solid var(--accent)}
.woocommerce-tabs .panel{max-width:780px}
.ts-product-video{grid-column:1/-1;max-width:420px;margin:10px auto}
.ts-product-video h2{text-align:center;font-size:1.5rem}
.ts-product-video video{border-radius:20px}
section.related,section.upsells{grid-column:1/-1;margin-top:30px}
section.related>h2,section.upsells>h2{font-size:1.6rem}
.ts-sticky-buy{display:none}

/* Carrito */
.woocommerce-cart-form table.shop_table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:18px;overflow:hidden}
table.shop_table th{background:var(--bg-alt);text-align:left;padding:14px;font-size:.85rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
table.shop_table td{padding:14px;border-top:1px solid var(--line);vertical-align:middle}
.product-thumbnail img{width:76px;height:76px;object-fit:cover;border-radius:12px}
.product-remove a{font-size:1.5rem;color:var(--muted)}
.product-name a{font-weight:600}
td.actions{padding:16px!important}
td.actions .coupon{float:left}
td.actions>.button{float:right}
td.actions::after{content:"";display:block;clear:both}
.product-remove{width:44px}
.product-thumbnail{width:96px}
.product-quantity .qty{width:72px;padding:10px 6px}
.coupon{display:flex;gap:8px}
.coupon input{width:200px}
.cart-collaterals{display:flex;justify-content:flex-end;margin-top:28px}
.cart_totals{width:min(440px,100%);border:1px solid var(--line);border-radius:20px;padding:24px;background:var(--bg-alt)}
.cart_totals h2{font-size:1.3rem}
.cart_totals table{width:100%;border-collapse:collapse}
.cart_totals th{text-align:left;font-weight:500;color:var(--muted);padding:10px 0;vertical-align:top}
.cart_totals td{text-align:right;padding:10px 0}
.cart_totals .order-total td,.cart_totals .order-total th{font-size:1.3rem;color:var(--text);font-weight:800;border-top:1px solid var(--line)}
.wc-proceed-to-checkout .checkout-button{display:flex;width:100%;margin-top:14px;padding:1.1em}
#shipping_method{list-style:none}

/* Checkout */
.ts-progress{list-style:none;display:flex;gap:8px;margin:0 0 28px;font-weight:600;font-size:.9rem;color:var(--muted)}
.ts-progress li{display:flex;align-items:center;gap:8px}
.ts-progress li::before{content:"";width:22px;height:22px;border-radius:50%;border:2px solid var(--line);background:#fff}
.ts-progress li+li::after{display:none}
.ts-progress li:not(:last-child)::after{content:"";width:30px;height:2px;background:var(--line);display:block;order:3}
.ts-progress .done::before{background:var(--ok);border-color:var(--ok)}
.ts-progress .on{color:var(--text)}
.ts-progress .on::before{border-color:var(--accent);background:var(--accent)}
form.checkout{display:grid;grid-template-columns:1.15fr 1fr;gap:36px;align-items:start}
form.checkout #customer_details{grid-column:1;grid-row:1 / span 3}
form.checkout #order_review_heading{grid-column:2;grid-row:1;margin:0}
form.checkout #order_review{grid-column:2;grid-row:2}
form.checkout>.woocommerce-NoticeGroup,form.checkout>.woocommerce-form-coupon-toggle{grid-column:1/-1}
#billing_email_field,#billing_phone_field{width:100%;margin-right:0}
.woocommerce-form-coupon-toggle{grid-column:1/-1}
.col2-set .col-2{margin-top:20px}
.woocommerce-billing-fields h3,.woocommerce-additional-fields h3,#order_review_heading{font-size:1.25rem;margin-bottom:16px}
.form-row{margin:0 0 14px;display:block}
.form-row label{display:block;font-weight:600;font-size:.9rem;margin-bottom:6px}
.form-row .required{color:var(--bad);text-decoration:none}
.form-row-first,.form-row-last{width:calc(50% - 7px);display:inline-block;vertical-align:top}
.form-row-first{margin-right:10px}
.form-row-last{margin-right:0}
.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper{display:block}
.select2-container{width:100%!important}
.select2-container .select2-selection--single{height:auto;padding:9px 12px}
.select2-container--default .select2-selection--single .select2-selection__arrow{top:10px}
#order_review{background:var(--bg-alt);border:1px solid var(--line);border-radius:22px;padding:24px;position:sticky;top:96px}
#order_review table{width:100%;border-collapse:collapse}
#order_review th,#order_review td{padding:11px 0;border-bottom:1px solid var(--line);text-align:left}
#order_review td:last-child,#order_review th:last-child{text-align:right}
#order_review .product-name{font-weight:500}
#order_review tfoot .order-total th,#order_review tfoot .order-total td{font-size:1.3rem;font-weight:800;border-bottom:0}
#payment{margin-top:18px}
#payment ul.payment_methods{list-style:none;display:grid;gap:10px;margin-bottom:16px}
#payment .wc_payment_method{background:#fff;border:1.5px solid var(--line);border-radius:14px;padding:14px 16px}
#payment .wc_payment_method label{font-weight:700;cursor:pointer}
#payment .payment_box{color:var(--muted);font-size:.9rem;margin-top:8px}
#payment .payment_box p{margin:0}
#place_order{width:100%;padding:1.2em;font-size:1.1rem}
.woocommerce-privacy-policy-text{font-size:.82rem;color:var(--muted)}
.woocommerce-terms-and-conditions-wrapper{margin-bottom:12px}

/* Confirmación / cuenta */
.woocommerce-order-overview{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin:20px 0 30px}
.woocommerce-order-overview li{background:var(--bg-alt);padding:16px;border-radius:14px;font-size:.85rem;color:var(--muted)}
.woocommerce-order-overview strong{display:block;color:var(--text);font-size:1.05rem}
.woocommerce-MyAccount-navigation ul{list-style:none;display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}
.woocommerce-MyAccount-navigation a{display:block;padding:10px 16px;border-radius:999px;background:var(--bg-alt);font-weight:600}
.woocommerce-MyAccount-navigation .is-active a{background:var(--ink);color:#fff}
.u-columns{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.woocommerce-form-login,.woocommerce-form-register{border:1px solid var(--line);padding:22px;border-radius:18px}
.woocommerce-form-login .form-row-first,.woocommerce-form-login .form-row-last{width:100%;margin:0 0 14px}

/* Contacto */
.ts-contact-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:24px 0}
.ts-contact-cards a,.ts-contact-cards div{display:block;background:var(--bg-alt);border-radius:16px;padding:20px;font-weight:600}

/* Responsive */
@media (max-width:1024px){
  ul.products{grid-template-columns:repeat(3,1fr)}
  .ts-footer-grid{grid-template-columns:1fr 1fr}
  .ts-trust-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:860px){
  .ts-hero-grid,.ts-video-grid,form.checkout,.ts-shop.is-single div.product,.u-columns{grid-template-columns:1fr}
  .ts-hero-media{order:-1;max-width:460px;margin:0 auto;width:100%}
  .ts-shop.is-single .summary,#order_review{position:static}
  .ts-steps{grid-template-columns:1fr}
  form.checkout #customer_details,form.checkout #order_review_heading,form.checkout #order_review{grid-column:1;grid-row:auto}
  .ts-burger{display:flex}
  .ts-nav{position:fixed;inset:0 0 0 auto;width:min(320px,86%);background:var(--ink-2);flex-direction:column;align-items:stretch;padding:80px 18px 24px;margin:0;transform:translateX(100%);transition:.3s;z-index:60;overflow:auto}
  .ts-nav.open{transform:none}
  .ts-nav>a,.ts-drop-btn{font-size:1.05rem;padding:14px}
  .ts-drop-menu{position:static;display:block;background:none;border:0;box-shadow:none;padding:0 0 0 8px}
  .ts-drop-btn svg{display:none}
  .ts-header-in{gap:8px}
  .ts-logo{margin-right:auto}
  .ts-actions{margin-left:0}
  .ts-hide-sm{display:none}
  .admin-bar .ts-header{top:46px}
}
@media (max-width:640px){
  html,body{overflow-x:clip}
  .ts-header-in{gap:2px}
  .ts-logo{font-size:1.1rem;gap:7px}
  .ts-logo-img{width:34px;height:34px}
  .ts-icon-btn{width:38px}
  .ts-actions a.ts-icon-btn[aria-label="Mi cuenta"]{display:none}
  .ts-topbar-in{gap:4px 14px;font-size:.78rem}
  td.actions .coupon{float:none;width:100%;margin-bottom:10px}
  td.actions>.button{float:none;width:100%}
  .coupon .button{white-space:normal;padding:.9em 1em}
  ul.products{grid-template-columns:repeat(2,1fr);gap:12px}
  ul.products li.product .woocommerce-loop-product__title{padding:10px 12px 2px;font-size:.92rem}
  ul.products li.product .price{padding:0 12px 10px}
  ul.products li.product .button{margin:auto 12px 12px}
  .ts-footer-grid{grid-template-columns:1fr}
  .form-row-first,.form-row-last{width:100%;margin-right:0}
  .ts-trust-grid{grid-template-columns:1fr 1fr;gap:12px}
  .ts-trust-grid span{font-size:1.3rem}
  .ts-hero-cta .ts-btn{flex:1}
  .woocommerce-cart-form table.shop_table thead{display:none}
  .woocommerce-cart-form table.shop_table tr.cart_item{display:grid;grid-template-columns:70px 1fr;gap:4px 12px;padding:14px;border-top:1px solid var(--line);position:relative}
  .woocommerce-cart-form table.shop_table td{border:0;padding:2px 0}
  .woocommerce-cart-form td.product-remove{position:absolute;top:8px;right:10px}
  .woocommerce-cart-form td.product-thumbnail{grid-row:span 4}
  .woocommerce-cart-form td[data-title]::before{content:attr(data-title) ": ";color:var(--muted);font-size:.85rem}
  .woocommerce-cart-form td.product-thumbnail::before,.woocommerce-cart-form td.product-name::before,.woocommerce-cart-form td.product-remove::before{content:none}
  .coupon{width:100%}.coupon input{flex:1;width:auto}
  .ts-sticky-buy{position:fixed;left:0;right:0;bottom:0;z-index:45;display:flex;gap:12px;align-items:center;justify-content:space-between;background:#fff;padding:10px 16px;box-shadow:0 -8px 24px -10px rgba(0,0,0,.25);transform:translateY(120%);transition:.3s}
  .ts-sticky-buy.show{transform:none}
  .ts-sticky-buy b{display:block;font-size:.85rem;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .ts-sticky-buy .ts-btn{padding:.9em 1.1em;font-size:.9rem}
  .ts-wa{bottom:78px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* ===== AJUSTES MOVIL v2: nada debe ser mas ancho que la pantalla ===== */
html,body{max-width:100%;overflow-x:hidden}
@supports (overflow:clip){html,body{overflow-x:clip}}
/* Menu lateral y carrito deslizable: fuera de pantalla NO cuentan para el ancho de la pagina */
.ts-drawer{visibility:hidden;transition:transform .3s,visibility 0s linear .3s}
.ts-drawer.open{visibility:visible;transition:transform .3s,visibility 0s}
@media (max-width:860px){
  .ts-nav{visibility:hidden;transition:transform .3s,visibility 0s linear .3s}
  .ts-nav.open{visibility:visible;transition:transform .3s,visibility 0s}
}
@media (max-width:640px){
  .woocommerce-cart-form table.shop_table,
  .woocommerce-cart-form table.shop_table tbody{display:block;width:100%;max-width:100%}
  .woocommerce-cart-form table.shop_table tr.cart_item{max-width:100%}
  .woocommerce-cart-form td.actions{display:block!important;width:100%;max-width:100%;padding:14px!important;border-top:1px solid var(--line)}
  td.actions .coupon{display:flex;flex-direction:column;width:100%;gap:10px;float:none}
  td.actions .coupon input,td.actions .coupon .button,td.actions>.button{width:100%;max-width:100%;box-sizing:border-box}
  .button,.woocommerce a.button,button.button{white-space:normal}
  .ts-notice,.woocommerce-message,.woocommerce-info,.woocommerce-error{flex-direction:column;align-items:flex-start;gap:10px}
  .woocommerce-message .button,.woocommerce-info .button{width:100%}
  /* Totales: etiqueta arriba, valor abajo (evita textos largos de envio que empujan el ancho) */
  .cart_totals table,.cart_totals tbody,.cart_totals tr,.cart_totals th,.cart_totals td{display:block;width:100%}
  .cart_totals th{padding:10px 0 2px}
  .cart_totals td{text-align:left;padding:0 0 10px}
  .cart_totals{padding:18px}
  .cart-collaterals{display:block}
  .wc-proceed-to-checkout .checkout-button{white-space:normal}
  .cart_totals .woocommerce-shipping-methods{list-style:none;padding:0;margin:0}
  /* Checkout */
  #order_review{padding:16px}
  #order_review table,#order_review tbody,#order_review tfoot,#order_review tr{width:100%}
  #order_review th,#order_review td{word-break:break-word}
  #payment .wc_payment_method label{white-space:normal}
  img,video,iframe,table{max-width:100%}
}
/* Logo: monograma TS (imagen) */
.ts-logo-mark{display:inline-flex;align-items:center}
.ts-logo-img{display:block;width:46px;height:46px;object-fit:contain;border-radius:12px}
@media (max-width:640px){.ts-logo-img{width:38px;height:38px;border-radius:10px}}
/* Menu movil: el desenfoque del encabezado atrapaba el menu fijo dentro del encabezado */
@media (max-width:860px){.ts-header{backdrop-filter:none;-webkit-backdrop-filter:none;background:#0e0d17}}

/* Filtro por marca (categorias de perfumes) */
.ts-shop-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:28px;align-items:start}
.ts-shop-main{min-width:0}
.ts-shop-aside .ts-filtro{position:sticky;top:96px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px}
.ts-filtro summary{font:700 1rem var(--font);cursor:pointer;padding:6px 8px 10px;list-style:none}
.ts-filtro summary::-webkit-details-marker{display:none}
.ts-filtro summary b{color:var(--accent)}
.ts-filtro ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:3px}
.ts-filtro a{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 12px;border-radius:10px;color:var(--text);font-weight:500;font-size:.95rem}
.ts-filtro a:hover{background:var(--bg-alt)}
.ts-filtro a.on{background:var(--ink);color:#fff}
.ts-filtro a span{font-size:.8rem;opacity:.65}
@media (min-width:861px){.ts-shop-main ul.products{grid-template-columns:repeat(3,1fr)}}
@media (max-width:860px){
  .ts-shop-grid{grid-template-columns:minmax(0,1fr);gap:14px}
  .ts-shop-aside .ts-filtro{position:static;padding:10px 12px}
  .ts-filtro ul{flex-direction:row;flex-wrap:wrap;gap:8px;padding:4px 0 6px}
  .ts-filtro a{border:1px solid var(--line);border-radius:999px;padding:7px 13px;font-size:.88rem}
  .ts-filtro a.on{border-color:var(--ink)}
}
/* Paginacion: que baje de renglon en celular */
.woocommerce-pagination ul.page-numbers{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;border:0}
.woocommerce-pagination ul.page-numbers li{border:0;margin:0;float:none}

/* Tipografia de categorias */
.ts-page-head h1{font-weight:800;letter-spacing:-.035em;font-size:clamp(2.1rem,5vw,3.4rem);margin-bottom:.15em}
.ts-term-desc{font:500 clamp(1.05rem,2.2vw,1.25rem)/1.55 var(--font);color:var(--muted);max-width:560px;margin:6px 0 0;letter-spacing:-.005em}
.ts-term-desc p{margin:0}
.ts-page-head::after{content:"";display:block;width:56px;height:3px;border-radius:3px;background:linear-gradient(90deg,var(--accent),#8e97a8);margin-top:20px}
ul.products li.product .woocommerce-loop-product__title{font:600 .98rem/1.35 var(--font);letter-spacing:-.005em;color:var(--ink)}
ul.products li.product .price{font-weight:800;letter-spacing:-.01em}
.woocommerce-result-count{font-size:.92rem;color:var(--muted)}
/* Texto SEO de categorias (debajo de los productos) */
.ts-seo-text{margin:48px auto 8px;max-width:820px;color:var(--ts-muted,#4a5568);font-size:15px;line-height:1.7}
.ts-seo-text h2{font-size:22px;margin:0 0 12px;color:inherit}
.ts-seo-text h3{font-size:17px;margin:20px 0 8px}
.ts-seo-text p{margin:0 0 12px}

/* Portada: H1 SEO + bloque de perfumes */
.ts-hero-title{font-family:var(--head);line-height:1.1;letter-spacing:-.02em;font-size:clamp(2rem,5vw,3.6rem);font-weight:800;margin:0 0 .35em}
.ts-h1-sec{font-size:clamp(1.6rem,3.6vw,2.4rem);font-weight:800;margin:.2em 0 .4em}
.ts-perfumes-home .ts-sec-head p{max-width:760px;margin-left:auto;margin-right:auto}
.ts-perfumes-links{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:24px 0 0}

/* Portada de perfumes: collage del encabezado */
.ts-hero-collage{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:520px;margin-left:auto}
.ts-hero-collage a{display:block;background:#fff;border-radius:18px;padding:12px;aspect-ratio:1/1;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.ts-hero-collage img{width:100%;height:100%;object-fit:contain;display:block}
@media (max-width:720px){.ts-hero-collage{max-width:100%;gap:10px;margin:8px 0 0}.ts-hero-collage a{padding:8px;border-radius:14px}}
