:root {
  --shop-bg: #f4f2ea;
  --shop-panel: #ffffff;
  --shop-ink: #161f31;
  --shop-muted: #5f6675;
  --shop-line: #d7dbe2;
  --shop-brand: #0b4d7a;
  --shop-brand-dark: #0b162f;
  --shop-success: #2d8155;
  --shop-warn: #b5542b;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 14px 34px rgba(15, 24, 41, 0.08);
  --glass-panel-fill:
    radial-gradient(140% 220% at 0% 0%, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.22) 32%, rgba(255, 255, 255, 0) 58%),
    radial-gradient(120% 180% at 100% 100%, rgba(78, 142, 255, 0.12) 0%, rgba(78, 142, 255, 0) 54%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.56) 0%, rgba(242, 245, 252, 0.28) 100%);
  --glass-control-fill:
    radial-gradient(120% 200% at 10% 0%, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.22) 34%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.62) 0%, rgba(240, 244, 251, 0.3) 100%);
  --glass-border-strong: rgba(255, 255, 255, 0.58);
  --glass-shadow-strong:
    0 24px 48px rgba(15, 24, 41, 0.14),
    0 8px 18px rgba(15, 24, 41, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(255, 255, 255, 0.18);
  --glass-focus-ring: rgba(11, 77, 122, 0.16);
  --glass-panel-backdrop: blur(16px) saturate(168%);
  --glass-control-backdrop: blur(12px) saturate(158%);
}

* {
  box-sizing: border-box;
}

body.shop-page {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Inter", sans-serif;
  color: var(--shop-ink);
  background: linear-gradient(180deg, #f6f4ec 0%, #eef1f5 100%);
}

a {
  color: inherit;
}

.shop-container {
  width: min(1320px, calc(100% - 24px));
  margin: 0 auto;
}

.shop-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 244, 236, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #d7dadf;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.brand img {
  height: 42px;
  width: 42px;
  object-fit: contain;
}

.shop-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-link {
  text-decoration: none;
}

.shop-nav a {
  text-decoration: none;
  color: #364056;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.shop-nav a[aria-current="page"],
.shop-nav a:hover {
  color: var(--shop-brand-dark);
  border-bottom-color: var(--shop-brand-dark);
}

.cart-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #b8bfcc;
  border-radius: 999px;
  background: #fff;
  color: var(--shop-brand-dark);
  font-weight: 700;
  padding: 10px 16px;
  cursor: pointer;
}

.count-pill {
  min-width: 26px;
  border-radius: 999px;
  background: #e9ecf1;
  padding: 2px 8px;
  text-align: center;
}

.shop-main {
  padding: 18px 0 34px;
}

.shop-hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #f7f1dd 0%, #edf2f7 100%);
  border: 1px solid #dce0e8;
  box-shadow: var(--shadow-soft);
  align-items: start;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6f6656;
  font-weight: 700;
}

.shop-hero h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.45rem);
  line-height: 1.1;
}

.shop-hero p {
  margin: 10px 0 0;
  color: #374057;
  max-width: 62ch;
}

.hero-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.hero-copy p {
  margin-top: 0;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-meta > div {
  border: 1px solid var(--shop-line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 12px 13px;
}

.hero-meta strong {
  display: block;
  margin-bottom: 6px;
}

.hero-meta-wide {
  grid-column: 1 / -1;
}

.shop-controls {
  margin-top: 12px;
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab {
  border: 1px solid #c4ccda;
  border-radius: 999px;
  background: #fff;
  color: #1f2b43;
  font-weight: 700;
  padding: 8px 14px;
  cursor: pointer;
}

.tab.active {
  background: var(--shop-brand-dark);
  border-color: var(--shop-brand-dark);
  color: #fff;
}

.search-wrap {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  color: #5a6272;
}

.search-wrap input {
  width: min(320px, 100%);
  border: 1px solid var(--shop-line);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.95rem;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 14px;
  align-items: start;
}

.catalog-area {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.bundle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.collection-section {
  display: grid;
  gap: 12px;
}

.catalog-shell {
  padding: 16px;
  border-radius: var(--radius-lg);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.section-copy {
  margin: 8px 0 0;
  color: #4d5870;
  max-width: 72ch;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #cfd7e6;
  background: rgba(255, 255, 255, 0.82);
  color: #33415f;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.product-card,
.skeleton-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--shop-line);
  background: var(--shop-panel);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.product-card-coming-soon {
  border-style: dashed;
  border-color: #c7cfdd;
  background: linear-gradient(170deg, #fafbfe 0%, #f2f4f9 100%);
}

.bundle-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--shop-line);
  background: var(--shop-panel);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.bundle-card.is-locked {
  border-color: #d6c7a4;
  background: linear-gradient(180deg, #fffdf5 0%, #ffffff 100%);
}

.bundle-card.is-unlocked {
  border-color: #b8dcc7;
}

.product-card-coming-soon .product-image {
  filter: saturate(0.5) contrast(0.95);
}

.product-media {
  position: relative;
}

.product-badge-row {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(10, 25, 49, 0.14);
  background: rgba(255, 255, 255, 0.96);
  color: #13233f;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 5px 10px;
}

.product-badge.secondary {
  background: rgba(8, 17, 43, 0.9);
  color: #fff;
  border-color: rgba(8, 17, 43, 0.9);
}

.product-badge.accent {
  background: rgba(231, 111, 37, 0.12);
  color: #8a431e;
  border-color: rgba(231, 111, 37, 0.2);
}

.carousel-shell {
  position: relative;
}

.product-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e5e8ef;
}

.carousel-controls {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 8px;
}

.carousel-button {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(11, 22, 47, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--shop-brand-dark);
  cursor: pointer;
}

.carousel-button:hover {
  background: #fff;
}

.carousel-dots {
  position: absolute;
  left: 12px;
  bottom: 14px;
  display: flex;
  gap: 6px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 0 0 1px rgba(8, 17, 43, 0.16);
  cursor: pointer;
}

.carousel-dot.is-active {
  background: var(--shop-brand-dark);
}

.product-body {
  padding: 12px;
  display: grid;
  gap: 9px;
}

.product-name {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.25;
}

.product-desc {
  margin: 0;
  color: var(--shop-muted);
  font-size: 0.9rem;
  min-height: 40px;
}

.product-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: #4f5b73;
}

.product-stars {
  letter-spacing: 0.08em;
  color: #d19423;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 800;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.product-compare {
  color: #7f8696;
  font-size: 0.9rem;
  text-decoration: line-through;
}

.product-shipping {
  margin: 0;
  font-size: 0.82rem;
  color: #42506e;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.fact-chip {
  border: 1px solid #d7dce7;
  border-radius: 12px;
  background: #f8fafc;
  padding: 9px 10px;
  display: grid;
  gap: 4px;
}

.fact-chip span {
  color: #667086;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fact-chip strong {
  color: #18253f;
  font-size: 0.88rem;
  line-height: 1.35;
}

.feature-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: #394661;
  font-size: 0.88rem;
}

.bundle-note {
  margin: -2px 0 0;
  color: #6c5730;
  font-size: 0.85rem;
}

.bundle-components {
  display: grid;
  gap: 8px;
}

.bundle-components h4,
.detail-block h4 {
  margin: 0;
  font-size: 0.92rem;
}

.product-details {
  border-top: 1px dashed #d3d8e3;
  padding-top: 10px;
}

.product-details summary {
  cursor: pointer;
  font-weight: 700;
  color: #20304d;
}

.detail-stack {
  margin-top: 10px;
  display: grid;
  gap: 12px;
}

.detail-copy,
.detail-block p {
  margin: 0;
  color: #49556d;
  font-size: 0.88rem;
  line-height: 1.55;
}

.detail-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #d2d8e4;
  background: #f7f9fc;
  color: #21314f;
  font-size: 0.8rem;
  font-weight: 700;
}

.detail-chip.subtle {
  color: #5e6780;
}

.coming-soon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  border-radius: 999px;
  border: 1px solid #ccd3df;
  background: rgba(255, 255, 255, 0.9);
  color: #4b546a;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
}

.card-actions {
  display: flex;
  gap: 8px;
}

.cta,
.ghost {
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.cta {
  padding: 10px 14px;
  background: #07112b;
  color: #fff;
}

.cta:hover {
  background: #0d1c3d;
}

.cta.secondary {
  background: #fff;
  border-color: #b9c0cc;
  color: #1f2a42;
}

.cta:disabled {
  opacity: 0.56;
  cursor: not-allowed;
}

.ghost {
  background: #fff;
  border-color: #d0d6e1;
  color: #31405f;
  padding: 8px 11px;
}

.cart-drawer {
  position: sticky;
  top: 90px;
  border: 1px solid var(--shop-line);
  border-radius: var(--radius-lg);
  background: var(--shop-panel);
  box-shadow: var(--shadow-soft);
  padding: 14px;
  display: grid;
  gap: 12px;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h2 {
  margin: 0;
  font-size: 1.2rem;
}

.cart-items {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
}

.cart-item {
  border: 1px solid var(--shop-line);
  border-radius: 10px;
  padding: 10px;
  display: grid;
  gap: 8px;
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.cart-item h3 {
  margin: 0;
  font-size: 0.94rem;
}

.cart-item-price {
  font-size: 0.83rem;
  color: var(--shop-muted);
}

.qty-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid #c5ccd9;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.qty-value {
  min-width: 20px;
  text-align: center;
  font-weight: 700;
}

.cart-email {
  display: grid;
  gap: 6px;
}

.cart-email label {
  font-size: 0.84rem;
  color: #54607a;
}

.cart-email input {
  width: 100%;
  border: 1px solid #cfd5de;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.95rem;
}

.cart-totals {
  border-top: 1px dashed #c8cdda;
  padding-top: 10px;
  display: grid;
  gap: 6px;
}

.cart-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.total-row {
  font-size: 1.03rem;
}

.cart-actions {
  display: grid;
  gap: 8px;
}

.muted {
  margin: 0;
  color: var(--shop-muted);
  font-size: 0.86rem;
}

.shop-message {
  margin-bottom: 10px;
  border: 1px solid #c5cedf;
  border-radius: 12px;
  background: #eff4fd;
  color: #1f3d74;
  padding: 10px 12px;
}

.shop-coming-soon-card {
  grid-column: 1 / -1;
  border: 1px dashed #bcc7de;
  border-radius: 14px;
  background: linear-gradient(140deg, #f7f9ff 0%, #eef2fb 100%);
  box-shadow: var(--shadow-soft);
  padding: 22px 20px;
}

.shop-coming-soon-card h2 {
  margin: 4px 0 10px;
  font-size: 1.4rem;
}

.shop-coming-soon-card p {
  margin: 0;
  color: #485673;
  max-width: 56ch;
}

.shop-message.warn {
  border-color: #efccbd;
  background: #fff5ee;
  color: #894327;
}

.shop-message.success {
  border-color: #b9ddc9;
  background: #eefaf2;
  color: #1f6540;
}

.shop-message.hidden,
.hidden {
  display: none !important;
}

.shop-empty-card {
  grid-column: 1 / -1;
  border: 1px dashed #c1cbde;
  border-radius: 14px;
  background: linear-gradient(140deg, #f9fbff 0%, #eef2fb 100%);
  padding: 22px 20px;
}

.shop-empty-card h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
}

.shop-empty-card p {
  margin: 0;
  color: #4a5875;
}

.policy-section {
  margin-top: 14px;
}

.policy-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--shop-line);
  background: #fff;
  padding: 12px 14px;
  box-shadow: var(--shadow-soft);
}

.policy-card summary {
  cursor: pointer;
  font-weight: 700;
}

.policy-grid {
  margin-top: 10px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.policy-grid h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
}

.policy-grid p {
  margin: 0 0 8px;
  color: #3f4961;
  font-size: 0.9rem;
}

.skeleton-card {
  min-height: 360px;
  background: linear-gradient(90deg, #f3f4f8 0%, #ebedf3 48%, #f3f4f8 100%);
  background-size: 280% 100%;
  animation: shimmer 1.5s infinite linear;
}

@keyframes shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 13, 24, 0.46);
  z-index: 49;
}

.success-shell {
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--shop-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.order-summary {
  margin-top: 14px;
  border: 1px solid #d4d9e4;
  border-radius: 12px;
  padding: 14px;
  display: grid;
  gap: 9px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.95rem;
}

.summary-items {
  margin: 0;
  padding: 0 0 0 16px;
  display: grid;
  gap: 6px;
}

.success-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cart-helper {
  margin-top: -2px;
}

.skeleton-card-short {
  min-height: 260px;
}

.native-inline-ad-slot {
  border: 1px solid var(--shop-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  padding: 12px;
  width: 100%;
  overflow: hidden;
}

.native-inline-ad-inner,
.native-inline-ad-skeleton {
  display: grid;
  gap: 10px;
}

.native-inline-ad-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.native-inline-ad-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(226, 90, 44, 0.14);
  color: #8c3518;
  border: 1px solid rgba(226, 90, 44, 0.24);
}

.native-inline-ad-choices,
.native-inline-ad-meta {
  font-size: 0.78rem;
  color: #60708c;
}

.native-inline-ad-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.native-inline-ad-copy {
  min-width: 0;
}

.native-inline-ad-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.native-inline-ad-body {
  margin: 6px 0 0;
  color: #49556d;
  font-size: 0.86rem;
  line-height: 1.45;
}

.native-inline-ad-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--shop-line);
  object-fit: cover;
  background: #fff;
}

.native-inline-ad-icon-fallback {
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #1b4aa0;
  background: rgba(48, 132, 220, 0.18);
}

.native-inline-ad-media {
  width: 100%;
  min-height: 118px;
  border-radius: 12px;
  border: 1px solid var(--shop-line);
  object-fit: cover;
  background: linear-gradient(135deg, rgba(226, 90, 44, 0.14), rgba(61, 189, 204, 0.2));
}

.native-inline-ad-media-fallback {
  min-height: 100px;
}

.native-inline-ad-cta {
  justify-self: start;
}

body.mobile-bottom-nav-enabled {
  padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px));
}

.mobile-bottom-nav {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 92;
  border-radius: 18px;
  border: 1px solid rgba(29, 94, 216, 0.24);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.94) 0%, rgba(239, 246, 255, 0.9) 100%);
  box-shadow: 0 16px 30px rgba(15, 42, 97, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px) saturate(145%);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
}

.mobile-bottom-nav.hidden {
  display: none;
}

.mobile-bottom-nav-inner {
  min-height: 62px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px));
}

.mobile-bottom-link {
  min-height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  border-radius: 12px;
  color: #5f6675;
  font-size: 0.62rem;
  font-weight: 800;
  border: 1px solid transparent;
  text-decoration: none;
}

.mobile-bottom-link i {
  font-size: 1.08rem;
}

.mobile-bottom-link.active {
  background: linear-gradient(135deg, #1f5dff 0%, #0f3fb8 100%);
  border-color: rgba(31, 93, 255, 0.55);
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 93, 255, 0.32);
}

@media (max-width: 1140px) {
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bundle-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .nav-shell {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .shop-nav {
    display: flex;
    order: 3;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .shop-nav a {
    white-space: nowrap;
  }

  .shop-hero {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .cart-drawer {
    position: fixed;
    right: 0;
    top: 0;
    height: 100dvh;
    width: min(420px, calc(100% - 24px));
    border-radius: 16px 0 0 16px;
    border-right: 0;
    z-index: 50;
    transform: translateX(106%);
    transition: transform 180ms ease-out;
    overflow: auto;
  }

  body.cart-open .cart-drawer {
    transform: translateX(0);
  }

  body.cart-open {
    overflow: hidden;
  }

  body.cart-open .cart-overlay {
    display: block;
  }
}

@media (max-width: 720px) {
  .shop-container {
    width: min(1320px, calc(100% - 16px));
  }

  .shop-main {
    padding-top: 12px;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }

  .bundle-grid {
    grid-template-columns: 1fr;
  }

  .policy-grid {
    grid-template-columns: 1fr;
  }

  .tabs {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .search-wrap {
    width: 100%;
  }

  .search-wrap input {
    width: 100%;
  }

  .hero-cta-row,
  .header-actions {
    width: 100%;
  }

  .header-actions {
    justify-content: space-between;
  }

  .fact-grid {
    grid-template-columns: 1fr;
  }

  .shop-hero,
  .catalog-shell,
  .shop-comments-card {
    padding: 14px;
  }
}

@media (min-width: 981px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}

html[data-liquid-glass-mode="refraction"] {
  --glass-panel-backdrop: url("#quantura-liquid-glass-panel-filter") blur(18px) saturate(172%);
  --glass-control-backdrop: url("#quantura-liquid-glass-control-filter") blur(12px) saturate(162%);
}

.shop-header,
.shop-hero,
.hero-meta > div,
.collection-section,
.policy-card,
.bundle-card,
.product-card,
.cart-drawer,
.cart-overlay,
.shipping-card,
.summary-card,
.bundle-note,
.shop-message,
.shop-comments-card,
.shop-comments-card .quantura-comments-shell {
  background: var(--glass-panel-fill);
  border-color: var(--glass-border-strong);
  box-shadow: var(--glass-shadow-strong);
  backdrop-filter: var(--glass-panel-backdrop);
  -webkit-backdrop-filter: var(--glass-panel-backdrop);
}

.cart-toggle,
.tab,
.search-wrap input,
.carousel-button,
.cart-email input,
.qty-button,
.header-link,
.shop-nav a {
  background: var(--glass-control-fill);
  border-color: var(--glass-border-strong);
  box-shadow:
    0 16px 30px rgba(15, 24, 41, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: var(--glass-control-backdrop);
  -webkit-backdrop-filter: var(--glass-control-backdrop);
}

.cart-toggle,
.tab,
.carousel-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.cart-toggle::before,
.tab::before,
.carousel-button::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(158deg, rgba(255, 255, 255, 0.74) 0%, rgba(255, 255, 255, 0.18) 30%, rgba(255, 255, 255, 0) 58%),
    radial-gradient(110% 90% at 84% 100%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 70%);
}

.tab.active,
.cart-toggle:hover {
  background:
    radial-gradient(130% 200% at 0% 0%, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0.16) 30%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(145deg, rgba(11, 77, 122, 0.3) 0%, rgba(28, 113, 178, 0.16) 100%);
  color: var(--shop-brand-dark);
  border-color: rgba(11, 77, 122, 0.28);
}

.search-wrap input:focus,
.cart-email input:focus,
.cart-toggle:focus-visible,
.tab:focus-visible,
.carousel-button:focus-visible {
  outline: none;
  border-color: rgba(11, 77, 122, 0.4);
  box-shadow:
    0 0 0 4px var(--glass-focus-ring),
    0 16px 30px rgba(15, 24, 41, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.shop-comments-card {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.shop-comments-card .quantura-comments-host {
  width: 100%;
  min-height: 240px;
}

.shop-comments-card .quantura-comments-shell {
  min-height: 240px;
  border-radius: 24px;
  border: 1px dashed rgba(11, 77, 122, 0.2);
  padding: 18px;
}

.shop-comments-card .quantura-comments-loading {
  min-height: 206px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--shop-ink-soft);
  font-size: 14px;
}

.shop-comments-card iframe.giscus-frame {
  width: 100%;
}
