/* =====================================================================
   Caya Woman - mejoras de diseño sobre la PALETA ORIGINAL (negro, hueso y rosa).
   No redefine colores: usa las variables del tema.
   Se carga al final de todo (ver redesign.php).
   ===================================================================== */
:root{
  --radius-card:6px;--radius-btn:4px;--radius-input:4px;--wc-form-border-radius:4px;
  --f-display:'Bodoni Moda','Bodoni 72',Didot,Georgia,serif;
  --f-body:'Hanken Grotesk',system-ui,-apple-system,'Segoe UI',sans-serif;
  --stitch:repeating-linear-gradient(90deg,var(--accent) 0 7px,transparent 7px 13px);
}
body,body.elementor-kit-2885{font-family:var(--f-body);font-size:16px;letter-spacing:0;}

/* ---------- Tipografía ---------- */
h1,h2,.page-title,.page-head h1,.single-product div.product .product_title{font-family:var(--f-display);font-weight:500;letter-spacing:-0.01em;line-height:1.12;text-wrap:balance;}
h3,h4,h5{font-family:var(--f-body);font-weight:700;letter-spacing:0;}
p{text-wrap:pretty;}
.page-head h1,.page-title{font-size:clamp(32px,4.4vw,52px);}
.section-head h2{font-size:clamp(28px,3.6vw,44px);}
.benefit-item h4,ul.products li.product .woocommerce-loop-product__title,.cfvsw-label-option,.cfvsw-tooltip,.mm-num,.mobile-menu .mm-secondary a,.mobile-menu .mm-wa{font-family:var(--f-body) !important;}
ul.products li.product .price,.single-product div.product p.price,.single-product div.product p.price del,ul.products li.product .price del,.woocommerce-cart table.cart td.product-subtotal,.woocommerce-cart .cart_totals .order-total .amount{font-family:var(--f-body);font-variant-numeric:tabular-nums;}
.mobile-menu .mm-link,.brand-statement blockquote,.marquee-track span,.pillar-num,.seal-core,.about-hero h1,.hero-copy h1{font-family:var(--f-display);}
.about-seal text{font-family:var(--f-body);}
.stat strong{font-family:var(--f-body);font-weight:600;font-variant-numeric:tabular-nums lining-nums;}
.info-bar,p.eyebrow,.about-teaser-copy p.eyebrow,.brand-statement p.eyebrow,.brand-statement cite,.loop-kicker,.f-title,.footer-col h5,.site-footer .footer-col h5{font-size:12px;}
.breadcrumb{font-size:13px;}
.info-bar{color:var(--text-muted);line-height:1.4;}

/* ---------- Cabecera y menú ---------- */
.header-nav a{font-size:13px;}
.header-nav a::after{height:2px;background:var(--stitch);}
.icon-btn{border-radius:var(--radius-btn);}
.icon-btn svg{width:19px;height:19px;}
.cart-badge{font-size:11px;}
.mobile-menu .mm-link{font-weight:500;font-size:clamp(26px,8vw,36px);border-bottom:1px dashed var(--line);}

/* ---------- Una sola forma de esquinas ---------- */
.btn,.hero-btn,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce .button,#place_order,body.woocommerce-checkout #place_order,.single-product button.single_add_to_cart_button,ul.products li.product .button,.add-btn,.footer-wa,.cat-tab,.chip,.caya-wa-consult,.f-pill span,.cfvsw-label-option,.header-search input,.shop-search input,.cat-search input,.cat-sort select,.newsletter-form input,.newsletter-form button,.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,.woocommerce-cart .wc-proceed-to-checkout .wa-order-checkout,body.woocommerce-cart .wc-proceed-to-checkout a.caya-pay-card,.woocommerce-MyAccount-navigation li a,.skip-link{border-radius:var(--radius-btn) !important;}
.about-img,.about-gallery figure,.about-teaser-img,.pillar,.contact-form,.contact-cards .branch-card,.bc-ico,.acct-ico,.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content,.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-cart table.cart tr.cart_item,.woocommerce-cart .woocommerce .cart-collaterals .cart_totals,body.woocommerce-checkout .woocommerce-billing-fields,body.woocommerce-checkout .woocommerce-shipping-fields,body.woocommerce-checkout .woocommerce-additional-fields,body.woocommerce-checkout #order_review,body.woocommerce-checkout #payment ul.payment_methods li{border-radius:var(--radius-card) !important;}

/* ---------- Inicio: un solo fondo, la foto se funde con el negro ---------- */
.hero{display:block;position:relative;overflow:hidden;height:clamp(520px,calc(100vh - 140px),820px);background:var(--bg);}
.hero > img{position:absolute;top:0;right:0;bottom:0;left:auto;width:80%;height:100%;object-fit:cover;object-position:78% 0;}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--bg) 0%,var(--bg) 20%,rgba(11,11,12,0.86) 33%,rgba(11,11,12,0.5) 50%,rgba(11,11,12,0.18) 64%,rgba(11,11,12,0) 78%),linear-gradient(0deg,var(--bg) 0%,rgba(11,11,12,0) 20%);}
.hero-inner{position:relative;z-index:2;height:100%;align-items:center;}
.hero-copy{max-width:600px;padding:0;}
.hero-copy h1{font-weight:500;font-size:clamp(36px,4.6vw,68px);line-height:1.06;}
.hero-copy h1::after{content:"";display:block;width:120px;height:2px;margin-top:22px;background:var(--stitch);}
.hero-btn{min-height:50px;}
@media (max-width:860px){
  .hero{height:auto;}
  .hero > img{position:relative;display:block;width:100%;height:min(104vw,62vh);min-height:320px;object-position:74% 6%;}
  .hero::after{bottom:auto;height:min(104vw,62vh);min-height:320px;background:linear-gradient(180deg,rgba(11,11,12,0) 50%,rgba(11,11,12,0.72) 80%,var(--bg) 100%);}
  .hero-inner{display:block;height:auto;margin-top:-64px;padding-bottom:36px;}
  .hero-btn{flex:1 1 150px;}
  .whatsapp-float{width:48px;height:48px;}
}

/* ---------- Secciones con pespunte ---------- */
.benefits-bar,.brand-statement,.about-teaser,.about-quote,.about-cta-band{border-top:1px dashed var(--line);}
.benefits-bar{border-bottom:1px dashed var(--line);}
.brand-statement blockquote{font-style:italic;font-weight:400;font-size:clamp(21px,2.8vw,32px);line-height:1.45;}
/* El formulario de novedades no envía ni guarda correos: se oculta hasta conectarlo. */
.newsletter{display:none;}

/* ---------- Productos y ficha ---------- */
ul.products li.product .caya-media{border:1px solid var(--line-soft);transition:border-color .25s;}
ul.products li.product:hover .caya-media{border-color:var(--accent);}
ul.products li.product .woocommerce-loop-product__title{font-size:15px;}
ul.products li.product .price{font-size:16px;}
ul.products li.product .button,.add-btn{min-height:44px;}
.single-product div.product{grid-template-columns:minmax(0,540px) minmax(0,1fr);}
@media (max-width:860px){.single-product div.product{grid-template-columns:minmax(0,1fr);}}
/* Galería: ninguna proporción fija en el visor ni en la tira (con varias fotos se estiraba sin límite);
   la proporción 3:4 va en cada foto. */
.single-product div.product .woocommerce-product-gallery{min-width:0;overflow:hidden;}
.single-product div.product .woocommerce-product-gallery .flex-viewport{aspect-ratio:auto !important;width:100% !important;max-width:100%;}
.single-product div.product .woocommerce-product-gallery__wrapper{max-width:none !important;aspect-ratio:auto !important;height:auto !important;}
.single-product div.product .woocommerce-product-gallery__image{position:relative !important;inset:auto !important;height:auto !important;aspect-ratio:3/4;overflow:hidden;}
.single-product div.product .woocommerce-product-gallery__image > a{display:block;width:100%;height:100%;}
.single-product div.product .woocommerce-product-gallery__image img:not(.zoomImg){width:100% !important;height:100% !important;object-fit:cover;object-position:top center;}
.single-product div.product .woocommerce-product-gallery ol.flex-control-nav li{width:64px;height:84px;cursor:pointer;}
.single-product div.product .woocommerce-product-gallery ol.flex-control-nav li img{height:100% !important;}
.single-product table.variations label{font-size:12px;}
.single-product .summary .yith-add-to-wishlist-button-block,.single-product .summary .yith-wcwl-add-to-wishlist-button{max-width:100% !important;min-width:0;}
.single-product .summary .yith-wcwl-add-to-wishlist-button__label{white-space:normal;}

/* ---------- Sin botón "Comparar" (abría una ventana sin diseño) ---------- */
a.compare,.compare.button,.yith-woocompare-button,.woocommerce a.compare.button,.compare-button,#yith-woocompare-popup-widget,#yith-woocompare-preview-bar,#yith-woocompare-popup,.yith-woocompare-popup{display:none !important;}

/* ---------- Título de cada opción, corazón y botón aún no disponible ---------- */
.caya-attr-title{margin:0 0 10px;font-size:14px;color:var(--text-muted);}
.caya-attr-title b{color:var(--text);font-weight:700;}
.yith-wcwl-add-to-wishlist-button-icon,.yith-wcwl-icon{color:var(--accent) !important;fill:currentColor;}
ul.products li.product .yith-wcwl-add-to-wishlist-button__label{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.3;text-align:left;}
.single-product button.single_add_to_cart_button.disabled,.single-product button.single_add_to_cart_button.wc-variation-selection-needed{opacity:1 !important;background:var(--bg-elevated-2) !important;color:var(--text-muted) !important;border:1px dashed rgba(255,255,255,0.35) !important;}

/* ---------- Catálogo: los datos van debajo de la foto, sin tapar la prenda ---------- */
.lookbook-item{display:flex;flex-direction:column;aspect-ratio:auto;overflow:visible;border-radius:0;}
.lookbook-item::after{content:none;display:none;}
.lookbook-item img{position:static;width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;object-position:center top;border-radius:var(--radius-card);border:1px solid var(--line-soft);transition:border-color .25s;}
.lookbook-item:hover img{transform:none;border-color:var(--accent);}
.lookbook-label{position:static;padding:10px 2px 6px;color:var(--text);}
.lookbook-label strong{font-size:15px;color:var(--text);}
.lookbook-label .lookbook-cat{color:var(--text-faint);}
.lookbook-price{font-size:15px;color:var(--accent);}
.lookbook-price-ask{font-size:13px;color:var(--text-muted);}
.lookbook-label .caya-opts em,.lookbook-label .caya-opts b,.lookbook-label .caya-opts-sizes{color:var(--text-muted);font-size:12.5px;}

/* ---------- Lista de deseos: letra legible ---------- */
.wishlist_table th{color:var(--text-muted) !important;}
.wishlist_table td,.wishlist_table td.product-price,.wishlist_table td.product-price .amount{color:var(--text) !important;}
.wishlist_table td.wishlist-in-stock,.wishlist_table td .wishlist-in-stock{color:#7fd9a6 !important;}

/* ---------- Colores y tallas en la ficha ---------- */
.single-product table.variations,.single-product table.variations tbody,.single-product table.variations tr,.single-product table.variations th,.single-product table.variations td{display:block;width:100%;text-align:left;}
.single-product table.variations tr{margin-bottom:18px;}
.single-product table.variations th,.single-product table.variations td{padding:0;border:0;}
.single-product table.variations th.label{margin-bottom:10px;}
.single-product table.variations th.label label{font-size:13px;font-weight:700;color:var(--text);letter-spacing:0.12em;}
.single-product .cfvsw-swatches-container{gap:10px !important;}
.single-product .cfvsw-swatches-option.caya-sw{display:flex !important;align-items:center;gap:10px;width:auto !important;height:auto !important;min-width:0 !important;min-height:52px !important;padding:8px 16px 8px 10px !important;background:var(--bg-elevated-2) !important;border:1px solid rgba(255,255,255,0.24) !important;border-radius:var(--radius-btn) !important;cursor:pointer;}
.single-product .cfvsw-swatches-option.caya-sw .cfvsw-swatch-inner{display:none !important;}
.caya-dot{width:32px;height:32px;flex:0 0 32px;border-radius:50%;border:1.5px solid rgba(255,255,255,0.6);box-shadow:0 0 0 1px rgba(0,0,0,0.55) inset;}
.caya-name{display:block;font-size:14px;font-weight:600;line-height:1.25;color:var(--text);text-align:left;}
.caya-name small{display:block;margin-top:2px;font-size:12px;font-weight:400;color:var(--text-muted);}
.single-product .cfvsw-label-option{min-width:60px !important;min-height:52px !important;height:auto !important;display:flex !important;align-items:center;justify-content:center;font-size:16px !important;font-weight:700;background:var(--bg-elevated-2) !important;border:1px solid rgba(255,255,255,0.24) !important;color:var(--text) !important;cursor:pointer;}
.single-product .cfvsw-swatches-option.cfvsw-selected-swatch{border:2px solid var(--accent) !important;box-shadow:0 0 0 3px rgba(220,184,174,0.28);}
.single-product .cfvsw-label-option.cfvsw-selected-swatch{background:var(--text) !important;color:#131313 !important;}
.single-product .cfvsw-label-option.cfvsw-selected-swatch .cfvsw-swatch-inner{color:#131313 !important;}
.single-product .cfvsw-swatches-option.cfvsw-swatches-disabled,.single-product .cfvsw-swatches-option.cfvsw-swatches-out-of-stock{opacity:0.45;text-decoration:line-through;cursor:not-allowed;}

/* ---------- Colores y tallas en las tarjetas ---------- */
.caya-opts{display:flex;flex-direction:column;gap:5px;margin-top:8px;}
.caya-opts-colors{display:flex;align-items:center;flex-wrap:wrap;gap:6px;}
.caya-mini{display:inline-block;width:18px;height:18px;border-radius:50%;border:1.5px solid rgba(255,255,255,0.65);}
.caya-opts em{font-style:normal;font-size:12.5px;line-height:1.3;color:var(--text-muted);}
.caya-opts b{font-size:12.5px;color:var(--text-muted);}
.caya-opts-sizes{font-size:12.5px;font-weight:600;line-height:1.4;color:var(--text-muted);}
.lookbook-label .caya-opts{order:5;margin-top:5px;}
.lookbook-label .caya-opts em,.lookbook-label .caya-opts b,.lookbook-label .caya-opts-sizes{color:#f1ede8;font-size:12px;}
.lookbook-label .caya-mini{width:15px;height:15px;}

/* ---------- Lista de deseos en celular: tarjetas en vez de tabla ---------- */
@media (max-width:640px){
  .wishlist_table.shop_table,.wishlist_table.shop_table tbody{display:block;width:100%;}
  .wishlist_table.shop_table thead{display:none;}
  .wishlist_table.shop_table tbody tr{display:grid;grid-template-columns:84px minmax(0,1fr) auto;column-gap:14px;row-gap:4px;padding:14px 0;border-bottom:1px solid var(--line-soft);}
  .wishlist_table.shop_table tbody td{display:block;grid-column:2 / -1;width:auto !important;min-width:0;padding:0 !important;border:0 !important;text-align:left !important;}
  .wishlist_table.shop_table tbody td.product-checkbox,.wishlist_table.shop_table tbody td.product-arrange{display:none;}
  .wishlist_table.shop_table tbody td.product-thumbnail{grid-column:1;grid-row:1 / span 5;}
  .wishlist_table.shop_table tbody td.product-thumbnail img{width:84px !important;height:112px !important;object-fit:cover;}
  .wishlist_table.shop_table tbody td.product-name{grid-column:2;grid-row:1;}
  .wishlist_table.shop_table tbody td.product-remove{grid-column:3;grid-row:1;}
  .wishlist_table.shop_table tbody td.wishlist-empty{grid-column:1 / -1;}
  .wishlist_table.shop_table tbody td.product-add-to-cart a{max-width:100%;white-space:normal;text-align:center;}
}

/* ---------- Aviso de carrito vacío y pie de página ---------- */
.woocommerce-cart .cart-empty.woocommerce-info::before{display:none !important;}
.woocommerce-cart .cart-empty.woocommerce-info{justify-content:center;padding-left:20px !important;}
.site-footer .footer-bottom{padding-right:76px;}

/* ---------- Campos: 16px evita que el iPhone haga zoom al escribir ---------- */
@media (max-width:900px){
  input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px !important;}
  .site-footer{padding-bottom:96px !important;}
  .site-footer .footer-bottom{padding-right:0;}
  .whatsapp-float{right:14px;bottom:14px;}
}

/* ---------- Botones de la portada en una sola línea ---------- */
.hero-btn{white-space:nowrap;}
@media (max-width:480px){.hero-actions{flex-direction:column;align-items:stretch;}.hero-btn{flex:0 0 auto;width:100%;}}

/* ---------- Tarjetas: el corazón va sobre la foto, sin repetir el texto ---------- */
ul.products li.product{position:relative;}
ul.products li.product .yith-add-to-wishlist-button-block,ul.products li.product .yith-wcwl-add-to-wishlist{position:absolute;top:8px;right:8px;z-index:3;width:44px !important;margin:0 !important;}
ul.products li.product .yith-wcwl-add-to-wishlist-button{width:44px !important;height:44px;min-height:44px;display:flex !important;align-items:center;justify-content:center;padding:0;border-radius:50%;background:rgba(11,11,12,0.68) !important;}
ul.products li.product .yith-wcwl-add-to-wishlist-button__label{position:absolute !important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;}
ul.products li.product .yith-wcwl-add-to-wishlist-button svg{width:22px;height:22px;margin:0;}
.caya-desde{font-size:12px;font-weight:600;color:var(--text-muted);}

/* ---------- Carrito en celular: el nombre usa todo el ancho ---------- */
@media (max-width:480px){
  .woocommerce-cart table.cart td.product-name{padding-right:6px !important;}
  .woocommerce-cart table.cart td.product-subtotal{grid-column:2 / -1;grid-row:4;}
}

/* ---------- Página 404 ---------- */
.caya-404{max-width:720px;text-align:center;padding-top:56px;padding-bottom:72px;}
.caya-404-num{font-family:var(--f-display);font-size:clamp(72px,18vw,150px);line-height:1;color:var(--accent);margin:0 0 8px;}
.caya-404 h1{font-size:clamp(28px,5vw,44px);margin-bottom:14px;}
.caya-404-text{color:var(--text-muted);max-width:48ch;margin:0 auto 24px;}
.caya-404-search{display:flex;flex-wrap:wrap;gap:10px;max-width:520px;margin:0 auto 22px;}
.caya-404-search input{flex:1 1 220px;min-width:0;min-height:48px;padding:0 16px;background:var(--bg-elevated-2);border:1px solid var(--line);border-radius:var(--radius-input);color:var(--text);font-size:16px;}
.caya-404-search .btn{min-height:48px;}
.caya-404-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;}
.caya-404-actions .btn{min-height:46px;}

/* ---------- Ingreso, registro y recuperar contraseña ---------- */
body.caya-account-out .page-generic{max-width:1008px;margin-left:auto;margin-right:auto;}
body.caya-account-out .woocommerce{max-width:960px;margin:0 auto;}
body.caya-account-out .woocommerce .u-columns{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start;}
body.caya-account-out .woocommerce .u-columns::before,body.caya-account-out .woocommerce .u-columns::after{content:none !important;display:none !important;}
body.caya-account-out .woocommerce .u-columns > div{width:auto !important;max-width:none;float:none !important;margin:0 !important;min-width:0;padding:26px;background:var(--bg-elevated);border:1px solid var(--line-soft);border-radius:var(--radius-card);}
body.caya-account-out .woocommerce .u-columns h2{font-size:26px;margin:0 0 18px;}
body.caya-account-out .woocommerce form.login,body.caya-account-out .woocommerce form.register{margin:0 !important;padding:0 !important;border:0 !important;}
body.caya-account-out .woocommerce form .form-row{display:block;width:100% !important;float:none !important;margin:0 0 16px !important;padding:0 !important;}
body.caya-account-out .woocommerce form .form-row label{font-size:13px;text-transform:none;letter-spacing:0;color:var(--text-muted);}
body.caya-account-out .woocommerce form .form-row input.input-text{width:100% !important;min-height:50px;font-size:16px;padding:12px 14px;background:var(--bg-elevated-2);color:var(--text);border:1px solid var(--line);border-radius:var(--radius-input);}
body.caya-account-out .woocommerce .password-input{display:block;position:relative;}
body.caya-account-out .woocommerce .password-input input.input-text{padding-right:56px !important;}
body.caya-account-out .woocommerce .show-password-input{position:absolute;right:3px;top:50%;transform:translateY(-50%);width:44px;height:44px;display:flex;align-items:center;justify-content:center;color:var(--text-muted);background:transparent;}
body.caya-account-out .woocommerce form .form-row .woocommerce-form-login__rememberme{display:flex !important;align-items:center;gap:10px;min-height:44px;margin:0 0 10px !important;cursor:pointer;font-size:14px;}
body.caya-account-out .woocommerce form .woocommerce-form-login__rememberme input{width:20px;height:20px;margin:0;accent-color:var(--accent);}
body.caya-account-out .woocommerce form.login button[type=submit],body.caya-account-out .woocommerce form.register button[type=submit],body.caya-account-out .woocommerce form.lost_reset_password button[type=submit]{width:100% !important;float:none !important;margin:0 !important;min-height:50px !important;font-size:15px !important;}
body.caya-account-out .woocommerce .lost_password{margin:14px 0 0;}
body.caya-account-out .woocommerce .lost_password a,.caya-back-login a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 14px;text-align:center;font-size:14px;font-weight:600;line-height:1.35;color:var(--accent);border:1px solid var(--accent);border-radius:var(--radius-btn);text-decoration:none;}
body.caya-account-out .woocommerce .lost_password a:hover,.caya-back-login a:hover{background:var(--accent-soft);color:var(--text);}
body.caya-account-out .woocommerce-privacy-policy-text p,body.caya-account-out .woocommerce form.register > p:not(.form-row){font-size:13px;line-height:1.55;color:var(--text-muted);margin:0 0 14px;}
body.caya-account-out .woocommerce-privacy-policy-text a{color:var(--text);text-decoration:underline;}
body.caya-account-out .woocommerce form.lost_reset_password{max-width:480px;margin:0 auto !important;padding:26px;background:var(--bg-elevated);border:1px solid var(--line-soft);border-radius:var(--radius-card);}
body.caya-account-out .woocommerce form.lost_reset_password > p:first-of-type{color:var(--text-muted);line-height:1.6;margin-bottom:18px;}
.caya-back-login{max-width:480px;margin:14px auto 0;}
input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 100px var(--bg-elevated-2) inset !important;-webkit-text-fill-color:var(--text) !important;caret-color:var(--text);}
@media (max-width:760px){
  body.caya-account-out .woocommerce .u-columns{grid-template-columns:minmax(0,1fr);gap:16px;}
  body.caya-account-out .woocommerce .u-columns > div,body.caya-account-out .woocommerce form.lost_reset_password{padding:20px 16px;}
}

/* =====================================================================
   Ficha de producto: foto completa a la vista y columna de compra ordenada
   ===================================================================== */
.caya-crumb{display:flex;flex-wrap:wrap;align-items:center;gap:0 8px;padding:12px 0 14px;font-size:13px;color:var(--text-faint);}
.caya-crumb a{display:inline-flex;align-items:center;min-height:32px;color:var(--text-muted);}
.caya-crumb a:hover{color:var(--accent);}
.single-product div.product{display:grid;grid-template-columns:minmax(0,clamp(380px,calc((100vh - 150px) * 0.75),600px)) minmax(0,560px);justify-content:center;align-items:start;column-gap:clamp(28px,4.5vw,72px);row-gap:0;padding-bottom:56px;}
.single-product div.product > .related,.single-product div.product > .woocommerce-tabs,.single-product div.product > .up-sells{grid-column:1 / -1;}
.single-product div.product div.woocommerce-product-gallery.images{position:relative !important;top:0 !important;margin:0 !important;}
@media (min-width:861px) and (min-height:620px){.single-product div.product div.woocommerce-product-gallery.images{position:sticky !important;top:104px !important;align-self:start;}}
.single-product .summary .cfvsw-swatches-container,.single-product .summary .cfvsw-hidden-select + .cfvsw-swatches-container{width:100% !important;max-width:100%;}
.single-product div.product div.summary{margin:0 !important;padding:0;}
.single-product .summary .product-kicker{margin:0 0 6px;}
.single-product div.product .summary .product_title{font-size:clamp(30px,3.4vw,46px);margin:0 0 10px;}
.single-product div.product .summary > p.price{font-size:clamp(25px,2.4vw,32px);margin:0 0 18px;padding-bottom:18px;border-bottom:1px solid var(--line-soft);}
.caya-desc{margin:0 0 22px;font-size:15px;line-height:1.7;color:var(--text-muted);}

/* Color y talla */
.single-product .summary table.variations{margin:0 0 4px;}
.single-product .summary table.variations tr{margin-bottom:20px;}
.single-product .summary .cfvsw-swatches-container[swatches-attr="attribute_pa_color"]{display:grid !important;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px !important;}
.single-product .summary .cfvsw-swatches-container[swatches-attr="attribute_pa_color"] .cfvsw-swatches-option.caya-sw{width:100% !important;margin:0 !important;}
.single-product .summary .cfvsw-swatches-container[swatches-attr="attribute_pa_talla"]{display:flex !important;flex-wrap:wrap !important;gap:10px !important;}
.single-product .summary .cfvsw-swatches-container[swatches-attr="attribute_pa_talla"] .cfvsw-swatches-option{margin:0 !important;}
.single-product .summary a.reset_variations{display:inline-flex;align-items:center;min-height:36px;margin:0 0 6px;font-size:13px;color:var(--text-muted);text-decoration:underline;text-underline-offset:3px;}

/* Disponibilidad, cantidad y botón de compra */
.single-product .summary .woocommerce-variation-price{margin-bottom:6px;}
.single-product .summary .woocommerce-variation-availability p,.single-product .summary p.stock{display:flex;align-items:center;gap:9px;margin:0 0 12px;font-size:14px;font-weight:600;color:#8fd6ab;}
.single-product .summary .woocommerce-variation-availability p::before,.single-product .summary p.stock::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor;flex:0 0 8px;}
.single-product .summary p.stock.out-of-stock{color:#ff9b8f;}
.single-product .summary form.cart{margin:0;}
.single-product .summary .woocommerce-variation-add-to-cart,.single-product .summary form.cart:not(.variations_form){display:flex !important;flex-wrap:wrap;align-items:stretch;gap:10px;}
.single-product .summary .size-help{flex:1 0 100%;margin:0 0 2px;}
.single-product .summary .quantity{margin:0 !important;display:flex;}
.single-product .summary .quantity input.qty{width:76px;min-height:54px;height:54px;font-size:16px;}
.single-product .summary button.single_add_to_cart_button{flex:1 1 200px;min-height:54px !important;margin:0 !important;font-size:15px !important;font-weight:700;letter-spacing:0.02em;}

/* Lista de deseos, consulta y datos */
.single-product .summary .yith-add-to-wishlist-button-block{margin:10px 0 0 !important;width:100%;}
.single-product .summary .yith-wcwl-add-to-wishlist-button{display:flex !important;align-items:center;justify-content:center;gap:10px;width:100%;min-height:50px;margin:0;padding:8px 14px;border:1px solid var(--line);border-radius:var(--radius-btn);font-size:14px;font-weight:600;color:var(--text) !important;}
.single-product .summary .yith-wcwl-add-to-wishlist-button:hover{border-color:var(--accent);}
.single-product .summary .yith-wcwl-add-to-wishlist-button svg{width:20px;height:20px;margin:0;flex:0 0 20px;}
.single-product .summary .consult-box{max-width:none;margin:10px 0 0;}
.single-product .summary .caya-wa-consult{min-height:50px;}
.single-product .summary .consult-note{margin:10px 0 0;text-align:center;font-size:12.5px;}
.caya-trust{list-style:none;margin:22px 0 0;padding:4px 18px;background:var(--bg-elevated);border:1px solid var(--line-soft);border-radius:var(--radius-card);}
.caya-trust li{padding:13px 0;font-size:13.5px;line-height:1.5;color:var(--text-muted);border-bottom:1px dashed var(--line);}
.caya-trust li:last-child{border-bottom:0;}
.caya-trust strong{display:block;color:var(--text);font-size:14px;}
.caya-trust a{color:var(--accent);text-decoration:underline;text-underline-offset:3px;}
.single-product .summary .product_meta{margin-top:18px;padding-top:14px;border-top:1px solid var(--line-soft);font-size:12.5px;color:var(--text-faint);}

/* Productos relacionados */
.single-product .related.products{margin-top:56px;padding:32px 0 0;border-top:1px dashed var(--line);}
.single-product .related.products > h2{font-size:clamp(24px,3vw,34px);margin-bottom:22px;}
.single-product .related.products ul.products{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:18px;}
@media (max-width:900px){.single-product .related.products ul.products{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:12px;}}
@media (max-width:640px){.single-product .related.products ul.products{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}}

/* Una columna en tablet vertical y celular */
@media (max-width:860px){
  .single-product div.product{grid-template-columns:minmax(0,560px);row-gap:22px;}
  .single-product div.product div.images,.single-product div.product div.summary{max-width:560px;margin-left:auto !important;margin-right:auto !important;}
  .caya-crumb{max-width:560px;margin:0 auto;}
}
@media (max-width:420px){
  .single-product .summary .cfvsw-swatches-container[swatches-attr="attribute_pa_color"]{grid-template-columns:repeat(2,minmax(0,1fr));}
  .single-product .summary .cfvsw-swatches-option.caya-sw{gap:8px;padding:8px !important;}
  .single-product .summary .caya-dot{width:26px;height:26px;flex-basis:26px;}
  .single-product .summary .caya-name{font-size:13px;overflow-wrap:anywhere;}
}
@media (max-width:340px){.single-product .summary .cfvsw-swatches-container[swatches-attr="attribute_pa_color"]{grid-template-columns:minmax(0,1fr);}}
/* Celular apaisado: foto más baja para que se vea completa */
@media (max-width:960px) and (max-height:520px) and (orientation:landscape){
  .single-product div.product{grid-template-columns:minmax(0,42%) minmax(0,1fr);column-gap:20px;}
}

/* =====================================================================
   Selector de cantidad (menos / número / más)
   ===================================================================== */
.quantity input.qty{-moz-appearance:textfield;appearance:textfield;}
.quantity input.qty::-webkit-inner-spin-button,.quantity input.qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0;}
.woocommerce .quantity.caya-qty,.quantity.caya-qty{display:inline-flex !important;align-items:stretch;height:54px;margin:0 !important;overflow:hidden;background:var(--bg-elevated-2);border:1px solid var(--line);border-radius:var(--radius-btn);}
.quantity.caya-qty:focus-within{border-color:var(--accent);}
.quantity .caya-qty-btn{display:flex;align-items:center;justify-content:center;width:48px;min-width:48px;height:100%;margin:0;padding:0;background:transparent;border:0;border-radius:0;color:var(--text);font-family:var(--f-body);font-size:23px;font-weight:400;line-height:1;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;transition:background .15s;}
.quantity .caya-qty-btn:hover:not(:disabled){background:var(--accent-soft);color:var(--accent);}
.quantity .caya-qty-btn:active:not(:disabled){background:var(--accent);color:#1a1214;}
.quantity .caya-qty-btn:disabled{opacity:0.28;cursor:default;}
.single-product .summary .quantity.caya-qty input.qty,.woocommerce-cart table.cart td.product-quantity .quantity.caya-qty input.qty,.quantity.caya-qty input.qty{width:48px !important;min-width:48px !important;height:100% !important;min-height:0 !important;margin:0;padding:0 !important;text-align:center;font-size:17px !important;font-weight:700;color:var(--text);background:transparent !important;border:0 !important;border-left:1px solid var(--line-soft) !important;border-right:1px solid var(--line-soft) !important;border-radius:0 !important;box-shadow:none;}
.woocommerce-cart table.cart td.product-quantity .quantity.caya-qty{height:46px;}
.woocommerce-cart table.cart td.product-quantity .quantity .caya-qty-btn{width:44px;min-width:44px;font-size:21px;}
.woocommerce-cart button.button[name="update_cart"]{display:none !important;}

/* Botón de compra cuando todavía falta elegir */
.single-product .summary button.single_add_to_cart_button.disabled,.single-product .summary button.single_add_to_cart_button.wc-variation-selection-needed{border:1px solid var(--line) !important;border-style:solid !important;}

@media (max-width:420px){
  .single-product .summary .quantity.caya-qty{flex:1 0 100%;}
  .single-product .summary .quantity.caya-qty .caya-qty-btn{flex:0 0 64px;width:64px;}
  .single-product .summary .quantity.caya-qty input.qty{flex:1 1 auto;width:auto !important;}
  .single-product .summary button.single_add_to_cart_button{flex:1 0 100%;}
}

/* ---------- Pantallas muy chicas y muy grandes ---------- */
@media (max-width:380px){
  .wrap{padding-left:16px;padding-right:16px;}
  .header-main{padding-left:8px;padding-right:8px;gap:4px;}
  .header-left{gap:4px;}
  .header-right{gap:0;}
  .icon-btn{width:40px;height:44px;}
  .header-logo img{height:38px;}
}
@media (min-width:1800px){
  .wrap,.header-main{max-width:1600px;}
  .hero{height:clamp(760px,calc(100vh - 160px),960px);}
}
