
.detail-page { background: #fff0df; }
.detail-desktop { margin: auto; max-width: 2520px; }
.detail-mobile { display: none; }
.detail-desktop a:not(.bn-button):hover { text-decoration: underline !important; }
.detail-store-hit, .detail-social-hit { position: absolute; z-index: 2; }
.detail-store-hit { inset: 0 auto 0 0; width: 49%; }
.detail-store-hit.google { right: 0; left: auto; }
.detail-social-hit { top: 48%; height: 52%; left: calc(var(--slot) * 24%); width: 20%; }
.detail-desktop-franchise { position: absolute; top: 208.3cqw; left: 57.3cqw; width: 32.1cqw; z-index: 4; font-size: .66cqw; }
.detail-form { display: grid; gap: .6em; padding: 1em; background: #fff8ec; color: #321f17; border-radius: .9em; text-align: left; }
.detail-form h2 { font-size: 1.5em; }
.detail-form label { display: grid; gap: .22em; font-weight: 600; }
.detail-form :is(input,textarea,select) { width: 100%; min-width: 0; padding: .4em .55em; border: 1px solid #e3cab8; border-radius: .4em; color: inherit; background: white; font: inherit; }
.detail-form textarea { resize: vertical; }
.detail-form .detail-checkbox { display: flex; align-items: center; gap: .45em; }
.detail-form input[type="checkbox"] { width: auto; }
.detail-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55em; }
.detail-form-status { color: #086153; font-weight: 700; }
.detail-dialog { width: min(30rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); border: 0; border-radius: 1rem; padding: 1rem; color: #34251a; background: #fff8ec; }
.detail-dialog::backdrop { background: #20150f80; }
.detail-close { display: block; margin-left: auto; width: 2.75rem; height: 2.75rem; border: none; border-radius: 50%; background: #fce5cf; font-size: 1.4rem; }
.detail-product-photo { display: grid; place-items: center; overflow: hidden; border-radius: 1rem; background: linear-gradient(170deg,white,#f5d3ac); }
.detail-desktop-product-photo { position: absolute; left: 22.05cqw; top: 12.2cqw; width: 28cqw; height: 28cqw; }
.detail-product-photo img { width: 100%; height: 100%; object-fit: contain; }
.detail-desktop-product-photo:not(:has(img, .bn-loading-symbol))::after { content: "Boba Nation"; font-size: 2.2cqw; color: #88492e; font-weight: 700; }
.detail-product-other .detail-desktop [data-product-name] p { font-size: 2.55cqw; line-height: 1.05; }
.detail-product-other .detail-desktop [data-product-description] p { font-size: max(12px, .85cqw); line-height: 1.3; overflow: auto; max-height: 4.5cqw; }
[hidden] { display: none !important; }

@media (max-width: 900px) {
  .detail-desktop { display: none; }
  .detail-mobile { display: block; overflow: clip; }
  .detail-mobile-nav { background: #fff0df; }
  .detail-section { padding: 2.2rem clamp(1.15rem, 6vw, 3rem); }
  .detail-section h1, .detail-section h2 { line-height: 1.05; letter-spacing: -.045em; }
  .detail-section h1 { font-size: clamp(2.55rem, 9vw, 4.3rem); }
  .detail-section h2 { font-size: clamp(1.65rem, 6.5vw, 3.2rem); }
  .detail-section h3 { font-size: 1rem; }
  .detail-section p { margin: .7rem 0; line-height: 1.55; }
  .detail-section em { color: var(--bn-color-coral); font-style: normal; }
  .detail-section .detail-eyebrow { text-transform: uppercase; font-size: .7rem; font-weight: 800; letter-spacing: .16em; }
  .detail-actions, .detail-app-links { display: flex; flex-wrap: wrap; gap: .55rem; margin: .8rem 0; }
  .detail-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 100px; padding: .45rem .7rem; background: var(--bn-color-coral); color: #29170e; text-decoration: none; font-weight: 700; font-size: clamp(.72rem, 2.9vw, .9rem); white-space: nowrap; }
  .detail-pill.teal { background: #117983; color: #fff; }
  .detail-white { background: #fffdfa; }
  .detail-orange { background: var(--bn-color-coral); }
  .detail-orange em { color: #68230e; }
  .detail-aqua { background: #d8fbfd; }
  .detail-green { background: #124b43; color: #fff7eb; }
  .detail-yellow { background: #fff2b1; }
  .detail-peach { background: #ffc2a5; }
  .detail-spaced { margin-top: 1.6rem; }
  .detail-art { width: min(100%, 510px); margin: 1rem auto 0; }
  .detail-art img { max-width: 100%; height: auto; }
  .detail-art.narrow { width: min(55%, 220px); }
  .detail-photo-grid { display: grid; align-items: center; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem; }
  .detail-photo-grid.triple { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .about-hero-art { position: relative; width: min(80%, 460px); }
  .about-hero-art > .slogan-sticker:nth-child(2) { position: absolute; width: 23%; height: auto; left: 76%; top: 4%; }
  .detail-card-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(120px,1fr)); gap: .7rem; margin: 1rem 0; }
  .detail-card-grid article { padding: .8rem; border-radius: .75rem; background: #fff9ef; color: #34251a; box-shadow: 0 4px 15px #34251a10; }
  .detail-card-grid article p { font-size: .8rem; margin-bottom: 0; }
  .detail-card-grid article img { margin: 0 auto .5rem; width: auto; max-width: 100%; height: 64px; object-fit: contain; }
  .detail-steps { display: grid; gap: .7rem; padding-left: 1.5em; }
  .detail-form h2 { font-size: 1.25rem; }
  .detail-form p { margin: .25rem 0; font-size: .86rem; }
  .detail-form { margin-top: 1rem; gap: .9em; }
  .detail-form label { font-size: .86rem; }
  .detail-form :is(input,textarea,select) { font-size: 1rem; }
  .detail-product-art { position: relative; margin: 0 0 1rem; border-radius: 1rem; background: linear-gradient(#fffdf9,#f2bb61); aspect-ratio: 1; max-width: 420px; }
  .detail-product-art > img { width: 100%; height: 100%; object-fit: contain; }
  .detail-product-art .detail-product-photo { width: 100%; height: 100%; }
  .detail-product-art .detail-product-photo:not(:has(img, .bn-loading-symbol))::after { content: "Boba Nation"; color: #88492e; font-weight: 700; }
  .detail-age { position: absolute; left: -.35rem; top: .7rem; border-radius: 100px; padding: .35rem .7rem; background: #168c97; color: #fff; font-weight: 700; }
  .detail-product-tag { display: inline-flex; margin-bottom: .5rem; padding: .24rem .6rem; border-radius: 100px; background: #ff895f; color: #26170e; font-weight: 700; text-decoration: none; }
  .detail-mobile-footer { background-image: url(/wp-content/plugins/boba-nation-v310/site/assets/imgBg5.png); }
}

.detail-desktop [data-figma="22:344"] > :not(.detail-badge-export) { display: none; }
.detail-badge-export { width: 100%; height: 100%; object-fit: contain; }

.detail-desktop-franchise {
  top: 208.8492cqw; left: 57.0635cqw; width: 32.1032cqw; height: 45.5159cqw;
  font: inherit;
}
.detail-desktop-fields { width: 100%; height: 100%; }
.detail-field-slot {
  position: absolute;
  left: var(--field-x); top: var(--field-y); width: var(--field-w); height: var(--field-h);
}
.detail-field-slot > :not(.bn-button) {
  width: 100%; height: 100%; border: 0; margin: 0; background: transparent;
  color: transparent; font: inherit; font-size: max(.57cqw, 9px); border-radius: .45cqw;
}
.detail-field-slot input::placeholder { color: transparent; }
.detail-field-slot :is(input,select):focus, .detail-field-slot input:not(:placeholder-shown),
.detail-field-slot select:valid {
  color: #302137; background: #fcfcfc;
}
.detail-field-slot :is(input,select) { padding: 0 .76cqw; }
.detail-field-slot select option { color: #302137; }
.detail-field-slot input[type="checkbox"] { opacity: 0; cursor: pointer; }
.detail-field-slot input[type="checkbox"]:is(:checked,:focus-visible) { opacity: 1; }
.detail-field-slot > .bn-button { position:absolute; top:50%; width:100%; translate:0 -50%; }
.detail-franchise-status {
  position: absolute; inset: 91.8% 5% auto; min-height: 3%;
  text-align: center; background: #fdf8ee; font-size: max(.54cqw, 8px);
}

.detail-field-slot select:not(:focus):invalid { appearance: none; }

.detail-product-search { position: absolute; left: 31.17cqw; top: 57.14cqw; width: 19.6cqw; height: 2.96cqw; z-index: 4; display: flex; align-items: center; }
.detail-product-search input { border: 0; background: transparent; font: inherit; font-size: 1cqw; color: #2b211d; width: 100%; padding: .22cqw; }
.detail-product-search input::placeholder { color: #29221c; opacity: 1; }
.detail-product .product-layer-62 {
  left: 51.5cqw; top: 57.0952381cqw; width: 18cqw; height: 2.9126587cqw; z-index: 3;
  --picker-start: 3.4127cqw; --picker-end: 2.65cqw;
  --picker-font-size: max(12px, 1.027381cqw);
}
.detail-product :is(.product-layer-58, .product-layer-66) { pointer-events: none; }

.detail-about-category { position: absolute; z-index: 4; border-radius: .8cqw; }

/* Product copy follows its content instead of reserving a two-line title box. */
.detail-product .detail-product-tag { display:inline-flex; align-items:center; width:fit-content; max-width:100%; padding:var(--bn-space-1) var(--bn-space-3); margin:0; border-radius:var(--bn-radius-pill); background:var(--bn-color-coral); color:var(--bn-color-white); font-size:var(--bn-type-label); line-height:1.25; font-weight:var(--bn-weight-bold); text-decoration:none; }
.detail-desktop .detail-product-copy { position:absolute; left:53.4920635cqw; top:12.7380952cqw; width:28.7572619cqw; display:flex; flex-direction:column; align-items:flex-start; }
.detail-desktop .detail-product-copy > :is([data-product-category],[data-product-name],[data-product-description],[data-product-divider],.product-layer-30) { position:relative; left:auto; top:auto; flex:none; }
.detail-desktop .detail-product-copy [data-product-category] { height:auto; }
.detail-desktop .detail-product-copy [data-product-category] :is(div,p) { margin:0; padding:0; scale:none; font:inherit; color:inherit; letter-spacing:inherit; white-space:normal; }
.detail-desktop .detail-product-copy [data-product-name] { display:block; width:100%; height:auto; margin-top:var(--bn-space-2); }
.detail-desktop .detail-product-copy :is([data-product-name],[data-product-description]) > div { scale:none; }
.detail-desktop .detail-product-copy [data-product-name] p { width:100%; height:auto; margin:0; }
.detail-desktop .detail-product-copy [data-product-divider] { margin:var(--bn-space-6) 0; max-width:100%; min-height:1px; }
.detail-desktop .detail-product-copy [data-product-description] { display:block; height:auto; max-width:100%; }
.detail-desktop .detail-product-copy [data-product-description] p { width:100%; height:auto; max-height:none; overflow:visible; margin:0; }
.detail-desktop .detail-product-copy .product-layer-30 { margin-top:var(--bn-space-8); }
@media(max-width:900px) {
 .detail-product-mobile .detail-product-tag { margin:0 0 var(--bn-space-2); }
 .detail-product-mobile [data-product-name] { margin:0; }
 .detail-product-divider { position:relative; width:100%; height:2px; margin:var(--bn-space-4) 0; }
 .detail-product-divider img { display:block; width:100%; height:100%; }
 .detail-product-mobile [data-product-description] { margin-top:0; }
}

/* Reserve the product image and copy layout as item details load. */
.detail-product [data-product-photo][aria-busy="true"] { background:var(--bn-skeleton-fill); }
.detail-product [data-product-photo][aria-busy="true"]::after { content:none; }
.detail-product [data-product-photo][aria-busy="true"] img { visibility:hidden; }
.detail-product [aria-busy="true"] [data-product-name]::before,
.detail-product [aria-busy="true"] [data-product-description]::before,
.detail-product [aria-busy="true"] [data-product-description]::after {
  content:""; display:block; background:var(--bn-skeleton-fill); border-radius:var(--bn-radius-pill);
}
.detail-product [aria-busy="true"] [data-product-name]::before { width:76%; height:clamp(28px, 2.6vw, 60px); }
.detail-product [aria-busy="true"] [data-product-description] { width:100%; }
.detail-product [aria-busy="true"] [data-product-description]::before { width:90%; height:13px; }
.detail-product [aria-busy="true"] [data-product-description]::after { width:62%; height:13px; margin-top:var(--bn-space-2); }

.detail-product [data-product-photo] > :is(img, .bn-loading-symbol) { grid-area:1 / 1; }

.detail-product-mobile [data-product-photo] { position:relative; }
