:root {
  --paper: #fff8ed;
  --surface: #ffffff;
  --surface-soft: #e9fbfa;
  --ink: #071c22;
  --muted: #536a70;
  --line: #cfe4e3;
  --teal: #075766;
  --teal-strong: #063945;
  --cyan: #00b8c7;
  --amber: #f5b94f;
  --coral: #ff6a3d;
  --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;
}

.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-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;
}

.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;
}

.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;
}

.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: 1fr 150px;
  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;
}

.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-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;
  }
}

* {
  box-sizing: border-box;
}

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;
}

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;
  height: clamp(360px, 52vw, 560px);
  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 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.image-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 26, 32, 0.92), rgba(6, 26, 32, 0.34) 52%, rgba(6, 26, 32, 0.1)),
    linear-gradient(0deg, rgba(255, 106, 61, 0.2), transparent 44%);
}

.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 {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 3;
  gap: 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: none;
}

.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;
}

.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: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.visual-tile {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  color: #fff;
  background: var(--teal);
  border-radius: 8px;
  isolation: isolate;
}

.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: grid;
  align-content: end;
  padding: 18px;
}

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

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

.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-stack {
  position: relative;
  display: flex;
  min-height: 330px;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(7, 87, 102, 0.12), rgba(245, 185, 79, 0.2)),
    #f7fbfa;
}

.sale-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display: grid;
  min-width: 54px;
  min-height: 32px;
  place-items: center;
  padding: 6px 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--coral) 58%, var(--amber));
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(255, 79, 109, 0.3);
  font-size: 0.86rem;
  font-weight: 900;
}

.combo-stack img {
  width: 170px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 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;
}

.combo-stack--soft {
  background:
    linear-gradient(135deg, rgba(255, 106, 61, 0.14), rgba(0, 184, 199, 0.16)),
    #fff7ea;
}

.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: #87969a;
  text-decoration: line-through;
  font-weight: 800;
}

.discount-text {
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 900;
}

.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;
}

.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-dark {
  background: linear-gradient(135deg, var(--dark), #284b55);
}

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

.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-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-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);
}

.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-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;
}

.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-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-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-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;
  }

  .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-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;
  }

  .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: 520px;
  }

  .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;
  }

  .container {
    width: min(100% - 22px, var(--max));
  }

  .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: min(76vw, 330px);
    min-height: 292px;
  }

  .slide-overlay {
    right: 16px;
    left: 16px;
    bottom: 54px;
    gap: 6px;
    max-width: calc(100% - 32px);
  }

  .slide-overlay strong {
    font-size: 1.55rem;
    line-height: 1.08;
  }

  .slide-overlay small {
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .slide-cta {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .slider-controls {
    right: 14px;
    left: 14px;
    justify-content: space-between;
  }

  .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: 10px;
    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 46%;
    min-height: 126px;
    scroll-snap-align: start;
  }

  .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-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;
  }
}
