.shop-hero{background:#f2eae0;position:relative;overflow:hidden;border-bottom:1px solid #e0d5c8}.shop-hero-inner{display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:40px;min-height:335px;padding-block:66px}.shop-hero h1{font:400 clamp(3rem,5.5vw,5.25rem)/1.08 var(--serif);color:var(--deep);letter-spacing:-.035em;margin:0 0 18px}.shop-hero h1 em,.shop-next h2 em{color:var(--mountain)}.shop-hero p:not(.eyebrow){color:var(--muted);max-width:560px;font-size:1.04rem;margin:0}.shop-hero-art{height:230px;position:relative;isolation:isolate}.sun{position:absolute;width:130px;height:130px;border-radius:50%;background:#efbaa0;top:5px;right:95px}.ridge{position:absolute;bottom:10px;width:100%;height:145px;clip-path:polygon(0 95%,23% 45%,39% 66%,63% 20%,82% 53%,100% 31%,100% 100%,0 100%)}.ridge-back{background:#99bab7;transform:translateY(-15px);opacity:.8}.ridge-front{background:#547e8c;clip-path:polygon(0 70%,17% 35%,32% 59%,55% 24%,73% 64%,90% 30%,100% 50%,100% 100%,0 100%)}.spark{position:absolute;color:#d9997e;font-size:2.4rem}.spark-one{left:15%;top:17%}.spark-two{right:4%;top:35%;color:var(--deep)}.shop-content{padding-block:56px 105px}.preview-notice{display:flex;gap:15px;background:#edf2ed;border:1px solid #d3e1d7;padding:20px 24px;margin-bottom:64px;color:var(--deep)}.preview-notice>span{font-size:1.5rem;color:#bd896e;line-height:1.1}.preview-notice strong{font-size:.98rem}.preview-notice p{margin:5px 0 0;font-size:.87rem;color:#4b6163}.preview-notice a{text-decoration:underline;text-underline-offset:3px;font-weight:700}.shop-section-head{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:22px}.shop-section-head h2{font:400 clamp(2.3rem,4.2vw,3.6rem)/1.1 var(--serif);color:var(--deep);margin:0}.shop-section-head>p{color:var(--muted);font-size:.85rem;margin:0 0 5px}.shop-controls{display:flex;justify-content:space-between;gap:18px;align-items:end;flex-wrap:wrap;margin-bottom:32px;padding-bottom:26px;border-bottom:1px solid #ddd9d1}.shop-filters{display:flex;gap:9px;flex-wrap:wrap}.filter-pill{border:1px solid #c9d5d0;border-radius:100px;padding:11px 15px;background:transparent;color:var(--deep);font:600 .82rem var(--sans);cursor:pointer}.filter-pill:hover{background:#e6eee8}.filter-pill.is-active{color:white;background:var(--deep);border-color:var(--deep)}.shop-search-sort{display:flex;gap:12px;align-items:end}.search-field,.sort-field{display:flex;flex-direction:column;gap:5px;color:var(--muted);font-size:.76rem;font-weight:700}.shop-search-sort input,.shop-search-sort select{font:500 .86rem var(--sans);border:1px solid #cbd7d1;background:#fffefa;border-radius:3px;padding:11px 12px;color:var(--deep);height:44px}.search-field input{width:205px}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.product-card{border:1px solid #e2ddd5;background:#fffaf3;overflow:hidden;box-shadow:0 6px 18px rgba(31,64,66,.04)}.product-visual{height:215px;display:grid;place-items:center;position:relative;overflow:hidden}.palette-sage{background:linear-gradient(145deg,#d1e5db,#edf0e7)}.palette-peach{background:linear-gradient(145deg,#eed2c4,#f8eee6)}.palette-blue{background:linear-gradient(145deg,#cadee2,#e9efec)}.palette-wood{background:linear-gradient(145deg,#e4d5bf,#f7efe2)}.product-visual svg{width:65%;max-width:165px;max-height:150px;filter:drop-shadow(0 8px 9px rgba(20,56,65,.1))}.preview-stamp{position:absolute;top:12px;left:12px;background:#fffcf5;padding:5px 9px;color:var(--deep);font-weight:700;font-size:.62rem;letter-spacing:.075em;text-transform:uppercase}.product-copy{padding:19px 20px 23px}.product-type{color:#997b5e;font-size:.69rem;letter-spacing:.08em;text-transform:uppercase;font-weight:700}.product-copy h3{font:400 1.35rem/1.18 var(--serif);color:var(--deep);margin:9px 0}.product-copy p{font-size:.83rem;color:#52676a;line-height:1.65;margin:0 0 17px;min-height:83px}.product-state{border-top:1px solid #e4dcd2;padding-top:12px;color:var(--mountain);font-size:.76rem;font-weight:700}.no-results{text-align:center;padding:45px 15px}.no-results h3{font:400 2rem var(--serif);color:var(--deep)}.no-results .button{border:1px solid #cfccc6;cursor:pointer}.shop-next{background:var(--deep);color:white}.shop-next-inner{padding-block:70px;display:flex;justify-content:space-between;align-items:center;gap:55px}.shop-next h2{font:400 clamp(2.3rem,4vw,3.4rem)/1.12 var(--serif);margin:0 0 13px}.shop-next p:not(.eyebrow){color:#e0e8e6;max-width:620px;margin:0}.shop-next .button{white-space:nowrap}.no-js{padding:18px;background:#ffedcb}.primary-nav [aria-current="page"]{text-decoration:underline;text-decoration-color:var(--peach);text-underline-offset:7px}@media(max-width:1100px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.shop-hero-inner{grid-template-columns:1fr;min-height:0;padding-block:58px 32px;gap:0}.shop-hero-art{height:140px;max-width:350px;width:100%;margin:auto}.sun{width:85px;height:85px}.ridge{height:110px}.shop-section-head{display:block}.shop-section-head>p{margin-top:15px}.shop-controls{align-items:stretch}.shop-search-sort{width:100%}.search-field{flex:1}.search-field input{width:100%;min-width:0}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.product-visual{height:170px}.product-copy{padding:15px}.product-copy p{min-height:110px}.shop-next-inner{display:block}.shop-next .button{margin-top:25px}.shop-content{padding-block:40px 75px}.preview-notice{margin-bottom:45px}}@media(max-width:470px){.product-grid{grid-template-columns:1fr}.product-visual{height:225px}.product-copy p{min-height:0}.sort-field select{max-width:140px}.shop-hero h1{font-size:2.85rem}}
[hidden]{display:none!important}

/* V5: product browsing and inquiry details */
.details-button{margin-top:16px;padding:11px 15px;border:1px solid #20475a;background:transparent;color:#20475a;font:700 .82rem var(--sans);cursor:pointer;width:100%;text-align:center}
.details-button:hover,.details-button:focus-visible{background:#20475a;color:white}
.product-help{margin-top:25px;text-align:center;color:var(--muted);font-size:.86rem}
.product-visual img,.detail-visual img{width:100%;height:100%;object-fit:cover}
.product-dialog{width:min(910px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:0;border:0;background:#fffaf3;color:var(--deep);box-shadow:0 25px 80px #102b3780;overflow:auto}
.product-dialog::backdrop{background:#102b37ae;backdrop-filter:blur(3px)}
.detail-layout{display:grid;grid-template-columns:42% 58%}
.detail-visual{min-height:470px;display:grid;place-items:center}
.detail-visual svg{width:65%;max-width:255px;filter:drop-shadow(0 10px 15px #17374722)}
.detail-content{padding:42px 44px;position:relative}
.detail-close{position:absolute;right:17px;top:12px;border:0;background:transparent;color:var(--deep);font-size:1.4rem;cursor:pointer;padding:9px}
.detail-content h2{font:400 clamp(2rem,3vw,2.8rem)/1.1 var(--serif);margin:8px 0 16px}
.detail-content>p:not(.eyebrow){color:#52676a;font-size:.95rem;line-height:1.65}
.detail-disclaimer{padding:14px 16px;background:#edf2ed;border-left:3px solid #83a59a}
.detail-disclaimer > p {margin:0;}
.detail-disclaimer > p + p {margin-top:.55rem;}
.detail-field{display:flex;flex-direction:column;gap:8px;font-size:.84rem;font-weight:700;margin:18px 0;color:var(--deep)}
.detail-field input,.detail-field textarea{font:400 .9rem var(--sans);color:var(--deep);border:1px solid #b9ccc5;padding:11px;background:white;border-radius:3px}
.detail-field input{max-width:140px}
.detail-field textarea{resize:vertical}
.detail-content .button-dark{border:0;cursor:pointer;background:var(--deep);color:white;padding:13px 17px;font:700 .83rem var(--sans)}
@media(max-width:650px){.detail-layout{grid-template-columns:1fr}.detail-visual{min-height:190px;max-height:220px}.detail-visual svg{max-height:165px}.detail-content{padding:27px 23px}.detail-close{top:7px;right:8px}}

/* Version 6: real product photo gallery */
.product-visual img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.product-visual{overflow:hidden;position:relative;min-height:240px}
.preview-stamp{position:absolute;top:12px;left:12px;z-index:2;background:rgba(255,250,243,.95);color:#24495b;padding:6px 10px;border-radius:99px;font-size:11px;letter-spacing:.03em}
.detail-visual{display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:12px;min-height:330px;padding:14px}
.detail-visual>img{width:100%;height:min(58vh,500px);object-fit:contain;border-radius:9px;background:#f5f1eb}
.detail-thumbnails{display:flex;gap:8px;overflow-x:auto;padding:0 2px 7px}
.detail-thumbnails button{appearance:none;border:2px solid transparent;background:#fff;border-radius:8px;padding:2px;flex:0 0 66px;cursor:pointer}
.detail-thumbnails button.selected{border-color:#386b79}
.detail-thumbnails img{width:60px;height:60px;object-fit:cover;border-radius:5px;display:block}

/* Version 7 — interactive preview shopping (intentionally no prices or checkout) */
.cart-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#f4f0e8;border:1px solid #e2ded5;padding:13px 18px;margin:0 0 30px;color:#244959;font-size:.86rem}
.cart-open-button{border:1px solid #20475a;background:#20475a;color:#fff;border-radius:4px;font-weight:700;padding:11px 16px;cursor:pointer}
#cart-count{display:inline-grid;place-items:center;min-width:25px;height:25px;border-radius:99px;background:#e8ad93;color:#173747;margin-left:8px;padding:0 6px}
.detail-options{border-top:1px solid #d5e0d8;padding-top:10px;margin-top:20px}
.detail-options h3{font:400 1.4rem var(--serif);margin:10px 0 18px}
.detail-field select{width:100%}
.swatch-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(74px,1fr));gap:8px;margin:10px 0}
.swatch-button{border:1px solid #c5d0cb;background:#fffaf5;border-radius:8px;padding:8px 5px;color:#20475a;font:600 .7rem var(--sans);cursor:pointer;min-height:82px;display:flex;flex-direction:column;align-items:center;gap:5px}
.swatch-button.chosen{outline:2px solid #20475a;outline-offset:1px;background:#e9f0ed}
.swatch-color{display:block;width:36px;height:36px;border-radius:100%;border:1px solid #a6b4ac;box-shadow:inset 0 0 1px #0005}
.swatch-note{font-size:.75rem!important;line-height:1.5!important;color:#607474!important;margin:8px 0 13px}
.option-caption{font-weight:700;font-size:.8rem;color:#244959;margin-top:12px}
#add-preview-cart,#titan-save{width:100%;margin-top:5px}
#interest-form .details-button{margin-top:12px}
.cart-dialog{width:min(650px,calc(100% - 30px));max-height:85vh;overflow:auto;background:#fffaf4;color:#20475a;padding:28px;border:0;box-shadow:0 20px 75px #102b3780}
.cart-dialog::backdrop{background:#102b37bb}
.cart-header{display:flex;justify-content:space-between;align-items:start;position:relative;padding-right:35px}
.cart-header h2{font:400 2.3rem var(--serif);margin:6px 0 17px}
.cart-alert{background:#e8eee7;border-left:4px solid #6f9387;padding:12px 15px;font-size:.85rem;line-height:1.5}
.cart-line{padding:17px 5px;border-bottom:1px solid #dae3df}
.cart-line strong{font:700 1rem var(--sans)}
.cart-line p{font-size:.78rem;color:#5c7072;line-height:1.5;margin:7px 0}
.cart-remove{border:0;background:none;color:#875345;text-decoration:underline;cursor:pointer;padding:2px 0}
.cart-actions{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding-top:18px}
.cart-actions .details-button{width:auto;margin:0}
.cart-actions button:disabled{opacity:.52;cursor:not-allowed}
.empty-cart{padding:28px 8px;color:#607474;text-align:center}
@media(max-width:680px){.cart-toolbar{align-items:stretch;flex-direction:column}.detail-visual>img{height:260px}.detail-visual{max-height:none}.detail-layout{display:block}}


/* Version 7.3 — Stable, fully visible product photography on desktop and mobile.
   No image zoom, expansion, overlays, or hidden card content. */
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product-card { display:flex; flex-direction:column; min-height:0; position:static; transition:none; }
.product-visual {
  display:flex; align-items:center; justify-content:center;
  width:100%; height:350px; min-height:0; overflow:hidden;
  position:relative; background:#f3f0ea;
}
.product-visual img {
  width:100%; height:100%; display:block;
  object-fit:contain; object-position:center center;
  padding:10px; box-sizing:border-box;
  transform:none!important; transition:none!important;
}
.product-card:hover .product-visual,
.product-card:focus-within .product-visual {height:350px; min-height:0; position:relative; inset:auto; width:100%;}
.product-card:hover .product-visual img,
.product-card:focus-within .product-visual img {transform:none!important;}
.product-card:hover .product-copy,
.product-card:focus-within .product-copy {opacity:1; pointer-events:auto;}
.product-copy {display:flex; flex-direction:column; flex:1; opacity:1; pointer-events:auto; transition:none;}
.product-copy p {min-height:0; margin-bottom:18px;}
.product-state {margin-top:auto;}
.card-hover-action {display:none!important;}
.preview-stamp {font-size:.6rem; top:10px; left:10px;}
@media (max-width:1050px) {
  .product-grid {grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px;}
  .product-visual, .product-card:hover .product-visual, .product-card:focus-within .product-visual {height:365px;}
}
@media (max-width:650px) {
  .product-grid {grid-template-columns:1fr; gap:20px;}
  .product-visual, .product-card:hover .product-visual, .product-card:focus-within .product-visual {height:400px;}
  .product-visual img {padding:7px;}
  .product-copy {padding:18px 20px 22px;}
  .product-copy h3 {font-size:1.55rem;}
  .product-copy p {font-size:.92rem; line-height:1.55;}
  .details-button {min-height:48px;}
}
@media (max-width:390px) {
  .product-visual, .product-card:hover .product-visual, .product-card:focus-within .product-visual {height:350px;}
}


/* Standalone photo editor. All face and wrap guides remain display-only. */
#titan-grid,.bundle-photo-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; align-items:start; }
#titan-photo-entries { display:contents; }
.bundle-photo-slot { min-width:0; overflow-wrap:anywhere; }
.photo-add-tile { box-sizing:border-box; width:100%;min-width:0;margin:0;align-self:start; text-align:center; padding:.5rem; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.5rem; position:relative; aspect-ratio:1; border:2px dashed #78958a; border-radius:6px; background:#f2f5ef; color:var(--deep); cursor:pointer; }
.photo-add-tile span { font-size:2rem; line-height:1; }
.photo-add-tile:focus-within, .crop-editor summary:focus-visible { outline:3px solid var(--deep); outline-offset:2px; }
.photo-add-tile[hidden] { display:none; }
.crop-editor summary { cursor:pointer; padding:12px 0; font-weight:700; }
.crop-editor { min-width:0; }
.crop-editor input[type=range],.configuration-summary { width:100%; }
#titan-grid input[type=number] { width:100%; max-width:100%; }
#titan-grid .bundle-photo-remove { min-height:44px; }
.letter-colors { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr)); gap:.6rem; }
.letter-colors select,.option-select { max-width:100%; }
.configuration-summary { overflow-wrap:anywhere; }
@media(min-width:681px) {
  #product-dialog.photo-editor-dialog .detail-layout:not(:has(.detail-visual > img)) { grid-template-columns:1fr; }
  #product-dialog.photo-editor-dialog .detail-visual:not(:has(>img)) { display:none; }
}
@media(max-width:680px) {
  #titan-grid,.bundle-photo-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  #titan-photo-draft,#bundle-photo-uploads { padding-inline:10px; }
  .photo-editor-dialog .detail-visual:not(:has(>img)) { display:none; }
}
/* V7.4 — preview cart products and compatible magnet cross-link */
.cart-line {display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;column-gap:18px;padding:19px 5px;min-height:114px;}
.cart-item-thumbnail,.cart-item-placeholder {display:block;width:88px;height:88px;object-fit:contain;object-position:center;background:#f1f0e9;border:1px solid #e4e1d8;border-radius:8px;}
.cart-item-placeholder {display:grid;place-items:center;color:#7a9b90;font-size:2rem;}
.cart-item-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;}
.cart-item-copy strong{line-height:1.3;}
.cart-item-copy p{margin:0;}
.cart-item-copy .cart-remove{line-height:1.3;}
.frame-magnet-link{display:block;width:100%;margin:16px 0;background:#edf3ef;border:1px solid #acc4b9;color:#20475a;padding:14px 16px;text-align:left;font:600 .82rem var(--sans);cursor:pointer;border-radius:5px;}
.frame-magnet-link:hover,.frame-magnet-link:focus-visible{background:#dfebe5;}
@media(max-width:520px){.cart-line{grid-template-columns:72px minmax(0,1fr);gap:12px}.cart-item-thumbnail,.cart-item-placeholder{width:72px;height:72px}}

/* V8.1 hidden-by-default Sandbox controls; does not alter product cards. */
#sandbox-cart-checkout[hidden]{display:none!important;}
#sandbox-cart-checkout{font-size:.8rem;max-width:260px;white-space:normal;}
.cart-test-note,.cart-test-status{font:normal .78rem/1.55 var(--sans);margin:10px 0;color:#405a60;}
.cart-test-note{padding:11px 14px;background:#f7efe4;border-left:3px solid #ad7d55;}

/* V9.2: compact contextual message for draft-price sorting; storefront prices remain unpublished. */
.price-sort-note { margin: -8px 0 16px; color: var(--muted, #62706f); font-size: .85rem; line-height: 1.5; }

/* V9.3: frame/bundle browsing links follow quantity selection, not color configuration. */
.detail-related:empty{display:none}
.detail-related:not(:empty){border-top:1px solid #d5e0d8;margin:20px 0 22px;padding-top:18px}
.detail-related h3{font:400 1.4rem var(--serif);margin:0 0 14px;color:var(--deep)}
.detail-related .frame-magnet-link{margin:12px 0}
.detail-related .swatch-note{margin:12px 0 18px}

/* V9.4: embedded, browser-only four-photo bundle selector */
.bundle-photo-uploads{margin:20px 0;padding:20px 17px;border:1px solid #c9d9d0;border-radius:10px;background:#f3f7f2;color:var(--deep)}
.bundle-photo-uploads[hidden]{display:none!important}
.bundle-photo-uploads h3{font:400 1.45rem var(--serif);margin:0 0 10px}
.bundle-photo-uploads .swatch-note{margin:0 0 10px}
.bundle-upload-privacy{font-size:.79rem;line-height:1.55;color:#4b6870;margin:0 0 16px}
.bundle-photo-group{margin-top:17px}
.bundle-photo-group h4{font-size:.95rem;margin:0 0 12px;font-weight:700}
@media(max-width:339px) { #titan-grid,.bundle-photo-grid {grid-template-columns:minmax(0,1fr);} }
.bundle-photo-slot{position: relative;min-width:0;display:flex;flex-direction:column;gap:7px;padding:9px;background:#fff;border:1px solid #cbd9d5;border-radius:9px}
.bundle-photo-preview{width:100%;aspect-ratio:1/1;display:grid;place-items:center;overflow:hidden;background:#e6eee9;border-radius:6px;color:#416576;font-size:.86rem}
.bundle-photo-preview img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.titan-bleed-preview{position:relative}
.titan-bleed-preview canvas{width:100%;height:100%;display:block}
.titan-face-guide{position:absolute;pointer-events:none;outline:1px solid #fff;box-shadow:inset 0 0 0 1px #163746,0 0 0 100vmax #16374638}
.titan-bleed-preview [hidden]{display:none}
#titan-delivery{border:1px solid #b9ccc5;border-radius:3px;margin:1rem 0;padding:1rem;min-inline-size:0}
#titan-delivery input,#titan-delivery select{max-width:100%;width:100%}
#titan-delivery input[type=checkbox]{width:auto}
.titan-crop-reading{font-variant-numeric:tabular-nums}
#titan-photo-entries{grid-template-columns:repeat(auto-fit,minmax(min(100%,10.5rem),1fr))}
.bundle-photo-slot .detail-field{margin:4px 0;gap:4px}
.bundle-photo-slot input[type=range]{width:100%;max-width:none;padding:4px}
.bundle-photo-pick{display:block;background:#17384a;color:white;cursor:pointer;border-radius:5px;padding:10px 8px;text-align:center;font-weight:700;font-size:.83rem}
.bundle-photo-pick:focus-within{outline:2px solid #17384a;outline-offset:2px}
.bundle-photo-input{position:absolute;width:1px;height:1px;opacity:0;clip-path:inset(50%);overflow:hidden}
.bundle-photo-slot:has(.bundle-photo-input:focus-visible){outline:2px solid #17384a;outline-offset:2px}
.bundle-photo-remove{padding:5px;background:transparent;color:#8a4a39;border:0;text-decoration:underline;cursor:pointer;font:inherit;font-size:.8rem}
.bundle-upload-count{font-weight:700;margin:15px 0 0;font-size:.89rem}

/* V9.5: private owner-authorized R2 test panel; product layout unchanged. */
.brm-owner-photo-test{border-top:1px solid #b6cac2;margin-top:20px;padding-top:18px;display:grid;gap:10px}
.brm-owner-photo-test strong{font-size:.94rem}
.brm-owner-photo-test p{margin:0;font-size:.83rem;line-height:1.5}
.brm-owner-photo-pass{min-height:42px;border:1px solid #a8c3b7;padding:10px;border-radius:5px;font:inherit;width:100%;box-sizing:border-box}
.brm-owner-photo-button{border:0;border-radius:5px;background:#17384a;color:white;padding:12px;cursor:pointer;font:700 .84rem var(--sans)}
.brm-owner-photo-button:disabled{opacity:.6;cursor:wait}
.brm-owner-photo-status{overflow-wrap:anywhere;color:#294c53}
#brm-customer-qa-status{margin:0;font-size:.83rem;line-height:1.5}
#brm-customer-qa-status:not(:empty){margin-top:12px}

/* V9.6: make HEIC/HEIF selected-file fallback readable, not a broken image */
.brm-format-placeholder{display:block;overflow-wrap:anywhere;padding:10px;text-align:center;font-size:.75rem;line-height:1.45;color:#35576a}

/* V9.7.1: visible, accessible, real byte-progress feedback beside the Add to Cart button. */
.brm-cart-upload-feedback{margin:12px 0 17px;padding:16px;border:1px solid #b8cfc5;border-left:5px solid #548a75;border-radius:8px;background:#f0f7f2;color:#17384a;}
.brm-cart-upload-feedback[hidden]{display:none!important}
.brm-cart-upload-heading{display:flex;align-items:center;gap:10px;font-size:.9rem;line-height:1.4}
.brm-cart-upload-heading #brm-cart-upload-label{flex:1;min-width:0}
.brm-cart-upload-heading #brm-cart-upload-percent{font-variant-numeric:tabular-nums;white-space:nowrap}
.brm-cart-upload-feedback progress{display:block;width:100%;height:14px;margin:12px 0 10px;accent-color:#548a75;border:0;border-radius:99px;overflow:hidden}
.brm-cart-upload-feedback progress::-webkit-progress-bar{background:#dae7df;border-radius:99px}
.brm-cart-upload-feedback progress::-webkit-progress-value{background:#548a75;border-radius:99px}
.brm-cart-upload-feedback progress::-moz-progress-bar{background:#548a75;border-radius:99px}
.brm-cart-upload-feedback p{margin:0;font-size:.83rem;line-height:1.5}
.brm-cart-upload-spinner{display:inline-block;width:16px;height:16px;flex:none;border-radius:50%;border:2px solid #bfd4ca;border-top-color:#17384a;animation:brm-upload-spin .8s linear infinite}
@keyframes brm-upload-spin{to{transform:rotate(360deg)}}
.brm-cart-upload-feedback.is-error{border-left-color:#a94436;background:#fff1ed;color:#752e25}
.brm-cart-upload-feedback.is-done{border-left-color:#548a75}
.brm-cart-upload-feedback.is-error .brm-cart-upload-spinner,.brm-cart-upload-feedback.is-done .brm-cart-upload-spinner{animation:none;border:0;width:auto;height:auto}
.brm-cart-upload-feedback.is-error .brm-cart-upload-spinner::before{content:'!';font-weight:bold}
.brm-cart-upload-feedback.is-done .brm-cart-upload-spinner::before{content:'✓';font-weight:bold}
#add-preview-cart:disabled{opacity:.65;cursor:wait}
@media(prefers-reduced-motion:reduce){.brm-cart-upload-spinner{animation:none}}

/* V9.12 Preview QA — maintain storefront styling for bundle and payment-resume actions. */
.cart-actions .brm-add-bundle{
  width:auto;max-width:100%;margin:0;min-height:46px;
  padding:11px 16px;border-radius:3px;
  font:700 .82rem/1.35 var(--sans);text-align:center;
}
.cart-actions .brm-add-bundle:disabled{
  background:#edf0eb;color:#607474;border-color:#a5b8b3;
  opacity:1;cursor:not-allowed;
}
.cart-actions .brm-add-bundle:focus-visible{
  outline:3px solid #ad7d55;outline-offset:3px;
}
.cart-test-note button.secondary{
  margin-top:9px;padding:10px 14px;border:1px solid #20475a;
  border-radius:3px;background:#fffaf3;color:#20475a;
  font:700 .82rem/1.35 var(--sans);cursor:pointer;
}
.cart-test-note button.secondary:hover,.cart-test-note button.secondary:focus-visible{
  background:#20475a;color:#fff;
}
@media(max-width:680px){.cart-actions .brm-add-bundle{width:100%;}}

/* Keep the gallery steady while shoppers compare frame and bundle details. */
@media (min-width: 681px) {
  #product-dialog {
    height: min(760px, calc(100dvh - 40px));
    overflow: hidden;
  }
  #product-dialog .detail-layout {
    height: 100%;
    grid-template-rows: minmax(0, 1fr);
  }
  #product-dialog .detail-visual {
    min-height: 0;
    justify-content: center;
  }
  #product-dialog .detail-visual > img {
    min-height: 0;
  }
  #product-dialog .detail-thumbnails {
    flex-shrink: 0;
  }
  #product-dialog .detail-content {
    position: static;
    min-width: 0;
    margin-top: 52px;
    padding-top: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }
}

#magnet-safety:not([hidden]) {margin-top:1.75rem;padding:1rem 1.15rem;background:#fff7e8;border:1px solid #d7bd91;border-radius:8px;}
#magnet-safety h3 {margin:0 0 .55rem;font-size:1.12rem;color:var(--deep);}
#magnet-safety p {margin:.6rem 0;font-size:.94rem;line-height:1.55;}
.package-pricing {margin:1.2rem 0;}
.package-pricing h3 {margin:0 0 .65rem;}
.package-tiles {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,6.3rem),1fr));gap:.45rem;margin:0;padding:0;list-style:none;}
.package-tiles li {display:grid;gap:.1rem;padding:.55rem .6rem;border:1px solid #c9d8d0;border-radius:8px;background:#fffdf8;color:var(--deep);}
.package-tiles li > span,.package-tiles small {font-size:.76rem;}
.package-tiles strong {font-size:1.06rem;font-variant-numeric:tabular-nums;}
.package-pricing p {margin:.6rem 0;font-size:.87rem;}
.filament-picker {container-type:inline-size;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start;gap:.5rem .75rem;min-width:0;}
.filament-picker .detail-field {margin:0;min-width:0;}
.color-selection {width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:.55rem var(--dropdown-inset);text-align:left;}
.color-selection .swatch-color {width:24px;height:24px;}
.color-name {overflow-wrap:anywhere;line-height:1.3;}
.filament-picker .swatch-grid {grid-column:1/-1;grid-template-columns:repeat(5,minmax(0,1fr));margin:2px 0 6px;}
.swatch-grid[hidden],.letter-colors[hidden] {display:none;}
.swatch-button {min-width:0;overflow-wrap:anywhere;line-height:1.25;}
.swatch-button.chosen span:last-child::after {content:' ✓';}
@container (max-width:25rem) {.filament-picker .swatch-grid {grid-template-columns:repeat(3,minmax(0,1fr));}}
@container (max-width:14rem) {.filament-picker .swatch-grid {grid-template-columns:repeat(2,minmax(0,1fr));}}
@container (max-width:20rem) {.filament-picker .detail-field {grid-column:1/-1;}}
.key-options {margin:.65rem 0;padding:.55rem .7rem .7rem;border:1px solid #cbd9d2;border-radius:9px;min-inline-size:0;}
.key-options legend {font-weight:700;padding:0 .25rem;}
.key-options > button {margin-top:.5rem;}
.letter-colors {display:block;}
.name-key-preview {display:flex;flex-wrap:wrap;gap:.32rem;width:fit-content;max-width:100%;padding:.5rem;border:1px solid #9daea5;border-radius:9px;}
.name-key-preview:empty {display:none;}
.name-preview-key {display:grid;place-items:center;min-width:1.85rem;height:2rem;border:1px solid #858a86;border-radius:5px;font-weight:700;text-shadow:0 1px 2px #4448;box-shadow:0 2px 0 #0003;}
.configuration-summary {font-weight:700;}
.configuration-summary:empty {display:none;}

@container (min-width:16.5rem) and (max-width:20rem) {
  .key-options .filament-picker .detail-field {grid-column:auto;}
}
.name-summary {font-size:.85rem;overflow-wrap:anywhere;}

/* The product cover scrolls above the full-width photo editor. */
#titan-cover:not([hidden]) {
  display:block;
  width:min(100%,32rem);
  height:auto;
  margin:1rem auto;
  border-radius:9px;
}
#titan-gallery:has(.detail-thumbnails) {max-width:32rem;margin-inline:auto;}
#titan-gallery:has(.detail-thumbnails) #titan-cover {aspect-ratio:1800/1325;object-fit:contain;background:#f5f1eb;}
.bulk-inquiry-card {display:flex;flex-direction:column;justify-content:center;background:#edf2ed;}
@media (min-width:681px) {
  #product-dialog.photo-bundle-dialog {width:min(1240px,calc(100% - 32px));}
  #product-dialog.photo-bundle-dialog .detail-layout {grid-template-columns:minmax(0,1fr) min(910px, calc(100% - 140px));}
  #product-dialog.photo-bundle-dialog .detail-visual > img {height:auto;max-height:min(47vh,360px);object-fit:contain;}
  .vintage-bundle-dialog #titan-cover {display:none;}
}
@media (max-width:680px) {
  #product-dialog.vintage-bundle-dialog .detail-visual {display:none;}
}
#titan-photo-problem:empty {margin:0;}
#titan-photo-problem:not(:empty) {color:#77340d;font-weight:600;}
#titan-grid .duplicate-photo {outline:2px solid #995124;outline-offset:-2px;}
.bulk-inquiry-card .product-copy {flex:0;}
#product-dialog.bulk-inquiry-dialog .detail-visual {display:none;}
#product-dialog.bulk-inquiry-dialog .detail-layout {grid-template-columns:1fr;}

.approval-choice { display: flex; align-items: flex-start; gap: .65rem; cursor: pointer; }
.approval-choice input[type=checkbox] { appearance: none; width: 1.25rem; height: 1.25rem; flex: none; margin: .15rem 0 0; padding: 0; border: 2px solid currentColor; border-radius: 50%; color: var(--deep); background: white; }
.approval-choice input:checked { background: var(--deep); box-shadow: inset 0 0 0 3px white; }
.approval-choice input:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (forced-colors: active) { .approval-choice input[type=checkbox] { appearance: auto; } }
#titan-save:disabled, #add-preview-cart:disabled { opacity: .55; cursor: not-allowed; }
.photo-cart-policies a,.photo-cart-policies a:visited { color:#185d78;text-decoration:underline;text-underline-offset:3px; }
#titan-grid > * { min-width:0;margin:0; }
.shared-checkout > .cart-alert,.shared-checkout > #cart-items,.shared-checkout > .cart-actions { display:none; }
.cart-line.shared-line-without-cover {grid-template-columns:minmax(0,1fr);}
#shared-checkout-panel fieldset { display:grid;gap:.6rem;margin:1rem 0;padding:1rem;border:1px solid #b9cdc7; }
#shared-checkout-panel[hidden],#shared-checkout-panel [hidden] { display:none; }
#shared-checkout-panel input { width:100%;box-sizing:border-box;border:1px solid #a5bcb6;border-radius:20px;padding:.65rem .85rem;font:inherit; }
.checkout-contact-fields,.checkout-address-fields { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem; }
.checkout-address-fields,.checkout-contact-fields .apartment-field { grid-column:1/-1; }
.checkout-address-fields[hidden] { display:none; }
.checkout-contact-fields .detail-field { margin:0;min-width:0; }
.checkout-contact-fields input { max-width:100%;min-width:0;width:100%;box-sizing:border-box; }
#shared-checkout-panel fieldset { min-inline-size:0; }
.cart-item-copy .cart-line-price { color:var(--deep);font-weight:700; }
.shared-totals { margin:.75rem 0;max-width:24rem; }
.shared-totals > div { display:flex;justify-content:space-between;gap:1rem;padding:.2rem 0; }
.shared-checkout-actions { display:grid;gap:1rem;margin-top:1rem; }
.shared-checkout-actions .details-button { margin:0; }
.shared-checkout-actions .details-button:disabled { opacity:.6;cursor:wait; }
.checkout-summary-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .35rem 0;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.checkout-summary-item img {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  border-radius: .3rem;
  background: #f2efe9;
}

.bundle-photo-grid.six-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 680px) {
  .six-photo-grid .photo-add-tile { padding: 3px; gap: 3px; line-height: 1.2; font-size: .82rem; }
  .six-photo-grid .photo-add-tile span { font-size: 1.4rem; }
  .six-photo-grid .bundle-photo-slot { padding: 4px; }
  .six-photo-grid .bundle-photo-pick { padding-inline: 3px; }
}

.dumpling-options {display:grid;gap:1rem;}
.detail-visual > video {display:block;width:100%;max-height:65vh;object-fit:contain;border-radius:8px;background:#182426;}
.detail-visual > video[hidden],.detail-visual > img[hidden] {display:none;}
.detail-thumbnails .gallery-video {position:relative;}
.gallery-video::before,.gallery-video::after {content:'';position:absolute;top:50%;left:50%;pointer-events:none;}
.gallery-video::before {width:23px;height:23px;border-radius:50%;background:rgba(15,35,42,.82);border:1px solid white;transform:translate(-50%,-50%);}
.gallery-video::after {border-style:solid;border-width:5px 0 5px 8px;border-color:transparent transparent transparent white;transform:translate(-36%,-50%);}

.expression-picker .color-selection img {width:32px;height:32px;border-radius:5px;}
.expression-picker .color-selection {padding-block:4px;}
.expression-choices {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;}
.base-set-choices {grid-template-columns:repeat(2,minmax(0,1fr));}
.expression-choices button {display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.5rem .25rem;border:1px solid #bdcec7;border-radius:8px;background:#fff;color:#173947;font:inherit;font-size:.85rem;cursor:pointer;}
.expression-choices button[aria-pressed="true"] {outline:2px solid #386b79;outline-offset:-2px;background:#edf3ee;}
.expression-choices img {width:min(100%,64px);height:auto;border-radius:6px;}

.gallery-caption {color:#425b61;font-size:.8rem;line-height:1.35;}
