/* Shared storefront navigation */
.store-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.store-header .header-inner {
  min-height: 88px;
  gap: 28px;
  flex-wrap: nowrap;
  padding-block: 16px;
}
.store-header .brand-logo {
  width: 220px !important;
  height: auto !important;
  max-width: 100%;
  display: block;
}
.store-header .header-inner > a:first-child {
  flex-shrink: 0;
}
.store-header nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  order: 0;
  width: auto;
  border: 0;
  padding: 0;
  white-space: nowrap;
}
.store-header nav a {
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
  transition:
    background 0.15s,
    color 0.15s;
}
.store-header nav a:hover,
.store-header nav a[aria-current='page'] {
  background: var(--soft);
  color: var(--brand-blue);
}
.site-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  flex-shrink: 0;
}
.site-actions .sos-notifications {
  margin: 0;
  order: 0;
}
.site-actions .notification-bell,
.site-actions .theme-toggle,
.site-actions #member-theme {
  width: 42px;
  height: 42px;
  min-height: 42px;
  min-width: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  margin: 0;
  padding: 0;
}
.site-actions .theme-toggle-label {
  display: none;
}
.site-actions .theme-toggle > span:first-child {
  font-size: 22px;
}
.site-actions .notification-bell:hover,
.site-actions .theme-toggle:hover,
.site-actions #member-theme:hover {
  background: var(--soft);
  color: var(--brand-blue);
}
.site-actions .notification-count {
  top: 0;
  right: 0;
  font-size: 9px;
  min-width: 17px;
  border-width: 2px;
}
.site-actions .cart-button {
  height: 42px;
  padding: 0 12px;
  gap: 8px;
  border: 0;
  background: var(--soft);
  border-radius: 10px;
  white-space: nowrap;
  font-size: 0.78rem;
}
.site-actions .cart-button b {
  min-width: 18px;
  height: 18px;
  font-size: 0.65rem;
  background: var(--brand-blue);
  color: white;
}
.site-actions [data-member-link] {
  height: 42px;
  min-height: 42px;
  border: 0;
  padding: 0 15px;
  border-radius: 10px;
  white-space: nowrap;
  background: var(--brand-blue);
  color: white;
  font-size: 0.78rem;
  gap: 8px;
}
.site-actions [data-member-link]:hover {
  filter: brightness(1.1);
}
.site-actions .notification-panel {
  top: 52px;
}
.store-header .header-inner > a.button {
  display: none;
}
@media (max-width: 1150px) {
  .store-header .header-inner {
    gap: 16px;
  }
  .store-header .brand-logo {
    width: 190px !important;
  }
  .store-header nav a {
    padding: 10px;
    font-size: 0.77rem;
  }
  .site-actions {
    padding-left: 12px;
    gap: 5px;
  }
  .site-actions .cart-button > span:nth-child(2) {
    display: none;
  }
  .site-actions [data-member-link] {
    padding: 0 10px;
  }
}
@media (max-width: 900px) {
  .store-header .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    min-height: 76px;
    padding-block: 14px;
  }
  .store-header .brand-logo {
    width: 200px !important;
  }
  .site-actions {
    margin-left: auto;
    padding: 0;
    border: 0;
  }
  .store-header nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
    margin: 0;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
  .store-header nav a {
    padding: 8px 12px;
    font-size: 0.82rem;
  }
  .site-actions [data-member-link] span {
    display: none;
  }
  .site-actions [data-member-link] {
    width: 42px;
    padding: 0;
  }
  .site-actions .notification-panel {
    position: fixed;
    top: 130px;
    right: 18px;
    max-height: calc(100dvh - 150px);
    overflow: auto;
  }
}
@media (max-width: 480px) {
  .store-header .brand-logo {
    width: 150px !important;
  }
  .store-header .header-inner {
    gap: 10px;
  }
  .site-actions {
    gap: 3px;
  }
  .site-actions .notification-bell,
  .site-actions .theme-toggle,
  .site-actions #member-theme,
  .site-actions [data-member-link] {
    width: 36px;
    min-width: 36px;
    height: 40px;
    min-height: 40px;
  }
  .site-actions .cart-button {
    padding: 0 7px;
    gap: 4px;
  }
  .site-actions .cart-button .icon {
    width: 19px;
  }
  .store-header nav {
    justify-content: space-between;
    gap: 2px;
  }
  .store-header nav a {
    padding: 8px 7px;
    font-size: 0.76rem;
  }
  .site-actions .notification-panel {
    top: 125px;
  }
}
@media (max-width: 370px) {
  .store-header .brand-logo {
    width: 126px !important;
  }
  .site-actions {
    gap: 0;
  }
  .site-actions .theme-toggle {
    width: 30px;
    min-width: 30px;
  }
}
/* Customer account */
body.account-page {
  background: var(--soft);
}
.account-page .member-main {
  max-width: 1100px;
  padding-top: 34px;
}
.account-page .member-page-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}
.account-page .member-page-heading h1 {
  font-size: 1.85rem;
  letter-spacing: -0.8px;
  margin: 5px 0 8px;
}
.account-page .member-intro {
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}
.account-page .member-page-heading .eyebrow {
  color: var(--muted);
  font-size: 0.65rem;
}
.account-page .account-browse {
  font-size: 0.8rem;
  color: var(--brand-blue);
  font-weight: 700;
  white-space: nowrap;
}
.account-page .member-welcome {
  background: linear-gradient(120deg, #242c83, #3d46b7);
  color: white;
  padding: 26px 28px;
  border-radius: 20px;
  gap: 20px;
  box-shadow: 0 12px 30px #26318418;
  margin: 0 0 18px;
}
.account-identity {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 0;
}
.account-avatar {
  height: 52px;
  width: 52px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff40;
  background: #ffffff15;
  border-radius: 16px;
  font-size: 24px;
}
.account-page .member-welcome h2 {
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  letter-spacing: -0.4px;
  line-height: 1.4;
  margin: 3px 0 0;
}
.account-welcome-kicker {
  font-size: 0.65rem;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #d0d6ff;
}
.account-page #member-logout {
  background: #ffffff12;
  color: #fff;
  border: 1px solid #ffffff40;
  font-size: 0.75rem;
  min-height: 38px;
  padding: 9px 14px;
}
.account-page .member-card {
  background: var(--paper);
  box-shadow: 0 4px 18px #101b4503;
  border-radius: 16px;
}
.account-page #account-profile {
  margin: 0 0 30px;
  padding: 0;
  overflow: hidden;
}
.account-page #account-profile > summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  list-style: none;
  font-size: 0.9rem;
  margin: 0;
}
.account-page #account-profile > summary::-webkit-details-marker {
  display: none;
}
.profile-summary-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--soft);
  color: var(--brand-blue);
  display: grid;
  place-items: center;
  font-size: 20px;
}
.account-page #account-profile summary small {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  margin-top: 4px;
}
.account-page #account-profile > summary:after {
  content: '＋';
  margin-left: auto;
  color: var(--brand-blue);
  font-size: 22px;
}
.account-page #account-profile[open] > summary:after {
  content: '−';
}
.account-page #profile-form {
  padding: 24px;
  border-top: 1px solid var(--line);
}
.account-orders-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 28px 0 18px;
}
.account-page .orders-heading {
  font-size: 1.35rem;
  letter-spacing: -0.4px;
  margin: 0;
}
.account-orders-toolbar p {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 5px;
}
.account-orders-toolbar > .button {
  font-size: 0.74rem;
  padding: 10px 14px;
  min-height: 38px;
  background: var(--paper);
}
.account-page #member-orders > .member-card {
  margin: 0 0 20px;
  padding: 0;
  overflow: hidden;
}
.account-page .order-heading {
  padding: 20px 24px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.account-page .order-heading h3 {
  font-size: 0.95rem;
  letter-spacing: 0;
  margin: 0 0 5px;
}
.order-heading small {
  font-size: 0.7rem;
}
.account-page .order-status {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--soft);
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.account-page .order-status:before {
  content: '';
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}
.account-page [data-status='pending'] .order-status {
  background: #fff5db;
  color: #846016;
}
.account-page [data-status='completed'] .order-status {
  background: #eaf7f0;
  color: #24714d;
}
.account-page [data-status='cancelled'] .order-status {
  background: var(--soft);
  color: var(--muted);
}
.account-order-body {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}
.account-order-details {
  padding: 20px 24px;
  min-width: 0;
}
.account-page .order-items {
  margin: 0 0 18px;
  gap: 0;
}
.account-page .order-items li {
  padding: 12px 0;
  align-items: center;
  font-size: 0.85rem;
}
.account-page .order-items a {
  text-decoration: none;
  line-height: 1.6;
}
.account-page .order-items strong {
  white-space: nowrap;
  font-size: 0.85rem;
}
.account-delivery {
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--muted);
  padding: 14px;
  background: var(--soft);
  border-radius: 10px;
}
.account-delivery strong {
  display: block;
  color: var(--ink);
  font-size: 0.73rem;
  margin-bottom: 4px;
}
.account-order-summary {
  padding: 20px 24px;
  border-left: 1px solid var(--line);
  background: color-mix(in srgb, var(--soft) 45%, var(--paper));
  font-size: 0.8rem;
}
.account-page .order-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.83rem;
  margin: 0 0 12px;
  font-weight: 500;
  align-items: center;
}
.account-page .order-total strong {
  font-size: 1.35rem;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.account-page .order-discount {
  font-size: 0.74rem;
  line-height: 1.6;
  margin-bottom: 14px;
}
.account-payment {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 14px;
}
.account-payment > strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.account-payment p {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.7;
  margin-bottom: 12px;
}
.account-payment .button {
  width: 100%;
  font-size: 0.8rem;
  min-height: 42px;
}
.account-order-summary > .member-note {
  font-size: 0.75rem;
  margin: 12px 0;
}
.account-order-summary > .button {
  font-size: 0.75rem;
  min-height: 38px;
  padding: 10px 12px;
  width: 100%;
}
.account-order-reviews:not(:empty) {
  padding: 0 24px 20px;
}
.account-page .member-review {
  font-size: 0.85rem;
}
.account-page #member-auth {
  margin: 0 auto;
  max-width: 540px;
  padding: 30px;
}
.account-page #member-auth.register-mode {
  max-width: 800px;
}
.account-page footer {
  background: var(--paper);
}
.account-page .member-card:has(> h3) {
  padding: 28px !important;
}
[data-theme='dark'] .account-page .member-card {
  background: var(--paper);
}
[data-theme='dark'] .account-page [data-status='pending'] .order-status {
  background: #3b321d;
  color: #efd088;
}
[data-theme='dark'] .account-page [data-status='completed'] .order-status {
  background: #183f32;
  color: #87dfb1;
}
@media (max-width: 700px) {
  .account-page .member-page-heading {
    align-items: flex-start;
  }
  .account-page .member-page-heading h1 {
    font-size: 1.6rem;
  }
  .account-page .account-browse {
    display: none;
  }
  .account-page .member-welcome {
    padding: 20px;
    gap: 16px;
  }
  .account-page .member-welcome h2 {
    font-size: 1.1rem;
  }
  .account-avatar {
    width: 42px;
    height: 42px;
  }
  .account-page #member-logout {
    margin-left: 58px;
  }
  .account-page #account-profile > summary {
    padding: 18px;
  }
  .account-order-body {
    grid-template-columns: 1fr;
  }
  .account-order-summary {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .account-page .order-heading {
    padding: 18px;
    align-items: flex-start;
  }
  .account-order-details,
  .account-order-summary {
    padding: 18px;
  }
  .account-orders-toolbar {
    flex-wrap: wrap;
  }
  .account-page .order-status {
    font-size: 0.66rem;
  }
  .account-page .member-main {
    padding-top: 24px;
  }
  .account-page #profile-form {
    padding: 18px;
  }
  .account-page .order-items li {
    gap: 12px;
  }
  .account-page .order-heading h3 {
    font-size: 0.85rem;
  }
}
[data-theme='dark'] .store-header .brand-logo,
[data-theme='dark'] footer .brand-logo {
  background: transparent;
  padding: 0;
  border-radius: 0;
  filter: invert(1) hue-rotate(180deg);
}
[data-theme='dark'] .account-page .account-browse {
  color: #b7bdff;
}

/* Compact catalog, shared by home and products. */
@media (min-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
  .product-grid .product-top {
    padding: 14px;
    grid-template-rows: 150px auto;
  }
  .product-grid .product-body {
    padding: 18px;
  }
  .product-grid .product-card h3 {
    font-size: 1rem;
  }
  .product-grid .product-body p {
    font-size: 0.82rem;
  }
  .product-grid .product-body .button {
    padding: 12px 10px;
    font-size: 0.78rem;
  }
  .product-grid .badge {
    font-size: 0.7rem;
  }
  .product-grid .price {
    font-size: 1.35rem;
  }
}
@media (min-width: 1440px) {
  .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .product-grid .product-top {
    padding: 10px;
    grid-template-rows: 120px auto;
  }
  .product-grid .product-body {
    padding: 12px;
  }
  .product-grid .product-card h3 {
    font-size: 0.86rem;
    overflow-wrap: anywhere;
  }
  .product-grid .product-body p {
    font-size: 0.75rem;
  }
  .product-grid .button {
    width: 100%;
    font-size: 0.72rem;
    padding: 10px 6px;
  }
  .product-grid .price {
    font-size: 1.1rem;
  }
  .product-grid .badge {
    font-size: 0.65rem;
  }
  .product-grid .carousel-controls {
    gap: 5px;
  }
  .product-grid .sale-price {
    padding: 8px;
  }
  .product-grid .sale-price strong {
    font-size: 1.15rem;
  }
}
.reservation-clock {
  display: block;
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 9px;
  margin: 12px 0;
  font-size: 0.82rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.cancel-order {
  margin-top: 12px;
  color: #b53a50 !important;
}
/* Consistent header action icons and counters. */
.site-actions {
  gap: 10px;
  align-items: center;
}
.site-actions .cart-button,
.site-actions .favorites-link,
.site-actions .notification-bell,
.site-actions .theme-toggle,
.site-actions #member-theme {
  position: relative;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  flex-shrink: 0;
}
.site-actions .cart-button > span:nth-child(2) {
  display: none;
}
.site-actions .cart-button > span:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-actions svg,
.site-actions .cart-button svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.site-actions .cart-button b,
.site-actions .favorites-count,
.site-actions .notification-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  line-height: 14px;
  font-size: 10px;
  padding: 0 3px;
  border: 2px solid var(--paper);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.site-actions [data-member-link] {
  height: 42px;
  border-radius: 12px;
}
.shipping-choice {
  display: flex !important;
  gap: 12px;
  align-items: center;
  padding: 14px;
  margin: 10px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.shipping-choice input {
  width: auto !important;
  flex: none;
}
.shipping-choice small {
  display: block;
  margin-top: 6px;
}
#shipping-options {
  margin-top: 12px;
}
#panel-shipping .admin-card {
  padding: 20px;
  background: var(--admin-surface, #fff);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin: 18px 0;
}
#panel-shipping input[type='checkbox'] {
  width: auto;
}
@media (max-width: 700px) {
  .site-actions {
    gap: 8px !important;
    padding-left: 0;
  }
  .site-actions .cart-button,
  .site-actions .favorites-link,
  .site-actions .notification-bell,
  .site-actions .theme-toggle,
  .site-actions #member-theme {
    width: 34px;
    height: 38px;
    min-width: 34px;
    min-height: 38px;
    border-radius: 9px;
  }
  .site-actions [data-member-link] {
    height: 38px;
    min-height: 38px;
    padding: 0 8px;
  }
  .site-actions svg {
    width: 20px;
    height: 20px;
  }
}
/* Photo-first product cards. */
.product-grid {
  align-items: stretch;
  gap: 20px;
}
.product-grid .product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-row: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  padding: 10px;
  min-width: 0;
  box-shadow: 0 3px 14px #17245104;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}
.product-grid .product-card:hover {
  border-color: #bac0df;
  box-shadow: 0 10px 30px #1724510c;
}
.product-grid .product-top {
  display: block;
  padding: 0;
  background: transparent;
  min-height: 0;
}
.product-grid .product-top .product-icon {
  height: 210px;
  background: #fafafa;
  border-radius: 15px;
}
.product-grid .product-top .product-photo {
  padding: 14px;
  background: transparent;
}
.product-grid .product-top > .badge {
  display: none;
}
.product-grid .carousel-controls {
  gap: 6px;
  padding: 6px;
}
.product-grid .carousel-controls button {
  width: 6px;
  height: 6px;
  min-width: 6px;
  min-height: 6px;
  padding: 0;
}
.product-grid .product-body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 12px 10px;
  min-width: 0;
}
.product-grid .product-category,
.product-grid .product-detail-link {
  display: none;
}
.product-grid .product-body h3 {
  font-size: 0.96rem;
  line-height: 1.4;
  letter-spacing: -0.025em;
  font-weight: 650;
  margin: 0;
  min-height: 4.2em;
}
.product-grid .product-body > .price {
  flex: none;
  margin: 18px 0 0;
  min-height: 105px;
  font-size: 1.65rem;
  line-height: 1.2;
  letter-spacing: -0.055em;
  color: #237653;
}
.product-grid .product-body > .price > strong {
  display: block;
  font-weight: 800;
}
.product-grid .product-body .stock-count {
  flex: none;
  color: #378167;
  margin: 9px 0 0;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}
.product-grid .product-body .sold-out {
  color: #ac344e;
}
.product-grid .price-note {
  font-size: 0.65rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  margin: 12px 55px 0 0;
  min-height: 42px;
  color: var(--muted);
}
.product-grid .product-body > .button {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-height: 46px;
  border-radius: 50%;
  padding: 0;
  margin: 0;
  font-size: 0;
  gap: 0;
  color: white;
  background: var(--brand-blue);
  border: 0;
  box-shadow: 0 6px 15px #3234a52b;
}
.product-grid .product-body > .button svg,
.product-grid .product-body > .button .icon {
  width: 23px;
  height: 23px;
  flex: none;
}
.product-grid .sale-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #237653;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
}
.product-grid .sale-price .sale-label,
.product-grid .sale-saving,
.product-grid .sale-price > small {
  display: none;
}
.product-grid .sale-price del {
  display: block;
  width: 100%;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
}
.product-grid .sale-price strong {
  font-size: 1.65rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.055em;
  color: #237653;
}
.product-grid .sale-countdown {
  font-size: 0.63rem;
  width: 100%;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
}
.product-grid .sale-countdown b {
  font-size: inherit;
  font-weight: 600;
  white-space: normal;
  letter-spacing: 0;
}
.sale-discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 8px;
  background: #ffede3;
  color: #b64615;
  font-size: 0.75rem;
  letter-spacing: 0;
  white-space: nowrap;
}
.product-grid .sale-discount {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: #f46721;
  color: #fff;
  border-radius: 10px;
  padding: 7px 9px;
  font-size: 0.8rem;
  font-weight: 750;
  box-shadow: 0 4px 10px #e8632330;
}
.product-grid .product-card > .favorite-button {
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-color: #eee;
  background: white;
}
.product-grid .product-card > .favorite-button svg {
  width: 20px;
  height: 20px;
}
@supports (grid-template-rows: subgrid) {
  .product-grid .product-card {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  .product-grid .product-top {
    grid-row: 1;
  }
  .product-grid .product-body {
    position: static;
    display: grid;
    grid-row: 2 / span 3;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  .product-grid .product-body > .button {
    right: 22px;
    bottom: 20px;
  }
}
[data-theme='dark'] .product-grid .product-card {
  background: #161e32;
  border-color: #29334c;
}
[data-theme='dark'] .product-grid .product-top {
  background: transparent;
}
[data-theme='dark'] .product-grid .product-top .product-icon {
  background: #f8f9fb;
}
[data-theme='dark'] .product-grid .sale-price {
  background: transparent;
  border: 0;
}
[data-theme='dark'] .product-grid .sale-price strong,
[data-theme='dark'] .product-grid .product-body > .price {
  color: #83dfb6;
}
[data-theme='dark'] .product-grid .product-body .stock-count {
  color: #a1c8b5;
}
[data-theme='dark'] .product-grid .product-body .sold-out {
  color: #ff9ca9;
}
@media (min-width: 1440px) {
  .product-grid .product-top .product-icon {
    height: 185px;
  }
}
@media (max-width: 600px) {
  .product-grid {
    gap: 12px;
  }
  .product-grid .product-card {
    padding: 7px;
    border-radius: 17px;
  }
  .product-grid .product-top .product-icon {
    height: 155px;
    border-radius: 12px;
  }
  .product-grid .product-top .product-photo {
    padding: 10px;
  }
  .product-grid .product-body {
    padding: 13px 6px 8px;
  }
  .product-grid .product-body h3 {
    font-size: 0.78rem;
    line-height: 1.4;
    min-height: 5.6em;
  }
  .product-grid .product-body > .price {
    margin-top: 13px;
    min-height: 110px;
    font-size: 1.24rem;
  }
  .product-grid .sale-price strong {
    font-size: 1.24rem;
  }
  .product-grid .sale-price del {
    font-size: 0.67rem;
  }
  .product-grid .sale-countdown {
    font-size: 0.59rem;
  }
  .product-grid .price-note {
    font-size: 0.59rem;
    margin-right: 39px;
    min-height: 44px;
  }
  .product-grid .product-body > .button {
    width: 37px;
    height: 37px;
    min-height: 37px;
    right: 13px;
    bottom: 16px;
  }
  .product-grid .product-body > .button svg,
  .product-grid .product-body > .button .icon {
    width: 20px;
    height: 20px;
  }
  .product-grid .sale-discount {
    top: 11px;
    left: 11px;
    padding: 5px 7px;
    font-size: 0.66rem;
  }
  .product-grid .product-card > .favorite-button {
    top: 11px;
    right: 11px;
    width: 29px;
    height: 29px;
  }
}
/* Product gallery and purchase panel. */
.product-detail-page .breadcrumbs {
  font-size: 0.73rem;
  line-height: 1.5;
  padding: 22px 0;
  flex-wrap: wrap;
}
.product-detail-page .detail-hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  padding-bottom: 40px;
}
.product-detail-page .detail-gallery {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 15px;
  position: sticky;
  top: 24px;
}
.product-detail-page .detail-main-image {
  grid-column: 2;
  grid-row: 1;
  height: 560px;
  background: #fff !important;
  border: 0;
  border-radius: 18px;
  position: relative;
}
.product-detail-page .detail-main-image img {
  padding: 20px;
}
.product-detail-page .detail-thumbs {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  max-height: 560px;
  overflow: auto;
  padding: 2px;
}
.product-detail-page .detail-thumb {
  width: 60px;
  height: 68px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white !important;
  opacity: 0.7;
}
.product-detail-page .detail-thumb.active {
  opacity: 1;
  border: 2px solid var(--brand-blue);
}
.gallery-arrow {
  position: absolute;
  top: calc(50% - 18px);
  width: 34px;
  height: 36px;
  border: 1px solid #e5e8f0;
  border-radius: 50%;
  background: #fffffff0;
  color: #303791;
  font-size: 25px;
  line-height: 1;
  display: grid;
  place-items: center;
}
.gallery-arrow.prev {
  left: 8px;
}
.gallery-arrow.next {
  right: 8px;
}
.product-detail-page .detail-summary {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: #202333;
  color: #f7f8ff;
  border: 1px solid #303548;
  border-radius: 18px;
  box-shadow: 0 12px 35px #17245110;
  min-width: 0;
}
.product-detail-page .detail-summary .product-category {
  color: #b0b8d1;
  font-size: 0.65rem;
  margin: 0;
  letter-spacing: 0.08em;
}
.product-detail-page .detail-summary h1 {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.035em;
  margin: 10px 0 12px;
}
.product-detail-page .detail-description {
  display: none;
}
.product-detail-page .product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 6px 0 16px;
}
.product-detail-page .product-meta div {
  display: flex;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent !important;
}
.product-detail-page .product-meta span,
.product-detail-page .product-meta strong {
  font-size: 0.68rem;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
  color: #b6bed2;
  font-weight: 400;
}
.product-detail-page .product-meta strong {
  color: #f2f4ff;
}
.detail-rating {
  font-size: 0.76rem;
  color: #d4d9e8;
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 2px 0 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.detail-rating span {
  color: #f3c549;
  letter-spacing: 1px;
  text-decoration: none;
}
.product-detail-page .detail-price {
  color: #7ce1ac;
  font-size: 2rem;
  font-weight: 800;
  margin: 10px 0 0;
}
.product-detail-page .detail-price .sale-price {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  background: transparent;
  border: 0;
  padding: 0;
  color: #b6efce;
}
.product-detail-page .detail-price .sale-label {
  order: 0;
  color: #ffc097;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}
.product-detail-page .detail-price .sale-countdown {
  order: 1;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #444454;
  border-radius: 10px;
  background: #2b2e40;
  color: #e9eaf4;
  font-size: 0.76rem;
  margin: 2px 0 12px;
}
.product-detail-page .detail-price .sale-countdown b {
  display: block;
  font-size: 1.05rem;
  margin-top: 4px;
  color: white;
  letter-spacing: 0.03em;
}
.product-detail-page .detail-price del {
  order: 2;
  width: 100%;
  font-size: 0.85rem;
  font-weight: 400;
  color: #aeb5c5;
}
.product-detail-page .detail-price strong {
  order: 3;
  font-size: 2rem;
  color: #7ce1ac;
  line-height: 1.2;
  letter-spacing: -0.05em;
}
.product-detail-page .detail-price .sale-discount {
  order: 4;
  background: #ffe9dc;
  color: #a63c0f;
  font-size: 0.72rem;
}
.product-detail-page .detail-price .sale-saving {
  order: 5;
  width: 100%;
  font-size: 0.73rem;
  font-weight: 500;
}
.product-detail-page .detail-price small {
  order: 6;
  width: 100%;
  font-size: 0.65rem;
  font-weight: 400;
  color: #aeb5c5;
}
.product-detail-page .detail-price .stock-count {
  font-size: 0.73rem;
  line-height: 1.5;
  color: #b6efce;
  margin: 14px 0 0;
  letter-spacing: 0;
}
.product-detail-page .detail-price .sold-out {
  color: #ffb0bc;
}
.product-detail-page .detail-summary > .price-note {
  font-size: 0.7rem;
  color: #b0b8cd;
  margin: 8px 0 0;
}
.product-detail-page .payment-box {
  order: 4;
  background: transparent !important;
  border: 0;
  border-top: 1px solid #41465b;
  border-radius: 0;
  padding: 16px 0 0;
  margin: 18px 0 0;
}
.product-detail-page .payment-box strong {
  font-size: 0.75rem;
  color: #f0f3ff;
}
.product-detail-page .payment-box p {
  font-size: 0.73rem;
  line-height: 1.65;
  color: #b9c1d5;
}
.product-detail-page .detail-summary > .button {
  order: 3;
  margin: 24px 0 0;
  border-radius: 11px;
  background: #21915d;
  color: white;
  border: 0;
  min-height: 54px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 3px;
  font-size: 0.93rem;
}
.product-detail-page .detail-summary > .button small {
  font-size: 0.67rem;
  font-weight: 400;
  opacity: 0.9;
}
.product-detail-page .detail-summary > .product-social {
  order: -2;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}
.product-detail-page .product-social button {
  background: transparent !important;
  color: #d9dfed !important;
  border: 1px solid #464b60;
  padding: 8px 10px;
  min-height: 34px;
  font-size: 0.67rem;
  border-radius: 8px;
}
.product-detail-page .product-social .favorite-button.saved {
  color: #ff8fa7 !important;
}
.product-detail-page .detail-section h2 {
  font-size: 1.6rem;
}
@media (max-width: 1000px) {
  .product-detail-page .detail-hero {
    gap: 20px;
  }
  .product-detail-page .detail-summary {
    padding: 20px;
  }
  .product-detail-page .detail-main-image {
    height: 480px;
  }
}
@media (max-width: 800px) {
  .product-detail-page .detail-hero {
    grid-template-columns: 1fr;
  }
  .product-detail-page .detail-gallery {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .product-detail-page .detail-main-image {
    height: 380px;
  }
  .product-detail-page .detail-thumbs {
    flex-direction: row;
    max-height: none;
  }
  .product-detail-page .detail-thumb {
    height: 62px;
    width: 62px;
  }
  .product-detail-page .detail-summary {
    padding: 22px;
  }
  .product-detail-page .detail-summary h1 {
    font-size: 1.4rem;
  }
}
@media (max-width: 480px) {
  .product-detail-page .detail-main-image {
    height: 310px;
  }
  .product-detail-page .detail-summary {
    padding: 18px;
  }
  .product-detail-page .detail-summary > .product-social {
    gap: 5px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .product-detail-page .product-social button {
    padding: 8px;
  }
  .product-detail-page .detail-price strong {
    font-size: 1.8rem;
  }
}

/* Brand colors and accessible carousel dots in both themes. */
:root .product-grid .carousel-controls.carousel-dots {
  gap: 2px;
  padding: 0;
  bottom: 4px;
}
:root .product-grid .carousel-controls.carousel-dots button {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
:root .product-grid .carousel-controls.carousel-dots button::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c4cadb;
}
:root .product-grid .carousel-controls.carousel-dots button[aria-pressed='true']::before {
  background: var(--brand-blue);
  transform: scale(1.15);
}
:root .product-grid .carousel-controls.carousel-dots button:hover::before {
  background: #777dcc;
}
.product-grid .product-carousel .product-photo {
  padding-bottom: 36px;
}
.product-grid .sale-discount {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 4px 10px #3331aa30;
}
.product-detail-page .detail-price .sale-discount {
  background: #e7e9ff;
  color: #30359c;
}
.product-detail-page .detail-price .sale-label {
  color: #c4c8ff;
}
.site-search {
  display: flex;
  align-items: center;
  order: 10;
  flex: 1 0 100%;
  max-width: 100%;
  border: 1px solid var(--border, #dfe3f1);
  border-radius: 12px;
  background: var(--surface, #fff);
  overflow: hidden;
  margin-top: 4px;
}
.site-search input {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  min-width: 0;
  flex: 1;
  padding: 13px 16px;
  font: inherit;
  color: inherit;
  outline-offset: -3px;
}
.site-search button {
  border: 0;
  background: transparent;
  color: var(--primary, #3435b7);
  display: grid;
  place-items: center;
  padding: 12px 18px;
  cursor: pointer;
}
.store-header .header-inner {
  flex-wrap: wrap;
  padding-bottom: 14px;
  gap: 14px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.review-media {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.review-media img,
.review-media video {
  width: 160px;
  height: 140px;
  border: 1px solid var(--border, #e1e5f1);
  border-radius: 10px;
  object-fit: contain;
  background: #f7f8fc;
}
.review-media video {
  width: 240px;
  max-width: 100%;
}
[data-theme='dark'] .site-search {
  background: #1b233a;
  border-color: #343e59;
}
[data-theme='dark'] .site-search input {
  color: #f5f6fc;
}
[data-theme='dark'] .site-search button {
  color: #bec4ff;
}
@media (min-width: 1300px) {
  .site-search {
    flex: 1 1 300px;
    order: 0;
    max-width: 440px;
  }
  .store-header .header-inner > .site-actions {
    margin-left: auto;
  }
  .store-header .header-inner > .site-search {
    order: 1;
  }
  .store-header .header-inner > .site-actions {
    order: 2;
  }
  .store-header .header-inner > nav {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
  }
  .store-header .header-inner {
    gap: 14px;
  }
}
/* Monthly decoration: scoped to storefront chrome, never to prices or checkout. */
body[data-season] {
  --season-accent: #c9c6ff;
  --season-end: #3433a5;
  --season-start: #161b48;
}
body[data-season='halloween'] {
  --season-accent: #dbbdff;
  --season-end: #532b86;
  --season-start: #19163f;
}
body[data-season='black-friday'] {
  --season-accent: #aaa9ff;
  --season-end: #302b67;
  --season-start: #111321;
}
body[data-season='christmas'] {
  --season-accent: #c3e8da;
  --season-end: #245c58;
  --season-start: #172349;
}
body[data-season='summer'],
body[data-season='holidays'] {
  --season-accent: #b4f0f3;
  --season-end: #226773;
}
body[data-season='colors'],
body[data-season='junina'] {
  --season-accent: #f0ceff;
  --season-end: #683b8b;
}
body[data-season='autumn'] {
  --season-accent: #f2ddc1;
  --season-end: #68534b;
}
body[data-season='mothers'] {
  --season-accent: #f6d2ea;
  --season-end: #743d70;
}
body[data-season='fathers'] {
  --season-accent: #c6e6ff;
  --season-end: #285684;
}
.seasonal-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(110deg, var(--season-start), var(--season-end));
  border-bottom: 1px solid #ffffff1a;
}
.seasonal-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 12% 120%, #ffffff12, transparent 50%),
    radial-gradient(circle at 88% 15%, #ffffff10, transparent 24%);
}
.seasonal-inner {
  position: relative;
  width: min(1280px, 92%);
  margin: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 94px;
  padding: 17px 0;
}
.seasonal-symbol {
  flex: none;
  font-size: 34px;
  line-height: 1;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
}
.seasonal-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.seasonal-copy strong {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: #fff;
}
.seasonal-copy > span {
  color: #e5e4f1;
  font-size: 13px;
  line-height: 1.5;
}
.seasonal-link {
  position: relative;
  z-index: 1;
  margin-left: auto;
  flex: none;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 11px 17px;
  border: 1px solid #ffffff50;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 650;
  color: #fff;
  text-decoration: none;
  background: #ffffff09;
}
.seasonal-link::after {
  content: '→';
  font-size: 18px;
  line-height: 1;
}
.seasonal-link:hover {
  background: #ffffff20;
}
.seasonal-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
.seasonal-ornament {
  font-size: 35px;
  letter-spacing: 12px;
  color: var(--season-accent);
  opacity: 0.55;
  margin-left: 30px;
  white-space: nowrap;
  pointer-events: none;
}
body[data-season] .store-header {
  border-top: 3px solid var(--season-end);
}
body[data-season] footer {
  border-top: 2px solid var(--season-end);
}
[data-theme='dark'] .seasonal-banner {
  background: linear-gradient(110deg, #101329, var(--season-end));
}
@media (max-width: 800px) {
  .seasonal-ornament {
    display: none;
  }
  .seasonal-inner {
    gap: 12px;
  }
  .seasonal-copy strong {
    font-size: 16px;
  }
  .seasonal-copy > span {
    font-size: 12px;
  }
  .seasonal-symbol {
    width: 44px;
    height: 44px;
    font-size: 28px;
    border-radius: 13px;
  }
}
@media (max-width: 540px) {
  .seasonal-inner {
    padding: 14px 0;
    min-height: 86px;
    flex-wrap: wrap;
    gap: 10px 12px;
  }
  .seasonal-copy {
    flex: 1;
  }
  .seasonal-copy > span {
    max-width: 260px;
  }
  .seasonal-link {
    margin-left: 56px;
    padding: 5px 0;
    border: 0;
    background: none;
    font-size: 11px;
  }
  .seasonal-link::after {
    font-size: 16px;
  }
  .seasonal-copy strong {
    font-size: 15px;
  }
}
/* October: illustrated storefront decoration. No overlays on products or controls. */
body[data-season='halloween'] {
  background-image:
    radial-gradient(ellipse at 0 700px, #ac81e014, transparent 650px),
    radial-gradient(ellipse at 100% 1300px, #8266da12, transparent 700px);
}
body[data-season='halloween'] .halloween-banner {
  background:
    radial-gradient(ellipse at 80% 90%, #643b8b70, transparent 55%),
    linear-gradient(110deg, #15132e, #31205a 65%, #21173e);
  border-bottom: 1px solid #a485d566;
}
.halloween-banner::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 145px;
  height: 145px;
  background: url('/halloween-web.svg') top left/contain no-repeat;
  pointer-events: none;
  opacity: 0.75;
}
.halloween-banner .seasonal-inner {
  min-height: 254px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 24px 0;
}
.halloween-banner .seasonal-copy {
  position: relative;
  z-index: 1;
  gap: 10px;
  padding-left: 32px;
  align-content: center;
}
.halloween-banner .halloween-kicker {
  font-size: 10px;
  letter-spacing: 2.5px;
  font-weight: 700;
  color: #d4b2f7;
  max-width: none;
}
.halloween-banner .seasonal-copy strong {
  font-size: clamp(28px, 3.3vw, 44px);
  letter-spacing: -1.3px;
  line-height: 1.15;
  font-weight: 750;
}
.halloween-banner .seasonal-copy > span:not(.halloween-kicker) {
  font-size: 14px;
  color: #e0d3ed;
  max-width: none;
}
.halloween-banner .seasonal-link {
  justify-self: start;
  margin: 9px 0 0;
  padding: 11px 18px;
  border: 1px solid #bba1df80;
  background: #ffffff0c;
  border-radius: 9px;
  font-size: 12px;
  color: #fff;
  gap: 16px;
}
.halloween-banner .seasonal-link:hover {
  background: #ffffff1c;
  border-color: #d9c3f4;
}
.halloween-scene {
  display: block;
  width: 100%;
  height: 242px;
  object-fit: contain;
  pointer-events: none;
  margin: -18px 0;
}
.halloween-compact .seasonal-inner {
  min-height: 150px;
  padding: 16px 0;
}
.halloween-compact .seasonal-copy strong {
  font-size: 27px;
}
.halloween-compact .halloween-scene {
  height: 155px;
  margin: -15px 0;
}
.halloween-compact .seasonal-copy {
  gap: 5px;
}
.halloween-compact .seasonal-link {
  margin-top: 4px;
  padding: 6px 12px;
}
body[data-season='halloween'] .catalog > .section-heading {
  position: relative;
  padding: 20px 28px;
  border: 1px solid #b394d745;
  border-radius: 18px;
  background: linear-gradient(110deg, #f3ecfc, #faf8fe);
  overflow: hidden;
  gap: 24px;
}
body[data-season='halloween'] .catalog > .section-heading::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 105px;
  height: 105px;
  background: url('/halloween-web.svg') top left/contain no-repeat;
  transform: rotate(90deg);
  opacity: 0.6;
  pointer-events: none;
}
body[data-season='halloween'] .catalog > .section-heading .eyebrow {
  color: #72479c;
}
body[data-season='halloween'] .catalog > .section-heading h1,
body[data-season='halloween'] .catalog > .section-heading h2 {
  display: flex;
  align-items: center;
  gap: 12px;
}
body[data-season='halloween'] .catalog > .section-heading h1::before,
body[data-season='halloween'] .catalog > .section-heading h2::before {
  content: '🎃';
  font-size: 26px;
  line-height: 1;
}
:root:not([data-theme='dark'])
  body[data-season='halloween']:not([data-theme='dark'])
  .catalog
  > .section-heading {
  background:
    radial-gradient(ellipse at 80% 90%, #643b8b70, transparent 55%),
    linear-gradient(110deg, #15132e, #31205a 65%, #21173e);
  border-color: #a485d566;
  color: #fff;
}
:root:not([data-theme='dark'])
  body[data-season='halloween']:not([data-theme='dark'])
  .catalog
  > .section-heading
  :is(h1, h2) {
  color: #fff;
}
:root:not([data-theme='dark'])
  body[data-season='halloween']:not([data-theme='dark'])
  .catalog
  > .section-heading
  .eyebrow {
  color: #d4b2f7;
}
:root:not([data-theme='dark'])
  body[data-season='halloween']:not([data-theme='dark'])
  .catalog
  > .section-heading
  > p {
  color: #e0d3ed;
}
body[data-season='halloween'] .product-grid .product-card {
  border-color: #bba5d64d;
  box-shadow: 0 5px 22px #4d286807;
}
body[data-season='halloween'] .product-grid .product-card:hover {
  border-color: #9c78ce;
  box-shadow: 0 9px 28px #5a35741a;
}
body[data-season='halloween'] .hero-visual {
  outline: 1px solid #ac89d34a;
  outline-offset: 6px;
}
body[data-season='halloween'] footer {
  position: relative;
  isolation: isolate;
  background-color: #17142e;
  background-image: url('/halloween-scene.svg');
  background-position: right 20px bottom;
  background-size: 290px auto;
  background-repeat: no-repeat;
  color: #d5cae6;
  border-top: 1px solid #8d6cb777;
  padding-bottom: 90px;
}
body[data-season='halloween'] footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 140px;
  height: 140px;
  background: url('/halloween-web.svg') top left/contain no-repeat;
  pointer-events: none;
  z-index: -1;
}
body[data-season='halloween'] footer p,
body[data-season='halloween'] footer span {
  color: #d5cae6;
}
body[data-season='halloween'] footer {
  background-color: #f1e8fb;
  color: #483960;
}
body[data-season='halloween'] footer p,
body[data-season='halloween'] footer span {
  color: #483960;
}
[data-theme='dark'] body[data-season='halloween'] footer,
body[data-theme='dark'][data-season='halloween'] footer {
  background-color: #17142e;
  color: #d5cae6;
}
[data-theme='dark'] body[data-season='halloween'] footer p,
[data-theme='dark'] body[data-season='halloween'] footer span,
body[data-theme='dark'][data-season='halloween'] footer p,
body[data-theme='dark'][data-season='halloween'] footer span {
  color: #d5cae6;
}
[data-theme='dark'] body[data-season='halloween'] .catalog > .section-heading,
body[data-theme='dark'][data-season='halloween'] .catalog > .section-heading {
  background: linear-gradient(110deg, #241d3c, #1b1c34);
  border-color: #73578c70;
}
[data-theme='dark'] body[data-season='halloween'] .catalog > .section-heading .eyebrow,
body[data-theme='dark'][data-season='halloween'] .catalog > .section-heading .eyebrow {
  color: #d2b5ef;
}
@media (max-width: 800px) {
  .halloween-banner .seasonal-inner {
    grid-template-columns: 1fr 1fr;
    min-height: 220px;
  }
  .halloween-banner .seasonal-copy {
    padding-left: 12px;
  }
  .halloween-banner .seasonal-copy strong {
    font-size: 30px;
  }
  .halloween-banner .halloween-kicker {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  .halloween-banner .seasonal-copy > span:not(.halloween-kicker) {
    font-size: 12px;
  }
  .halloween-scene {
    height: 205px;
  }
  .halloween-banner .seasonal-link {
    font-size: 11px;
    padding: 9px 12px;
    gap: 10px;
  }
  body[data-season='halloween'] .catalog > .section-heading {
    padding: 18px;
    gap: 14px;
  }
}
@media (max-width: 540px) {
  .halloween-banner .seasonal-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 25px 0 0;
    text-align: center;
    min-height: 0;
  }
  .halloween-banner .seasonal-copy {
    padding: 0 12px;
    gap: 8px;
  }
  .halloween-banner .seasonal-copy strong {
    font-size: 32px;
  }
  .halloween-banner .halloween-kicker {
    font-size: 9px;
    letter-spacing: 2px;
  }
  .halloween-banner .seasonal-copy > span:not(.halloween-kicker) {
    font-size: 12px;
  }
  .halloween-banner .seasonal-link {
    justify-self: center;
    margin-top: 5px;
    padding: 9px 14px;
  }
  .halloween-scene {
    height: 158px;
    width: 100%;
    margin: -2px 0 -2px;
  }
  .halloween-banner::before {
    width: 95px;
    height: 95px;
    opacity: 0.5;
  }
  .halloween-compact .seasonal-inner {
    grid-template-columns: 1fr 110px;
    text-align: left;
    padding: 17px 0;
    gap: 0;
  }
  .halloween-compact .seasonal-copy {
    padding: 0;
    gap: 5px;
  }
  .halloween-compact .seasonal-copy strong {
    font-size: 22px;
  }
  .halloween-compact .halloween-kicker {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .halloween-compact .seasonal-copy > span:not(.halloween-kicker) {
    font-size: 11px;
  }
  .halloween-compact .halloween-scene {
    height: 110px;
    width: 145px;
    max-width: none;
    margin-left: -20px;
  }
  .halloween-compact .seasonal-link {
    justify-self: start;
    font-size: 10px;
    padding: 5px 0;
    border: 0;
    background: transparent;
    margin: 0;
  }
  body[data-season='halloween'] .catalog > .section-heading {
    padding: 16px;
    border-radius: 14px;
  }
  body[data-season='halloween'] .catalog > .section-heading > p br {
    display: initial;
  }
  body[data-season='halloween'] .catalog > .section-heading h1::before,
  body[data-season='halloween'] .catalog > .section-heading h2::before {
    font-size: 23px;
  }
  body[data-season='halloween'] footer {
    background-size: 220px auto;
    padding-bottom: 105px;
  }
}
/* Novembro: Black Friday. Preto profundo, amarelo de impacto e contagem regressiva.
   Preços e checkout não mudam; só a vitrine ganha a cara da Black. */
body[data-season='black-friday'] {
  --season-accent: #ffd60a;
  --season-end: #ffd60a;
  --season-start: #050505;
  --bf-yellow: #ffd60a;
  --bf-black: #050505;
}
body[data-season='black-friday'] .seasonal-banner.bf-banner {
  color: #fff;
  border-bottom: 0;
  background:
    radial-gradient(ellipse at 85% 50%, #ffd60a2b, transparent 45%),
    radial-gradient(ellipse at 10% 120%, #ff3b3b1f, transparent 40%),
    repeating-linear-gradient(-45deg, #ffffff06 0 2px, transparent 2px 22px), #050505;
}
.bf-banner::after {
  display: none;
}
.bf-marquee {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  background: var(--bf-yellow);
  color: #050505;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 2px;
  padding: 7px 0;
  border-bottom: 2px solid #050505;
}
.bf-track {
  flex: none;
  padding-right: 0;
  animation: bf-scroll 38s linear infinite;
}
@keyframes bf-scroll {
  to {
    transform: translateX(-100%);
  }
}
.seasonal-inner.bf-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) auto auto;
  align-items: center;
  gap: 34px;
  min-height: 0;
  padding: 34px 0 38px;
}
.bf-copy {
  display: grid;
  gap: 10px;
  justify-items: start;
  min-width: 0;
}
.bf-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--bf-yellow);
}
.bf-title {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  font-size: clamp(42px, 6.4vw, 84px);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -2px;
  text-transform: uppercase;
  color: #fff;
}
.bf-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--bf-yellow);
  text-shadow: 0 0 34px #ffd60a55;
}
.bf-sub {
  max-width: 470px;
  font-size: 15px;
  line-height: 1.5;
  color: #d9d9d9;
}
.bf-cta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--bf-yellow);
  color: #050505;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 30px #ffd60a40;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.bf-cta::after {
  content: '→';
  font-size: 18px;
}
.bf-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px #ffd60a66;
}
.bf-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}
.bf-countdown {
  display: grid;
  gap: 10px;
  justify-items: center;
}
.bf-count-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
}
.bf-today .bf-count-label {
  color: var(--bf-yellow);
  animation: bf-blink 1.2s steps(2, start) infinite;
}
@keyframes bf-blink {
  to {
    visibility: hidden;
  }
}
.bf-clock {
  display: flex;
  gap: 8px;
}
.bf-clock div {
  display: grid;
  justify-items: center;
  min-width: 70px;
  padding: 12px 8px 9px;
  border-radius: 12px;
  background: #141414;
  border: 1px solid #ffd60a55;
  box-shadow: inset 0 -3px 0 #ffd60a;
}
.bf-clock b {
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--bf-yellow);
}
.bf-clock small {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #bdbdbd;
}
.bf-tag {
  display: grid;
  place-items: center;
  align-content: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--bf-yellow);
  color: #050505;
  transform: rotate(-12deg);
  box-shadow:
    0 0 0 8px #050505,
    0 0 0 10px var(--bf-yellow),
    0 18px 50px #ffd60a40;
  animation: bf-pulse 2.4s ease-in-out infinite;
}
.bf-tag span {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 3px;
}
.bf-tag b {
  font-size: 46px;
  line-height: 0.9;
  font-weight: 900;
}
@keyframes bf-pulse {
  50% {
    transform: rotate(-12deg) scale(1.06);
  }
}
/* Páginas sem vitrine (produto, conta): faixa mais baixa. */
.bf-compact .seasonal-inner.bf-inner {
  padding: 18px 0 20px;
  gap: 24px;
}
.bf-compact .bf-title {
  font-size: clamp(30px, 4vw, 46px);
}
.bf-compact .bf-sub,
.bf-compact .bf-tag {
  display: none;
}
.bf-compact .bf-clock div {
  min-width: 56px;
  padding: 8px 6px 7px;
}
.bf-compact .bf-clock b {
  font-size: 24px;
}
/* Loja durante a Black */
body[data-season='black-friday'] .store-header {
  border-top: 4px solid var(--bf-yellow);
}
body[data-season='black-friday'] footer {
  background: #050505;
  color: #d9d9d9;
  border-top: 4px solid var(--bf-yellow);
}
body[data-season='black-friday'] footer a {
  color: var(--bf-yellow);
}
body[data-season='black-friday'] .catalog > .section-heading .eyebrow {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  background: #050505;
  color: var(--bf-yellow);
  letter-spacing: 2px;
}
body[data-season='black-friday'] .product-grid .product-card {
  position: relative;
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
}
body[data-season='black-friday'] .product-grid .product-card:hover {
  border-color: #050505;
  box-shadow: 0 0 0 2px var(--bf-yellow);
  transform: translateY(-3px);
}
/* Produto em oferta ganha a etiqueta da Black. */
body[data-season='black-friday'] .product-card:has(.sale-price)::before {
  content: '★ BLACK FRIDAY SOS ★';
  order: -1;
  display: block;
  padding: 6px 0;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  background: #050505;
  color: var(--bf-yellow);
}
body[data-season='black-friday'] .product-card:has(.sale-price) {
  border-color: #050505;
}
body[data-season='black-friday'] .sale-discount {
  background: #050505;
  color: var(--bf-yellow);
}
[data-theme='dark'] body[data-season='black-friday'] .product-grid .product-card:hover,
body[data-theme='dark'][data-season='black-friday'] .product-grid .product-card:hover {
  border-color: var(--bf-yellow);
}
@media (max-width: 1000px) {
  .seasonal-inner.bf-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .bf-tag {
    display: none;
  }
}
@media (max-width: 700px) {
  .seasonal-inner.bf-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 26px 0 30px;
  }
  .bf-countdown {
    justify-items: start;
  }
  .bf-clock div {
    min-width: 0;
    flex: 1;
  }
  .bf-clock {
    width: 100%;
  }
  .bf-clock b {
    font-size: 26px;
  }
  .bf-title {
    letter-spacing: -1px;
  }
  .bf-outline {
    -webkit-text-stroke-width: 1.5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bf-track,
  .bf-tag,
  .bf-today .bf-count-label {
    animation: none;
  }
}

/* ---- Black Friday: página do produto ---- */
body[data-season='black-friday'].product-detail-page main {
  background: radial-gradient(circle at 85% 0, #ffd60a14, transparent 40%), transparent;
}
body[data-season='black-friday'] .bf-photo-tag {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background:
    repeating-linear-gradient(135deg, #ffffff08 0 2px, transparent 2px 14px), var(--bf-black);
}
.bf-photo-name {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.bf-photo-name span {
  padding: 5px 10px;
  background: #fff;
  color: var(--bf-black);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 3px;
  line-height: 1.1;
}
.bf-photo-name span + span {
  background: var(--bf-yellow);
}
.bf-photo-name span:last-child {
  background: transparent;
  color: var(--bf-yellow);
  border: 2px solid var(--bf-yellow);
}
.bf-photo-tag b {
  display: grid;
  place-items: center;
  align-content: center;
  flex: none;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--bf-yellow);
  color: var(--bf-black);
  box-shadow:
    0 0 0 3px var(--bf-black),
    0 0 0 5px var(--bf-yellow);
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  transform: rotate(-12deg);
}
.bf-photo-tag b small {
  font-size: 10px;
  letter-spacing: 2px;
}
body[data-season='black-friday'] .bf-product.bf-on-sale .detail-gallery {
  border: 3px solid var(--bf-black);
  box-shadow: 8px 8px 0 var(--bf-yellow);
  border-radius: 14px;
}
body[data-season='black-friday'] .bf-product .detail-summary {
  background:
    repeating-linear-gradient(135deg, #ffffff05 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #0b0b0b, #161616 60%, #221d02);
  border: 2px solid var(--bf-yellow);
  box-shadow: 0 18px 40px #0006;
  padding: 0 22px 22px;
  overflow: hidden;
}
.bf-summary-head {
  order: -3;
  margin: 0 -22px 18px;
  padding: 12px 22px;
  background: var(--bf-yellow);
  color: var(--bf-black);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
}
.bf-summary-head strong {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 2px;
}
.bf-summary-head span {
  font-size: 12px;
  font-weight: 600;
}
.bf-summary-head a {
  color: inherit;
  font-weight: 800;
}
body[data-season='black-friday'] .bf-product .detail-price .sale-label {
  color: var(--bf-yellow);
}
body[data-season='black-friday'] .bf-product .detail-price .sale-countdown {
  background: #000;
  border: 1px dashed var(--bf-yellow);
}
body[data-season='black-friday'] .bf-product .detail-price .sale-countdown b {
  color: var(--bf-yellow);
  font-size: 1.4rem;
  font-variant-numeric: tabular-nums;
}
body[data-season='black-friday'] .bf-product .detail-price strong {
  color: var(--bf-yellow);
  font-size: 2.5rem;
  font-weight: 900;
}
body[data-season='black-friday'] .bf-product .detail-price .sale-discount {
  background: var(--bf-yellow);
  color: var(--bf-black);
  font-size: 0.9rem;
  font-weight: 900;
  padding: 4px 10px;
  transform: rotate(-4deg);
}
body[data-season='black-friday'] .bf-product .detail-price .sale-saving {
  display: inline-block;
  width: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffd60a22;
  color: var(--bf-yellow);
  font-weight: 800;
}
body[data-season='black-friday'] .bf-product .payment-box {
  background: #ffffff0a;
  border-color: #ffffff1f;
  color: #f2f2f2;
}
body[data-season='black-friday'] .bf-product .payment-box p {
  color: #c9c9c9;
}
.bf-hurry {
  margin: 10px 0;
  font-size: 13px;
  font-weight: 800;
  color: #ff6b6b;
  animation: bf-blink 1.4s ease-in-out infinite;
}
@keyframes bf-blink {
  50% {
    opacity: 0.55;
  }
}
.product-detail-page .product-buy.bf-buy {
  background: var(--bf-yellow);
  color: var(--bf-black);
  border: 0;
  box-shadow: 0 6px 0 #b39500;
  font-weight: 900;
  letter-spacing: 1px;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.product-detail-page .product-buy.bf-buy:hover {
  transform: translateY(2px);
  box-shadow: 0 4px 0 #b39500;
  background: #ffe14d;
}
.product-detail-page .product-buy.bf-buy small {
  color: #2b2b2b;
}
.bf-more {
  margin: 10px 0 0;
  padding: 34px 28px !important;
  border: 0 !important;
  border-radius: 18px;
  background:
    repeating-linear-gradient(135deg, #ffffff06 0 2px, transparent 2px 16px), var(--bf-black);
  color: #fff;
}
.bf-more-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.bf-more-kicker {
  color: var(--bf-yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 3px;
}
.bf-more h2 {
  margin: 6px 0 0 !important;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
}
.bf-more-head a {
  color: var(--bf-yellow);
  font-weight: 800;
  white-space: nowrap;
}
.bf-more-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.bf-more-card {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  color: #111;
  text-decoration: none;
  border: 2px solid transparent;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.bf-more-card:hover {
  transform: translateY(-3px);
  border-color: var(--bf-yellow);
}
.bf-more-off {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 3px 8px;
  background: var(--bf-yellow);
  color: var(--bf-black);
  font-weight: 900;
  font-size: 12px;
  border-radius: 6px;
  z-index: 1;
}
.bf-more-img {
  display: grid;
  place-items: center;
  height: 120px;
  margin-bottom: 6px;
  border-radius: 8px;
  background: #f4f4f4;
}
.bf-more-img img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
}
.bf-more-img i {
  font-style: normal;
  font-size: 34px;
}
.bf-more-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.bf-more-card del {
  font-size: 12px;
  color: #777;
}
.bf-more-card strong {
  font-size: 18px;
  font-weight: 900;
}
@media (max-width: 900px) {
  .bf-more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .bf-more {
    padding: 24px 16px !important;
  }
  .bf-more-head {
    flex-direction: column;
    align-items: start;
  }
  body[data-season='black-friday'] .bf-product .detail-summary {
    padding: 0 16px 18px;
  }
  .bf-summary-head {
    margin: 0 -16px 16px;
    padding: 10px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bf-hurry {
    animation: none;
  }
}
/* a versão com letras brancas só aparece no rodapé escuro (tema da Black Friday) */
footer .logo-rodape-branca {
  display: none;
}
/* rodapé escuro da Black Friday: logo com as letras brancas, sem a caixa branca atrás */
body[data-season='black-friday'] footer .brand-logo {
  display: none;
}
body[data-season='black-friday'] footer .logo-rodape-branca {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
  background: none;
  padding: 0;
  filter: none;
}
.bf-title .bf-sos {
  padding: 0 0.14em;
  background: var(--bf-yellow);
  color: var(--bf-black);
  border-radius: 6px;
  transform: rotate(-3deg);
}
