:root {
  --paper: #fff8ed;
  --surface: #ffffff;
  --surface-soft: #e9fbfa;
  --ink: #071c22;
  --muted: #536a70;
  --line: #cfe4e3;
  --teal: #075766;
  --teal-strong: #063945;
  --cyan: #00b8c7;
  --amber: #f5b94f;
  --coral: #b9381d;
  --rose: #ff4f6d;
  --dark: #061a20;
  --header-start: #061a20;
  --header-end: #075766;
  --brand-logo-width: 230px;
  --brand-logo-height: 58px;
  --brand-logo-mobile-width: 190px;
  --brand-logo-mobile-height: 48px;
  --shadow: 0 18px 42px rgba(7, 28, 34, 0.15);
  --shadow-strong: 0 26px 62px rgba(7, 28, 34, 0.24);
  --max: 1180px;
}

/* Combo composition */
.combo-contents-jump {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 117, 128, 0.3);
  border-left: 4px solid var(--teal);
  border-radius: 6px;
  background: #effafa;
  color: var(--ink);
}

.combo-contents-jump span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--teal);
  font-weight: 900;
  white-space: nowrap;
}

.combo-contents-jump svg,
.combo-book-card__link svg {
  width: 16px;
  height: 16px;
}

.combo-contents-section {
  padding: 38px 0;
  scroll-margin-top: 86px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f4fafa;
}

.combo-contents-heading {
  display: grid;
  gap: 6px;
}

.combo-contents-heading p {
  margin: 0;
}

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

.combo-book-card {
  position: relative;
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 16px;
  min-height: 154px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(7, 28, 34, 0.06);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.combo-book-card:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
  box-shadow: 0 14px 30px rgba(7, 28, 34, 0.11);
}

.combo-book-card__number {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
}

.combo-book-card__cover {
  display: block;
  width: 94px;
  aspect-ratio: 3 / 4;
}

.combo-book-card__cover img,
.combo-book-card__cover .fake-book {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 6px 14px rgba(7, 28, 34, 0.18);
}

.combo-book-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
}

.combo-book-card__body small {
  color: var(--muted);
  font-weight: 800;
}

.combo-book-card__body strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.combo-book-card__price {
  color: #d94f2b;
  font-size: 1.05rem;
  font-weight: 950;
}

.combo-book-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 900;
}

/* Combo selector in admin */
.admin-combo-selector {
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-combo-selector__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  background: #effafa;
}

.admin-combo-selector__heading > span {
  display: grid;
  gap: 3px;
}

.admin-combo-selector__heading small {
  color: var(--muted);
  line-height: 1.4;
}

.admin-combo-selector__heading b {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  font-size: 0.82rem;
}

.admin-combo-book-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  max-height: 430px;
  padding: 12px;
  overflow-y: auto;
}

.admin-combo-book-option {
  display: grid;
  grid-template-columns: 18px 42px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.admin-combo-book-option:has(input:checked) {
  border-color: var(--teal);
  background: #f0fbfa;
  box-shadow: inset 3px 0 var(--teal);
}

.admin-combo-book-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.admin-combo-book-cover,
.admin-combo-book-cover img,
.admin-combo-book-fallback {
  display: grid;
  width: 42px;
  height: 56px;
  place-items: center;
  border-radius: 3px;
  object-fit: cover;
}

.admin-combo-book-fallback {
  background: var(--teal);
  color: #fff;
  font-weight: 950;
}

.admin-combo-book-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.admin-combo-book-copy strong,
.admin-combo-book-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-combo-book-copy strong {
  line-height: 1.3;
}

.admin-combo-book-copy small {
  color: var(--muted);
  white-space: nowrap;
}

.admin-combo-book-warning {
  margin: 0;
  padding: 10px 14px;
  background: #fff1e8;
  color: #9b3418;
  font-weight: 800;
}

@media (max-width: 760px) {
  .combo-contents-section {
    padding: 26px 0;
    scroll-margin-top: 122px;
  }

  .combo-contents-grid,
  .admin-combo-book-grid {
    grid-template-columns: 1fr;
  }

  .combo-contents-jump,
  .admin-combo-selector__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .combo-contents-jump span {
    white-space: normal;
  }

  .combo-book-card {
    grid-template-columns: 78px minmax(0, 1fr);
    min-height: 132px;
    gap: 13px;
    padding: 12px;
  }

  .combo-book-card__cover {
    width: 78px;
  }
}

.product-detail-section,
.product-review-section,
.recommend-section,
.customer-review-section,
.order-section {
  padding: 38px 0;
}

.product-detail-section {
  background:
    linear-gradient(180deg, rgba(0, 184, 199, 0.1), rgba(255, 255, 255, 0)),
    var(--surface);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: 22px;
  align-items: start;
}

.product-media-panel,
.product-info-panel,
.product-buy-box,
.review-score-card,
.customer-review-list,
.review-form,
.cart-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(7, 28, 34, 0.08);
}

.product-media-panel,
.product-info-panel,
.product-buy-box {
  padding: 18px;
}

.product-media-panel,
.product-buy-box {
  position: sticky;
  top: 92px;
}

.product-main-media {
  position: relative;
  display: grid;
  min-height: 420px;
  place-items: center;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, #f7fbfa, #fff7ed);
}

.product-main-media img,
.product-main-media .fake-book {
  width: min(82%, 340px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(7, 28, 34, 0.18);
  transition: transform 0.28s ease, filter 0.28s ease;
}

.product-main-media:hover img,
.product-main-media:hover .fake-book {
  transform: translateY(-8px) scale(1.03);
  filter: saturate(1.08);
}

.product-main-media .product-combo-hero {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 418px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 30px 22px;
  isolation: isolate;
}

.combo-stack::before,
.product-main-media .product-combo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(82, 228, 235, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 228, 235, 0.13) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.combo-stack::after,
.product-main-media .product-combo-hero::after {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 0;
  border: 1px solid rgba(105, 238, 244, 0.24);
  clip-path: polygon(0 0, 68% 0, 72% 6px, 100% 6px, 100% 100%, 30% 100%, 26% calc(100% - 6px), 0 calc(100% - 6px));
  pointer-events: none;
}

.combo-theme--dark {
  background:
    linear-gradient(128deg, rgba(0, 184, 199, 0.18), transparent 46%),
    linear-gradient(145deg, #061a20 0%, #0b4d58 58%, #182a2f 100%);
}

.combo-theme--light {
  background:
    linear-gradient(128deg, rgba(0, 184, 199, 0.18), transparent 48%),
    linear-gradient(145deg, #f4ffff 0%, #d8f0ee 58%, #fff0d3 100%);
}

.combo-theme--light::before {
  background-image:
    linear-gradient(rgba(7, 87, 102, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 87, 102, 0.1) 1px, transparent 1px);
}

.combo-theme--light::after {
  border-color: rgba(7, 87, 102, 0.2);
}

.combo-theme--signal {
  background:
    linear-gradient(128deg, rgba(245, 185, 79, 0.32), transparent 44%),
    linear-gradient(145deg, #06262d 0%, #008c99 60%, #d98638 100%);
}

.product-main-media .product-combo-hero__book {
  position: relative;
  z-index: 1;
  display: block;
  width: min(33%, 150px);
  color: inherit;
  text-decoration: none;
  transition: transform 0.24s ease;
}

.product-main-media .product-combo-hero--4 .product-combo-hero__book {
  width: min(28%, 132px);
}

.product-main-media .product-combo-hero__book + .product-combo-hero__book {
  margin-left: -20px;
}

.product-main-media .product-combo-hero__book:nth-child(even) {
  z-index: 2;
  transform: translateY(22px);
}

.product-main-media .product-combo-hero__book img,
.product-main-media .product-combo-hero__book .fake-book {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(0, 184, 199, 0.25);
  filter: saturate(1.06) contrast(1.03);
  transition: transform 0.24s ease, filter 0.24s ease;
}

.product-main-media:hover .product-combo-hero__book img,
.product-main-media:hover .product-combo-hero__book .fake-book {
  transform: none;
  filter: none;
}

.product-main-media .product-combo-hero__book:hover {
  z-index: 5;
  transform: translateY(-8px);
}

.product-main-media .product-combo-hero__book:nth-child(even):hover {
  transform: translateY(14px);
}

.product-combo-hero__book > span {
  position: absolute;
  right: 7px;
  bottom: 7px;
  z-index: 3;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 5px 12px rgba(7, 28, 34, 0.24);
  font-size: 0.78rem;
  font-weight: 900;
}

.product-thumb-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.product-thumb-row button {
  display: grid;
  min-height: 82px;
  place-items: center;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.product-thumb-row button.is-active {
  border-color: var(--coral);
  box-shadow: 0 0 0 2px rgba(255, 106, 61, 0.16);
}

.product-thumb-row img,
.product-thumb-row .fake-book {
  width: 100%;
  max-height: 84px;
  object-fit: cover;
  border-radius: 6px;
}

.product-social-proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.product-social-proof span {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 2px 8px;
  align-items: center;
  min-height: 62px;
  padding: 10px;
  color: var(--teal);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.product-social-proof svg {
  grid-row: 1 / span 2;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.product-social-proof strong {
  color: var(--ink);
  line-height: 1;
}

.product-social-proof small {
  color: var(--muted);
  font-weight: 900;
}

.product-info-panel {
  display: grid;
  gap: 14px;
}

.product-info-panel h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  line-height: 1.08;
}

.product-rating-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-weight: 900;
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: #f6a800;
}

.stars svg {
  width: 18px;
  height: 18px;
  fill: transparent;
  stroke: currentColor;
  stroke-width: 2;
}

.stars svg.is-filled {
  fill: currentColor;
}

.product-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-spec-grid li {
  display: grid;
  gap: 4px;
  min-height: 64px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
}

.product-spec-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.product-spec-grid strong {
  color: var(--ink);
  font-size: 0.94rem;
}

.product-short-review {
  padding: 16px;
  border: 1px solid rgba(0, 92, 106, 0.14);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 92, 106, 0.08), rgba(255, 248, 237, 0.9));
}

.product-short-review h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.product-short-review ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.product-short-review li {
  color: #31545c;
  line-height: 1.55;
  font-weight: 800;
}

.product-buy-box {
  display: grid;
  gap: 14px;
}

.product-buy-box .product-price-block {
  display: grid;
  gap: 3px;
}

.product-actions--buy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.product-actions--buy .button:first-child,
.product-actions--buy .button:last-child {
  grid-column: 1 / -1;
}

.quantity-control {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  min-height: 44px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.quantity-control button,
.quantity-control input {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}

.quantity-control button {
  display: grid;
  place-items: center;
  cursor: pointer;
}

.quantity-control svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.contact-pills--product {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.product-review-section,
.customer-review-section {
  background: #fff;
}

.product-review-layout,
.customer-review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}

.product-long-review {
  position: relative;
  padding-bottom: 84px;
}

.review-visual {
  margin: 16px 0 24px;
  overflow: hidden;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.review-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.expert-review-byline {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 14px 0 20px;
  padding: 12px 14px;
  background: #f4fbfa;
  border: 1px solid #cfe8e5;
  border-radius: 12px;
}

.expert-review-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #0d8791);
  border-radius: 50%;
  font-weight: 900;
  place-items: center;
}

.expert-review-byline div {
  display: grid;
  gap: 3px;
}

.expert-review-byline small {
  color: var(--muted);
}

.expert-review-gallery {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}

.expert-review-gallery__item {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.expert-review-gallery__item img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  background: #f7f9f8;
}

.expert-review-gallery__item.is-featured img {
  height: 300px;
}

.expert-review-gallery__item figcaption {
  padding: 9px 10px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

.expert-review-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 20px;
}

.expert-review-topics span {
  padding: 6px 9px;
  color: var(--teal-strong);
  background: #eaf8f6;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.product-long-review.is-collapsed {
  max-height: 520px;
  overflow: hidden;
}

.product-long-review.is-collapsed::after {
  position: absolute;
  right: 0;
  bottom: 68px;
  left: 0;
  height: 110px;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}

.read-more-button {
  position: absolute;
  left: 26px;
  bottom: 24px;
  z-index: 2;
}

.product-review-sidebar {
  position: sticky;
  top: 92px;
}

.review-related-books {
  display: grid;
  gap: 10px;
}

.product-review-sidebar .recommend-card {
  grid-template-columns: 78px minmax(0, 1fr);
  min-height: 118px;
  padding: 10px;
}

.product-review-sidebar .recommend-card__image img,
.product-review-sidebar .recommend-card__image .fake-book {
  width: 66px;
}

.product-review-sidebar .recommend-card strong {
  font-size: 0.92rem;
}

.product-article-section {
  padding-top: 10px;
}

.article-link-card--wide {
  grid-template-columns: minmax(0, 1fr);
  max-width: 860px;
}

.article-empty-note {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.article-link-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.article-link-card span {
  color: var(--muted);
  line-height: 1.5;
}

.product-article-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

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

.recommend-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  min-height: 142px;
  padding: 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 28, 34, 0.08);
}

.recommend-card__image {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #f6fbfa;
}

.recommend-card__image img,
.recommend-card__image .fake-book {
  width: 82px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
}

.recommend-card__body {
  display: grid;
  align-content: center;
  gap: 6px;
}

.recommend-card small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.recommend-card strong {
  line-height: 1.25;
}

.recommend-card em {
  color: var(--coral);
  font-style: normal;
  font-weight: 1000;
}

.review-score-card {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.review-score-card > strong {
  color: var(--coral);
  font-size: 2.4rem;
  line-height: 1;
}

.customer-review-list {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.customer-review {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.customer-review div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.customer-review p {
  margin: 0;
  color: #3b5961;
  line-height: 1.58;
}

.review-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
}

.review-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 900;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.review-form textarea {
  resize: vertical;
}

.verified-review-empty {
  margin: 0;
  padding: 22px;
  color: var(--muted);
  line-height: 1.65;
  background: #f7fbfb;
}

.editorial-notes {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #cfe3e1;
  border-radius: 10px;
  background: #f5fbfa;
}

.editorial-notes__heading h3 {
  margin: 4px 0 6px;
}

.editorial-notes__heading > p:last-child,
.editorial-note p {
  color: var(--muted);
  line-height: 1.65;
}

.editorial-notes__list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.editorial-note {
  padding: 14px;
  border-left: 3px solid var(--brand);
  background: #fff;
}

.editorial-note p {
  margin: 6px 0 0;
}

.product-faq {
  padding: 56px 0;
  background: #fff;
}

.product-faq__list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.product-faq__item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.product-faq__item summary {
  padding: 16px 18px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.product-faq__item p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.7;
}

.review-verification-note {
  margin: 0;
  padding: 10px 12px;
  color: var(--teal);
  background: #eef9f8;
  border-left: 3px solid var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.5;
}

.cart-summary {
  margin-bottom: 14px;
  padding: 14px;
}

.cart-summary ul {
  display: grid;
  gap: 7px;
  margin: 0 0 8px;
  padding-left: 18px;
}

.cart-summary p {
  margin: 0 0 6px;
  color: var(--ink);
  font-weight: 900;
}

.cart-summary small {
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 1120px) {
  .product-detail-layout {
    grid-template-columns: minmax(250px, 0.85fr) minmax(0, 1.15fr);
  }

  .product-buy-box {
    position: static;
    grid-column: 1 / -1;
  }

  .recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .product-detail-layout,
  .product-review-layout,
  .customer-review-layout {
    display: block;
  }

  .product-media-panel,
  .product-buy-box,
  .product-review-sidebar {
    position: static;
  }

  .product-info-panel,
  .product-buy-box,
  .product-review-sidebar,
  .review-score-card {
    margin-top: 14px;
  }
}

@media (max-width: 580px) {
  .product-detail-section,
  .product-review-section,
  .recommend-section,
  .customer-review-section,
  .order-section {
    padding: 24px 0;
  }

  .product-media-panel,
  .product-info-panel,
  .product-buy-box {
    padding: 12px;
  }

  .product-main-media {
    min-height: 300px;
  }

  .product-main-media img,
  .product-main-media .fake-book {
    width: min(70vw, 230px);
  }

  .product-main-media .product-combo-hero {
    min-height: 298px;
    padding: 24px 14px;
  }

  .product-main-media .product-combo-hero__book {
    width: min(34%, 112px);
  }

  .product-main-media .product-combo-hero--4 .product-combo-hero__book {
    width: min(29%, 96px);
  }

  .product-main-media .product-combo-hero__book + .product-combo-hero__book {
    margin-left: -15px;
  }

  .product-thumb-row {
    display: flex;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
  }

  .product-thumb-row button {
    flex: 0 0 72px;
    min-height: 78px;
    scroll-snap-align: start;
  }

  .product-social-proof {
    grid-template-columns: 1fr 1fr;
  }

  .product-info-panel h1 {
    font-size: 1.42rem;
  }

  .product-spec-grid,
  .product-actions--buy,
  .contact-pills--product,
  .review-form {
    grid-template-columns: 1fr;
  }

  .product-actions--buy .button {
    grid-column: auto;
    min-height: 44px;
  }

  .voucher-strip {
    grid-template-columns: 1fr;
  }

  .product-long-review {
    padding: 18px 18px 84px;
  }

  .product-long-review.is-collapsed {
    max-height: 430px;
  }

  .read-more-button {
    right: 18px;
    left: 18px;
  }

  .recommend-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }

  .recommend-card {
    flex: 0 0 min(84vw, 330px);
    scroll-snap-align: start;
  }

  .review-score-card {
    text-align: center;
  }

  .review-score-card .stars {
    justify-content: center;
  }
}

/* Product purchase priority for tablet and mobile. Kept last to override legacy responsive blocks. */
.product-actions--buy {
  grid-template-columns: 1fr;
}

.product-actions--buy .button,
.product-actions--buy .button:first-child,
.product-actions--buy .button:last-child {
  grid-column: auto;
  width: 100%;
  min-height: 46px;
}

.button--sample {
  color: #fff;
  background: linear-gradient(135deg, #075766, #00a6b5);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(7, 87, 102, 0.2);
}

.button--sample:hover {
  color: #fff;
  background: linear-gradient(135deg, #06444f, #078b98);
  border-color: transparent;
}

@media (min-width: 861px) and (max-width: 1120px) {
  .product-detail-layout {
    grid-template-areas:
      "media info"
      "buy info";
    grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
  }

  .product-media-panel {
    grid-area: media;
  }

  .product-info-panel {
    grid-area: info;
  }

  .product-buy-box {
    grid-area: buy;
    grid-column: auto;
    margin-top: 0;
  }
}

@media (max-width: 860px) {
  .product-detail-layout {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .product-media-panel {
    order: 1;
  }

  .product-buy-box {
    order: 2;
  }

  .product-info-panel {
    order: 3;
  }

  .product-media-panel,
  .product-buy-box,
  .product-info-panel {
    margin-top: 0;
  }

  .product-buy-box .product-price-block {
    grid-template-columns: auto auto 1fr;
    align-items: baseline;
    gap: 6px 10px;
  }

  .product-buy-box .discount-text {
    justify-self: end;
  }
}

@media (max-width: 580px) {
  .product-buy-box .product-price-block {
    grid-template-columns: 1fr auto;
  }

  .product-buy-box .discount-text {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .product-actions--buy .button {
    min-height: 48px;
    font-size: 0.95rem;
  }
}

body.cart-is-open {
  overflow: hidden;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1990;
  visibility: hidden;
  background: rgba(4, 27, 33, 0.58);
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 2000;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(440px, 100vw);
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border-left: 1px solid var(--line);
  box-shadow: -18px 0 48px rgba(4, 27, 33, 0.18);
  transform: translateX(102%);
  transition: transform 0.24s ease;
}

body.cart-is-open .cart-backdrop {
  visibility: visible;
  opacity: 1;
}

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

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 84px;
  padding: 18px 20px;
  color: #fff;
  background: #073f49;
}

.cart-drawer__header p,
.cart-drawer__header h2 {
  margin: 0;
}

.cart-drawer__header p {
  color: #bde9e4;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cart-drawer__header h2 {
  margin-top: 3px;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.25;
}

.cart-drawer__close {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}

.cart-drawer__close svg,
.cart-line__quantity svg,
.cart-line__remove svg,
.cart-checkout svg,
.cart-empty svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-drawer__body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 20px 20px;
}

.cart-drawer__items {
  display: grid;
}

.cart-line {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line__image {
  display: grid;
  width: 68px;
  aspect-ratio: 3 / 4;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: #e8f2f0;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.cart-line__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line__content {
  min-width: 0;
}

.cart-line__title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cart-line__content > strong {
  display: block;
  margin-top: 5px;
  color: var(--teal);
  font-size: 0.88rem;
}

.cart-line__actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
}

.cart-line__quantity {
  display: grid;
  grid-template-columns: 32px 34px 32px;
  min-height: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.cart-line__quantity button,
.cart-line__quantity span,
.cart-line__remove {
  display: grid;
  place-items: center;
}

.cart-line__quantity button {
  color: var(--teal);
  background: #f4f8f7;
  border: 0;
}

.cart-line__quantity button:first-child {
  border-right: 1px solid var(--line);
}

.cart-line__quantity button:last-child {
  border-left: 1px solid var(--line);
}

.cart-line__quantity svg,
.cart-line__remove svg {
  width: 16px;
  height: 16px;
}

.cart-line__quantity span {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.cart-line__remove {
  width: 32px;
  height: 32px;
  color: #b44738;
  background: #fff5f2;
  border: 1px solid #f0cdc5;
  border-radius: 6px;
}

.cart-line__total {
  padding-top: 2px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
  white-space: nowrap;
}

.cart-drawer__footer {
  padding: 16px 20px calc(18px + env(safe-area-inset-bottom));
  background: #f7faf9;
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 24px rgba(7, 28, 34, 0.06);
}

.cart-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.cart-total-row span {
  color: var(--muted);
  font-size: 0.88rem;
}

.cart-total-row strong {
  color: var(--teal);
  font-size: 1.25rem;
}

.cart-total-row--discount {
  color: #087f5b;
}

.cart-total-row--final {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.cart-total-row--final strong {
  color: var(--coral);
  font-size: 1.25rem;
}

.cart-drawer__footer p {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.cart-checkout {
  width: 100%;
  min-height: 48px;
}

.cart-checkout svg {
  width: 19px;
  height: 19px;
}

.cart-continue {
  width: 100%;
  min-height: 38px;
  margin-top: 7px;
  color: var(--teal);
  background: transparent;
  border: 0;
  font-size: 0.86rem;
  font-weight: 800;
}

.cart-empty {
  display: grid;
  min-height: 52vh;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 32px 12px;
  text-align: center;
}

.cart-empty > svg {
  width: 52px;
  height: 52px;
  color: #7aa9a5;
}

.cart-empty h3,
.cart-empty p {
  margin: 0;
}

.cart-empty h3 {
  font-size: 1.16rem;
}

.cart-empty p {
  max-width: 300px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.cart-empty .button {
  margin-top: 8px;
}

@media (max-width: 480px) {
  .cart-drawer__header,
  .cart-drawer__footer {
    padding-right: 16px;
    padding-left: 16px;
  }

  .cart-drawer__body {
    padding-right: 16px;
    padding-left: 16px;
  }

  .cart-line {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
  }

  .cart-line__image {
    width: 58px;
  }

  .cart-line__total {
    grid-column: 2;
    margin-top: -5px;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cart-backdrop,
  .cart-drawer {
    transition: none;
  }
}

.product-actions--buy {
  grid-template-columns: 1fr;
}

.product-actions--buy .button,
.product-actions--buy .button:first-child,
.product-actions--buy .button:last-child {
  grid-column: auto;
  width: 100%;
  min-height: 46px;
}

.button--sample {
  color: #fff;
  background: linear-gradient(135deg, #075766, #00a6b5);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(7, 87, 102, 0.2);
}

.button--sample:hover {
  color: #fff;
  background: linear-gradient(135deg, #06444f, #078b98);
  border-color: transparent;
}

@media (min-width: 861px) and (max-width: 1120px) {
  .product-detail-layout {
    grid-template-areas:
      "media info"
      "buy info";
    grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
  }

  .product-media-panel {
    grid-area: media;
  }

  .product-info-panel {
    grid-area: info;
  }

  .product-buy-box {
    grid-area: buy;
    grid-column: auto;
    margin-top: 0;
  }
}

@media (max-width: 860px) {
  .product-detail-layout {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .product-media-panel {
    order: 1;
  }

  .product-buy-box {
    order: 2;
  }

  .product-info-panel {
    order: 3;
  }

  .product-media-panel,
  .product-buy-box,
  .product-info-panel {
    margin-top: 0;
  }

  .product-buy-box .product-price-block {
    grid-template-columns: auto auto 1fr;
    align-items: baseline;
    gap: 6px 10px;
  }

  .product-buy-box .discount-text {
    justify-self: end;
  }
}

@media (max-width: 580px) {
  .product-buy-box .product-price-block {
    grid-template-columns: 1fr auto;
  }

  .product-buy-box .discount-text {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .product-actions--buy .button {
    min-height: 48px;
    font-size: 0.95rem;
  }
}

.product-info-panel h1 {
  font-size: clamp(1.45rem, 2.2vw, 2.35rem);
  line-height: 1.18;
}

.product-long-review h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.22;
}

.customer-review-layout {
  grid-template-columns: 240px minmax(0, 1fr);
}

.review-score-card {
  align-content: start;
  gap: 6px;
  padding: 14px;
  background: #fff8f1;
  border-color: #ffd8bd;
  box-shadow: none;
}

.review-score-card > strong {
  font-size: 1.78rem;
}

.review-score-card > span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.review-score-card .stars svg {
  width: 15px;
  height: 15px;
}

.review-score-card .stars {
  color: #f6a800;
}

.customer-review-list {
  gap: 0;
  padding: 0;
  overflow: hidden;
  box-shadow: none;
}

.customer-review {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.customer-review:last-child {
  border-bottom: 0;
}

.customer-review[hidden] {
  display: none;
}

.customer-review__avatar {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 1000;
  background: var(--teal);
  border-radius: 50%;
}

.customer-review .customer-review__content {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.customer-review .customer-review__head {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.customer-review__head strong {
  color: var(--ink);
  font-size: 0.94rem;
}

.customer-review__head small {
  padding: 2px 7px;
  color: #0f766e;
  font-size: 0.72rem;
  font-weight: 900;
  background: #e9fbfa;
  border-radius: 999px;
}

.customer-review .stars svg {
  width: 13px;
  height: 13px;
}

.customer-review p {
  color: #314a50;
  font-size: 0.94rem;
  line-height: 1.52;
}

.review-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.review-pagination button {
  min-width: 34px;
  height: 34px;
  color: var(--ink);
  font-weight: 900;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.review-pagination button.is-active {
  color: #fff;
  background: var(--coral);
  border-color: var(--coral);
}

.review-pagination button:disabled {
  color: #9aaab0;
  cursor: not-allowed;
  background: #f4f7f7;
}

@media (max-width: 760px) {
  .customer-review-layout {
    display: block;
  }

  .review-score-card {
    margin-bottom: 12px;
    text-align: left;
  }

  .review-score-card .stars {
    justify-content: flex-start;
  }

  .product-info-panel h1 {
    font-size: 1.24rem;
    line-height: 1.22;
  }

  .review-pagination {
    justify-content: center;
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

.initial-header-space {
  height: 114px;
  background: linear-gradient(90deg, var(--dark), var(--teal-strong) 55%, #0a6070);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
}

.icon-sprite {
  display: none;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.topbar {
  color: #f8ffff;
  background: linear-gradient(90deg, var(--dark), var(--teal-strong) 55%, #0a6070);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.topbar__inner,
.topbar__links,
.header__inner,
.main-nav,
.header-actions,
.slider-controls,
.slider-dots,
.section-heading--row,
.book-actions,
.catalog-tools,
.contact-pills,
.footer-grid,
.newsletter,
.sticky-contact,
.product-actions {
  display: flex;
  align-items: center;
}

.topbar__inner {
  min-height: 38px;
  justify-content: space-between;
  gap: 20px;
}

.topbar p {
  margin: 0;
}

.topbar__links {
  gap: 16px;
  flex-wrap: wrap;
  font-weight: 800;
}

.topbar__links a {
  color: #ffe19b;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: linear-gradient(90deg, var(--header-start), var(--header-end));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 36px rgba(6, 26, 32, 0.18);
  backdrop-filter: blur(12px);
}

.header__inner {
  min-height: 76px;
  gap: 18px;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: var(--brand-logo-width);
  min-height: var(--brand-logo-height);
  gap: 0;
  flex: 0 0 auto;
}

.brand::before {
  content: "";
  display: block;
  width: var(--brand-logo-width);
  height: var(--brand-logo-height);
  background: var(--brand-logo, url("assets/wavi-wordmark-white.png")) center / contain no-repeat;
}

.brand__mark {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.brand__text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.brand strong {
  font-size: 1.05rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.74rem;
}

.main-nav {
  gap: 16px;
  font-size: 0.93rem;
  font-weight: 800;
  color: rgba(244, 255, 255, 0.88);
}

.main-nav a {
  padding: 10px 8px;
  border-radius: 8px;
}

.main-nav a:hover {
  color: #fff;
}

.main-nav a:hover {
  background: rgba(0, 184, 199, 0.18);
}

.article-content a:hover {
  color: var(--coral);
}

.search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 270px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
}

.search svg,
.icon-button svg,
.cart-button svg,
.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search svg {
  color: var(--muted);
  flex: 0 0 auto;
}

.search input {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  border: 0;
  outline: 0;
}

.header-actions {
  gap: 8px;
}

.icon-button,
.cart-button {
  display: inline-grid;
  min-width: 40px;
  height: 40px;
  place-items: center;
  color: var(--teal);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.icon-button:hover,
.cart-button:hover,
.save-button.is-saved {
  color: var(--coral);
  border-color: #f0b1a4;
}

.cart-button {
  position: relative;
}

.cart-button span {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 5px;
  color: #fff;
  background: var(--coral);
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 900;
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  color: var(--teal);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--coral), #ff8a3c);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(255, 106, 61, 0.25);
}

.button--primary:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  border-color: transparent;
}

.button--ghost:hover {
  color: var(--coral);
  border-color: #f0b1a4;
}

.button--small {
  min-height: 38px;
  padding: 0 13px;
  font-size: 0.9rem;
}

.site-header .button--ghost {
  color: #fff;
  background: linear-gradient(135deg, var(--coral), #ff8a3c);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(255, 106, 61, 0.24);
}

.site-header .icon-button,
.site-header .cart-button {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.promo-gallery {
  padding: 18px 0 36px;
  background: linear-gradient(180deg, var(--dark) 0%, #0a3f49 20%, var(--paper) 100%);
}

.gallery-shell {
  position: relative;
  aspect-ratio: 1920 / 820;
  height: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: var(--teal);
  box-shadow: var(--shadow-strong);
}

.image-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.28s ease, transform 0.35s ease;
}

.image-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.image-slide:first-child {
  transform: none;
  transition: none;
}

.image-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.image-slide::after {
  content: none;
}

.slide-overlay {
  position: absolute;
  left: clamp(20px, 5vw, 58px);
  bottom: clamp(70px, 8vw, 96px);
  z-index: 2;
  display: grid;
  gap: 10px;
  max-width: 520px;
  color: #fff;
}

.slide-overlay span,
.eyebrow,
.combo-caption span,
.article-image-card span,
.book-meta {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.slide-overlay strong {
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
}

.slide-overlay small {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  font-weight: 900;
}

.slide-cta {
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  align-items: center;
  padding: 0 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--coral), #ff8a3c);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(255, 106, 61, 0.28);
  font-style: normal;
  font-weight: 900;
}

.slider-controls {
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.slider-dots {
  gap: 7px;
}

.slider-dots button {
  width: 26px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
}

.slider-dots button.is-active {
  width: 40px;
  background: var(--amber);
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.category-carousel-controls {
  display: flex;
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 4px 2px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.carousel-track::-webkit-scrollbar {
  height: 8px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: rgba(7, 87, 102, 0.32);
  border-radius: 999px;
}

.combo-carousel .combo-image-card,
.article-carousel .article-image-card {
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.home-news-intro {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.home-news-heading-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.home-news-categories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: -4px 0 18px;
  padding: 4px 0 8px;
  scrollbar-width: thin;
}

.home-news-categories a {
  flex: 0 0 auto;
  padding: 8px 11px;
  color: var(--teal-strong);
  background: #edf9f7;
  border: 1px solid #cce8e4;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.home-news-categories a:hover {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.home-news-card {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(20, 48, 52, 0.07);
}

.home-news-card img {
  padding: 12px;
  background: #f7faf9;
  object-fit: contain;
}

.home-news-card > div {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.home-news-card span {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-news-card strong {
  padding: 0;
}

.home-news-card small {
  color: var(--muted);
  line-height: 1.5;
}

.home-news-footer {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.home-news-footer a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--teal);
  font-weight: 900;
}

.home-news-footer svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

@media (max-width: 720px) {
  .home-news-heading-actions {
    width: 100%;
    justify-content: space-between;
  }

  .home-news-heading-actions > .button {
    flex: 1 1 auto;
  }
}

.mobile-commerce-nav {
  display: none;
}

.visual-categories,
.combo-showcase,
.catalog-section,
.seo-preview,
.product-section,
.product-seo,
.blog-hero,
.article-hero {
  padding: 58px 0;
}

.visual-categories,
.catalog-section,
.product-section {
  background:
    linear-gradient(180deg, rgba(0, 184, 199, 0.08), rgba(255, 248, 237, 0)),
    var(--surface-soft);
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading--compact {
  margin-bottom: 18px;
}

.section-heading h1,
.section-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: 2rem;
  line-height: 1.18;
}

.section-heading p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.6;
}

.section-heading--row {
  justify-content: space-between;
  gap: 24px;
}

.visual-category-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 2px 2px 14px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.visual-category-grid::-webkit-scrollbar {
  height: 7px;
}

.visual-category-grid::-webkit-scrollbar-thumb {
  background: rgba(7, 87, 102, 0.28);
  border-radius: 999px;
}

.visual-tile {
  position: relative;
  flex: 0 0 calc((100% - 48px) / 5);
  min-width: 0;
  min-height: 154px;
  overflow: hidden;
  color: #fff;
  background: var(--teal);
  border: 1px solid rgba(7, 87, 102, 0.08);
  border-radius: 8px;
  isolation: isolate;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.visual-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.visual-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(9, 35, 42, 0.78));
}

.visual-tile span,
.visual-tile strong,
.visual-tile small {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
}

.visual-tile span,
.visual-tile strong {
  bottom: 18px;
  font-size: 1.08rem;
  font-weight: 900;
}

.visual-tile small {
  bottom: 46px;
  color: rgba(255, 255, 255, 0.75);
}

.visual-tile:hover img,
.combo-image-card:hover img,
.book-card:hover .book-thumb img,
.article-image-card:hover img,
.product-cover:hover img {
  transform: scale(1.06);
}

.visual-tile:hover,
.combo-image-card:hover,
.book-card:hover,
.article-image-card:hover {
  border-color: rgba(0, 184, 199, 0.42);
  box-shadow: var(--shadow-strong);
  transform: translateY(-4px);
}

.visual-tile,
.combo-image-card,
.book-card,
.article-image-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.visual-tile--cover {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.visual-tile--cover strong,
.visual-tile--cover small {
  position: static;
}

.visual-tile--cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.24), transparent 19%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 18px);
  opacity: 0.78;
}

.visual-tile--cover::after {
  display: none;
}

.category-icon-frame {
  position: relative;
  z-index: 2;
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.category-icon {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.visual-tile--cover .category-icon {
  position: static;
  inset: auto;
}

.visual-tile__copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 5px;
  padding: 9px 10px;
  background: rgba(5, 26, 32, 0.43);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  backdrop-filter: blur(3px);
}

.visual-tile--cover strong {
  color: #fff;
  display: -webkit-box;
  overflow: hidden;
  font-size: 1rem;
  line-height: 1.14;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.visual-tile--cover small {
  color: rgba(255, 255, 255, 0.93);
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.28;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.combo-showcase,
.seo-preview {
  background: #fff;
}

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

.combo-image-card,
.article-image-card,
.book-card,
.catalog-sidebar,
.product-panel,
.order-panel,
.article-content,
.blog-sidebar {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.combo-image-card {
  overflow: hidden;
}

.combo-image-card__link {
  display: block;
  color: inherit;
}

.combo-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 8px;
  padding: 0 18px 18px;
}

.combo-card-actions .button {
  width: 100%;
  min-width: 0;
  padding-right: 10px;
  padding-left: 10px;
}

.combo-stack {
  position: relative;
  display: flex;
  min-height: 330px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 28px;
  isolation: isolate;
}

.combo-stack img {
  position: relative;
  z-index: 2;
  width: 170px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(0, 184, 199, 0.24);
  filter: saturate(1.07) contrast(1.03);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.combo-stack img + img,
.combo-stack .fake-book + .fake-book {
  margin-left: -34px;
  transform: translateY(22px);
}

.combo-stack--three img,
.combo-stack--three .fake-book {
  width: 142px;
}

.combo-stack--three img + img,
.combo-stack--three img + .fake-book,
.combo-stack--three .fake-book + .fake-book {
  margin-left: -28px;
}

.combo-stack--four img,
.combo-stack--four .fake-book {
  width: 126px;
}

.combo-stack--four img + img,
.combo-stack--four img + .fake-book,
.combo-stack--four .fake-book + .fake-book {
  margin-left: -34px;
}

.fake-book,
.fake-article-image {
  display: grid;
  width: 170px;
  aspect-ratio: 3 / 4;
  place-items: center;
  padding: 18px;
  color: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.combo-caption {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.combo-caption strong {
  font-size: 1.15rem;
}

.card-cta {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--coral), #ff8a3c);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(255, 106, 61, 0.22);
  font-size: 0.86rem;
  font-weight: 900;
}

.combo-caption small,
.price-compare {
  color: var(--teal);
  font-weight: 900;
}

.combo-price-row,
.price-row,
.product-price-block {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
}

.sale-price,
.product-price {
  color: var(--coral);
  font-size: 1.15rem;
  font-weight: 900;
}

.product-price {
  font-size: 1.9rem;
}

.compare-price,
.price-compare {
  color: #5f7075;
  text-decoration: line-through;
  font-weight: 800;
}

.visual-categories,
.combo-showcase,
.catalog-section,
.seo-preview,
.product-review-section,
.recommend-section,
.customer-review-section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 760px;
}

.discount-saving,
.discount-text {
  display: inline-flex;
  min-height: 18px;
  align-items: center;
  padding-left: 8px;
  color: var(--teal);
  border-left: 2px solid var(--cyan);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.product-buy-box .discount-text {
  color: var(--coral);
  border-left-color: var(--amber);
  font-size: 0.82rem;
}

.contact-pills {
  gap: 8px;
  flex-wrap: wrap;
}

.contact-pills a {
  padding: 10px 13px;
  color: var(--teal);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

.contact-pills a:hover {
  color: #fff;
  background: var(--teal);
}

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

.catalog-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 9px;
  padding: 16px;
  border-top: 4px solid var(--coral);
}

.catalog-sidebar h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.category-button {
  min-height: 42px;
  padding: 0 12px;
  color: var(--teal);
  text-align: left;
  background: #f8fbfb;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

.category-button:hover,
.category-button.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #0b7b8b);
  border-color: transparent;
}

.catalog-tools {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.catalog-tools p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.sort-select {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.sort-select select {
  min-height: 36px;
  padding: 0 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.book-card {
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(7, 28, 34, 0.06);
}

.book-thumb {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 3 / 4;
  place-items: center;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #edf8f7, #fff2de);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.book-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(6, 26, 32, 0.02) 24%, rgba(6, 26, 32, 0.86)),
    linear-gradient(135deg, rgba(0, 184, 199, 0.16), rgba(255, 106, 61, 0.2));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.book-card:hover .book-thumb {
  transform: translateY(-6px);
  box-shadow: 0 24px 46px rgba(6, 26, 32, 0.24);
}

.book-card:hover .book-thumb::before {
  opacity: 1;
}

.book-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.book-thumb--image img {
  object-position: center 58%;
}

.book-thumb--cover {
  position: relative;
  align-content: space-between;
  justify-items: start;
  padding: 18px;
  color: #fff;
  text-align: left;
}

.book-thumb--cover span,
.book-thumb--cover strong,
.book-thumb--cover small {
  position: relative;
  z-index: 1;
}

.book-thumb--cover strong {
  align-self: center;
  max-width: 100%;
  font-size: 1.24rem;
  line-height: 1.15;
}

.book-thumb--cover small {
  color: rgba(255, 255, 255, 0.84);
}

.quick-view-panel {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 4;
  display: grid;
  gap: 5px;
  padding: 12px;
  color: #fff;
  background: rgba(6, 26, 32, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(6, 26, 32, 0.3);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.book-card:hover .quick-view-panel,
.book-card:focus-within .quick-view-panel {
  opacity: 1;
  transform: translateY(0);
}

.quick-view-panel__meta {
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-view-panel strong {
  color: #fff;
  font-size: 0.94rem;
  line-height: 1.28;
}

.quick-view-panel small {
  color: #ffe19b;
  font-size: 0.84rem;
  font-weight: 900;
}

.quick-view-panel em {
  color: #8ef7ff;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.book-card__body {
  display: grid;
  gap: 8px;
  padding: 15px;
}

.book-meta {
  margin: 0;
}

.book-card h3 {
  min-height: 44px;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.3;
}

.price {
  margin: 0;
  color: var(--coral);
  font-size: 1.08rem;
  font-weight: 900;
}

.book-actions {
  justify-content: space-between;
  gap: 8px;
}

.book-actions > .button {
  flex: 1 1 auto;
  min-width: 0;
}

.book-actions > .icon-button {
  flex: 0 0 40px;
}

.save-button {
  flex: 0 0 auto;
}

.empty-state {
  margin: 18px 0 0;
  padding: 16px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.pagination button,
.pagination__dots {
  display: inline-grid;
  min-width: 38px;
  min-height: 38px;
  place-items: center;
  padding: 0 12px;
  color: var(--teal);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

.pagination button:hover,
.pagination button.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #0b7b8b);
  border-color: transparent;
}

.pagination button:disabled {
  color: #98a8ac;
  background: #f4f7f7;
  cursor: not-allowed;
}

.pagination__dots {
  border-color: transparent;
  background: transparent;
}

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

.article-image-card {
  display: grid;
  overflow: hidden;
}

.article-image-card img,
.fake-article-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.article-image-card strong {
  padding: 16px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.fake-article-image {
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

.cover-teal {
  background: linear-gradient(135deg, var(--teal-strong), #0a8390);
}

.cover-cyan {
  background: linear-gradient(135deg, #057383, var(--cyan));
}

.cover-amber {
  background: linear-gradient(135deg, #9b5415, var(--amber));
}

.cover-coral {
  background: linear-gradient(135deg, #b8323a, var(--coral));
}

.cover-light {
  color: var(--ink);
  background: linear-gradient(135deg, #f8ffff, #d8f7f5 48%, #ffe7bd);
}

.cover-light .category-icon-frame {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(7, 87, 102, 0.2);
  box-shadow: 0 14px 28px rgba(7, 28, 34, 0.12);
}

.cover-light .visual-tile__copy {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(7, 87, 102, 0.14);
}

.cover-light strong {
  color: var(--ink);
  text-shadow: none;
}

.cover-light small {
  color: rgba(7, 28, 34, 0.82);
  text-shadow: none;
}

.cover-vivid {
  background: linear-gradient(135deg, #005c6a, #00b8c7 42%, #ff6a3d);
}

.cover-dark {
  background: linear-gradient(135deg, var(--dark), #284b55);
}

.product-section {
  padding-top: 34px;
}

.policy-hero {
  padding: 54px 0 34px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
}

.policy-hero .section-heading {
  max-width: 920px;
}

.policy-section {
  padding: 42px 0 70px;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(190px, 0.28fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.policy-nav {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 6px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.policy-nav a {
  padding: 9px 10px;
  color: var(--teal);
  font-weight: 850;
}

.policy-content {
  display: grid;
  gap: 30px;
  max-width: 880px;
}

.policy-content section {
  scroll-margin-top: 120px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.policy-content h2 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}

.policy-content p,
.policy-content li {
  color: var(--muted);
  line-height: 1.75;
}

.policy-content ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
  gap: 28px;
  align-items: start;
}

.product-cover {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 184, 199, 0.12), rgba(255, 106, 61, 0.13)),
    #fff;
  box-shadow: var(--shadow);
}

.product-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-cover-stack {
  display: flex;
  min-height: 520px;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 34px;
  background: #eef5f4;
}

.product-cover-stack img,
.product-cover-stack .fake-book {
  width: min(36%, 180px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-cover-stack img + img,
.product-cover-stack img + .fake-book,
.product-cover-stack .fake-book + img,
.product-cover-stack .fake-book + .fake-book {
  margin-left: -34px;
  transform: translateY(28px);
}

.product-panel {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.product-panel h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.product-summary {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

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

.product-status-row span {
  padding: 7px 9px;
  color: var(--teal);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
}

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

.product-badges span {
  padding: 8px 10px;
  color: var(--teal);
  background: var(--surface-soft);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
}

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

.voucher-strip span {
  min-height: 42px;
  padding: 10px;
  color: var(--teal);
  background: #fff7ed;
  border: 1px dashed #e8b783;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
}

.product-actions {
  gap: 10px;
  flex-wrap: wrap;
}

.order-panel {
  margin-top: 22px;
  padding: 22px;
}

.order-panel h2 {
  margin: 0 0 14px;
}

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

.order-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.order-form input,
.order-form textarea,
.order-form select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
}

.order-form textarea,
.order-form .span-2 {
  grid-column: 1 / -1;
}

.order-form textarea {
  resize: vertical;
}

.order-form .order-consent {
  display: flex;
  align-items: flex-start;
  grid-template-columns: none;
  gap: 9px;
  padding: 10px 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  line-height: 1.45;
}

.order-form .order-consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  padding: 0;
}

.order-form .order-consent a {
  color: var(--teal);
  text-decoration: underline;
}

.order-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.product-seo {
  background: #fff;
}

.product-seo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.article-content {
  padding: 26px;
}

.article-reading-progress {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  z-index: 80;
  height: 4px;
  background: rgba(14, 92, 99, 0.1);
}

.article-reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--teal), #f2a65a);
}

.article-toc {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f6fbfa;
}

.article-toc strong {
  color: var(--ink);
}

.article-toc a {
  color: #31565d;
  font-size: 0.9rem;
  line-height: 1.4;
}

.article-toc a.is-level-3 {
  padding-left: 14px;
  color: var(--muted);
}

.article-content blockquote {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--teal);
  border-radius: 0 10px 10px 0;
  background: #f0f8f7;
  color: #244a50;
  font-weight: 700;
  line-height: 1.7;
}

.article-code {
  position: relative;
  overflow-x: auto;
  margin: 22px 0;
  padding: 38px 18px 18px;
  border-radius: 10px;
  background: #10282d;
  color: #dff7f3;
  line-height: 1.65;
  tab-size: 2;
}

.article-code > span {
  position: absolute;
  top: 10px;
  left: 14px;
  color: #8ec9c1;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.article-code code {
  white-space: pre;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

.article-main-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center 35%;
  margin-bottom: 24px;
  border-radius: 8px;
}

.article-content h2 {
  margin: 26px 0 10px;
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  margin: 18px 0 8px;
  color: var(--teal);
  font-size: 1.08rem;
}

.article-content ul {
  margin: 0 0 18px;
  padding-left: 20px;
}

.article-content p,
.article-content li {
  color: #425f66;
  line-height: 1.72;
}

.article-content a {
  color: var(--teal);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.related-products {
  display: grid;
  gap: 12px;
}

.related-products a {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 900;
}

.related-products span {
  color: var(--coral);
}

.article-book-recommendations {
  display: grid;
  gap: 14px;
  margin: 6px -6px 4px;
  padding: 18px 14px 14px;
  overflow: hidden;
  border: 1px solid rgba(89, 218, 202, 0.32);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(242, 166, 90, 0.28), transparent 42%),
    linear-gradient(145deg, #0b4f59, #073941 72%);
  box-shadow: 0 16px 34px rgba(7, 57, 65, 0.2);
}

.article-book-recommendations__heading {
  display: grid;
  gap: 6px;
}

.article-book-recommendations__heading small {
  width: max-content;
  padding: 5px 9px;
  border-radius: 999px;
  color: #173f43;
  background: #ffd49a;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.blog-sidebar .article-book-recommendations__heading h2 {
  color: #fff;
  font-size: 1.22rem;
  line-height: 1.25;
}

.article-book-recommendations__heading p {
  margin: 0;
  color: #c9e9e5;
  font-size: 0.82rem;
  line-height: 1.5;
}

.article-book-grid {
  display: grid;
  gap: 10px;
}

.article-book-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  min-height: 132px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 8px 20px rgba(4, 36, 41, 0.16);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.article-book-card:hover {
  border-color: #f2a65a;
  box-shadow: 0 12px 26px rgba(4, 36, 41, 0.24);
  transform: translateY(-3px);
}

.article-book-card__media {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 4px;
  overflow: hidden;
  border-radius: 8px;
  background: #edf5f3;
}

.article-book-card__media img,
.article-book-card__media .fake-book {
  width: 100%;
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 5px 7px rgba(14, 41, 45, 0.2));
}

.article-book-card__media b {
  position: absolute;
  top: 5px;
  left: 5px;
  padding: 3px 6px;
  border-radius: 999px;
  color: #fff;
  background: #db5d45;
  font-size: 0.67rem;
  line-height: 1;
  box-shadow: 0 3px 8px rgba(128, 38, 24, 0.25);
}

.article-book-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.article-book-card__body > small {
  color: #477078;
  font-size: 0.67rem;
  font-weight: 800;
  line-height: 1.35;
}

.article-book-card__body > strong {
  display: -webkit-box;
  margin-top: 5px;
  overflow: hidden;
  color: #163f45;
  font-size: 0.86rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.article-book-card__price {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
  color: #d5533c;
  font-size: 0.9rem;
  font-weight: 950;
}

.article-book-card__price del {
  color: #83979a;
  font-size: 0.7rem;
  font-weight: 700;
}

.article-book-card__body em {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: auto;
  padding-top: 8px;
  color: #08737e;
  font-size: 0.73rem;
  font-style: normal;
  font-weight: 900;
}

.article-book-card__body em svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.article-book-card:hover .article-book-card__body em svg {
  transform: translateX(3px);
}

.blog-hero,
.article-hero {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.blog-hero h1,
.article-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: 2.5rem;
  line-height: 1.12;
}

.blog-hero p,
.article-hero p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.62;
}

.blog-category-section {
  padding: 20px 0;
  background: #f4f9f8;
  border-bottom: 1px solid var(--line);
}

.blog-category-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.blog-category-nav a {
  display: grid;
  gap: 4px;
  min-height: 74px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-category-nav a:hover,
.blog-category-nav a.is-active {
  border-color: var(--teal);
  box-shadow: 0 10px 24px rgba(11, 86, 97, 0.1);
  transform: translateY(-2px);
}

.blog-category-nav a.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--teal-strong), #0d7e89);
}

.blog-category-nav small {
  color: inherit;
  opacity: 0.72;
}

.blog-post-section {
  padding-top: 38px;
}

.blog-result-count {
  color: var(--muted);
  font-weight: 800;
}

.blog-card {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(20, 48, 52, 0.06);
}

.blog-card img {
  padding: 12px;
  background: #f7f9f8;
  object-fit: contain;
}

.blog-card__body {
  display: grid;
  gap: 9px;
  padding: 15px;
}

.blog-card__body > span {
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-card__body strong {
  padding: 0;
  font-size: 1.06rem;
}

.blog-card__body small {
  color: var(--muted);
  line-height: 1.52;
}

.blog-card__body em {
  color: #6d7d80;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
}

.article-breadcrumb,
.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.84rem;
}

.article-breadcrumb a,
.back-to-category {
  color: var(--teal);
  font-weight: 800;
}

.article-byline {
  margin-top: 12px;
}

.article-byline strong {
  color: var(--ink);
}

.article-lead-figure {
  margin: 0 0 28px;
  padding: 16px;
  background: #f7faf9;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.article-lead-figure img {
  max-height: 520px;
  object-fit: contain;
}

.article-lead-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.article-faq {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.article-faq__item {
  margin: 9px 0;
  padding: 12px 14px;
  background: #f8fbfa;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.article-faq__item summary {
  cursor: pointer;
  font-weight: 900;
}

@media (max-width: 860px) {
  .blog-category-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .expert-review-gallery { grid-template-columns: 1fr 1fr; }
  .expert-review-gallery__item.is-featured { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .blog-category-nav { display: flex; overflow-x: auto; padding-bottom: 6px; }
  .blog-category-nav a { min-width: 210px; }
  .expert-review-gallery { grid-template-columns: 1fr; }
  .expert-review-gallery__item.is-featured { grid-column: auto; }
  .expert-review-gallery__item img,
  .expert-review-gallery__item.is-featured img { height: 280px; }
}

.blog-layout,
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  padding: 42px 0 68px;
}

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

.blog-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
}

.blog-sidebar h2 {
  margin: 0;
  font-size: 1.08rem;
}

.blog-sidebar a {
  color: var(--teal);
  font-weight: 900;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 52px 0 78px;
  color: #eaf5f3;
  background:
    linear-gradient(135deg, var(--dark), var(--teal-strong) 64%, #0a6070);
}

.site-footer::after {
  content: "";
  position: absolute;
  right: max(18px, calc((100vw - var(--max)) / 2));
  bottom: 12px;
  width: min(150px, 34vw);
  aspect-ratio: 1;
  background: var(--footer-owl, url("assets/optimized/wavi-owl-white-420.png")) center / contain no-repeat;
  opacity: 0.13;
  pointer-events: none;
}

.footer-grid {
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.footer-grid > div {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.footer-grid h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.footer-grid a,
.site-footer p {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer p {
  max-width: 330px;
  margin: 6px 0 0;
  line-height: 1.58;
}

.brand--footer small {
  color: rgba(255, 255, 255, 0.66);
}

.newsletter {
  align-items: stretch;
  gap: 8px;
}

.newsletter input {
  min-height: 40px;
  width: 210px;
  min-width: 0;
  padding: 0 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  outline: 0;
}

.newsletter .newsletter-consent {
  display: flex;
  flex: 1 0 100%;
  align-items: flex-start;
  gap: 7px;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  line-height: 1.45;
}

.newsletter .newsletter-consent input {
  flex: 0 0 16px;
  width: 16px;
  min-height: 16px;
  margin-top: 2px;
  padding: 0;
}

.newsletter .newsletter-consent a {
  display: inline;
  color: #fff;
  text-decoration: underline;
}

.sticky-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 86px;
  z-index: 50;
  width: min(390px, calc(100% - 40px));
  padding: 14px 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-strong), var(--teal));
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.admin-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(0, 184, 199, 0.08), rgba(255, 106, 61, 0.08)),
    var(--paper);
}

.admin-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 290px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: grid;
  height: 100vh;
  align-content: start;
  gap: 22px;
  padding: 22px;
  color: #fff;
  background: linear-gradient(180deg, var(--dark), var(--teal-strong));
  overflow: auto;
}

.brand--admin::before {
  width: 190px;
  height: 50px;
}

.admin-tabs {
  display: grid;
  gap: 8px;
}

.admin-tabs button {
  min-height: 44px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-weight: 900;
}

.admin-tabs button:hover,
.admin-tabs button.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--coral), #ff8a3c);
  border-color: transparent;
}

.admin-help {
  display: grid;
  gap: 8px;
  padding: 14px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  line-height: 1.55;
}

.admin-help p {
  margin: 0;
}

.admin-main {
  min-width: 0;
  padding: 28px;
}

.admin-header,
.admin-panel__heading,
.admin-card header,
.admin-card-actions,
.admin-actions,
.admin-subheading {
  display: flex;
  align-items: center;
}

.admin-header {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.admin-header h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.admin-actions,
.admin-card-actions {
  gap: 8px;
  flex-wrap: wrap;
}

.admin-status {
  min-height: 0;
  margin-bottom: 14px;
  padding: 0;
  color: var(--teal);
  font-weight: 900;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.admin-status.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.admin-panel {
  display: grid;
  gap: 16px;
}

.admin-panel__heading {
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(7, 28, 34, 0.07);
}

.admin-panel__heading h2,
.admin-save-card h3 {
  margin: 0;
}

.admin-panel__heading p,
.admin-save-card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.admin-history-list {
  display: grid;
  gap: 8px;
}

.admin-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: #f7fbfb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-history-item > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.admin-history-item small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.admin-card,
.admin-save-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(7, 28, 34, 0.07);
}

.admin-card[draggable="true"] {
  cursor: grab;
}

.admin-card.is-dragging {
  opacity: 0.58;
  cursor: grabbing;
}

.admin-card.is-drop-target {
  outline: 3px solid rgba(0, 184, 199, 0.28);
  outline-offset: 3px;
}

.admin-subheading {
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding: 14px 2px 0;
}

.admin-subheading h3 {
  margin: 0;
}

.admin-text-sections {
  display: grid;
  gap: 10px;
}

.admin-text-section {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(7, 28, 34, 0.05);
}

.admin-text-section summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  grid-template-rows: auto auto;
  gap: 4px 14px;
  align-items: center;
  padding: 15px 16px;
  cursor: pointer;
  list-style: none;
}

.admin-text-section summary::-webkit-details-marker {
  display: none;
}

.admin-text-section summary::after {
  grid-column: 3;
  grid-row: 1 / 3;
  content: "›";
  color: var(--teal);
  font-size: 1.6rem;
  line-height: 1;
  transform-origin: center;
  transition: transform 0.18s ease;
}

.admin-text-section[open] summary::after {
  transform: rotate(90deg);
}

.admin-text-section[open] summary {
  border-bottom: 1px solid var(--line);
}

.admin-text-section__title {
  color: var(--ink);
  font-weight: 950;
}

.admin-text-section summary small {
  grid-column: 1;
  color: var(--muted);
  line-height: 1.45;
}

.admin-text-section__count {
  grid-column: 2;
  grid-row: 1 / 3;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.admin-text-section__fields {
  padding: 16px;
  background: #fbfefe;
}

.admin-card header {
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.admin-card-actions button {
  min-height: 34px;
  padding: 0 10px;
  color: var(--teal);
  background: #f8fbfb;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

.admin-card-actions button:hover {
  color: #fff;
  background: var(--teal);
}

.admin-card--compact {
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.admin-card--compact > header {
  padding: 14px 16px;
  border-bottom: 0;
}

.admin-card--compact.is-open > header {
  border-bottom: 1px solid var(--line);
}

.admin-card-summary {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.admin-card-summary strong,
.admin-card-summary small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-card-summary small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-card-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-toggle-button {
  min-height: 34px;
  padding: 0 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--coral), #ff8a3c);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(255, 106, 61, 0.18);
  font-weight: 900;
}

.admin-toggle-button:hover {
  background: linear-gradient(135deg, var(--teal), var(--cyan));
}

.admin-card__body {
  padding: 16px;
}

.admin-card__body[hidden] {
  display: none;
}

.admin-product-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) minmax(150px, 0.65fr) auto auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-product-toolbar > strong {
  align-self: center;
  color: var(--teal);
  white-space: nowrap;
}

.admin-product-bulk {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(160px, 0.7fr) minmax(220px, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.admin-product-select {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px 0;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 900;
}

.admin-product-select input {
  width: 17px;
  height: 17px;
}

.admin-product-missing {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  font-weight: 850;
}

.admin-product-missing input {
  width: 18px;
  height: 18px;
}

.admin-product-section {
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfefe;
}

.admin-product-section summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px;
  cursor: pointer;
  list-style: none;
}

.admin-product-section summary::-webkit-details-marker {
  display: none;
}

.admin-product-section summary > span:first-child {
  display: grid;
  gap: 3px;
}

.admin-product-section summary small {
  color: var(--muted);
  line-height: 1.4;
}

.admin-product-section summary > span:last-child {
  color: var(--teal);
  font-size: 1.5rem;
  transition: transform 0.18s ease;
}

.admin-product-section[open] summary > span:last-child {
  transform: rotate(90deg);
}

.admin-product-section[open] summary {
  border-bottom: 1px solid var(--line);
}

.admin-product-section > .admin-grid {
  padding: 14px;
}

.admin-media-summary {
  margin-bottom: 16px;
  padding: 14px 16px;
  background: #eef9f8;
  border-left: 4px solid var(--teal);
}

.admin-media-summary p {
  margin: 4px 0 0;
  color: var(--muted);
}

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

.admin-media-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-media-card__image {
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #f1f5f5;
  border-radius: 6px;
}

.admin-media-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.admin-media-card > div:not(.admin-media-card__image) {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-media-card small {
  color: var(--teal);
  font-weight: 900;
}

.admin-media-card code {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.growth-url-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0;
}

.growth-url-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.growth-url-list li {
  display: grid;
  grid-template-columns: 54px minmax(150px, 0.65fr) minmax(240px, 1.35fr);
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.growth-url-list li.is-pass > strong { color: #087f5b; }
.growth-url-list li.is-fail > strong { color: #c92a2a; }
.growth-url-list code { overflow-wrap: anywhere; }

.admin-retention-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.admin-retention-summary > div {
  display: grid;
  gap: 5px;
  padding: 16px;
  background: #eef9f8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-retention-summary small,
.admin-retention-summary span { color: var(--muted); }
.admin-retention-summary strong { color: var(--teal); font-size: 1.35rem; }

.admin-table-wrap {
  overflow-x: auto;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.admin-table th,
.admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.admin-table th { background: #f3f8f8; color: var(--teal); }
.admin-table tr:last-child td { border-bottom: 0; }

.admin-access-note {
  margin-bottom: 14px;
  padding: 14px 16px;
  background: #fff7ed;
  border-left: 4px solid var(--coral);
}

.admin-access-note p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.admin-collaborator-form {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 10px;
  align-items: end;
  max-width: 720px;
  margin-bottom: 12px;
}

.admin-collaborator-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.admin-collaborator-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-collaborator-list li > div { display: grid; gap: 3px; }
.admin-collaborator-list small { color: var(--muted); }

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

.growth-metric-grid > div {
  display: grid;
  gap: 5px;
  padding: 15px;
  background: #f3f9f9;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.growth-metric-grid span { color: var(--muted); font-weight: 850; }
.growth-metric-grid strong { color: var(--teal); font-size: 1.55rem; }
.growth-metric-grid small { color: var(--muted); }

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

.admin-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--ink);
  font-weight: 900;
}

.admin-field .range-value {
  display: inline-flex;
  align-items: center;
  min-width: 56px;
  justify-content: center;
  margin-left: 6px;
  padding: 3px 8px;
  color: var(--coral);
  border-radius: 999px;
  background: #fff7ed;
}

.admin-field--wide,
.admin-json,
.admin-export-grid {
  grid-column: 1 / -1;
}

.admin-field input,
.admin-field select,
.admin-field textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  font-weight: 500;
}

.admin-field textarea {
  resize: vertical;
  line-height: 1.55;
}

.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 184, 199, 0.14);
}

.admin-field small {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.admin-file {
  padding: 9px;
  background: #f8fbfb;
}

.admin-image-preview {
  width: min(220px, 100%);
  max-height: 150px;
  object-fit: contain;
  padding: 8px;
  background: #f8fbfb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-save-card {
  align-content: start;
}

.growth-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.growth-note,
.growth-card,
.growth-result {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(7, 28, 34, 0.07);
}

.growth-note {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.growth-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.growth-guide {
  display: grid;
  gap: 6px;
  padding: 13px 14px;
  color: var(--teal);
  background: linear-gradient(135deg, rgba(0, 184, 199, 0.1), rgba(255, 248, 237, 0.95));
  border: 1px solid rgba(0, 184, 199, 0.22);
  border-radius: 8px;
}

.growth-guide p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.growth-pick-block {
  display: grid;
  gap: 10px;
}

.growth-pick-heading {
  display: grid;
  gap: 4px;
}

.growth-pick-heading small {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.growth-choice-grid,
.growth-budget-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.growth-choice-card,
.growth-budget-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.growth-choice-card.is-recommended,
.growth-budget-card.is-recommended {
  border-color: rgba(255, 106, 61, 0.38);
  box-shadow: 0 10px 22px rgba(255, 106, 61, 0.09);
}

.growth-choice-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.growth-choice-card header span,
.growth-budget-card > span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.growth-choice-card p,
.growth-budget-card small {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.growth-check-stack {
  display: grid;
  gap: 7px;
}

.growth-check-option,
.growth-budget-card {
  cursor: pointer;
}

.growth-check-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
}

.growth-check-option input,
.growth-budget-card input {
  accent-color: var(--coral);
}

.growth-budget-card strong {
  color: var(--teal);
  font-size: 1.08rem;
}

.growth-switcher {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 2px 10px;
  scrollbar-width: none;
}

.growth-switcher::-webkit-scrollbar {
  display: none;
}

.growth-switcher button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  color: var(--teal);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(7, 28, 34, 0.05);
  font-weight: 900;
}

.growth-switcher button.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  border-color: transparent;
}

.growth-panels,
.growth-panel {
  display: grid;
  gap: 16px;
}

.growth-panel[hidden] {
  display: none;
}

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

.growth-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 16px;
}

.growth-card--wide {
  grid-column: 1 / -1;
}

.growth-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.growth-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.growth-card p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

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

.growth-result {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
}

.growth-score {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 160px;
  color: var(--teal);
  border: 1px solid rgba(0, 184, 199, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 184, 199, 0.12), rgba(255, 248, 237, 0.9));
  text-align: center;
}

.growth-score strong {
  color: var(--coral);
  font-size: 3.2rem;
  line-height: 1;
}

.growth-score small {
  max-width: 130px;
  color: var(--muted);
  line-height: 1.35;
}

.growth-check-list {
  display: grid;
  gap: 8px;
  margin: 8px 0 16px;
  padding: 0;
  list-style: none;
}

.growth-check-list li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 120px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
}

.growth-check-list li.is-pass strong {
  color: var(--teal);
}

.growth-check-list li.is-fail strong {
  color: var(--coral);
}

.growth-check-list span {
  color: var(--ink);
  font-weight: 900;
}

.growth-check-list small {
  color: var(--muted);
  text-align: right;
}

.admin-json textarea {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.88rem;
}

@media (max-width: 1120px) {
  .header__inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .menu-toggle {
    display: inline-grid;
    margin-left: auto;
  }

  .main-nav {
    order: 5;
    display: none;
    width: 100%;
    padding: 8px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .main-nav.is-open {
    display: flex;
    flex-wrap: wrap;
  }

  .search {
    order: 4;
    width: min(100%, 440px);
    margin-left: 0;
  }

  .visual-category-grid,
  .book-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .combo-carousel .combo-image-card,
  .article-carousel .article-image-card {
    flex-basis: calc((100% - 16px) / 2);
  }
}

@media (max-width: 860px) {
  .admin-shell {
    display: block;
  }

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

  .policy-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-sidebar {
    position: static;
    height: auto;
    gap: 12px;
    padding: 14px;
  }

  .admin-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .admin-tabs::-webkit-scrollbar {
    display: none;
  }

  .admin-tabs button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 12px;
    white-space: nowrap;
  }

  .admin-help {
    display: none;
  }

  .admin-text-section summary {
    grid-template-columns: minmax(0, 1fr) 18px;
  }

  .admin-text-section__count {
    grid-column: 1;
    grid-row: 3;
    margin-top: 3px;
  }

  .admin-text-section summary::after {
    grid-column: 2;
    grid-row: 1 / 4;
  }

  .admin-main {
    padding: 18px;
  }

  .admin-header h1 {
    font-size: 1.75rem;
  }

  .admin-header,
  .admin-panel__heading,
  .admin-card header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-card--compact > header {
    padding: 14px;
  }

  .admin-card-summary strong,
  .admin-card-summary small {
    white-space: normal;
  }

  .admin-card-toolbar,
  .admin-card-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .admin-grid,
  .admin-export-grid,
  .growth-toolbar,
  .growth-choice-grid,
  .growth-budget-grid,
  .growth-grid,
  .growth-result {
    grid-template-columns: 1fr;
  }

  .admin-product-toolbar,
  .admin-media-grid,
  .admin-retention-summary,
  .admin-collaborator-form,
  .growth-metric-grid {
    grid-template-columns: 1fr;
  }

  .admin-product-bulk {
    grid-template-columns: 1fr;
  }

  .growth-url-list li {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .growth-url-list code {
    grid-column: 1 / -1;
  }

  .growth-card header,
  .growth-check-list li {
    align-items: flex-start;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .growth-check-list small {
    text-align: left;
  }

  .topbar__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 9px 0;
  }

  .gallery-shell {
    height: auto;
  }

  .visual-tile {
    flex-basis: calc((100% - 24px) / 3);
    min-height: 138px;
  }

  .visual-category-grid,
  .combo-image-grid,
  .article-image-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .carousel-track {
    margin-right: -16px;
    padding-right: 16px;
  }

  .combo-carousel .combo-image-card,
  .article-carousel .article-image-card {
    flex-basis: min(78vw, 430px);
  }

  .catalog-layout,
  .product-layout,
  .product-seo-grid,
  .blog-layout,
  .article-layout {
    display: block;
  }

  .catalog-sidebar,
  .blog-sidebar {
    position: static;
    margin-bottom: 18px;
  }

  .product-panel,
  .order-panel {
    margin-top: 18px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 580px) {
  body {
    padding-bottom: 76px;
  }

  .initial-header-space {
    height: 105px;
  }

  .container {
    width: min(100% - 22px, var(--max));
  }

  .carousel-track {
    margin-right: -11px;
    padding-right: 11px;
  }

  .topbar {
    display: none;
  }

  .header__inner {
    min-height: 58px;
    gap: 9px;
    padding: 8px 0 9px;
  }

  .brand__text small,
  .header-cta {
    display: none;
  }

  .brand {
    min-width: var(--brand-logo-mobile-width);
    min-height: var(--brand-logo-mobile-height);
  }

  .brand::before {
    width: var(--brand-logo-mobile-width);
    height: var(--brand-logo-mobile-height);
  }

  .search {
    order: 6;
    width: 100%;
    min-height: 38px;
  }

  .header-actions {
    margin-left: 0;
  }

  .cart-button,
  .icon-button {
    width: 40px;
    min-width: 40px;
    height: 40px;
  }

  .promo-gallery {
    padding: 10px 0 18px;
  }

  .gallery-shell {
    height: auto;
    min-height: 0;
  }

  .image-slide img {
    object-position: center;
  }

  .slide-overlay {
    right: 16px;
    left: 16px;
    bottom: 54px;
    gap: 5px;
    max-width: min(66vw, 266px);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
  }

  .slide-overlay strong {
    font-size: 1.32rem;
    line-height: 1.07;
  }

  .slide-overlay small {
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .slide-cta {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .slider-controls {
    justify-content: center;
    margin-top: 8px;
  }

  .slider-dots button {
    width: 18px;
  }

  .slider-dots button.is-active {
    width: 30px;
  }

  .mobile-commerce-nav {
    display: block;
    padding: 8px 0 10px;
    background: rgba(255, 248, 237, 0.98);
    border-bottom: 1px solid rgba(207, 228, 227, 0.85);
  }

  .mobile-commerce-nav__inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .mobile-commerce-nav a {
    display: grid;
    min-height: 58px;
    align-content: center;
    gap: 2px;
    padding: 8px;
    color: var(--teal);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(7, 28, 34, 0.06);
    text-align: center;
  }

  .mobile-commerce-nav strong {
    color: var(--coral);
    font-size: 0.94rem;
  }

  .mobile-commerce-nav small {
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 800;
  }

  .visual-categories,
  .combo-showcase,
  .catalog-section,
  .seo-preview,
  .product-section,
  .product-seo,
  .blog-hero,
  .article-hero {
    padding: 32px 0;
  }

  .visual-category-grid,
  .combo-image-grid,
  .article-image-grid,
  .book-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .visual-category-grid {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 2px 2px 12px;
    scroll-snap-type: x mandatory;
  }

  .category-carousel-controls {
    display: flex;
  }

  .visual-tile {
    flex: 0 0 calc((100% - 16px) / 3);
    min-height: 122px;
    scroll-snap-align: start;
  }

  .visual-tile--cover {
    gap: 8px;
    padding: 9px;
  }

  .category-icon-frame {
    width: 38px;
    height: 38px;
  }

  .category-icon {
    width: 28px;
    height: 28px;
  }

  .visual-tile__copy {
    gap: 4px;
    padding: 7px;
  }

  .visual-tile--cover strong {
    font-size: 0.82rem;
    line-height: 1.12;
    -webkit-line-clamp: 3;
  }

  .visual-tile--cover small {
    display: none;
  }

  .visual-tile span {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 8px 9px;
    font-size: 0.86rem;
  }

  .combo-carousel .combo-image-card,
  .article-carousel .article-image-card {
    flex-basis: min(84vw, 340px);
  }

  .combo-stack {
    min-height: 232px;
    padding: 18px;
  }

  .combo-stack img,
  .fake-book {
    width: 118px;
  }

  .combo-stack--three img,
  .combo-stack--three .fake-book {
    width: 106px;
  }

  .combo-stack--four img,
  .combo-stack--four .fake-book {
    width: 96px;
  }

  .combo-caption {
    padding: 14px;
  }

  .combo-card-actions {
    grid-template-columns: 1fr 1.25fr;
    padding: 0 14px 14px;
  }

  .combo-caption strong {
    font-size: 1rem;
  }

  .carousel-controls {
    align-self: flex-end;
  }

  .catalog-tools,
  .section-heading--row {
    align-items: stretch;
    flex-direction: column;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .section-heading h1,
  .section-heading h2 {
    font-size: 1.45rem;
    line-height: 1.16;
  }

  .catalog-sidebar {
    position: sticky;
    top: 102px;
    z-index: 22;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-bottom: 12px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 24px rgba(7, 28, 34, 0.08);
  }

  .catalog-sidebar h3 {
    display: none;
  }

  .category-button {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 12px;
    white-space: nowrap;
    text-align: center;
  }

  .catalog-tools {
    gap: 10px;
    margin-bottom: 12px;
  }

  .catalog-tools p {
    margin: 0;
    font-size: 0.86rem;
  }

  .catalog-tools p::after {
    content: " • Vuốt ngang để xem sách khác";
    color: var(--coral);
    font-weight: 900;
  }

  .sort-select {
    justify-content: space-between;
    width: 100%;
  }

  .sort-select select {
    flex: 1;
  }

  .book-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    min-height: 178px;
  }

  .book-thumb {
    height: 100%;
    min-height: 178px;
    aspect-ratio: auto;
    border-radius: 8px 0 0 8px;
  }

  .book-thumb img {
    object-position: center;
  }

  .quick-view-panel {
    display: none;
  }

  .book-card__body {
    align-content: center;
    gap: 6px;
    padding: 12px;
  }

  .book-meta {
    font-size: 0.68rem;
  }

  .book-card h3 {
    min-height: 0;
    font-size: 0.98rem;
    line-height: 1.25;
  }

  .sale-price {
    font-size: 1.05rem;
  }

  .compare-price {
    font-size: 0.82rem;
  }

  .book-actions {
    gap: 8px;
  }

  .book-actions .button {
    flex: 1;
    min-height: 40px;
    padding: 0 10px;
  }

  .book-actions .icon-button {
    flex: 0 0 40px;
  }

  .order-form {
    grid-template-columns: 1fr;
  }

  .product-section {
    padding-top: 22px;
  }

  .product-cover {
    width: min(74vw, 258px);
    margin: 0 auto;
  }

  .product-panel,
  .order-panel {
    padding: 16px;
  }

  .product-panel h1 {
    font-size: 1.48rem;
    line-height: 1.14;
  }

  .product-price {
    font-size: 1.55rem;
  }

  .product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .product-actions .button:first-child {
    grid-column: 1 / -1;
  }

  .newsletter {
    flex-direction: column;
  }

  .newsletter input {
    width: 100%;
  }

  .sticky-contact {
    display: grid;
    grid-template-columns: 1.15fr 0.75fr 0.9fr;
    gap: 7px;
    right: 10px;
    bottom: calc(9px + env(safe-area-inset-bottom));
    left: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 16px 34px rgba(7, 28, 34, 0.18);
  }

  .sticky-contact .button {
    width: 100%;
    min-height: 42px;
    padding: 0 8px;
    font-size: 0.84rem;
  }

  .toast {
    bottom: 92px;
  }

}

@media (max-width: 1120px) {
  .product-detail-layout {
    grid-template-columns: minmax(250px, 0.85fr) minmax(0, 1.15fr);
  }

  .product-buy-box {
    position: static;
    grid-column: 1 / -1;
  }

  .recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .product-detail-layout,
  .product-review-layout,
  .customer-review-layout {
    display: block;
  }

  .product-media-panel,
  .product-buy-box,
  .product-review-sidebar {
    position: static;
  }

  .product-info-panel,
  .product-buy-box,
  .product-review-sidebar,
  .review-score-card {
    margin-top: 14px;
  }
}

@media (max-width: 580px) {
  .product-detail-section,
  .product-review-section,
  .recommend-section,
  .customer-review-section,
  .order-section {
    padding: 24px 0;
  }

  .product-media-panel,
  .product-info-panel,
  .product-buy-box {
    padding: 12px;
  }

  .product-main-media {
    min-height: 300px;
  }

  .product-main-media img,
  .product-main-media .fake-book {
    width: min(70vw, 230px);
  }

  .product-thumb-row {
    display: flex;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
  }

  .product-thumb-row button {
    flex: 0 0 72px;
    min-height: 78px;
    scroll-snap-align: start;
  }

  .product-info-panel h1 {
    font-size: 1.42rem;
  }

  .product-spec-grid,
  .product-actions--buy,
  .contact-pills--product,
  .review-form,
  .product-buy-box .voucher-strip {
    grid-template-columns: 1fr;
  }

  .product-actions--buy .button {
    grid-column: auto;
    min-height: 44px;
  }

  .product-long-review {
    padding: 18px 18px 84px;
  }

  .product-long-review.is-collapsed {
    max-height: 430px;
  }

  .read-more-button {
    right: 18px;
    left: 18px;
  }

  .recommend-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }

  .recommend-card {
    flex: 0 0 min(84vw, 330px);
    scroll-snap-align: start;
  }

  .review-score-card {
    text-align: center;
  }

  .review-score-card .stars {
    justify-content: center;
  }
}
