/* === Shop & Product Pages === */

/* Shop hero band — each collection has its own solid (Accessories = original brand blue) */
:root {
  /* Product cards — minimalist surface */
  --card-surface: #ffffff;
  --card-border: rgba(15, 23, 42, 0.06);
  --card-border-hover: rgba(15, 23, 42, 0.09);
  --card-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 20px -8px rgba(15, 23, 42, 0.08);
  --card-shadow-hover: 0 12px 36px -10px rgba(15, 23, 42, 0.14), 0 4px 12px -4px rgba(15, 23, 42, 0.06);
  --card-radius: 16px;
  --card-img-bg: linear-gradient(165deg, #f8f9fb 0%, #f1f3f6 50%, #eceef2 100%);
  /* Muted steel blue — calmer than bright #2563eb, still pairs with white type */
  --shop-hero-bg-all: #3d5a80;
  --shop-hero-bg-notebooks: #0d9488;
  --shop-hero-bg-accessories: #1e67b0;
  --shop-hero-text: #ffffff;
  --shop-hero-kicker: rgba(255, 255, 255, 0.78);
  --shop-hero-body: rgba(255, 255, 255, 0.92);
  --shop-hero-text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

/* --- Shop Hero (background set per collection modifier) --- */
.shop-hero {
  padding: 96px 0 28px;
  text-align: center;
}
.shop-hero-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--shop-hero-kicker);
  margin-bottom: 8px;
  text-shadow: var(--shop-hero-text-shadow);
}
.shop-hero-title {
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 10px;
  color: var(--shop-hero-text);
  text-shadow: var(--shop-hero-text-shadow);
}
.shop-hero-desc {
  color: var(--shop-hero-body);
  font-size: 0.92rem;
  font-weight: 500;
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.55;
  text-shadow: var(--shop-hero-text-shadow);
}

/* Shop Hero: All — books left, copy center, stickers right */
.shop-hero--all {
  text-align: left;
  background: var(--shop-hero-bg-all);
}

.shop-hero-all-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(12px, 2.5vw, 28px);
  align-items: center;
}

.shop-hero-all-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.shop-hero-all-img {
  max-width: min(100%, 400px);
  width: auto;
  height: auto;
  max-height: clamp(200px, 28vh, 280px);
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.08));
}

.shop-hero-all-copy {
  text-align: center;
  padding: 0 4px;
}

.shop-hero-all-copy .shop-hero-label {
  margin-bottom: 8px;
}

.shop-hero-title--all {
  margin-bottom: 10px;
}

.shop-hero-all-copy .shop-hero-desc {
  margin: 0 auto;
  max-width: 440px;
}

/* Sticker pair — same overlap vibe as accessories hero, scoped to “All” */
.shop-hero-all-stickers {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0;
  min-height: 0;
}

.shop-sticker--all-bottle {
  width: 52px;
  max-width: 52px;
  height: auto;
  margin-right: -14px;
  margin-bottom: 4px;
  transform: translateX(-8px) rotate(-4deg);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18));
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.shop-sticker--all-laptop {
  width: min(200px, 32vw);
  max-width: 200px;
  height: auto;
  transform: rotate(-4deg);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.14));
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* Shop Hero: Notebooks — split layout + books image (same structure as Accessories) */
.shop-hero--notebooks {
  text-align: left;
  overflow: hidden;
  background: var(--shop-hero-bg-notebooks);
}

.shop-hero-notebooks-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
}

.shop-hero-notebooks-copy {
  max-width: 34rem;
}

.shop-hero-notebooks-art {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  min-height: 0;
}

.shop-hero-notebooks-img {
  max-width: min(100%, 320px);
  width: auto;
  height: auto;
  /* Keep thin band: match All / Accessories visual weight */
  max-height: clamp(140px, 20vh, 200px);
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.12));
}

/*
 * Stacked heroes: only the ACTIVE panel sets height (in flow).
 * Inactive panels are position:absolute so a tall Notebooks image never stretches
 * the band when All / Accessories is selected.
 */
.shop-hero-wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: clamp(220px, 26vh, 340px);
}

.shop-hero-wrap > .shop-hero {
  grid-area: 1 / 1;
  width: 100%;
  max-width: 100%;
  margin: 0;
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease);
}

.shop-hero-wrap > .shop-hero.is-active {
  position: relative;
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.shop-hero-wrap > .shop-hero:not(.is-active) {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transform: translateY(8px);
}

@media (prefers-reduced-motion: reduce) {
  .shop-hero-wrap > .shop-hero {
    transition: opacity 0.2s ease;
    transform: none !important;
  }
}

/* Accessories hero — original solid brand blue + stickers */
.shop-hero--accessories {
  text-align: left;
  overflow: hidden;
  background: var(--shop-hero-bg-accessories);
}

.shop-hero--accessories .shop-hero-label--on-blue,
.shop-hero--notebooks .shop-hero-label--on-blue {
  margin-bottom: 6px;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.55);
}

.shop-hero-accessories-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
}

.shop-hero-accessories-copy {
  max-width: 34rem;
}

.shop-hero-label--on-blue {
  color: var(--shop-hero-kicker);
  text-shadow: var(--shop-hero-text-shadow);
}

.shop-hero-title--on-blue {
  color: var(--shop-hero-text);
  text-align: left;
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-shadow: var(--shop-hero-text-shadow);
}

.shop-hero-desc--on-blue {
  color: var(--shop-hero-body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.55;
  max-width: 32rem;
  margin: 0;
  text-align: left;
  text-shadow: var(--shop-hero-text-shadow);
}

/* Accessories & Notebooks: softer white body on solid hero */
.shop-hero--accessories .shop-hero-desc--on-blue,
.shop-hero--notebooks .shop-hero-desc--on-blue {
  color: rgba(255, 255, 255, 0.88);
}

.shop-hero-accessories-art {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0;
  min-height: 0;
}

.shop-sticker {
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

/* stickergraphic2 — bottle (left, smaller accent) */
.shop-sticker--2 {
  width: 56px;
  max-width: 56px;
  margin-right: -18px;
  margin-bottom: 4px;
  transform: translateX(-8px) rotate(-4deg);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.22));
  z-index: 1;
  position: relative;
  flex-shrink: 0;
}

/* stickergraphic1 — laptop (right of bottle, hero visual) */
.shop-sticker--1 {
  width: min(220px, 36vw);
  max-width: 220px;
  transform: rotate(-4deg);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
  z-index: 2;
  position: relative;
}

@media (max-width: 900px) {
  /* Notebooks & Accessories: keep split “desktop” layout (copy | art) on phone */
  .shop-hero-accessories-inner,
  .shop-hero-notebooks-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 10px 12px;
    align-items: center;
  }

  .shop-hero-accessories-copy,
  .shop-hero-notebooks-copy {
    max-width: none;
    min-width: 0;
    text-align: left;
  }

  .shop-hero-title--on-blue,
  .shop-hero-desc--on-blue {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .shop-hero-accessories-art,
  .shop-hero-notebooks-art {
    justify-content: flex-end;
  }

  .shop-sticker--1 {
    width: min(150px, 42vw);
    max-width: 150px;
  }

  .shop-sticker--2 {
    width: 44px;
    max-width: 44px;
    margin-right: -14px;
    transform: translateX(-6px) rotate(-4deg);
  }
}

@media (max-width: 480px) {
  .shop-sticker--1 {
    width: min(140px, 58vw);
    max-width: 140px;
  }

  .shop-sticker--2 {
    width: 40px;
    max-width: 40px;
    margin-right: -10px;
    transform: translateX(-5px) rotate(-4deg);
  }
}

@media (max-width: 900px) {
  /*
   * “Our Collection” (All): copy full width, then notebooks | stickers side by side.
   */
  .shop-hero-all-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    grid-template-areas:
      "copy copy"
      "media stickers";
    gap: 18px 10px;
    align-items: center;
  }

  .shop-hero-all-copy {
    grid-area: copy;
    text-align: center;
  }

  .shop-hero-all-media {
    grid-area: media;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .shop-hero-all-stickers {
    grid-area: stickers;
    justify-content: center;
    align-items: flex-end;
  }

  .shop-hero-all-media,
  .shop-hero-all-copy,
  .shop-hero-all-stickers {
    min-width: 0;
  }

  .shop-hero-all-img {
    max-width: 100%;
    max-height: clamp(130px, 36vw, 220px);
  }

  .shop-sticker--all-laptop {
    width: min(150px, 30vw);
    max-width: 100%;
  }

  .shop-sticker--all-bottle {
    width: 40px;
    max-width: 40px;
    margin-right: -10px;
  }
}

/* --- Toolbar --- */
.shop-toolbar {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.toolbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.toolbar-count { font-size: .82rem; color: var(--muted); }

.toolbar-right { display: flex; align-items: center; gap: 14px; }

.toolbar-filters { display: flex; gap: 6px; }
.filter-btn {
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: var(--pill);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: .25s var(--ease);
  background: transparent;
}
.filter-btn:hover { border-color: rgba(0,0,0,.2); color: var(--text); }
.filter-btn.active { background: var(--dark); color: #fff; border-color: var(--dark); }

.toolbar-sort select {
  font-family: var(--font);
  font-size: .82rem;
  padding: 7px 28px 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg);
  color: var(--text);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='3'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
  outline: none;
}

.toolbar-view { display: flex; gap: 4px; }
.view-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: .2s;
  background: transparent;
}
.view-btn:hover { color: var(--text); border-color: rgba(0,0,0,.2); }
.view-btn.active { background: var(--dark); color: #fff; border-color: var(--dark); }

/* --- Product Grid --- */
.shop-products {
  padding: 56px 0 120px;
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 32%, #ffffff 100%);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.products-grid.list-view {
  grid-template-columns: 1fr;
  gap: 20px;
}
.products-grid.list-view .product-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
}
.products-grid.list-view .product-card-img { max-height: 250px; }

/* --- Product Card (minimal / editorial) --- */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--card-surface);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  transition:
    box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease),
    transform 0.45s var(--ease);
}
@media (hover: hover) {
  .product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--card-border-hover);
  }
}

.product-card-img {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--card-img-bg);
  aspect-ratio: 4 / 5;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--ease);
}
@media (hover: hover) {
  .product-card:hover .product-card-img img {
    transform: scale(1.03);
  }
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.62rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.88);
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
  backdrop-filter: blur(6px);
}
.badge-soon { background: rgba(15, 23, 42, 0.55); }

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.45) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 14px 18px;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
@media (hover: hover) {
  .product-card:hover .product-card-overlay {
    opacity: 1;
  }
}

.quick-add {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.12);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.quick-add:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.16);
}

.product-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 20px;
  min-height: 0;
}
.product-card-category {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 8px;
  line-height: 1.2;
}
.product-card-name {
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.38;
  color: #0f172a;
  margin-bottom: auto;
  padding-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: auto;
  padding-top: 4px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.product-card-price {
  font-weight: 600;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.product-card-rating {
  font-size: 0.72rem;
  font-weight: 500;
  color: #64748b;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.product-card-rating .product-card-star {
  color: #f59e0b;
  opacity: 1;
  margin-right: 2px;
}
.product-card-review-count {
  opacity: 0.7;
}
.product-card-soon {
  font-size: 0.72rem;
  color: var(--muted);
}

.product-card-placeholder {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-img-bg);
}
.product-card-placeholder span {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.06);
}
.product-card--coming {
  pointer-events: none;
  opacity: 0.72;
}

/* --- PDP (modern — matches shop cards) --- */
.pdp-hero {
  padding: 88px 0 64px;
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 50%);
}

.pdp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 32px;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.pdp-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}
.pdp-breadcrumb a:hover { color: #0f172a; }
.pdp-bc-sep { opacity: 0.45; margin: 0 2px; user-select: none; }
.pdp-bc-current {
  color: #0f172a;
  font-weight: 600;
  letter-spacing: 0.06em;
  max-width: 100%;
  word-break: break-word;
}

.pdp-grid {
  display: grid;
  /* Slightly wider left column so the gallery uses more horizontal space */
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(16px, 2.5vw, 32px);
  align-items: start;
  width: 100%;
  min-width: 0;
}

.pdp-gallery-panel {
  position: sticky;
  top: 88px;
  width: 100%;
  max-width: 100%;
  justify-self: stretch;
  margin: 0;
}

.pdp-gallery {
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--card-surface);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  padding: 8px;
}

.pdp-main-img {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--card-img-bg);
}
.pdp-main-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.35s ease;
}

.pdp-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #475569;
  box-shadow: none;
  cursor: pointer;
  transition:
    opacity 0.22s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
.pdp-gallery-nav-icon {
  width: 16px;
  height: 16px;
  display: block;
  opacity: 0.88;
}
/* Hidden until hover on main image (desktop); touch: faint always-on */
.pdp-main-img .pdp-gallery-nav:not([hidden]) {
  opacity: 0;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .pdp-main-img:hover .pdp-gallery-nav:not([hidden]),
  .pdp-main-img:focus-within .pdp-gallery-nav:not([hidden]) {
    opacity: 1;
    pointer-events: auto;
  }
}
@media (hover: none), (pointer: coarse) {
  .pdp-main-img .pdp-gallery-nav:not([hidden]) {
    opacity: 0.38;
    pointer-events: auto;
  }
  .pdp-main-img:active .pdp-gallery-nav:not([hidden]) {
    opacity: 1;
  }
}
.pdp-gallery-nav:hover {
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.12);
}
.pdp-gallery-nav:active {
  transform: translateY(-50%) scale(0.96);
}
.pdp-gallery-nav:focus-visible {
  outline: 1px solid rgba(15, 23, 42, 0.2);
  outline-offset: 2px;
  opacity: 1;
  pointer-events: auto;
}
.pdp-gallery-nav[hidden] {
  display: none;
}
.pdp-gallery-prev {
  left: 8px;
}
.pdp-gallery-next {
  right: 8px;
}
.pdp-gallery:focus {
  outline: none;
}
.pdp-gallery:focus-visible {
  outline: 2px solid rgba(137, 207, 240, 0.6);
  outline-offset: 4px;
  border-radius: var(--card-radius);
}

.pdp-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  padding: 0 2px 2px;
}
.pdp-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  padding: 0;
  cursor: pointer;
  background: #f1f5f9;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumb.active {
  border-color: #0f172a;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}
.pdp-thumb:hover:not(.active) { border-color: rgba(15, 23, 42, 0.22); }

@media (min-width: 1025px) {
  .pdp-thumb {
    width: 60px;
    height: 60px;
  }
}

.pdp-detail {
  padding-top: 4px;
  max-width: 520px;
  width: 100%;
  justify-self: start;
  min-width: 0;
  overflow-wrap: anywhere;
}

.pdp-category {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 8px;
}
.pdp-title {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 14px;
}

.pdp-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.pdp-stars {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: #f59e0b;
  line-height: 1;
}
.pdp-rating-num {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0f172a;
}
.pdp-rating-sep {
  color: #cbd5e1;
  font-size: 0.75rem;
}
.pdp-rating-label {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

/* Social proof strip */
.pdp-social-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fafbfc;
  border: 1px solid rgba(15, 23, 42, 0.07);
  font-size: 0.8125rem;
  color: #475569;
  font-weight: 500;
  margin-bottom: 18px;
}
.pdp-social-sep {
  color: #cbd5e1;
}

.pdp-price-block {
  margin-bottom: 24px;
}
.pdp-price-row {
  margin-bottom: 10px;
}
.pdp-price {
  font-size: clamp(1.45rem, 2.4vw, 1.8rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin: 0;
}

.pdp-stock-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}
.pdp-stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}
.pdp-stock-text strong {
  color: #0f172a;
  font-weight: 600;
}
.pdp-stock-unavailable {
  color: #dc2626;
  font-weight: 600;
  font-size: 0.85rem;
}

/* Bundle pack options (CMS bundle_packs) — reuses homepage .fbt / .pack-* from styles.css */
.pdp-bundle-packs {
  margin: 18px 0 8px;
}
.pdp-bundle-packs .pack-options-label {
  margin-bottom: 10px;
}

.pdp-short-desc {
  color: #64748b;
  margin-bottom: 28px;
  line-height: 1.65;
  font-size: 0.94rem;
}
.pdp-short-desc p { margin: 0 0 10px; }
.pdp-short-desc p:last-child { margin-bottom: 0; }

.pdp-purchase {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.pdp-purchase .pdp-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-bottom: 0;
  align-items: stretch;
}
.pdp-qty.qty {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
}
.pdp-qty .qty-btn {
  width: 44px;
  height: 48px;
}
.pdp-qty #qtyVal {
  width: 44px;
  height: 48px;
}
.pdp-add {
  flex: 1;
  min-height: 48px;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.pdp-buy-secondary.btn-buy {
  width: 100%;
  border-radius: 12px;
  padding: 15px 24px;
  border-width: 1px;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
  font-weight: 600;
  background: transparent;
}
.pdp-buy-secondary.btn-buy:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.pdp-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 20px 0 0;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.pdp-trust .pdp-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
  flex-shrink: 0;
}
.pdp-trust .pdp-meta-item svg {
  flex-shrink: 0;
  color: #94a3b8;
}

.pdp-trust .pdp-payments {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  opacity: 0.7;
  margin-left: auto;
  flex: 1 1 auto;
  min-width: 0;
}
.pdp-trust .pdp-payments img {
  height: 20px;
  width: auto;
  filter: grayscale(0.15);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .pdp-trust .pdp-payments {
    margin-left: 0;
    flex-basis: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

.pdp-options { margin-bottom: 24px; }
.pdp-option label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.pdp-swatches { display: flex; gap: 8px; }
.swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: .2s;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.swatch.active { outline-color: var(--text); }
.swatch:disabled { opacity: .35; cursor: not-allowed; }

/* --- PDP tabs --- */
.pdp-tabs-section {
  padding: 48px 0 88px;
  background: #fafbfc;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.pdp-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  padding: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.tab-btn {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 0 14px;
  margin-bottom: -1px;
  color: #94a3b8;
  position: relative;
  transition: color 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
}
.tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #0f172a;
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
  transform-origin: left;
}
.tab-btn:hover { color: #475569; }
.tab-btn.active {
  color: #0f172a;
  font-weight: 600;
}
.tab-btn.active::after { transform: scaleX(1); }

.tab-panel { display: none; padding: 36px 0 0; }
.tab-panel.active { display: block; }

.tab-text { max-width: 720px; }
.tab-text h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 24px;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.tab-text h3:first-child { margin-top: 0; }
.tab-text p { color: #64748b; margin-bottom: 16px; line-height: 1.75; font-size: 0.94rem; }
.tab-text ul { padding-left: 1.1rem; list-style: disc; }
.tab-text ul li { color: #64748b; margin-bottom: 8px; font-size: 0.94rem; line-height: 1.65; }
.tab-text a {
  color: #0f172a;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(15, 23, 42, 0.25);
}
.tab-text a:hover { color: #3b82f6; text-decoration-color: rgba(59, 130, 246, 0.4); }

.spec-table { width: 100%; max-width: 500px; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table td {
  padding: 12px 0;
  font-size: .88rem;
}
.spec-table td:first-child { color: var(--muted); width: 40%; }
.spec-table td:last-child { font-weight: 500; }

/* Reviews in tab */
.reviews-summary {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.reviews-avg { text-align: center; }
.avg-num { display: block; font-size: 3rem; font-weight: 800; line-height: 1; margin-bottom: 6px; }
.avg-stars { display: block; color: #fbbf24; font-size: 1rem; letter-spacing: 2px; margin-bottom: 4px; }
.avg-count { font-size: .78rem; color: var(--muted); }

.reviews-bars { display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.bar-row { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--muted); }
.bar-row span:first-child { width: 28px; text-align: right; }
.bar-row span:last-child { width: 20px; }
.bar { flex: 1; height: 8px; background: var(--bg2); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; background: #fbbf24; border-radius: 4px; }

.reviews-list { display: flex; flex-direction: column; gap: 0; }
.review-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: .88rem;
}
.review-stars { color: #fbbf24; }
.review-date { color: var(--muted); font-size: .78rem; margin-left: auto; }
.review-item p { color: var(--muted); font-size: .9rem; line-height: 1.7; }

/* ---- Review tab (real reviews) ---- */
.reviews-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.reviews-list-wrap { min-width: 0; }
.reviews-loading { color: var(--muted); font-size: 0.875rem; }
.reviews-empty {
  color: var(--muted);
  font-size: 0.9375rem;
  margin: 0 0 28px;
}
.review-item { padding: 20px 0; }
.review-item:first-child { padding-top: 0; }
.review-item-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.review-item-stars { font-size: 0.8rem; line-height: 1; letter-spacing: 0.04em; }
.review-item-name { font-size: 0.8125rem; font-weight: 600; color: #0f172a; }
.review-item-date { font-size: 0.75rem; color: #94a3b8; margin-left: auto; }
.review-item-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 4px;
}
.review-item-body {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}
.review-divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* Review form */
.review-form-section {
  min-width: 0;
  border-left: 1px solid var(--border);
  padding-left: 48px;
}
.review-form-title {
  font-family: var(--font-hero);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0 0 20px;
}
.review-field { margin-bottom: 16px; }
.review-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}
.review-field input,
.review-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #0f172a;
  background: #fff;
  transition: border-color 0.18s;
  outline: none;
}
.review-field input:focus,
.review-field textarea:focus { border-color: #0f172a; }
.review-field textarea { resize: vertical; }
.review-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.review-required { color: #ef4444; }
.review-optional,
.review-private {
  font-weight: 400;
  color: #94a3b8;
  font-size: 0.72rem;
}

/* Star selector */
.review-stars-select {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}
.review-star-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
  padding: 0 2px;
  color: #cbd5e1;
  transition: color 0.1s, transform 0.1s;
}
.review-star-btn:hover { transform: scale(1.15); }

.review-error {
  font-size: 0.8125rem;
  color: #dc2626;
  margin: 0 0 12px;
  font-weight: 500;
}
.review-submit-btn { margin-bottom: 10px; }
.review-form-note {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0;
}
.review-success {
  padding: 16px 18px;
  border-radius: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  font-size: 0.9375rem;
  color: #166534;
  font-weight: 500;
}
.review-success p { margin: 0; }

/* Clickable rating label that scrolls to reviews tab */
.pdp-rating-link {
  color: #64748b;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.pdp-rating-link:hover { color: #0f172a; }

@media (max-width: 900px) {
  .reviews-section { grid-template-columns: 1fr; gap: 40px; }
  .review-form-section { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 32px; }
}
@media (max-width: 560px) {
  .review-fields-row { grid-template-columns: 1fr; }
}

/* --- Related --- */
.pdp-related {
  padding: 60px 0 100px;
  background: var(--bg2);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .pdp-grid { grid-template-columns: 1fr; gap: 28px; }
  .pdp-gallery-panel {
    position: static;
    top: auto;
    justify-self: center;
  }
  .pdp-detail {
    justify-self: stretch;
    max-width: min(520px, 100%);
    margin-left: auto;
    margin-right: auto;
  }
  .reviews-summary { grid-template-columns: 1fr; gap: 24px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .shop-hero { padding: 84px 0 22px; }
  .shop-hero-wrap {
    min-height: clamp(160px, 28vh, 320px);
  }
  .shop-hero-title { font-size: 1.65rem; }
  .shop-hero-desc { font-size: 0.85rem; }
  /* Split hero headlines compact on narrow screens */
  .shop-hero--accessories .shop-hero-title--on-blue,
  .shop-hero--notebooks .shop-hero-title--on-blue {
    font-size: clamp(1.2rem, 4vw, 1.45rem);
  }

  .shop-hero-notebooks-img {
    max-height: min(140px, 28vw);
  }

  .shop-hero-all-img {
    max-height: clamp(120px, 36vw, 200px);
  }

  .shop-sticker--all-bottle {
    width: 38px;
    max-width: 38px;
  }

  .shop-sticker--all-laptop {
    width: min(130px, 28vw);
    max-width: 100%;
  }

  .shop-toolbar { padding: 10px 0; }
  .toolbar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  /* Sort + collection tabs on one row (sort first, saves vertical space) */
  .toolbar-right {
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
  }
  .toolbar-sort {
    order: -1;
    flex: 0 0 auto;
  }
  .toolbar-sort select {
    width: auto;
    min-width: 112px;
    max-width: min(160px, 38vw);
    padding: 7px 26px 7px 10px;
    font-size: 0.78rem;
  }
  .toolbar-filters {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding: 4px 0 6px;
    margin: 0;
    scrollbar-width: none;
  }
  .toolbar-filters::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    flex: 0 0 auto;
    padding: 8px 14px;
  }
  .toolbar-view { display: none; }
  .toolbar-count { font-size: .75rem; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-card-info { padding: 14px 14px 16px; }
  .product-card-name { font-size: 0.86rem; }
  .product-card-category { font-size: 0.58rem; letter-spacing: 0.12em; }
  .product-card-price { font-size: 0.92rem; }
  .product-card-overlay { display: none; }

  .pdp-hero { padding: 76px 0 48px; }
  .pdp-breadcrumb { margin-bottom: 22px; }
  .pdp-grid { gap: 28px; }
  .pdp-title { font-size: 1.35rem; }
  .pdp-price { font-size: 1.45rem; }
  .pdp-short-desc { font-size: 0.88rem; }
  .pdp-purchase .pdp-actions { flex-direction: column; }
  .pdp-add { width: 100%; }
  .pdp-thumbs { gap: 8px; }
  .pdp-thumb { width: 52px; height: 52px; }
  .pdp-gallery-nav {
    width: 30px;
    height: 30px;
  }
  .pdp-gallery-nav-icon {
    width: 14px;
    height: 14px;
  }
  .pdp-gallery-prev { left: 6px; }
  .pdp-gallery-next { right: 6px; }
  .pdp-trust .pdp-meta-item { font-size: 0.78rem; }
  .pdp-trust .pdp-payments img { height: 18px; }

  .pdp-tabs-section { padding: 36px 0 64px; }
  .pdp-tabs-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 20px; }
  .pdp-tabs-nav::-webkit-scrollbar { display: none; }
  .tab-btn { padding: 14px 0; font-size: 0.62rem; white-space: nowrap; }
  .tab-panel { padding: 24px 0 0; }
  .tab-text p, .tab-text ul li { font-size: 0.88rem; }

  .reviews-summary { grid-template-columns: 1fr; gap: 20px; }
  .avg-num { font-size: 2.4rem; }
  .review-head { flex-wrap: wrap; gap: 8px; }

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

@media (max-width: 480px) {
  /* Keep 2 columns on small phones; list view stays one column */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .products-grid.list-view {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .products-grid.list-view .product-card { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pdp-title { font-size: 1.15rem; }
  .spec-table td { font-size: .82rem; padding: 10px 0; }

  .shop-sticker--all-bottle {
    width: 36px;
    max-width: 36px;
    margin-right: -10px;
  }

  .shop-sticker--all-laptop {
    width: min(110px, 26vw);
    max-width: 100%;
  }

  .shop-hero-all-img {
    max-height: clamp(100px, 32vw, 170px);
  }

  .shop-hero-notebooks-img {
    max-height: min(120px, 32vw);
  }
}

/* Product page (dynamic) — smooth reveal, no jarring placeholders */
#pdpContent.pdp--preparing {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}
#pdpContent.pdp--ready {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: auto;
}

.pdp-error-wrap {
  padding: 80px 24px 120px;
  text-align: center;
}
.pdp-error-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.pdp-error-text {
  color: var(--muted, #64748b);
  margin-bottom: 24px;
}
.pdp-compare-was {
  text-decoration: line-through;
  opacity: 0.65;
  font-weight: 500;
  margin-right: 8px;
}
.pdp-desc-html p {
  margin-bottom: 12px;
}
.pdp-desc-html ul {
  margin: 12px 0 12px 1.25rem;
  list-style: disc;
}

/* Shop grid (Supabase-driven) */
.shop-grid-loading,
.shop-grid-empty,
.shop-grid-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: var(--a-muted, #64748b);
  font-size: 0.95rem;
}
.shop-grid-error {
  color: #b91c1c;
}

/* ===== Product Reviews ===== */
.reviews-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
  padding: clamp(24px, 3vw, 36px) 0 clamp(32px, 4vw, 48px);
}

.reviews-list-wrap {
  min-width: 0;
}

.reviews-loading,
.reviews-empty {
  font-size: 0.9rem;
  color: #94a3b8;
  padding: 12px 0;
}

.review-item {
  padding: 18px 0;
}

.review-item + .review-item {
  border-top: 1px solid #f1f5f9;
}

.review-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}

.review-item-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.review-item-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.review-item-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: #0f172a;
}

.review-item-date {
  font-size: 0.72rem;
  color: #94a3b8;
  white-space: nowrap;
}

.review-item-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: #1e293b;
  margin: 6px 0 3px;
}

.review-item-body {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
  white-space: pre-line;
}

/* Review form */
.review-form-section {
  background: #f8fafc;
  border: 1px solid #e8edf3;
  border-radius: 14px;
  padding: clamp(20px, 3vw, 28px);
  min-width: 0;
}

.review-form-title {
  font-family: var(--font-hero, inherit);
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px;
}

.review-field {
  margin-bottom: 13px;
}

.review-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 5px;
}

.review-field input,
.review-field textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.875rem;
  font-family: inherit;
  color: #0f172a;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.review-field input:focus,
.review-field textarea:focus {
  outline: none;
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.06);
}

.review-field textarea {
  resize: vertical;
  min-height: 88px;
  line-height: 1.55;
}

.review-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.review-required {
  color: #e11d48;
}

.review-optional {
  color: #94a3b8;
  font-weight: 400;
  font-size: 0.72rem;
}

.review-private {
  color: #94a3b8;
  font-weight: 400;
  font-size: 0.72rem;
}

.review-stars-select {
  display: flex;
  gap: 2px;
  margin-top: 2px;
}

.review-star-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #d1d5db;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
  transition: color 0.12s ease, transform 0.1s ease;
}

.review-star-btn.hovered,
.review-star-btn.selected {
  color: #f59e0b;
}

.review-star-btn.selected {
  transform: scale(1.18);
}

.review-error {
  color: #b91c1c;
  font-size: 0.8125rem;
  margin: 0 0 10px;
  font-weight: 500;
}

.review-submit-btn {
  width: 100%;
  margin-bottom: 9px;
}

.review-form-note {
  font-size: 0.72rem;
  color: #94a3b8;
  margin: 0;
  text-align: center;
}

.review-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 16px;
  color: #15803d;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

/* Clickable average rating that scrolls to reviews tab */
.pdp-rating-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.pdp-rating-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .reviews-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .review-fields-row {
    grid-template-columns: 1fr;
  }
}
