/* Shared venue product pages. Scoped to avoid changing collections, cart or checkout. */
.otm-store-shell .otm-product-page{--ink:var(--otm-detail-ink);color:var(--ink);padding:24px 0 56px}
.otm-product-page .otm-back{margin-bottom:20px;font-size:15px;font-weight:700;line-height:1.5;padding:5px 0}
.otm-product-page .otm-product-layout{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:clamp(28px,4vw,56px);align-items:start}
.otm-product-page .otm-product-summary{padding:12px 0;min-width:0}
.otm-store-shell .otm-product-page h1{font-size:clamp(32px,3.2vw,42px);line-height:1.05;margin:8px 0 14px;overflow-wrap:break-word}
.otm-product-page .otm-label{font-size:10px;letter-spacing:1.3px;margin-bottom:8px!important}
.otm-product-page .otm-product-brand{font-size:12px;line-height:1.5;margin:0 0 8px;color:var(--muted)}
.otm-product-page .otm-price{font-size:24px;line-height:1.35;margin:0 0 20px}
.otm-product-page .otm-product-description{font-size:13px;margin:0 0 18px}
.otm-product-page .otm-product-description:empty{display:none}
.otm-detail-gallery{min-width:0;max-width:100%}
.otm-gallery-stage{position:relative}
.otm-gallery-track{display:flex;width:100%;height:clamp(340px,48vw,460px);overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;touch-action:pan-x pan-y pinch-zoom;border-radius:3px}
.otm-gallery-track::-webkit-scrollbar,.otm-gallery-thumbs::-webkit-scrollbar{display:none}
.otm-gallery-slide{flex:0 0 100%;min-width:0;height:100%;display:flex;align-items:center;justify-content:center;scroll-snap-align:start;scroll-snap-stop:always;padding:4px 12px}
.otm-store-shell .otm-gallery-slide>img,.otm-store-shell .otm-gallery-slide>svg{width:100%;height:100%;max-height:100%;object-fit:contain;display:block;margin:0;mix-blend-mode:multiply}
.otm-store-shell .otm-product-page button.otm-gallery-arrow{position:static;transform:none;display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:3px;background:transparent;color:var(--ink);box-shadow:none;cursor:pointer}
.otm-store-shell .otm-product-page button.otm-gallery-arrow svg{display:block;width:18px;height:18px;flex:none}
.otm-store-shell .otm-product-page button.otm-gallery-arrow:hover{background:rgba(0,0,0,.05);color:var(--ink)}
.otm-gallery-meta{display:flex;align-items:center;justify-content:center;gap:4px;margin:4px 0;font-size:11px;line-height:1.4;color:var(--muted)}
.otm-gallery-count{min-width:76px;text-align:center;font-variant-numeric:tabular-nums}
.otm-gallery-thumbs{position:relative;display:flex;gap:8px;max-width:100%;overflow-x:auto;scrollbar-width:none;padding:2px 1px 5px;overscroll-behavior-x:contain}
.otm-store-shell .otm-product-page button.otm-gallery-thumb{display:block;flex:0 0 60px;width:60px;height:68px;min-height:0;padding:4px;background:transparent;border:1px solid transparent;border-radius:3px;box-shadow:none;cursor:pointer}
.otm-store-shell .otm-product-page button.otm-gallery-thumb[aria-pressed=true]{border-color:var(--ink)}
.otm-store-shell .otm-product-page button.otm-gallery-thumb:hover{border-color:var(--muted)}
.otm-store-shell .otm-gallery-thumb img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.otm-gallery-caption{font-size:11px;line-height:1.5;color:var(--muted);margin-top:12px!important}
.otm-product-page [hidden]{display:none!important}
.otm-product-page .otm-buy-form{margin:20px 0 0}
.otm-buy-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.otm-product-page .otm-buy-field{min-width:0}
.otm-product-page .otm-buy-field label{display:block;font-size:12px;font-weight:600;line-height:1.4;margin:0 0 7px;color:var(--ink)}
.otm-select-wrap{position:relative}
.otm-select-wrap:after{content:'';position:absolute;right:14px;top:17px;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);pointer-events:none}
.otm-store-shell .otm-product-page .otm-buy-form select,.otm-store-shell .otm-product-page .otm-buy-form input[type=number]{appearance:none;-webkit-appearance:none;display:block;width:100%;height:44px;min-height:44px;padding:0 38px 0 14px;border:1px solid var(--line);border-radius:3px;background:transparent;background-image:none;color:var(--ink);font-family:inherit;font-size:14px;font-weight:400;line-height:normal;letter-spacing:0;box-shadow:none;margin:0}
.otm-store-shell .otm-product-page .otm-buy-form select:hover,.otm-store-shell .otm-product-page .otm-buy-form input:hover{border-color:var(--muted)}
.otm-store-shell .otm-product-page :is(select,input,button):focus-visible,.otm-store-shell .otm-product-page .otm-gallery-track:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.otm-product-page .otm-buy-row{display:grid;grid-template-columns:64px minmax(0,180px);gap:12px;align-items:end;margin-top:16px}
.otm-store-shell .otm-product-page .otm-buy-form input[type=number]{padding:0 10px;text-align:center}
.otm-store-shell .otm-product-page button.otm-add-to-cart{display:flex;align-items:center;justify-content:center;gap:0;width:100%;min-height:44px;height:44px;padding:0 20px;border:1px solid var(--ink);border-radius:3px;background:var(--ink);color:var(--paper)!important;font:600 12px/1.4 Montserrat,Arial,sans-serif;letter-spacing:.5px;text-transform:none;box-shadow:none;cursor:pointer;transition:opacity .15s}
.otm-store-shell .otm-product-page button.otm-add-to-cart:hover{background:var(--ink);color:var(--paper)!important;opacity:.85}
.otm-store-shell .otm-product-page button.otm-add-to-cart:disabled{cursor:not-allowed;opacity:.5}
.otm-product-page .otm-selection-status{font-size:12px;margin-top:12px;line-height:1.5}
.otm-product-page .otm-selection-status:empty{display:none}
.otm-product-page .otm-product-notes{padding:16px 0;margin-top:22px;font-size:11px;line-height:1.6}
.otm-product-page .otm-product-notes p+p{margin-top:5px}
.otm-product-page .otm-details{padding:15px 0;font-size:13px}
.otm-product-page .otm-details summary{display:flex;justify-content:space-between;gap:16px;list-style:none;font-weight:600}
.otm-product-page .otm-details summary::-webkit-details-marker{display:none}
.otm-product-page .otm-details summary:after{content:'+';font-size:18px;line-height:1}
.otm-product-page .otm-details[open] summary:after{content:'−'}
.otm-product-page .otm-details p{font-size:13px;line-height:1.65}
@media(min-width:1100px){.otm-product-page .otm-gallery-track{height:min(460px,58vh);min-height:340px}}
@media(max-width:760px){.otm-store-shell .otm-product-page{width:92%;padding-top:18px}.otm-product-page .otm-product-layout{grid-template-columns:minmax(0,1fr);gap:22px}.otm-product-page .otm-gallery-track{height:clamp(300px,90vw,430px)}.otm-product-page .otm-product-summary{padding:0}.otm-store-shell .otm-product-page h1{font-size:36px}.otm-product-page .otm-back{margin-bottom:14px}.otm-product-page .otm-price{margin-bottom:16px}.otm-product-page .otm-buy-form{margin-top:16px}.otm-store-shell .otm-product-page .otm-buy-form select,.otm-store-shell .otm-product-page .otm-buy-form input[type=number]{font-size:16px}.otm-gallery-meta{margin-top:8px}.otm-store-shell .otm-product-page button.otm-gallery-thumb{flex-basis:52px;width:52px;height:58px}}
@media(max-width:360px){.otm-buy-options{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.otm-product-page *{scroll-behavior:auto!important;transition:none!important}}

/* Named colors stay visible; the native select remains the form's source of truth. */
.otm-product-page .otm-buy-color{grid-column:1/-1;order:-1}
.otm-detail-colors{display:flex;flex-wrap:wrap;gap:8px}
.otm-store-shell .otm-product-page button.otm-detail-color{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 12px;margin:0;border:1px solid var(--line);border-radius:3px;background:transparent;color:var(--ink);font-family:inherit;font-size:13px;font-weight:500;line-height:1.4;letter-spacing:0;text-transform:none;box-shadow:none;cursor:pointer}
.otm-store-shell .otm-product-page button.otm-detail-color[aria-pressed=true]{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink);font-weight:600}
.otm-store-shell .otm-product-page button.otm-detail-color:hover{border-color:var(--ink)}
.otm-store-shell .otm-product-page button.otm-detail-color:disabled{opacity:.45;cursor:not-allowed;text-decoration:line-through}
.otm-detail-color-dot{width:18px;height:18px;flex:0 0 18px;border:1px solid #0003;border-radius:50%}
.otm-product-page .otm-color-select-fallback{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* Real quick add shares the product form and its existing server-side cart checks. */
.otm-store-shell .otm-card-buy .otm-quick-open{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 18px;border:1px solid currentColor;border-radius:3px;background:transparent;font:600 12px/1.4 Montserrat,Arial,sans-serif;letter-spacing:.3px;text-align:center}
.otm-store-shell .otm-card-buy .otm-quick-open:hover{background:rgba(0,0,0,.05)}
.otm-store-shell dialog.otm-quick-add{width:min(520px,calc(100% - 32px));max-width:none;max-height:90dvh;margin:auto;padding:0;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);overflow:auto;box-shadow:0 16px 60px #0003}
.otm-quick-add::backdrop{background:rgba(10,20,16,.55)}
body:has(dialog.otm-quick-add[open]){overflow:hidden}
.otm-store-shell .otm-product-page.otm-quick-content{position:relative;width:100%;margin:0;padding:26px}
.otm-store-shell .otm-quick-content .otm-label{padding-right:35px}
.otm-store-shell .otm-quick-heading{display:grid;grid-template-columns:110px minmax(0,1fr);gap:18px;align-items:center;margin-top:12px}
.otm-store-shell .otm-quick-heading h2{font-size:28px;line-height:1.05;margin:0 0 10px}
.otm-store-shell .otm-quick-image{width:110px;height:135px;object-fit:contain;mix-blend-mode:multiply}
.otm-store-shell .otm-quick-content .otm-price{font-size:20px;margin-bottom:6px}
.otm-store-shell .otm-quick-details{font-size:12px;text-decoration:underline;text-underline-offset:3px}
.otm-store-shell button.otm-quick-close{position:absolute;right:10px;top:10px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;background:transparent;color:var(--ink);box-shadow:none;cursor:pointer}
.otm-quick-success{padding-top:22px}
.otm-quick-success p{font-size:15px;font-weight:600}
.otm-quick-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.otm-store-shell .otm-quick-actions button,.otm-store-shell .otm-quick-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid var(--ink);border-radius:3px;background:transparent;color:var(--ink);font:600 12px/1.4 Montserrat,Arial,sans-serif;letter-spacing:0;box-shadow:none;cursor:pointer}
.otm-store-shell .otm-quick-actions a{background:var(--ink);color:var(--paper)}
@media(max-width:480px){.otm-store-shell .otm-product-page.otm-quick-content{padding:22px 18px}.otm-store-shell .otm-quick-heading{grid-template-columns:80px minmax(0,1fr);gap:12px}.otm-store-shell .otm-quick-image{width:80px;height:110px}.otm-store-shell .otm-quick-heading h2{font-size:25px}.otm-store-shell .otm-quick-content .otm-product-brand{font-size:11px}}
