/* TIENDA Fase 7 · Compra, fotografías y direcciones. */
:root{--shop-navy:#172f4e;--shop-blue:#285dcc;--shop-line:#dbe1e6;--shop-muted:#596b7e;--shop-surface:#f4f6f7}
[hidden]{display:none!important}
button,a,input,summary,select{touch-action:manipulation}
:is(a,button,input,select,summary):focus-visible{outline:3px solid #467de0;outline-offset:3px}
.site-header,.site-header.scrolled{height:80px;background:rgba(249,250,247,.97);color:var(--shop-navy);border-bottom:1px solid var(--shop-line);box-shadow:0 2px 12px #142c4910;backdrop-filter:blur(12px)}
.header-inner{height:100%;max-width:1440px;padding-inline:4%}
.site-header .brand,.site-header .header-actions .icon-btn,.site-header .menu-btn{color:var(--shop-navy)}
.primary-nav a{color:#40546a;opacity:1}.primary-nav a:hover{color:var(--shop-blue)}
.header-actions .icon-btn{position:relative}.header-actions .icon-btn:hover,.menu-btn:hover{background:#e8edf5}
.cart-count{position:absolute;top:4px;right:1px;transform:none}
.account-btn{display:inline-grid!important}
.mobile-menu{overflow-y:auto;padding-top:100px;padding-bottom:50px}.mobile-menu nav a{font-size:clamp(24px,5vw,36px);padding-block:12px}.mobile-foot{position:static;margin-top:32px;gap:16px;flex-wrap:wrap}
.shop-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:12px 20px;border:1px solid var(--shop-navy);border-radius:10px;background:var(--shop-navy);color:#fff;font-size:14px;font-weight:600;line-height:1.45;cursor:pointer;text-align:center}
.shop-button:hover{background:#254c77}.shop-button.secondary{background:#fff;color:var(--shop-navy);border-color:var(--shop-line)}.shop-button.secondary:hover{background:#f0f4fa}
.text-button,.back-link{color:#2555a3;font-size:14px;text-decoration:underline;text-underline-offset:4px}.text-button{border:0;background:transparent;cursor:pointer;min-height:44px;padding:4px}
.shop-product-page{background:#fafbf9;padding:108px 4% 64px;min-height:80vh}
.product-breadcrumb{max-width:1240px;margin:0 auto 24px;display:flex;align-items:center;gap:12px;color:var(--shop-muted);font-size:12px;min-width:0}.product-breadcrumb a{white-space:nowrap}.product-breadcrumb span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shop-product-detail{max-width:1240px;margin:auto;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:clamp(30px,5vw,76px);min-height:0;align-items:start}
.pdp-gallery{min-width:0;position:sticky;top:104px}
.pdp-stage{position:relative;background:#eef1f2;border:1px solid #e2e7e9;border-radius:18px;overflow:hidden}
.pdp-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;height:clamp(300px,calc(100svh - 260px),570px);touch-action:pan-x pan-y pinch-zoom}
.pdp-track::-webkit-scrollbar{display:none}
.pdp-slide{flex:0 0 100%;min-width:0;height:100%;scroll-snap-align:start;scroll-snap-stop:always;display:flex;align-items:center;justify-content:center;padding:24px 36px;cursor:zoom-in}
.pdp-slide img{width:100%;height:100%;object-fit:contain;user-select:none}
.gallery-arrow{position:absolute;top:calc(50% - 22px);width:44px;height:44px;display:grid;place-items:center;background:#ffffffeb;border:1px solid #d8e0e6;box-shadow:0 2px 8px #14283f0b;border-radius:50%;color:var(--shop-navy);font-size:30px;line-height:1;cursor:pointer}
.gallery-arrow.previous{left:12px}.gallery-arrow.next{right:12px}.gallery-arrow:hover{background:#fff;border-color:#506a88}
.gallery-counter{position:absolute;top:16px;left:16px;background:#fffffff2;padding:5px 10px;border-radius:20px;font-size:12px;color:#344a64;pointer-events:none}
.gallery-expand-hint{position:absolute;bottom:12px;right:14px;max-width:90%;background:#fffffff0;padding:6px 10px;border-radius:7px;font-size:11px;color:#40546a;pointer-events:none}
.gallery-thumbnails{position:relative;display:flex;gap:10px;overflow-x:auto;padding:14px 2px 8px;scrollbar-width:thin}
.gallery-thumbnails button{flex:0 0 72px;width:72px;height:80px;padding:5px;border:1px solid #d9e1e6;border-radius:10px;background:#fff;cursor:pointer}.gallery-thumbnails img{width:100%;height:100%;object-fit:contain}.gallery-thumbnails button[aria-pressed="true"]{border:2px solid #2c5ca6;background:#edf3fc}
.gallery-help{margin:4px 0;color:var(--shop-muted);font-size:12px}
.shop-product-panel{position:static;top:auto;padding:8px 0 0;height:auto;min-width:0;color:var(--shop-navy)}
.shop-product-panel .eyebrow{color:#5d6f82;font-size:11px;margin:0 0 18px}
.shop-product-panel h1{font:550 clamp(28px,3.1vw,46px)/1.12 Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:-.045em;margin:0 0 24px;overflow-wrap:anywhere}
.product-price-line{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.product-price-line .detail-price{font-size:26px;font-weight:650;letter-spacing:-.025em;margin:0}.product-price-line del{font-size:15px;color:#667485}
.product-availability{font-size:13px;color:#236849;margin:10px 0 26px}.product-availability::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;margin-right:8px}
.shop-product-panel .variant-group{border-top:1px solid var(--shop-line);padding-top:24px;margin-top:0}.shop-product-panel .variant-group label{font-size:13px;font-weight:600;letter-spacing:0;text-transform:none;margin-bottom:9px}
.shop-product-panel .variant-select{border:1px solid #c9d3df;border-radius:9px;color:var(--shop-navy);min-height:48px;padding:12px;font-size:15px}
.purchase-box{display:grid;grid-template-columns:130px minmax(0,1fr);gap:8px 16px;align-items:center;margin-top:22px}.purchase-box>label{grid-column:1/-1;font-size:13px;font-weight:600}
.quantity-control{height:50px;display:grid;grid-template-columns:40px minmax(0,1fr) 40px;border:1px solid #c9d3df;border-radius:10px;overflow:hidden;background:#fff}
.quantity-control button{border:0;background:transparent;font-size:21px;cursor:pointer;color:var(--shop-navy)}.quantity-control input{width:100%;min-width:0;border:0;text-align:center;color:var(--shop-navy);appearance:textfield;background:transparent}.quantity-control input::-webkit-inner-spin-button{appearance:none}
.purchase-box .add-btn{margin:0;min-height:50px;padding:14px 12px;background:var(--shop-navy);font-size:14px;letter-spacing:0;text-transform:none;font-weight:600;border-radius:10px;color:#fff}
.purchase-box .add-btn:disabled{opacity:.55}.purchase-help{font-size:12px;color:var(--shop-muted);margin:14px 0 30px}
.product-description{border-top:1px solid var(--shop-line);border-bottom:1px solid var(--shop-line);padding:18px 0}.product-description summary{font-size:15px;font-weight:600;cursor:pointer;min-height:28px}.product-description>div{font-size:14px;line-height:1.85;color:#566679;margin:14px 0 0;overflow-wrap:anywhere}.shop-product-panel .detail-meta{border:0;padding:0;margin-top:22px;font-size:12px;color:var(--shop-muted)}
body.photo-open{overflow:hidden}
.photo-dialog{width:min(1100px,96vw);max-width:96vw;height:min(850px,94svh);max-height:94svh;padding:0;border:1px solid #d7e0e8;border-radius:16px;background:#f8fafb;color:var(--shop-navy);overflow:hidden;box-shadow:0 30px 100px #0006;margin:auto}
.photo-dialog[open]{display:flex;flex-direction:column}.photo-dialog::backdrop{background:rgba(10,23,39,.85);backdrop-filter:blur(5px)}
.photo-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:8px 18px;border-bottom:1px solid var(--shop-line);background:#fff;flex-shrink:0;font-size:14px}
.photo-toolbar button,.photo-controls button{border:1px solid #cfdae4;border-radius:8px;background:#fff;min-width:44px;height:44px;padding:8px 12px;color:var(--shop-navy);cursor:pointer}.photo-controls button:disabled{opacity:.35;cursor:default}
.photo-viewport{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;touch-action:pan-y pinch-zoom}
.photo-canvas{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.photo-canvas img{max-width:none;width:100%;height:100%;object-fit:contain;user-select:none}
.photo-controls{padding:10px 18px;display:flex;gap:12px;align-items:center;justify-content:center;border-top:1px solid var(--shop-line);background:#fff;flex-shrink:0}.photo-controls label{display:flex;align-items:center;gap:12px;font-size:12px}.photo-controls input{width:clamp(70px,18vw,210px);accent-color:#285dcc;min-height:32px}.photo-controls output{width:42px;font-size:12px}.photo-controls>button:first-child,.photo-controls>button:last-child{font-size:24px}.photo-help{flex-shrink:0;margin:0;background:#fff;padding:0 18px 10px;text-align:center;font-size:11px;color:#566679}
.account-hero{min-height:190px;padding-top:36px;padding-bottom:36px}.account-hero h1{font-size:clamp(32px,4vw,52px);line-height:1.12}.account-nav{top:106px}.account-nav a{letter-spacing:.02em;text-transform:none;font-size:14px}.account-nav .active{color:var(--shop-blue)}
.address-section-head h2,.address-form-section h2{font-size:clamp(25px,3vw,34px);line-height:1.15;font-weight:550;letter-spacing:-.03em;margin:10px 0}.address-section-head p:not(.eyebrow){color:var(--shop-muted);font-size:14px}
.address-section-head{align-items:center;gap:20px;flex-wrap:wrap}.shop-address-grid{gap:18px}.shop-address-card{border:1px solid var(--shop-line);border-radius:14px;background:#fff;padding:22px;min-width:0;position:static}
.address-card-head{display:flex;gap:12px;justify-content:space-between;align-items:center;font-size:12px;color:var(--shop-muted);margin-bottom:18px}.shop-address-card .address-badge{position:static;display:inline-block;border-radius:12px;padding:4px 8px;background:#eaf1fc;color:#2857a3;letter-spacing:0;text-transform:none;font-size:11px}
.shop-address-card address{font-style:normal;display:grid;gap:4px;font-size:14px;color:#506278;overflow-wrap:anywhere}.shop-address-card address strong{font-size:15px;color:var(--shop-navy);margin-bottom:6px}
.shop-address-card .address-actions{display:flex;flex-wrap:wrap;align-items:flex-start;gap:4px 18px;border-top:1px solid #e7ecf0;margin-top:18px;padding-top:12px;font-size:13px}.address-actions form{margin:0}.address-actions button,.address-actions a,.delete-address summary{display:inline-flex;align-items:center;min-height:44px;font-size:13px;letter-spacing:0;text-transform:none;cursor:pointer;color:#2657a2}.address-actions button{background:transparent;border:0;padding:0}.delete-address summary{color:#9b3a3a}.delete-address form{padding:8px 12px;border:1px solid #eacccc;border-radius:8px;background:#fff7f7}.delete-address p{font-size:12px;margin:0}.delete-address button{color:#9b3a3a;font-weight:600}
.address-form-section{margin-top:32px;scroll-margin-top:104px}.address-editor{padding:24px;border:1px solid var(--shop-line);border-radius:14px;background:#fff}.form-help{font-size:13px;line-height:1.7;color:var(--shop-muted);margin:0 0 22px}
.address-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}.address-fields label{display:flex;flex-direction:column;gap:8px;color:var(--shop-navy);font-size:13px;font-weight:550;letter-spacing:0;text-transform:none;min-width:0}.address-fields .wide{grid-column:1/-1}.address-fields small{font-size:11px;font-weight:400;color:var(--shop-muted)}
.address-fields input{min-width:0;width:100%;border:1px solid #bdcbd8;border-radius:8px;min-height:48px;font-size:16px;padding:11px 12px;color:#192e46;background:#fff}.address-fields input:focus{border-color:#3868b6}.address-fields input[aria-invalid="true"]{border:2px solid #b13e3e}
.address-default-check{display:flex;gap:12px;align-items:center;margin:22px 0;font-size:14px;color:var(--shop-navy)}.address-default-check input{width:19px;height:19px;accent-color:var(--shop-blue);flex-shrink:0}
.form-actions{display:flex;gap:12px;flex-wrap:wrap}.field-error{color:#9f2d35;font-size:12px;font-weight:400}.form-error-summary{background:#fff1f1;border:1px solid #dba9ad;border-radius:9px;padding:16px;color:#8d2830;font-size:13px;margin-bottom:22px}.form-error-summary ul{padding-left:18px;margin-bottom:0}.form-error-summary a{text-decoration:underline}
.shop-checkout{padding-top:112px;background:#f5f7f8}.shop-checkout .checkout-wrap{width:min(1240px,calc(100% - 56px))}.checkout-progress{display:flex;gap:28px;font-size:12px;color:#63768a;flex-wrap:wrap;margin-bottom:24px}.checkout-progress strong{color:var(--shop-blue);font-weight:650}
.shop-checkout .checkout-head{padding-bottom:24px;border-color:var(--shop-line)}.shop-checkout .checkout-head h1{font:550 clamp(30px,3.4vw,46px)/1.12 Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:-.045em}.shop-checkout .checkout-head>p{font-size:14px;max-width:350px;color:var(--shop-muted)}.shop-checkout .eyebrow{color:#62738a;font-size:10px}
.shop-checkout .checkout-alert{border-radius:10px;margin-block:20px;padding:14px 18px;font-size:13px;line-height:1.65}.shop-checkout .checkout-alert.info{background:#fff9e9;border-color:#e5d59d;color:#695521}.shop-checkout .account-flash{margin-top:20px;border-radius:10px}
.shop-checkout .checkout-grid{grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr);gap:24px;padding-top:24px;align-items:start}.checkout-sections{display:grid;gap:24px;min-width:0}.shop-checkout .checkout-panel{border:1px solid var(--shop-line);border-radius:16px;background:#fff;padding:24px;min-width:0}
.checkout-section-title{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px}.shop-checkout .checkout-panel h2{font:600 20px/1.3 Inter,ui-sans-serif,system-ui,sans-serif;color:var(--shop-navy);margin:0;letter-spacing:-.02em}.checkout-section-title h2 span{color:#70829a;font-size:12px;margin-right:10px}.checkout-section-title>a{white-space:nowrap;font-size:13px;color:#2959a2;min-height:44px;display:flex;align-items:center}
.shop-checkout .checkout-address{gap:12px}.checkout-address-card{border:1px solid #d6e0ea;border-radius:11px;overflow:hidden;background:#fff}.checkout-address-card:has(input:checked){border:2px solid #3d6aad;background:#f6f9ff}.shop-checkout .checkout-address label{border:0;background:transparent;padding:17px;margin:0;display:flex;align-items:flex-start;gap:12px;cursor:pointer}.checkout-address label input{accent-color:var(--shop-blue);width:18px;height:18px;margin:3px 0 0;flex-shrink:0}.checkout-address-content{display:grid;gap:3px;font-size:14px;color:#5b6d80;overflow-wrap:anywhere;min-width:0}.checkout-address-content strong{color:var(--shop-navy);margin-bottom:3px}.checkout-address-content small{margin-top:5px;color:#2b5ca8;font-size:11px}.address-edit-link{display:inline-flex;align-items:center;min-height:44px;margin-left:47px;font-size:13px;color:#2959a2;padding-bottom:8px;text-decoration:underline;text-underline-offset:3px}
#delivery,#delivery-editor{scroll-margin-top:104px}.checkout-address-editor{margin-top:18px}.checkout-address-editor>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:14px;color:#2959a2;font-weight:600}.checkout-address-editor>summary::before{content:"+";margin-right:9px}.checkout-address-editor[open]>summary::before{content:"−"}.checkout-address-editor .address-editor{padding:18px;margin-top:10px;background:#fafcfe}.checkout-address-editor .address-fields{gap:16px}.address-manage-link{font-size:12px;margin:14px 0 0;color:#35639c}.address-manage-link a{text-decoration:underline;text-underline-offset:3px}
.shop-checkout .checkout-option{border:1px solid #d7e1eb;border-radius:11px;background:#fff;padding:17px;gap:14px}.shop-checkout .checkout-option:has(input:checked){border-color:#3d6aad;background:#f6f9ff}.shop-checkout .checkout-option.disabled{opacity:1;background:#f7f8fa;color:#788591}.shop-checkout .checkout-option.disabled small{color:#73808f}.checkout-option strong{font-size:14px}.checkout-option small{font-size:12px;line-height:1.6}.checkout-option input{width:17px;height:17px;accent-color:var(--shop-blue)}.payment-unavailable{font-size:13px;color:#596b7e;margin:20px 0 0;line-height:1.7}
.shop-checkout .order-review{position:sticky;top:104px}.shop-checkout .checkout-item{grid-template-columns:64px minmax(0,1fr) auto;gap:12px;border-color:#e3e8ed}.shop-checkout .checkout-item img{width:64px;height:76px;object-fit:contain;border-radius:8px;background:#f2f5f7}.shop-checkout .checkout-item strong{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.shop-checkout .checkout-item small{font-size:11px;color:#607287;line-height:1.5}.shop-checkout .checkout-item>strong{white-space:nowrap;font-size:12px}.shop-checkout .checkout-totals{font-size:14px;color:#4e6279}.shop-checkout .checkout-totals strong{color:var(--shop-navy);font-weight:600}.shop-checkout .checkout-totals .grand{font-size:20px;border-color:#dce3ea;padding-block:18px}.shop-checkout .checkout-submit{background:var(--shop-navy);border-radius:10px;min-height:50px;text-transform:none;letter-spacing:0;font-size:14px;font-weight:600;color:#fff}.shop-checkout .checkout-submit:disabled{opacity:.5}.checkout-fine-print{font-size:11px;text-align:center;color:var(--shop-muted);line-height:1.65;margin:12px 0 18px}.continue-shopping{display:block;text-align:center;font-size:13px;color:#2b5795}.checkout-empty .shop-button{margin:12px 8px 0 0}
.cart-panel{color:var(--shop-navy)}.cart-item h4{overflow-wrap:anywhere}.cart-item .qty-btn{min-width:36px;min-height:36px}.cart-item .remove-btn{min-height:36px}.cart-panel .cart-thumb{object-fit:contain}.notice{z-index:2500;max-width:calc(100vw - 32px)}
@media(max-width:1000px){.shop-product-detail{grid-template-columns:minmax(0,1fr) minmax(300px,.85fr);gap:30px}.shop-checkout .checkout-grid{grid-template-columns:minmax(0,1fr) minmax(310px,.8fr);gap:18px}.shop-checkout .checkout-panel{padding:20px}.shop-checkout .checkout-item{grid-template-columns:55px minmax(0,1fr)}.shop-checkout .checkout-item>strong{grid-column:2}.shop-checkout .checkout-item img{width:55px;height:66px}}
@media(max-width:850px){.shop-product-detail{grid-template-columns:1fr;gap:30px}.pdp-gallery{position:static}.pdp-track{height:clamp(300px,56svh,500px)}.shop-product-panel{padding-top:0}.shop-product-panel h1{font-size:34px}.shop-checkout .checkout-grid{grid-template-columns:1fr}.shop-checkout .order-review{position:static}.shop-checkout .checkout-head{flex-direction:column;align-items:flex-start;gap:4px}.shop-checkout .checkout-head>p{max-width:none;margin-bottom:0}.account-nav{position:static;display:flex;flex-direction:row;gap:20px;overflow-x:auto}.account-nav a{flex-shrink:0}.account-logout{flex-shrink:0}.account-layout{grid-template-columns:1fr}.account-nav .account-logout button{white-space:nowrap}.shop-checkout .checkout-item{grid-template-columns:64px minmax(0,1fr) auto}.shop-checkout .checkout-item>strong{grid-column:auto}}
@media(max-width:600px){.site-header,.site-header.scrolled{height:72px}.header-inner{padding-inline:16px;gap:8px}.brand{font-size:11px;letter-spacing:.1em;gap:8px}.brand-mark{width:39px;height:32px}.header-actions{gap:0}.header-actions .icon-btn,.menu-btn{width:40px;height:44px}.shop-product-page{padding:92px 16px 44px}.product-breadcrumb{margin-bottom:18px;font-size:11px}.pdp-track{height:clamp(260px,44svh,360px)}.pdp-slide{padding:22px 32px}.pdp-stage{border-radius:12px}.gallery-arrow.previous{left:6px}.gallery-arrow.next{right:6px}.gallery-arrow{width:40px;height:44px}.gallery-thumbnails{gap:8px}.gallery-thumbnails button{flex-basis:60px;width:60px;height:68px}.gallery-expand-hint{font-size:10px}.gallery-help{font-size:11px}.shop-product-panel h1{font-size:30px;margin-bottom:18px}.product-price-line .detail-price{font-size:24px}.purchase-box{grid-template-columns:118px minmax(0,1fr);gap:8px 10px}.quantity-control{grid-template-columns:34px minmax(0,1fr) 34px}.purchase-box .add-btn{font-size:13px}.shop-product-detail{gap:24px}.photo-dialog{width:100vw;max-width:100vw;height:100svh;max-height:100svh;border-radius:0;border:0}.photo-toolbar{padding:8px 12px;padding-top:max(8px,env(safe-area-inset-top))}.photo-controls{gap:7px;padding:9px 10px}.photo-controls label{gap:5px;font-size:11px}.photo-controls input{width:75px}.photo-controls button{padding:6px;min-width:40px}.photo-controls output{width:36px;font-size:11px}.photo-help{padding-bottom:max(12px,env(safe-area-inset-bottom));font-size:10px}.address-fields{grid-template-columns:1fr}.address-fields .wide{grid-column:auto}.address-editor{padding:18px}.address-fields{gap:18px}.form-actions{flex-direction:column}.form-actions .shop-button{width:100%}.address-card-head{align-items:flex-start}.shop-checkout{padding-top:94px}.shop-checkout .checkout-wrap{width:calc(100% - 28px)}.checkout-progress{gap:12px;font-size:10px;justify-content:space-between;margin-bottom:24px}.shop-checkout .checkout-head h1{font-size:32px}.shop-checkout .checkout-head{padding-bottom:18px}.shop-checkout .checkout-head>p{font-size:13px}.shop-checkout .checkout-alert{font-size:12px;padding:13px}.shop-checkout .checkout-panel{padding:18px;border-radius:12px}.shop-checkout .checkout-panel h2{font-size:18px}.checkout-section-title{gap:10px}.checkout-section-title h2 span{display:none}.checkout-section-title>a{font-size:12px}.shop-checkout .checkout-address label{padding:14px;gap:10px}.checkout-address-content{font-size:13px}.address-edit-link{margin-left:42px}.checkout-address-editor .address-editor{padding:14px}.shop-checkout .checkout-item{grid-template-columns:54px minmax(0,1fr)}.shop-checkout .checkout-item>strong{grid-column:2}.shop-checkout .checkout-item img{width:54px;height:65px}.address-section-head .shop-button{width:100%}.account-hero{min-height:160px}.account-hero h1{font-size:34px}.account-identity small{overflow-wrap:anywhere}.account-hero .eyebrow{font-size:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.pdp-track{scroll-behavior:auto}.site-header{transition:none}}
