.beast-header { background: rgba(244,239,230,.96); border-bottom: 1px solid var(--line); }
.beast-brand { flex: 0 0 auto; }
.beast-brand img { display: block; width: 174px; height: 58px; object-fit: contain; }
.beast-nav { display: flex; align-items: center; gap: clamp(1rem,2.7vw,2.2rem); margin-left: auto; }
.beast-nav a { font-size: .84rem; font-weight: 700; letter-spacing: .03em; }
.beast-nav a:hover { color: var(--wine); }
.beast-actions { display: flex; align-items: center; gap: .4rem; }
.beast-menu-button { display: none; }
.beast-header .cart-pill { position: relative; }
.beast-header .cart-count { display: flex; position: absolute; top: -4px; right: -8px; }
.beast-cart-overlay { position: fixed; inset: 0; border: 0; background: rgba(20,18,17,.48); z-index: 1080; cursor: pointer; }
.beast-cart-items { padding-top: .6rem; }
.beast-empty-cart { text-align: center; padding: 3rem 0; color: var(--muted); }
.beast-continue { display: block; margin: .9rem auto 0; border: 0; background: none; text-decoration: underline; font-size: .84rem; cursor: pointer; }
.beast-soldout { opacity: .65; cursor: default; }
.beast-footer { padding: 2.2rem 0; }
.beast-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .8rem; }
.beast-footer strong { font-size: 1rem; letter-spacing: .12em; }
.beast-notice { border: 1px solid var(--line); background: var(--paper-2); padding: 1rem 1.2rem; margin: 1rem 0 2rem; color: var(--ink-soft); }
.beast-category-section:nth-of-type(even) { background: var(--paper-2); }
.beast-breadcrumb { display: flex; gap: .6rem; padding: 1.4rem 0; color: var(--muted); font-size: .82rem; }
.beast-breadcrumb a:hover { color: var(--wine); }
.beast-product-page { padding-bottom: 5rem; }
.beast-product-page .pdp-grid { margin-top: 1rem; }
.beast-product-page .pdp-gallery { width: 100%; min-width: 0; }
.beast-product-page .pdp-gallery-solo { grid-template-columns: minmax(0, 1fr); }
.beast-product-page .pdp-main-img { cursor: default; }
.beast-product-page .pdp-main-img img { width: 100%; max-height: 760px; object-fit: cover; }
.beast-product-page .stock-line { margin-top: 1.4rem; }
.beast-options { display: grid; gap: 1rem; margin-top: 1.8rem; max-width: 440px; }
.beast-options label, .beast-checkout-form label, .beast-login label, .beast-product-form label, .beast-order-bottom label { display: grid; gap: .45rem; font-weight: 700; font-size: .82rem; }
.beast-options input, .beast-options select, .beast-checkout-form input, .beast-checkout-form textarea, .beast-checkout-form select, .beast-login input, .beast-product-form input, .beast-product-form textarea, .beast-product-form select, .beast-order-bottom select { width: 100%; min-height: 44px; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); font: inherit; }
.beast-options small { color: var(--muted); }
.beast-form-page, .beast-admin { min-height: 60vh; padding: clamp(2.5rem,6vw,5rem) 0; }
.beast-form-page h1, .beast-admin h1 { font-size: clamp(2.3rem,4vw,3.6rem); margin-bottom: .5rem; }
.beast-form-page > .container-x > p { color: var(--ink-soft); margin-bottom: 2rem; }
.beast-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem,3vw,2rem); }
.beast-checkout-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(290px,1fr); gap: 2rem; align-items: start; }
.beast-checkout-form, .beast-product-form { display: grid; gap: 1.1rem; }
.beast-checkout-form h2, .beast-order-summary h2, .beast-product-form h2 { font-size: 1.6rem; }
.beast-field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.beast-honeypot { position: absolute; left: -9999px; width: 1px !important; height: 1px !important; opacity: 0; }
.beast-payment { border: 1px solid var(--line); padding: 1rem; background: var(--paper-2); }
.beast-payment p { margin: .3rem 0 0; }
.beast-checkout-form .beast-phone-error { color: #a32632; font-weight: 600; }
.beast-checkout-form input[aria-invalid="true"] { border-color: #a32632; }
.beast-error { color: #a32632; background: #fff2f2; border: 1px solid #e6b9bf; padding: .8rem 1rem; }
.beast-success { color: #176a3f; background: #e6f6eb; border: 1px solid #a5d8b5; padding: .8rem 1rem; }
.beast-confirmation { max-width: 600px; background: var(--white); border: 1px solid var(--line); padding: 2rem; }
.beast-confirmation h2 { font-size: 2rem; }
.beast-order-summary { position: sticky; top: 94px; }
.beast-summary-line { display: grid; grid-template-columns: 64px 1fr auto; gap: .8rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: start; font-size: .84rem; }
.beast-summary-line img { width: 64px; height: 80px; object-fit: cover; }
.beast-summary-line small { display: block; color: var(--muted); margin-top: .2rem; }
.beast-summary-total { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.beast-summary-total.grand { border: 0; font-size: 1.2rem; }
.beast-login { max-width: 520px; }
.beast-login form { display: grid; gap: 1rem; margin-top: 1.4rem; }
.beast-admin-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin-bottom: 2rem; }
.beast-admin-head p { color: var(--muted); }
.beast-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.beast-stats .beast-card { display: grid; gap: .4rem; }
.beast-stats span { color: var(--muted); font-size: .82rem; }
.beast-stats strong { font-size: 2rem; }
.beast-tabs { display: flex; gap: 1.5rem; margin: 2rem 0 1.4rem; border-bottom: 1px solid var(--line); }
.beast-tabs button { border: 0; border-bottom: 3px solid transparent; background: none; padding: .8rem .2rem; cursor: pointer; font-weight: 700; }
.beast-tabs button.active { color: var(--wine); border-color: var(--wine); }
.beast-orders-section { min-width: 0; }
.beast-empty-order-filter { color: var(--muted); }
.beast-order-list { display: grid; gap: 1rem; }
.beast-admin-order h2 { font-size: 1.4rem; margin: 0; }
.beast-order-top, .beast-order-bottom { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.beast-order-top span, .beast-order-bottom span { color: var(--muted); font-size: .82rem; }
.beast-admin-order p { margin: .8rem 0; }
.beast-admin-order ul { padding-left: 1.2rem; margin: .7rem 0 1rem; }
.beast-order-bottom { border-top: 1px solid var(--line); padding-top: 1rem; align-items: center; }
.beast-order-bottom select { min-width: 160px; }
.beast-admin-products { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(280px,1fr); gap: 2rem; align-items: start; }
.beast-upload-preview { width: 120px; height: 150px; object-fit: cover; }
.beast-product-form .beast-check { display: flex; align-items: center; gap: .6rem; }
.beast-check input { width: auto; min-height: auto; }
.beast-form-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.beast-product-list { display: grid; gap: .7rem; }
.beast-product-list h2 { font-size: 1.5rem; }
.beast-admin-product { display: grid; grid-template-columns: 74px minmax(0,1fr) auto auto; gap: .7rem; align-items: center; padding: .7rem; }
.beast-admin-product img { width: 74px; height: 82px; object-fit: cover; }
.beast-admin-product small { display: block; color: var(--muted); }
.beast-admin-product button { border: 0; background: none; text-decoration: underline; cursor: pointer; }
.btn-v:disabled { opacity: .55; cursor: not-allowed; transform: none; }
@media (max-width: 900px) {
  .beast-checkout-grid, .beast-admin-products { grid-template-columns: 1fr; }
  .beast-order-summary { position: static; }
}
@media (max-width: 700px) {
  .beast-brand img { width: 148px; height: 50px; }
  .beast-menu-button { display: flex; }
  .beast-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 1rem var(--gutter); background: var(--paper); box-shadow: 0 12px 20px rgba(0,0,0,.12); }
  .beast-nav.open { display: grid; }
  .beast-footer-inner, .beast-admin-head, .beast-order-top, .beast-order-bottom { flex-wrap: wrap; }
  .beast-field-grid, .beast-stats { grid-template-columns: 1fr; }
  .beast-admin-product { grid-template-columns: 62px minmax(0,1fr); }
  .beast-admin-product img { width: 62px; height: 72px; }
  .beast-admin-product button { justify-self: start; }
}

.beast-payment { display: grid; gap: .65rem; border-radius: var(--radius); }
.beast-payment h3 { margin: 0 0 .2rem; font-size: 1rem; }
.beast-checkout-form .beast-payment-option { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: pointer; }
.beast-checkout-form .beast-payment-option.selected { border-color: var(--wine); background: #f9f1f1; }
.beast-checkout-form .beast-payment-option input { width: auto; min-height: auto; margin: 0; accent-color: var(--wine); }
.beast-payment-details { display: grid; gap: .7rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.beast-payment-details p { margin: 0; }
.beast-payment-details small { color: var(--muted); }
.beast-payment-number { font-size: 1.35rem; font-weight: 800; letter-spacing: .04em; color: var(--wine); }
.beast-admin-payment { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; margin: 1rem 0; font-size: .88rem; }
.beast-admin-payment a { color: var(--wine); text-decoration: underline; }
.beast-admin-payment .btn-v { padding: .5rem .7rem; font-size: .78rem; }
.beast-payment-pending { color: #965d00; font-weight: 700; }
.beast-payment-verified { color: #176a3f; font-weight: 700; }
.beast-settings-form { display: grid; gap: 1rem; max-width: 620px; }
.beast-settings-form h2 { margin: 0; font-size: 1.6rem; }
.beast-settings-form p { margin: 0; color: var(--ink-soft); }
.beast-settings-form label { display: grid; gap: .45rem; font-weight: 700; font-size: .82rem; }
.beast-settings-form input { width: 100%; min-height: 44px; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); font: inherit; }
.beast-settings-form button { justify-self: start; }
.beast-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 1050; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 5px 20px rgba(0,0,0,.22); transition: transform .2s ease, box-shadow .2s ease; }
.beast-whatsapp:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 7px 24px rgba(0,0,0,.28); }
.beast-whatsapp svg { width: 34px; height: 34px; }
@media (max-width: 700px) { .beast-whatsapp { right: 15px; bottom: 15px; width: 54px; height: 54px; } }

.beast-order-details { display: grid; gap: .7rem; margin: 1.2rem 0; }
.beast-order-details div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: .8rem; }
.beast-order-details dt { font-weight: 700; }
.beast-order-details dd { margin: 0; overflow-wrap: anywhere; }
.beast-order-details a:hover { color: var(--wine); text-decoration: underline; }
.beast-gallery-previews { display: flex; flex-wrap: wrap; gap: .8rem; }
.beast-gallery-preview { display: grid; gap: .35rem; }
.beast-gallery-preview img { width: 92px; height: 115px; object-fit: cover; }
.beast-gallery-preview button { border: 0; background: none; color: var(--wine); cursor: pointer; text-decoration: underline; text-align: left; padding: 0; }
@media (max-width: 500px) {
  .beast-order-details div { grid-template-columns: 1fr; gap: .15rem; }
}

/* Loading layouts keep the final page shape while data arrives. */
.beast-skeleton {
  display: block;
  flex: none;
  border-radius: var(--radius);
  background: linear-gradient(100deg, #e8dfd1 25%, #f7f1e8 48%, #e8dfd1 72%);
  background-size: 220% 100%;
  animation: beast-skeleton-shimmer 1.6s ease-in-out infinite;
}
@keyframes beast-skeleton-shimmer { to { background-position-x: -220%; } }
.beast-skeleton-line { height: 15px; }
.beast-skeleton-eyebrow { width: 110px; height: 11px; }
.beast-skeleton-heading { width: min(240px, 60%); height: 34px; margin-bottom: 1.5rem; }
.beast-skeleton-title { width: min(460px, 90%); height: 58px; }
.beast-skeleton-wide { width: min(360px, 90%); }
.beast-skeleton-short { width: min(155px, 48%); }
.beast-skeleton-copy { width: min(310px, 80%); }
.beast-skeleton-price { width: 115px; height: 22px; }
.beast-skeleton-price-large { width: 170px; height: 36px; }
.beast-skeleton-button { width: 190px; height: 50px; }
.beast-skeleton-field { width: 100%; height: 48px; }
.beast-skeleton-stack { display: grid; align-content: start; gap: .8rem; }
.beast-skeleton-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.beast-skeleton-hero-copy { gap: 1rem; align-items: flex-start; }
.beast-skeleton-hero-title { width: min(540px, 95%); height: clamp(46px, 6vw, 76px); }
.beast-skeleton-title-short { width: min(330px, 68%); margin-bottom: .6rem; }
.beast-skeleton-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
.beast-skeleton-categories { margin-top: 1rem; }
.beast-skeleton-category, .beast-skeleton-product-image { width: 100%; aspect-ratio: 3 / 4; }
.beast-skeleton-product { display: grid; gap: .75rem; align-content: start; }
.beast-skeleton-product-image { margin-bottom: .4rem; }
.beast-skeleton-breadcrumb { width: 230px; }
.beast-skeleton-product-main { width: 100%; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); }
.beast-skeleton-product-info { display: grid; align-content: start; gap: 1.2rem; }
.beast-skeleton-product-info .beast-skeleton-title { margin-bottom: .4rem; }
.beast-skeleton-form { display: grid; gap: 1.1rem; max-width: 440px; width: 100%; margin-top: 1rem; }
.beast-skeleton-action { width: 100%; height: 64px; }
.beast-skeleton-stat { width: 90px; height: 38px; }
.beast-skeleton-tabs { display: flex; gap: 1.5rem; border-bottom: 1px solid var(--line); padding: .8rem 0 1.2rem; margin: 2rem 0 1.4rem; }
.beast-skeleton-tab { width: 74px; height: 18px; }
.beast-skeleton-order { display: grid; gap: 1rem; min-height: 245px; }
.beast-skeleton-order-title { width: 200px; height: 34px; }
.beast-skeleton-status { width: 160px; }
.beast-skeleton-page-head { display: grid; gap: .8rem; margin-bottom: 2rem; }
.beast-skeleton-checkout-form { display: grid; gap: 1rem; }
.beast-skeleton-checkout-form .beast-skeleton-heading, .beast-skeleton-summary .beast-skeleton-heading { margin-bottom: .4rem; }
.beast-skeleton-payment { width: 100%; height: 150px; }
.beast-skeleton-summary { display: grid; align-content: start; gap: 1.2rem; }
.beast-skeleton-summary-image { width: 64px; height: 80px; }
.beast-skeleton-summary .beast-skeleton-row { justify-content: flex-start; }
.beast-skeleton-summary .beast-skeleton-stack { flex: 1; }
@media (prefers-reduced-motion: reduce) { .beast-skeleton { animation: none; } }
@media (max-width: 700px) {
  .beast-skeleton-title { height: 42px; }
  .beast-skeleton-hero-copy { min-height: 350px; }
  .beast-skeleton-order .beast-skeleton-row { flex-wrap: wrap; }
}

.beast-shop, .beast-category-section { scroll-margin-top: 74px; }
.beast-delivery-total { border-bottom: 0; padding-bottom: .2rem; }
.beast-delivery-note { color: var(--muted); font-size: .76rem; line-height: 1.45; margin: 0 0 .65rem; }
.beast-skeleton-total { width: 100px; height: 24px; }
.beast-skeleton-summary-lines { display: grid; gap: .7rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.beast-skeleton-summary-lines .beast-skeleton-row { align-items: flex-start; }
.beast-skeleton-summary-lines .beast-skeleton-stack { flex: 1; }
.beast-tabs > span { padding: .8rem .2rem; font-weight: 700; }
.beast-skeleton-breadcrumb-name { width: 100px; height: 14px; }

.beast-category-page { padding: 0 0 clamp(3rem, 7vw, 6rem); }
.beast-category-hero { display: grid; grid-template-columns: 1fr minmax(280px, 42%); min-height: 360px; overflow: hidden; background: var(--paper-2); }
.beast-category-hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(2rem, 6vw, 5rem); }
.beast-category-hero h1 { font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1.05; margin: .8rem 0 1rem; }
.beast-category-hero p { color: var(--ink-soft); margin: 0; }
.beast-category-hero img { display: block; width: 100%; height: 100%; max-height: 460px; object-fit: cover; }
.beast-category-products { padding-top: clamp(3rem, 6vw, 5rem); }
.beast-section-link { color: var(--wine); font-size: .85rem; font-weight: 700; text-decoration: underline; text-underline-offset: .2rem; }
.beast-section-link:hover { color: var(--ink); }
@media (max-width: 700px) {
  .beast-category-hero { grid-template-columns: 1fr; }
  .beast-category-hero-copy { padding: 2rem; }
  .beast-category-hero img { height: 260px; }
}

.beast-order-actions { display: flex; align-items: end; gap: .8rem; flex-wrap: wrap; }
.beast-delete-order { min-height: 44px; padding: .65rem .8rem; border: 1px solid #b94d57; border-radius: var(--radius); background: transparent; color: #a32632; font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.beast-delete-order:hover { background: #fff2f2; }
.beast-delete-order:disabled { opacity: .55; cursor: not-allowed; }

.beast-admin-categories { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, 1fr); align-items: start; gap: 2rem; }
.beast-admin-categories > .beast-notice, .beast-admin-categories > .beast-error, .beast-admin-categories > .beast-success { grid-column: 1 / -1; margin: 0; }
.beast-category-form { display: grid; gap: 1rem; }
.beast-category-form h2, .beast-category-list h2 { font-size: 1.5rem; }
.beast-category-form label { display: grid; gap: .45rem; font-size: .82rem; font-weight: 700; }
.beast-category-form input { width: 100%; min-height: 44px; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); font: inherit; }
.beast-category-form small, .beast-category-row small { color: var(--muted); }
.beast-category-cover-preview { width: min(100%, 260px); max-height: 240px; object-fit: cover; }
.beast-category-list { display: grid; gap: .7rem; }
.beast-category-row { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto auto; gap: .7rem; align-items: center; padding: .7rem; }
.beast-category-row img { width: 74px; height: 82px; object-fit: cover; }
.beast-category-row small { display: block; }
.beast-category-row button { border: 0; background: none; text-decoration: underline; cursor: pointer; }
.beast-category-row button:disabled { opacity: .45; cursor: not-allowed; }
.beast-admin-product { grid-template-columns: 74px minmax(0, 1fr) repeat(3, auto); }
.beast-admin-product .beast-product-delete { color: #a32632; }
@media (max-width: 900px) { .beast-admin-categories { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .beast-category-row, .beast-admin-product { grid-template-columns: 62px minmax(0, 1fr); } .beast-category-row button, .beast-admin-product button { justify-self: start; } }

/* Keep products visible immediately and category cards compact on phones. */
@media (max-width: 700px) {
  .beast-home { display: flex; flex-direction: column; }
  .beast-home > .beast-hero { display: none; }
  .beast-home > .beast-shop { order: -1; padding-top: 1.4rem; }
  .beast-home .product-grid, .beast-category-page .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem .7rem; }
  .beast-home .pc-name, .beast-category-page .pc-name { font-size: 1rem; line-height: 1.2; }
  .beast-home .pc-price, .beast-category-page .pc-price { flex-wrap: wrap; gap: .2rem .45rem; }
  .beast-categories { padding: 1.8rem 0; }
  .beast-categories .section-head { margin-bottom: 1rem; }
  .beast-categories .section-title { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .beast-categories .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .beast-categories .cat-tile { aspect-ratio: auto; height: 122px; }
  .beast-categories .cat-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .beast-categories .cat-label { padding: .7rem .8rem; }
  .beast-categories .cat-label h3 { font-size: 1rem; line-height: 1.1; overflow-wrap: anywhere; }
  .beast-categories .cat-tile .go { display: none; }
  .beast-category-page .beast-category-hero { display: none; }
  .beast-category-page .beast-breadcrumb { padding: 1rem 0 .35rem; }
  .beast-category-page .beast-category-products { padding-top: .7rem; }
  .beast-category-page .section-head { margin-bottom: 1rem; }
  .beast-category-page .section-title { font-size: clamp(1.7rem, 7vw, 2.2rem); }
}

.beast-size-chart-trigger { justify-self: start; border: 0; padding: 0; background: none; color: var(--wine); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: .2rem; cursor: pointer; }
.beast-size-chart-overlay { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 1rem; background: rgba(20,18,17,.7); }
.beast-size-chart-dialog { width: min(100%, 900px); max-height: calc(100dvh - 2rem); overflow: auto; padding: 1rem; background: var(--white); border-radius: var(--radius-lg); }
.beast-size-chart-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.beast-size-chart-head h2 { margin: 0; font-size: 1.5rem; }
.beast-size-chart-head button { min-width: 44px; min-height: 44px; border: 0; background: none; font-size: 1.7rem; cursor: pointer; }
.beast-size-chart-dialog img { display: block; width: 100%; height: auto; object-fit: contain; }
.beast-size-chart-preview { display: block; width: min(100%, 280px); height: auto; max-height: 280px; object-fit: contain; border: 1px solid var(--line); }
.beast-size-chart-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.beast-size-chart-actions button { border: 0; padding: 0; background: none; color: var(--wine); font: inherit; text-decoration: underline; cursor: pointer; }

/* Scroll long product galleries without stretching the detail page. */
.beast-product-page .pdp-thumbs { min-height: 0; max-height: min(760px, calc(100dvh - 112px)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.beast-product-page .pdp-thumb { flex-shrink: 0; }
.beast-gallery-previews { max-height: 290px; overflow-y: auto; scrollbar-width: thin; }
@media (max-width: 760px) {
  .beast-product-page .pdp-gallery { scroll-margin-top: 82px; }
  .beast-product-page .pdp-thumbs { min-width: 0; max-height: none; overflow-x: auto; overflow-y: hidden; padding-bottom: .4rem; }
}

.beast-product-page .pdp-desc { display: grid; gap: .55rem; line-height: 1.6; }
.beast-product-page .pdp-desc-content { display: grid; gap: .65rem; }
.beast-product-page .pdp-desc-content.is-collapsed { max-height: 8rem; overflow: hidden; mask-image: linear-gradient(to bottom, #000 72%, transparent); }
.beast-product-page .pdp-desc-toggle { justify-self: start; border: 0; padding: 0; background: none; color: var(--wine); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: .2rem; cursor: pointer; }
.beast-product-page .pdp-desc-toggle:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
.beast-product-page .pdp-desc p, .beast-product-page .pdp-desc ul { margin: 0; }
.beast-product-page .pdp-desc ul { padding-left: 1.4rem; list-style: disc; }
.beast-product-page .pdp-desc li { padding-left: .15rem; margin: .15rem 0; }
.beast-product-page .beast-description-heading { color: var(--ink); }

/* Product recommendations and reviews. */
.beast-related-products, .beast-product-reviews { margin-top: clamp(3rem, 7vw, 6rem); }
.beast-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.beast-section-heading h2 { margin: .35rem 0 0; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.beast-section-placeholder { min-height: 1px; }
.beast-review-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(290px, .75fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.beast-review-list { display: grid; gap: 1rem; }
.beast-review-card, .beast-admin-review { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: .85rem; }
.beast-review-card { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.beast-review-avatar { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; background: var(--wine); color: #fff; font-weight: 800; text-transform: uppercase; }
.beast-review-author { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .65rem; }
.beast-review-stars { color: #b16d1b; letter-spacing: .08em; white-space: nowrap; }
.beast-review-stars span { color: #b8afa3; }
.beast-review-card p { margin: .55rem 0; white-space: pre-line; overflow-wrap: anywhere; }
.beast-review-card time, .beast-review-empty { color: var(--muted); font-size: .82rem; }
.beast-review-form { display: grid; gap: .9rem; }
.beast-review-form h3 { margin: 0; font-size: 1.4rem; }
.beast-review-form p { margin: 0; color: var(--muted); font-size: .82rem; }
.beast-review-form label { display: grid; gap: .45rem; font-weight: 700; font-size: .82rem; }
.beast-review-form input, .beast-review-form textarea { width: 100%; min-height: 44px; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); font: inherit; }
.beast-review-form p.beast-error { color: #a32632; }
.beast-review-form p.beast-success { color: #176a3f; }
.beast-rating-picker { display: flex; gap: .15rem; }
.beast-rating-picker button { border: 0; background: none; color: #b8afa3; padding: .1rem; font-size: 1.7rem; cursor: pointer; }
.beast-rating-picker button.selected { color: #b16d1b; }
.beast-rating-picker button:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }
.beast-admin-reviews .beast-section-heading p { margin: .25rem 0 0; color: var(--muted); }
.beast-review-pagination { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; margin-top: 1.4rem; }
.beast-review-pagination button { min-width: 38px; min-height: 38px; padding: .4rem .65rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.beast-review-pagination button:hover:not(:disabled) { border-color: var(--wine); color: var(--wine); }
.beast-review-pagination button.active { border-color: var(--wine); background: var(--wine); color: var(--white); }
.beast-review-pagination button:disabled:not(.active) { opacity: .5; cursor: default; }
.beast-review-pagination span { padding: 0 .2rem; color: var(--muted); }
.beast-admin-review-list { display: grid; gap: 1rem; }
.beast-admin-review { padding: 1.2rem; }
.beast-admin-review p { margin: .45rem 0; white-space: pre-line; overflow-wrap: anywhere; }
.beast-admin-review-product { color: var(--muted); font-size: .82rem; }
.beast-review-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .8rem; }
.beast-review-actions button { border: 0; background: none; padding: 0; color: var(--wine); text-decoration: underline; cursor: pointer; }
.beast-review-actions button:disabled { opacity: .55; cursor: wait; }
.beast-store-review-fields { display: grid; gap: .8rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.beast-store-review-fields h3 { margin: 0; font-size: 1.2rem; }
.beast-store-review-fields p { margin: 0; color: var(--muted); font-size: .8rem; }
@media (max-width: 760px) {
  .beast-review-layout { grid-template-columns: 1fr; }
  .beast-review-form { order: -1; }
  .beast-section-heading { align-items: start; }
  .beast-related-products .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.beast-tabs { overflow-x: auto; white-space: nowrap; scrollbar-width: thin; }
.beast-tabs button { flex: 0 0 auto; }

.beast-admin-review-form { display: grid; gap: .8rem; margin-bottom: 1.4rem; max-width: 700px; }
.beast-admin-review-form h3, .beast-admin-review-form p { margin: 0; }
.beast-admin-review-form p { color: var(--muted); font-size: .82rem; }
.beast-admin-review-form label { display: grid; gap: .4rem; font-size: .82rem; font-weight: 700; }
.beast-admin-review-form input, .beast-admin-review-form select, .beast-admin-review-form textarea { width: 100%; min-height: 44px; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); font: inherit; }
.beast-admin-review-form button { justify-self: start; }

.beast-rating-summary { display: inline-flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .82rem; white-space: nowrap; }
.beast-rating-stars { position: relative; display: inline-block; color: #d2c8b9; font-size: 1rem; line-height: 1; letter-spacing: .02em; }
.beast-rating-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: #efa922; }
.beast-rating-value { color: var(--ink-soft); }
.beast-rating-summary.compact { margin-top: .45rem; font-size: .75rem; }
.beast-pdp-rating-link { display: inline-block; margin-bottom: 1rem; }
.beast-pdp-rating-link:hover .beast-rating-value { text-decoration: underline; }
.beast-variant-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.beast-variant-group legend { margin-bottom: .7rem; font-size: .8rem; font-weight: 800; }
.beast-variant-group legend span { margin-left: .4rem; color: var(--ink-soft); font-weight: 500; }
.beast-color-choices, .beast-size-choices { display: flex; flex-wrap: wrap; gap: .6rem; }
.beast-color-choice { display: grid; gap: .25rem; justify-items: center; width: 68px; padding: .25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); cursor: pointer; }
.beast-color-choice.selected, .beast-size-choices button.selected { border: 2px solid var(--wine); background: var(--wine-tint); }
.beast-color-choice img, .beast-color-fallback { display: grid; place-items: center; width: 58px; height: 67px; object-fit: cover; border-radius: 2px; background: var(--sand); font-weight: 800; }
.beast-color-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .67rem; }
.beast-size-choices button { min-width: 48px; min-height: 44px; padding: .5rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); font: inherit; font-size: .8rem; cursor: pointer; }
.beast-quantity-group { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; font-size: .8rem; font-weight: 700; }
.beast-quantity-group small { color: var(--muted); font-weight: 500; }
.beast-quantity-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--white); }
.beast-quantity-stepper button { width: 42px; height: 42px; border: 0; background: var(--paper-2); color: var(--ink); font-size: 1.3rem; cursor: pointer; }
.beast-quantity-stepper button:disabled { opacity: .4; cursor: not-allowed; }
.beast-quantity-stepper output { min-width: 44px; text-align: center; }
.beast-option-hint { margin: 0; color: var(--wine); font-size: .8rem; }
.beast-option-hint.is-error { font-weight: 700; }
.beast-variant-group.is-missing legend span { color: #a32632; font-weight: 700; }
.beast-variant-group.is-missing .beast-size-choices button, .beast-variant-group.is-missing .beast-color-choice { border-color: #c27b84; }
.beast-purchase-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.beast-purchase-actions .btn-v { min-width: 0; padding: 1rem .6rem; }

.beast-admin-color-images { display: grid; gap: .6rem; border: 1px solid var(--line); padding: 1rem; }
.beast-admin-color-images legend { font-size: .85rem; font-weight: 800; padding: 0 .3rem; }
.beast-admin-color-images p { margin: 0; color: var(--muted); font-size: .8rem; }
.beast-admin-color-list { display: grid; gap: .7rem; }
.beast-admin-color-row { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: .7rem; }
.beast-admin-color-row strong { min-width: 65px; }
.beast-admin-color-row img { width: 60px; height: 72px; object-fit: cover; }
.beast-admin-color-row label { flex: 1 1 180px; }
.beast-admin-color-row button { border: 0; background: none; color: var(--wine); text-decoration: underline; cursor: pointer; }

/* 11.11 sale appears only while the admin's campaign is live. */
.beast-sale-ticker { display: block; height: 34px; overflow: hidden; background: #a4322a; color: #fff8e9; font-size: .72rem; font-weight: 800; letter-spacing: .13em; line-height: 34px; text-transform: uppercase; }
.beast-sale-ticker:hover { color: #fff8e9; }
.beast-sale-ticker-track { display: flex; width: max-content; animation: beast-sale-scroll 30s linear infinite; }
.beast-sale-ticker-repeat { display: flex; flex: none; align-items: center; }
.beast-sale-ticker-repeat > span { flex: none; padding-inline: 1.6rem; white-space: nowrap; }
.beast-sale-ticker-repeat > span::before { content: '✦'; color: #ffd277; margin-right: 1.6rem; }
.beast-sale-ticker-repeat > span:first-child, .beast-sale-ticker-repeat > span:nth-child(4) { color: #ffe1a1; }
@keyframes beast-sale-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .beast-sale-ticker-track { animation: none; } }
.beast-campaign { overflow: hidden; scroll-margin-top: 74px; padding-block: clamp(2rem, 5vw, 4rem); background: #211b19; color: #fff8ec; }
.beast-campaign-hero { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 235px; padding: clamp(1.5rem, 4vw, 3rem); overflow: hidden; border: 1px solid rgba(255,222,170,.4); background: radial-gradient(circle at 78% 50%, #742c2a 0, transparent 42%), linear-gradient(110deg, #3c211e, #8d3029); }
.beast-campaign-hero::after { content: '11.11'; position: absolute; z-index: -1; right: 7%; top: -35%; color: rgba(255,244,220,.075); font: 800 clamp(11rem, 26vw, 25rem)/1 var(--f-sans); pointer-events: none; }
.beast-campaign-copy { position: relative; z-index: 1; }
.beast-campaign-kicker { display: block; margin-bottom: .55rem; color: #ffdda9; font-size: .72rem; font-weight: 800; letter-spacing: .2em; }
.beast-campaign-copy h2 { margin: 0; color: #fff8ec; font: 800 clamp(3.6rem, 8vw, 7rem)/.95 var(--f-sans); letter-spacing: -.07em; white-space: nowrap; }
.beast-campaign-copy h2 span { color: #ffd277; }
.beast-campaign-copy p { margin: .9rem 0 0; color: #fff1db; font-size: 1rem; }
.beast-campaign-offer { position: relative; z-index: 1; display: grid; place-content: center; flex: none; width: clamp(125px, 15vw, 185px); aspect-ratio: 1; border: 2px dashed #5c221e; border-radius: 50%; background: #ffd277; box-shadow: 0 0 0 8px rgba(255,210,119,.18); color: #381d19; text-align: center; transform: rotate(9deg); }
.beast-campaign-offer span { font-size: .8rem; font-weight: 800; letter-spacing: .2em; }
.beast-campaign-offer strong { font: 800 clamp(2.3rem, 4vw, 3.8rem)/1 var(--f-sans); letter-spacing: -.08em; }
.beast-campaign-list-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 2rem 0 1rem; }
.beast-campaign-list-heading span:first-child { font-family: var(--f-display); font-size: clamp(1.45rem, 3vw, 2.1rem); font-weight: 600; }
.beast-campaign-list-heading span:last-child { color: #e4c9bb; font-size: .8rem; }
.beast-campaign .product-card { background: #f7f1e8; border-color: #d3ad8c; color: var(--ink); }
.beast-campaign .product-card .pc-price .now { color: #9d2925; }
.beast-product-card-link { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; overflow: hidden; }
.beast-product-card-link:hover { color: var(--ink); text-decoration: none; }
.beast-product-card-link:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; }
.beast-product-card-link .pc-media { flex: none; }
.beast-product-card-link .pc-info { flex: 1; gap: .3rem; }
.beast-product-card-link .pc-name { margin: 0; }
.beast-card-sale-label { position: absolute; z-index: 3; top: .75rem; left: .75rem; }
.beast-card-discount { position: absolute; z-index: 3; top: .75rem; right: .75rem; padding: .38rem .55rem; border-radius: 3px; background: #ffd277; box-shadow: 0 2px 12px rgba(0,0,0,.2); color: #381d19; font-size: .7rem; font-weight: 800; line-height: 1; white-space: nowrap; }
.beast-price-discount { display: inline-block; padding: .2rem .35rem; border-radius: 2px; background: var(--sale); color: #fff; font-size: .67rem; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.beast-product-card-link .pc-price { flex-wrap: wrap; }
.beast-card-view { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; margin-top: auto; padding: .65rem 1rem; border-radius: 3px; background: var(--ink); color: #fff; font: 700 .86rem/1.2 var(--f-sans); text-align: center; }
.beast-product-card-link:hover .beast-card-view, .beast-product-card-link:focus-visible .beast-card-view { background: var(--wine); }
@media (max-width: 700px) { .beast-card-sale-label { top: .45rem; left: .45rem; font-size: .54rem; } .beast-card-discount { top: .45rem; right: .45rem; padding: .34rem .4rem; font-size: .58rem; } .beast-card-view { min-height: 38px; padding: .5rem; font-size: .75rem; } }
.beast-sale-offer { display: grid; justify-items: start; gap: .85rem; margin: -.2rem 0 1.5rem; }
.beast-sale-offer-bar { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .8rem; max-width: 100%; padding: .65rem .85rem; border-radius: 8px; background: var(--ink); color: #fff; font-size: .88rem; line-height: 1.3; }
.beast-sale-offer-bar strong { font-size: 1.05rem; white-space: nowrap; }
.beast-sale-offer-bar time { font-variant-numeric: tabular-nums; font-weight: 800; white-space: nowrap; }
.beast-sale-offer-divider { width: 1px; height: 1.15rem; background: rgba(255,255,255,.6); }
.beast-sale-stock { padding: .5rem .8rem; border-left: 4px solid #d42328; border-radius: 5px; background: #fff2f2; color: #b71920; font-size: .84rem; font-weight: 800; }
.beast-sale-offer-link { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem; width: 100%; padding: .7rem .85rem; border: 1px dashed #e2b958; border-radius: 10px; background: #fff8e9; color: var(--ink-soft); font-size: .84rem; font-weight: 800; text-decoration: none; }
.beast-sale-offer-link:hover { border-color: var(--sale); color: var(--ink); }
.beast-sale-offer-link strong { margin-left: auto; padding: .35rem .6rem; border-radius: 999px; background: #9f3027; color: #fff; font-size: .9rem; white-space: nowrap; }
.beast-sale-offer-link.is-sold-out { background: var(--paper-2); color: var(--muted); }
.beast-offer-expired { margin: -.2rem 0 1.5rem; padding: .75rem 1rem; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink-soft); font-size: .86rem; }
#choose-options { scroll-margin-top: 85px; }
.beast-sale-preview { display: inline-block; margin-top: -.75rem; padding: .55rem .7rem; border-left: 3px solid var(--sale); background: #fff1e9; color: #8d3029; font-size: .82rem; }
@media (max-width: 600px) { .beast-sale-offer-bar { width: 100%; font-size: .78rem; } .beast-sale-offer-bar strong { font-size: .96rem; } .beast-sale-offer-link { font-size: .78rem; } }
.beast-admin-settings { display: grid; gap: 1rem; max-width: 760px; }
.beast-sale-settings { display: grid; justify-items: start; gap: .8rem; }
.beast-sale-settings h2 { margin: 0; font-size: 1.8rem; }
.beast-sale-settings p { margin: 0; color: var(--ink-soft); }
.beast-sale-settings small, .beast-sale-help { color: var(--muted); }
.beast-sale-schedule { display: grid; gap: .8rem; width: 100%; }
.beast-sale-schedule-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; width: 100%; }
.beast-sale-schedule label { display: grid; gap: .45rem; font-weight: 700; font-size: .82rem; }
.beast-sale-schedule input { width: 100%; min-width: 0; min-height: 44px; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); font: inherit; }
.beast-sale-schedule button { justify-self: start; }
@media (max-width: 600px) { .beast-sale-schedule-fields { grid-template-columns: 1fr; } }
.beast-sale-help { margin-top: -.75rem; }
@media (max-width: 700px) {
  .beast-home > .beast-campaign { order: -2; padding: .9rem 0 1.5rem; }
  .beast-campaign-hero { min-height: 0; gap: .5rem; padding: 1rem; }
  .beast-campaign-hero::after { top: -10%; right: -8%; font-size: 12rem; }
  .beast-campaign-kicker { margin-bottom: .4rem; font-size: .51rem; letter-spacing: .12em; }
  .beast-campaign-copy h2 { font-size: clamp(2rem, 8vw, 3.3rem); letter-spacing: -.075em; }
  .beast-campaign-copy p { max-width: 24ch; margin-top: .45rem; font-size: .69rem; line-height: 1.35; }
  .beast-campaign-offer { width: clamp(70px, 21vw, 96px); box-shadow: 0 0 0 4px rgba(255,210,119,.18); }
  .beast-campaign-offer span { font-size: .49rem; letter-spacing: .1em; }
  .beast-campaign-offer strong { font-size: clamp(1.35rem, 5vw, 1.9rem); }
  .beast-campaign-list-heading { flex-wrap: wrap; gap: .25rem .8rem; margin: 1rem 0 .7rem; }
  .beast-campaign-list-heading span:first-child { font-size: 1.25rem; }
  .beast-campaign-list-heading span:last-child { font-size: .65rem; white-space: nowrap; }
}

@media (max-width: 380px) { .beast-campaign-copy h2 { font-size: 1.72rem; } .beast-campaign-offer { width: 64px; } }

/* Admin order previews keep the purchased product visible beside its options. */
.beast-order-products { margin-top: 1.4rem; }
.beast-order-products h3 { margin: 0 0 .7rem; font-size: 1rem; font-weight: 800; }
.beast-order-items { display: grid; gap: .7rem; padding: 0 !important; margin: 0 !important; list-style: none; }
.beast-order-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: .85rem; padding: .75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.beast-order-item-image { width: 72px; height: 88px; object-fit: cover; border-radius: 3px; background: var(--paper-2); }
.beast-order-item-placeholder { display: grid; place-items: center; color: var(--muted); font-size: .8rem; font-weight: 800; }
.beast-order-item-info { min-width: 0; }
.beast-order-item-info > strong { display: block; overflow-wrap: anywhere; font-size: .95rem; }
.beast-order-product-link { display: inline-block; margin-top: .35rem; color: var(--wine); font-size: .78rem; font-weight: 700; text-decoration: underline; text-underline-offset: .18rem; }
.beast-order-product-link:hover { color: var(--ink); }
.beast-order-item-meta { display: flex; flex-wrap: wrap; gap: .15rem .75rem; margin-top: .35rem; color: var(--muted); font-size: .78rem; }
.beast-order-item-total { white-space: nowrap; font-size: .9rem; }
@media (max-width: 500px) {
  .beast-order-item { grid-template-columns: 60px minmax(0, 1fr); gap: .65rem; }
  .beast-order-item-image { width: 60px; height: 76px; }
  .beast-order-item-total { grid-column: 2; }
}
