/* Ajustes propios de la tienda en WordPress (se cargan después de triplex.css). */

/* Ficha técnica del producto */
.pdp .spec-panel{margin:34px 0 8px;padding:26px;border:1px solid var(--line);border-radius:18px;background:#fff}
.spec-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:18px}
.spec-head .eyebrow{margin:0;color:#9a7e49}
.spec-head h2{order:-1;margin:0;font-size:22px;letter-spacing:-.045em;text-transform:uppercase}
.spec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
.spec-item{margin:0;padding:14px 16px;border:1px solid #ecebe5;border-radius:12px;background:#fafaf7}
.spec-item dt{font:11px/1.4 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 6px}
.spec-item dd{margin:0;display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;letter-spacing:-.02em;color:var(--ink)}
.spec-item-key{grid-column:1 / -1;background:var(--ink);border-color:var(--ink)}
.spec-item-key dt{color:#b9b6ad}
.spec-item-key dd{color:#fff}
.spec-item-key .icon{width:18px;height:18px;color:var(--yellow)}
.spec-swatch{width:14px;height:14px;border-radius:50%;border:1px solid #cfcdc4;flex:none}
.spec-swatch-white{background:#fff}
.spec-swatch-blue{background:#5a78d6;border-color:#4a66bd}
.spec-pending{display:flex;gap:14px;align-items:flex-start;margin-top:12px;padding:14px 16px;border:1px dashed #d8cfb8;border-radius:12px;background:#fffbf1}
.spec-pending p{margin:0;font-size:12px;line-height:1.6;color:#6f6a5c}
.spec-pending strong{color:var(--ink);font-weight:600}
.spec-badge{flex:none;padding:4px 9px;border-radius:999px;background:#f3e6c4;color:#7a5a12;font:11px/1.4 var(--mono);letter-spacing:.06em;text-transform:uppercase}
.pdp-copy details{border-top:1px solid var(--line)}
.pdp-copy details:last-of-type{border-bottom:1px solid var(--line)}
@media (max-width:560px){
  .pdp .spec-panel{padding:18px}
  .spec-head{flex-direction:column;gap:4px}
  .spec-head h2{order:0}
  .spec-item dd{font-size:14px}
}

/* Post-venta: bundles en carrito lateral, carrito y checkout */
.upsell-bundle img{object-fit:contain;background:#fff}
.upsell-bundle del{color:#9b988c;font-size:11px;margin-left:2px}
.triplex-upsell{margin:30px 0;padding:26px;border:1px solid #e7dcc2;border-radius:18px;background:#fff8e8}
.triplex-upsell[hidden]{display:none}
.triplex-upsell-inner{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.6fr);gap:30px;align-items:center}
.triplex-upsell h2{font-size:clamp(24px,2.6vw,34px);letter-spacing:-.05em;margin:0 0 10px;text-transform:uppercase}
.triplex-upsell p{margin:0;font-size:13px;color:#6f6a5c}
.triplex-upsell .eyebrow{color:#9a7e49;margin-bottom:10px}
.triplex-upsell-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.triplex-upsell .upsell-item{display:grid;grid-template-columns:62px 1fr;grid-template-rows:auto auto;gap:6px 12px;align-items:center;padding:12px;border:1px solid #eadfc6;border-radius:14px;background:#fff}
.triplex-upsell .upsell-item img{width:62px;height:62px;grid-row:1 / span 2;border-radius:10px}
.triplex-upsell .upsell-item strong{font-size:13px;line-height:1.3;display:block}
.triplex-upsell .upsell-item p{font-size:12px;color:var(--ink)}
.triplex-upsell .upsell-item button{grid-column:2;justify-self:start;display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;background:var(--ink);color:#fff;font-size:12px;font-weight:600}
.triplex-upsell .upsell-item button .icon{width:13px;height:13px}
.cart-busy .triplex-upsell{opacity:.6;pointer-events:none}
@media (max-width:900px){.triplex-upsell-inner{grid-template-columns:1fr;gap:18px}.triplex-upsell{padding:20px}}

/* Ficha de bundle */
.pdp .bundle-stage{display:grid;place-items:center}
.pdp .bundle-stage-img{width:92%;height:auto;max-height:560px;object-fit:contain;mix-blend-mode:multiply}
.pdp-copy .bundle-list{margin:6px 0 18px}

/* Portada: tarjetas del carrusel resumidas (se elige en la ficha) */
.card-copy-home{display:flex;flex-direction:column}
.card-copy-home .card-description{flex:1}
.card-from{margin:6px 0 16px;font-size:13px;color:var(--muted)}
.card-from strong{font-size:22px;letter-spacing:-.04em;color:var(--ink)}
.card-more{justify-content:space-between;min-height:50px}
.card-more .icon{width:16px;height:16px}

/* Nosotros: viales en racimo con movimiento (about-motion.js) */
.about-vials{position:absolute;left:0;right:0;bottom:2%;margin:auto;width:100%;aspect-ratio:1200/1100;max-height:96%;pointer-events:none}
.about-vial{position:absolute;filter:drop-shadow(0 22px 26px rgba(40,34,20,.26)) drop-shadow(0 6px 8px rgba(40,34,20,.16));will-change:transform}
.about-vial img{width:100%;height:100%;display:block;user-select:none}
.about-vials-ready img.about-hero-group{visibility:hidden}

/* September feedback: visible vertical catalog, three clear quantities. */
body[data-page=home] #products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row;gap:24px;overflow:visible}
.pack-choices{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.detail-image-window.turntable-ready{min-height:390px}
.detail-image-window .about-turntable{position:absolute;inset:0;width:100%;height:100%}
@media(max-width:1000px){body[data-page=home] #products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){body[data-page=home] #products{grid-template-columns:minmax(0,1fr)}}
@media(min-width:0px){.reveal{transition-duration:.75s}.product-card:hover .product-visual img{scale:1.035;transition:scale .4s ease}}

/* Product ribbon: continuous movement and visible discovery controls. */
body[data-page=home] #products.product-ribbon{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 48px)/3);overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;overscroll-behavior-y:auto;scroll-snap-type:none;scroll-behavior:auto;overflow-anchor:none;cursor:auto}
.product-ribbon-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.product-ribbon-controls button{min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:50%;background:#eeede8;color:#111}
.product-ribbon-controls button:hover,.product-ribbon-controls button[aria-pressed=true]{background:var(--yellow)}
.product-ribbon-controls .text-link{margin-right:12px}
.pack-choice strong{font-size:13px;line-height:1.4}
@media(max-width:1000px){body[data-page=home] #products.product-ribbon{grid-auto-columns:calc((100% - 24px)/2)}}
@media(max-width:640px){body[data-page=home] #products.product-ribbon{grid-auto-columns:86%}.product-ribbon-controls{margin-top:12px}.product-ribbon-controls .text-link{width:100%;margin:0 0 8px}}

/* Compact mobile catalog navigation, aligned to the content edges. */
@media(max-width:760px){
 body[data-page=home] .toolbar .product-ribbon-controls{display:grid;grid-template-columns:minmax(0,1fr) repeat(3,44px);align-items:center;gap:6px;width:100%;margin:8px 0 0;padding:0;}
 body[data-page=home] .product-ribbon-controls .text-link{width:auto;justify-self:start;margin:0;padding:10px 0;border:0;text-decoration:underline;text-underline-offset:4px;font-size:14px;line-height:1.4;}
 body[data-page=home] .product-ribbon-controls button{display:grid;place-items:center;width:44px;height:44px;padding:0;}
 body[data-page=home] .product-ribbon-controls button .icon{width:18px;height:18px;}
}

/* Balance the homepage copy vertically after removing the secondary CTA. */
body.home .hero .hero-copy{justify-content:center;padding-top:48px;padding-bottom:48px}
@media(max-width:700px){body.home .hero .hero-copy{padding-top:32px;padding-bottom:32px}}

/* Consistent announcement width across all pages. */
body .announcement{width:96%;max-width:1440px}

@media(max-width:760px){body .announcement{width:94%}}

.triplex-zelle-qr{margin-top:16px;border-top:1px solid var(--line);padding-top:12px}.triplex-zelle-qr summary{cursor:pointer;font-weight:600}.triplex-zelle-qr img{display:block;max-width:100%;height:auto;background:white;border-radius:8px;margin:14px 0}.triplex-zelle-qr p{font-size:14px;line-height:1.6}

/* Sep 22: consistent selections, mobile collection and editorial spacing. */
.pdp .choice,.pdp .pack-choice,.cart-pack-row button{background:#ecece8;border:1px solid #d7d7d0;border-radius:12px;color:var(--ink);min-height:44px}
.pdp .pack-choice,.cart-pack-row button{min-height:64px;padding:12px 8px}
.pdp .choice[aria-pressed=true],.pdp .pack-choice[aria-pressed=true],.cart-pack-row button[aria-pressed=true]{background:var(--yellow);border-color:var(--yellow);color:var(--ink);box-shadow:none}
.pdp .choice:hover,.pdp .pack-choice:hover,.cart-pack-row button:hover{border-color:var(--yellow)}
.about-manifesto{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px 64px;align-items:start;padding-top:80px;padding-bottom:80px}
.about-manifesto>.eyebrow{grid-column:1/-1;margin:0}
.about-manifesto h2{font-size:clamp(34px,3.8vw,58px);line-height:1.08;margin:0;letter-spacing:-.045em}
.about-manifesto>div{display:block;margin:0;max-width:60ch}
.about-manifesto>div p{font-size:16px;line-height:1.8;margin:0 0 20px}
.contact-direct{display:grid;gap:16px;margin:24px 0;overflow-wrap:anywhere}
.contact-direct a{display:block;font-size:16px;line-height:1.6}
.woocommerce-account #customer_login{display:grid;grid-template-columns:1fr 1fr;gap:36px}
.woocommerce-account #customer_login>div{width:auto;float:none;padding:28px;border:1px solid var(--line);border-radius:18px;background:#fff}
@media(max-width:700px){.about-manifesto{grid-template-columns:1fr;gap:24px;padding-top:48px;padding-bottom:48px}.about-manifesto h2{font-size:36px}.woocommerce-account #customer_login{grid-template-columns:1fr;gap:20px}}
@media(max-width:600px){
#collection #products.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
#collection .product-card{height:100%;align-self:stretch;display:flex;flex-direction:column}
#collection .product-visual{height:230px;padding:25px 5px;flex:none}
#collection .visual-tag{font-size:8px;left:8px;top:10px;padding:4px 6px;max-width:calc(100% - 16px)}
#collection .pack-count{font-size:10px;left:8px;bottom:10px}
#collection .visual-open{right:8px;bottom:10px;width:16px}
#collection .card-copy-home{padding:14px 10px;flex:1}
#collection .card-copy-home .eyebrow{font-size:9px;letter-spacing:.04em}
#collection .card-copy-home h3{font-size:18px;min-height:2.4em;overflow-wrap:anywhere;margin-bottom:10px}
#collection .card-description{font-size:12px;line-height:1.5;margin-bottom:14px}
#collection .card-from{font-size:12px;margin-top:auto}
#collection .card-from small{display:block;font-size:10px}
#collection .card-more{font-size:12px;min-height:44px;padding:10px 8px;gap:4px}
}

/* Contact channels: clear hierarchy and comfortable touch targets. */
.contact-grid{align-items:start;gap:clamp(24px,5vw,72px);padding-bottom:64px}
.contact-grid>*{min-width:0}
.contact-info h2{font-size:clamp(28px,3vw,42px);line-height:1.12;max-width:16ch;margin-bottom:16px}
.contact-info>.contact-intro{font-size:16px;line-height:1.7;max-width:48ch;margin-bottom:24px}
.contact-channels{display:grid;gap:12px;margin:0 0 24px}
.contact-channel{display:grid;grid-template-columns:minmax(0,1fr) 24px;gap:6px 14px;padding:20px 22px;background:#fff;border:1px solid var(--line);border-radius:16px;transition:border-color .2s,background .2s}
.contact-channel:hover{border-color:#b58e39;background:#fffaf0}
.contact-channel span{font:11px/1.4 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:#66665f}
.contact-channel strong{grid-column:1;font-size:16px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.contact-channel b{grid-column:2;grid-row:1/3;align-self:center;font-size:24px;font-weight:400}
.contact-channel-whatsapp{background:var(--yellow);border-color:var(--yellow)}
.contact-channel-whatsapp span{color:#433611}
.contact-grid .form-panel{padding:clamp(22px,3vw,38px);border-radius:20px;margin:0}
.contact-grid .form-panel label{font-size:14px}
.contact-grid .form-panel input,.contact-grid .form-panel select,.contact-grid .form-panel textarea{font-size:16px;max-width:100%}
.contact-grid .form-panel .button{width:100%;font-size:14px;min-height:50px;gap:12px}
.contact-info>.text-link{display:inline-flex;align-items:center;gap:12px;font-size:14px;line-height:1.5;max-width:100%;padding:8px 0}
/* Brand principles: editorial introduction followed by three readable cards. */
#filosofia.about-manifesto{display:block;padding-top:64px;padding-bottom:64px}
#filosofia .perspective-intro{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;max-width:none;margin:0 0 36px;align-items:end}
#filosofia .perspective-intro>div{min-width:0}
#filosofia .eyebrow{font-size:11px;letter-spacing:.12em;margin-bottom:18px;color:#777268}
#filosofia h2{font-size:clamp(32px,3.8vw,56px);line-height:1.08;max-width:18ch;margin:0}
#filosofia .perspective-lead{font-size:16px;line-height:1.8;margin:0;max-width:55ch}
#filosofia .perspective-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:none;margin:0}
.perspective-card{padding:28px;background:#fff;border:1px solid var(--line);border-radius:18px;min-width:0}
.perspective-card>span{display:block;font:11px/1.4 var(--mono);letter-spacing:.08em;color:#776c54;margin-bottom:24px}
.perspective-card h3{font-size:24px;line-height:1.15;margin:0 0 14px}
#filosofia .perspective-card p{font-size:14px;line-height:1.75;margin:0}
.perspective-card:first-child{background:#eee8db;border-color:#e0d7c3}
.carousel-position{font:11px/1.4 var(--mono);min-width:36px;text-align:center;align-self:center;white-space:nowrap}
.carousel-controls .carousel-arrow:disabled{opacity:.3;background:transparent;color:var(--ink);border-color:var(--line)}
body[data-page=home] .bundle-grid.home-carousel{scroll-snap-type:x mandatory;scroll-padding-inline:2px;overflow-anchor:none;cursor:auto}
@media(max-width:760px){
 .contact-grid{width:calc(100% - 40px);grid-template-columns:minmax(0,1fr);gap:28px;padding-bottom:40px}
 .contact-info h2{font-size:30px;max-width:15ch;letter-spacing:-.035em}
 .contact-info>.contact-intro{font-size:15px;line-height:1.65;margin-bottom:20px}
 .contact-channel{padding:18px;gap:5px 12px;border-radius:14px}
 .contact-channel strong{font-size:15px}
 .contact-grid .form-panel{padding:22px 18px}
 #filosofia.about-manifesto{padding:44px 0}
 #filosofia .perspective-intro{grid-template-columns:1fr;gap:22px;margin-bottom:24px}
 #filosofia h2{font-size:clamp(32px,8.4vw,44px);max-width:18ch}
 #filosofia .perspective-lead{font-size:15px;line-height:1.75}
 #filosofia .perspective-cards{grid-template-columns:1fr;gap:12px}
 .perspective-card{padding:24px}
 .perspective-card>span{margin-bottom:16px}
 .perspective-card h3{font-size:23px}
 body[data-page=home] .bundle-grid.home-carousel{grid-auto-columns:90%;gap:14px;scroll-snap-stop:normal}
 body[data-page=home] .bundle-grid .bundle-visual{height:260px}
 body[data-page=home] .bundle-grid .bundle-copy{padding:20px}
 body[data-page=home] .bundle-grid .bundle-copy h3{font-size:24px;line-height:1.15}
 body[data-page=home] .bundle-grid .bundle-copy>p{font-size:14px;line-height:1.6}
 body[data-page=home] .bundle-grid .bundle-visual .visual-tag{font-size:9px;left:14px;top:16px;letter-spacing:.04em;max-width:65%}
 body[data-page=home] .bundle-grid .bundle-saving{font-size:11px;right:12px;top:12px}
 body[data-page=home] .bundle-grid .bundle-view-caption{font-size:9px;letter-spacing:.06em;bottom:14px;left:12px;right:12px}
 body[data-page=home] .section-heading:has([data-carousel-controls="bundles"]){align-items:flex-start;gap:20px}
 body[data-page=home] .section-heading:has([data-carousel-controls="bundles"]) h2{font-size:30px;line-height:1.08;max-width:16ch}
 body[data-page=home] .heading-actions:has([data-carousel-controls="bundles"]){display:flex;width:100%;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
 .carousel-controls{align-items:center;gap:8px}
 .carousel-controls .carousel-arrow{width:44px;height:44px;min-width:44px}
}

/* Two-column mobile product lists, including catalog and related products. */
@media(max-width:760px){
 body #products.product-grid,body #related.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;gap:12px;align-items:stretch}
 :is(#products,#related).product-grid>.empty{grid-column:1/-1}
 :is(#products,#related) .product-card{min-width:0;display:flex;flex-direction:column;height:100%}
 :is(#products,#related) .product-visual{height:230px;padding:25px 5px;flex:none}
 :is(#products,#related) .visual-tag{font-size:8px;left:8px;top:10px;padding:4px 6px;max-width:calc(100% - 16px)}
 :is(#products,#related) .pack-count{font-size:10px;line-height:1.4;left:8px;bottom:10px;max-width:calc(100% - 30px)}
 :is(#products,#related) .visual-open{right:8px;bottom:10px;width:16px}
 :is(#products,#related) .card-copy{padding:14px 10px;flex:1;min-width:0;display:flex;flex-direction:column}
 :is(#products,#related) .card-copy .eyebrow{font-size:9px;letter-spacing:.04em;overflow-wrap:anywhere}
 :is(#products,#related) .card-copy h3{font-size:18px;line-height:1.2;overflow-wrap:anywhere;margin-bottom:10px}
 :is(#products,#related) .card-description{font-size:12px;line-height:1.5;margin-bottom:14px}
 :is(#products,#related) .selection-label{font-size:10px;line-height:1.5;letter-spacing:.02em;flex-wrap:wrap}
 :is(#products,#related) .choice-row{gap:5px}
 :is(#products,#related) .choice{min-height:44px;padding:8px;font-size:11px;flex:1}
 :is(#products,#related) .pack-choices{grid-template-columns:minmax(0,1fr)!important;gap:5px}
 :is(#products,#related) .pack-choice{min-height:44px;flex-direction:row;align-items:center;justify-content:space-between;gap:4px;padding:8px 6px}
 :is(#products,#related) .pack-choice strong,:is(#products,#related) .pack-choice small{white-space:nowrap;font-size:10px;line-height:1.4;margin:0}
 :is(#products,#related) .cart-footer-link{font-size:11px;line-height:1.5}
 :is(#products,#related) .card-price{flex-wrap:wrap;gap:4px;margin-top:auto;padding-top:16px}
 :is(#products,#related) .card-price strong{font-size:21px}
 :is(#products,#related) .card-price small{font-size:10px}
 :is(#products,#related) .card-add,:is(#products,#related) .card-more{font-size:12px;min-height:44px;padding:10px 7px;gap:4px}
 :is(#products,#related) .card-bottom-note{font-size:10px;line-height:1.5}
 :is(#products,#related) .card-from{font-size:12px;margin-top:auto}
 :is(#products,#related) .card-from small{display:block;font-size:10px}
}

/* Presentación única: naranja (seleccionada) pero compacta, sin ocupar todo el ancho. */
.choice-row.is-single{display:flex;justify-content:flex-start}
.choice-row.is-single .choice{flex:0 0 auto!important;width:auto!important;min-width:0!important;min-height:34px!important;padding:6px 18px!important;font-size:12px;cursor:default}
/* Sin WebGL (aceleración gráfica apagada): el vial igual se mueve con una animación suave. */
@keyframes tpx-fallback-sway{0%,100%{transform:translateY(0) rotate(-3deg) scaleX(1)}25%{transform:translateY(-10px) rotate(0deg) scaleX(.94)}50%{transform:translateY(0) rotate(3deg) scaleX(1)}75%{transform:translateY(-10px) rotate(0deg) scaleX(.94)}}
.detail-image-window.turntable-fallback>img{animation:tpx-fallback-sway 7s ease-in-out infinite}
.about-hero .about-hero-photo.turntable-fallback img:not(.about-hero-group){animation:vial-turn 7s ease-in-out infinite}
.about-hero .about-hero-photo.turntable-fallback img.about-hero-group{animation:tpx-fallback-sway 8s ease-in-out infinite}
/* Cinta superior móvil (texto duplicado para el bucle): sin "USD". Sobrescribe la regla de Custom CSS & JS. */
@media screen and (max-width:991px){body .announcement::before{content:"SOLO PARA USO DE INVESTIGACIÓN • NO APTO PARA CONSUMO HUMANO \00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0 SOLO PARA USO DE INVESTIGACIÓN • NO APTO PARA CONSUMO HUMANO \00A0\00A0\00A0\00A0\00A0\00A0\00A0\00A0"!important}}
