:root {
  --ink: #17211f;
  --muted: #68736f;
  --surface: #ffffff;
  --soft: #f4f6f3;
  --line: #dce3de;
  --forest: #163f36;
  --forest-2: #2f6f62;
  --coral: #d96f4f;
  --gold: #e5b84d;
  --blue: #315f7d;
  --danger: #b73e35;
  --shadow: 0 16px 40px rgba(23, 33, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.drawer-open,
body.modal-open {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

.announcement {
  display: flex;
  justify-content: center;
  gap: 18px;
  align-items: center;
  min-height: 36px;
  padding: 6px 16px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

.announcement a {
  color: #f4c764;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(190px, auto) minmax(390px, 1fr) minmax(220px, 320px) auto;
  gap: 16px;
  align-items: center;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--forest);
  color: #fff;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.site-nav a:hover {
  color: var(--forest);
}

.site-nav a[aria-current="page"] {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.search {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
}

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

.cart-trigger,
.primary-link,
.product-card button,
.coupon-row button,
.category-list button {
  border: 0;
  border-radius: 8px;
  font-weight: 700;
}

.cart-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 8px;
  padding: 0 14px;
  background: var(--forest);
  color: #fff;
}

.cart-trigger strong {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: #1e2115;
  font-size: 13px;
}

.cart-icon {
  display: none;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(20px, 4vw, 54px);
  align-items: center;
  min-height: 520px;
  padding: clamp(28px, 5vw, 54px) 0 28px;
}

.hero-copy {
  padding: clamp(24px, 4vw, 40px);
  border-radius: 8px;
  background: var(--forest);
  color: #fff;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  color: #f4c764;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
}

.hero p:not(.eyebrow) {
  max-width: 640px;
  color: #dce9e4;
  line-height: 1.8;
}

.publisher-note {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.publisher-note a {
  color: #f4c764;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.primary-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 18px;
  background: #fff;
  color: var(--forest);
}

.secondary-hero-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  padding: 0 18px;
  color: #fff;
  font-weight: 800;
}

#paypalBadge {
  color: #f4c764;
  font-weight: 700;
}

.hero-feature {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-feature img {
  width: min(260px, 78%);
  justify-self: center;
  aspect-ratio: 9 / 13;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(23, 33, 31, 0.2);
}

.hero-feature p,
.mini-product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-feature h2 {
  margin: 2px 0 8px;
  font-size: 28px;
}

.hero-feature strong {
  display: block;
  margin-bottom: 12px;
  color: var(--forest);
  font-size: 24px;
}

.hero-feature a {
  color: var(--blue);
  font-weight: 900;
}

.page-hero {
  margin: 24px 0;
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.08;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.75;
}

.shop-command {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: stretch;
  margin: 24px 0 16px;
}

.shop-command > div,
.shop-command-panel,
.shop-assist article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.shop-command > div {
  padding: clamp(24px, 4vw, 42px);
}

.shop-command h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.06;
}

.shop-command p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.75;
}

.shop-command-panel {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
  background: var(--ink);
  color: #fff;
}

.shop-command-panel strong {
  font-size: clamp(48px, 8vw, 76px);
  line-height: 1;
}

.shop-command-panel span {
  color: #dce9e4;
  font-weight: 800;
}

.shop-command-panel a {
  display: inline-flex;
  width: max-content;
  min-height: 40px;
  align-items: center;
  margin-top: 10px;
  border-radius: 8px;
  padding: 0 14px;
  background: var(--gold);
  color: #1e2115;
  font-weight: 900;
}

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

.shop-assist article {
  padding: 16px;
}

.shop-assist strong,
.shop-assist span {
  display: block;
}

.shop-assist strong {
  color: var(--forest);
}

.shop-assist span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
}

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

.shop-page .product-card {
  grid-template-columns: 112px minmax(0, 1fr) minmax(128px, auto);
  grid-template-rows: auto;
  gap: 14px;
  align-items: center;
}

.shop-page .product-card img {
  width: 112px;
}

.shop-page .product-card p {
  min-height: 0;
  margin-bottom: 0;
}

.shop-page .price-row {
  display: grid;
  justify-items: end;
  margin-top: 0;
}

.arrival-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
  gap: clamp(18px, 4vw, 42px);
  align-items: stretch;
  margin: 24px 0;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, #ffffff 0%, #ffffff 62%, rgba(229, 184, 77, 0.22) 62%, rgba(229, 184, 77, 0.22) 100%);
}

.arrival-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(36px, 5.5vw, 68px);
  line-height: 1.04;
}

.arrival-hero p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.75;
}

.arrival-hero .primary-link {
  background: var(--forest);
  color: #fff;
}

.arrival-hero .secondary-hero-link {
  border-color: var(--line);
  color: var(--ink);
}

.arrival-date-card {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 270px;
  padding: 22px;
  border-radius: 8px;
  background: var(--forest);
  color: #fff;
}

.arrival-date-card strong {
  font-size: clamp(56px, 8vw, 92px);
  line-height: 1;
}

.arrival-date-card span:not(.sale-pill) {
  color: #edf4ef;
  font-weight: 800;
}

.arrival-date-card p {
  margin: 8px 0 0;
  color: #dce9e4;
}

.arrival-editorial {
  display: grid;
  grid-template-columns: minmax(230px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  margin: 22px 0;
}

.release-note,
.arrival-shelf,
.release-timeline article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.release-note {
  padding: 22px;
}

.release-note h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
}

.release-note p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
}

.release-note a {
  color: var(--blue);
  font-weight: 900;
}

.arrival-shelf {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
}

.arrival-shelf .mini-product-card {
  grid-template-columns: 1fr;
  align-items: start;
  background: var(--soft);
}

.arrival-shelf .mini-product-card img {
  width: 100%;
}

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

.release-timeline article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 88px;
  padding: 16px;
}

.release-timeline strong {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: #1e2115;
}

.release-timeline span {
  color: var(--muted);
  line-height: 1.5;
}

.bestseller-board {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: clamp(18px, 4vw, 42px);
  margin: 24px 0;
  padding: clamp(22px, 5vw, 52px);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.bestseller-copy {
  display: grid;
  align-content: center;
}

.bestseller-copy .eyebrow {
  color: #f4c764;
}

.bestseller-board h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(36px, 5.5vw, 68px);
  line-height: 1.04;
}

.bestseller-board p:not(.eyebrow) {
  max-width: 620px;
  color: #dce9e4;
  line-height: 1.75;
}

.ranking-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.ranking-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.ranking-card-head span {
  color: var(--muted);
  font-weight: 800;
}

.ranked-list {
  display: grid;
  gap: 10px;
}

.ranked-item {
  display: grid;
  grid-template-columns: 34px 54px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.rank-number {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.rank-cover,
.rank-add {
  border: 0;
  border-radius: 8px;
}

.rank-cover {
  padding: 0;
  background: transparent;
}

.rank-cover img {
  width: 54px;
  aspect-ratio: 9 / 13;
  object-fit: cover;
  border-radius: 6px;
}

.ranked-item h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.ranked-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.rank-add {
  min-height: 34px;
  padding: 0 10px;
  background: var(--coral);
  color: #fff;
  font-weight: 800;
}

.empty-rank {
  margin: 0;
  color: var(--muted);
}

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

.bestseller-metrics article,
.bestseller-spotlight {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.bestseller-metrics article {
  padding: 16px;
}

.bestseller-metrics strong,
.bestseller-metrics span {
  display: block;
}

.bestseller-metrics strong {
  color: var(--forest);
  font-size: 18px;
}

.bestseller-metrics span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.bestseller-spotlight {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  margin: 0 0 24px;
  padding: clamp(18px, 3vw, 28px);
}

.bestseller-spotlight h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
}

.bestseller-spotlight p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
}

.bestseller-spotlight .mini-product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sale-pill {
  display: inline-flex;
  width: max-content;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  background: var(--coral);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.card-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.stats div {
  min-height: 86px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  color: var(--forest);
  font-size: clamp(19px, 2.1vw, 28px);
}

.stats span {
  margin-top: 4px;
  color: var(--muted);
}

.stats a {
  color: var(--blue);
  font-weight: 800;
}

.collection-strip,
.publisher-section {
  margin: 24px 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.collection-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
  gap: clamp(18px, 4vw, 42px);
  align-items: stretch;
  margin: 24px 0;
  padding: clamp(24px, 5vw, 54px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(22, 63, 54, 0.94), rgba(49, 95, 125, 0.86)),
    var(--forest);
  color: #fff;
  box-shadow: var(--shadow);
}

.collection-hero-bestsellers {
  background:
    linear-gradient(135deg, rgba(23, 33, 31, 0.96), rgba(217, 111, 79, 0.72)),
    var(--ink);
}

.collection-hero-copy {
  display: grid;
  align-content: center;
}

.collection-hero-copy .eyebrow {
  color: #f4c764;
}

.collection-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
}

.collection-hero p:not(.eyebrow) {
  max-width: 680px;
  color: #e5eee9;
  line-height: 1.75;
}

.collection-hero-panel {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 260px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.collection-hero-panel strong {
  color: #fff;
  font-size: clamp(48px, 8vw, 84px);
  line-height: 1;
}

.collection-hero-panel span:not(.sale-pill) {
  color: #f3f6f4;
  font-weight: 800;
}

.collection-hero-panel p {
  margin: 10px 0 0;
}

.collection-highlights,
.category-showcase,
.newsletter-panel {
  display: grid;
  gap: 12px;
  margin: 20px 0 24px;
}

.collection-highlights,
.category-showcase {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.collection-highlights article,
.category-showcase a,
.newsletter-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.collection-highlights article,
.category-showcase a {
  min-height: 120px;
  padding: 18px;
}

.collection-highlights strong,
.collection-highlights span,
.category-showcase strong,
.category-showcase span {
  display: block;
}

.collection-highlights strong,
.category-showcase strong {
  color: var(--forest);
  font-size: 18px;
}

.collection-highlights span,
.category-showcase span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.category-showcase a {
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.category-showcase a:hover {
  transform: translateY(-2px);
  border-color: #b8c9c0;
  box-shadow: 0 12px 24px rgba(23, 33, 31, 0.08);
}

.newsletter-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: clamp(18px, 3vw, 28px);
}

.newsletter-panel h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
}

.newsletter-panel p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.7;
}

.newsletter-panel a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-radius: 8px;
  padding: 0 18px;
  background: var(--forest);
  color: #fff;
  font-weight: 900;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.section-heading h2,
.publisher-section h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
}

.section-heading a {
  color: var(--blue);
  font-weight: 900;
}

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

.mini-product-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.mini-product-card img {
  width: 82px;
  aspect-ratio: 9 / 13;
  object-fit: cover;
  border-radius: 6px;
}

.mini-product-card h3 {
  margin: 3px 0 8px;
  font-size: 16px;
  line-height: 1.3;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0 24px;
}

.trust-band div {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  color: var(--forest);
  font-size: 18px;
}

.trust-band span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.shop-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 12px 0 56px;
}

.filters,
.catalog-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.filters {
  position: sticky;
  top: 86px;
  padding: 18px;
}

.filter-block + .filter-block {
  margin-top: 22px;
}

.filter-block h2,
.filter-block label,
.catalog-heading h2,
.cart-head h2 {
  margin: 0;
  font-size: 20px;
}

.category-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.category-list button {
  min-height: 38px;
  padding: 0 12px;
  background: var(--soft);
  color: var(--ink);
  text-align: left;
}

.category-list button.is-active {
  background: var(--forest);
  color: #fff;
}

select,
.coupon-row input,
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  outline: 0;
}

select {
  min-height: 42px;
  margin-top: 10px;
  padding: 0 12px;
}

.catalog-panel {
  padding: clamp(16px, 3vw, 24px);
}

.catalog-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
}

.catalog-heading p:last-child {
  margin: 0;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: #b8c9c0;
  box-shadow: 0 14px 28px rgba(23, 33, 31, 0.1);
}

.cover-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 13;
  object-fit: cover;
  border-radius: 8px;
  background: var(--soft);
}

.cover-placeholder {
  display: grid;
  width: 100%;
  aspect-ratio: 9 / 13;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.rank-cover .cover-placeholder {
  width: 54px;
  border-radius: 6px;
}

.product-card h3 {
  margin: 12px 0 6px;
  font-size: 18px;
  line-height: 1.3;
}

.product-meta,
.product-card p {
  color: var(--muted);
}

.product-card p {
  min-height: 48px;
  margin: 0 0 12px;
  line-height: 1.55;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.price {
  color: var(--forest);
  font-size: 20px;
  font-weight: 850;
}

.price-stack {
  display: grid;
  gap: 2px;
}

.price-stack s {
  color: var(--muted);
  font-size: 14px;
}

.product-card .add-btn {
  min-height: 40px;
  padding: 0 12px;
  background: var(--coral);
  color: #fff;
}

.product-card .add-btn[disabled] {
  background: #c9d0cb;
  color: #66706b;
  cursor: not-allowed;
}

.empty-state {
  padding: 34px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.cart-drawer,
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(15, 21, 19, 0.46);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.cart-drawer.is-open,
.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto auto;
  width: min(440px, 100%);
  height: 100%;
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 180ms ease;
}

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

.cart-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.cart-items {
  min-height: 0;
  overflow: auto;
  padding: 16px 0;
}

.cart-empty {
  display: grid;
  min-height: 160px;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.cart-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 62px;
  aspect-ratio: 9 / 13;
  object-fit: cover;
  border-radius: 6px;
}

.cart-item .cover-placeholder {
  width: 62px;
  border-radius: 6px;
}

.cart-item h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.qty-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.qty-control {
  display: inline-grid;
  grid-template-columns: 34px 40px 34px;
  min-height: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.qty-control button {
  border: 0;
  background: var(--soft);
}

.qty-control span {
  display: grid;
  place-items: center;
  background: #fff;
  font-weight: 700;
}

.remove-btn {
  border: 0;
  background: transparent;
  color: var(--danger);
  font-weight: 700;
}

.coupon-row {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.coupon-row div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.coupon-row input {
  min-height: 40px;
  padding: 0 12px;
}

.coupon-row button {
  min-height: 40px;
  padding: 0 14px;
  background: var(--blue);
  color: #fff;
}

.checkout-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 0;
}

.checkout-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.checkout-form label:last-child {
  grid-column: 1 / -1;
}

.checkout-form input,
.checkout-form textarea {
  min-height: 38px;
  padding: 8px 10px;
  resize: vertical;
}

.totals {
  display: grid;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

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

.totals span {
  color: var(--muted);
}

.grand-total {
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 20px;
}

.payment-box {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.payment-box p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.5;
}

.product-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(820px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: translate(-50%, -48%) scale(0.98);
  transition: transform 180ms ease;
}

.modal-backdrop.is-open .product-modal {
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

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

.modal-product img {
  width: 100%;
  aspect-ratio: 9 / 13;
  object-fit: cover;
  border-radius: 8px;
}

.modal-product > .cover-placeholder {
  min-height: 320px;
}

.modal-product h2 {
  margin: 0 44px 10px 0;
  font-size: clamp(26px, 4vw, 42px);
}

.modal-product p {
  line-height: 1.7;
  color: var(--muted);
}

.modal-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.modal-facts div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.modal-product .add-btn {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  background: var(--coral);
  color: #fff;
  font-weight: 800;
}

.publisher-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.45fr);
  gap: 18px;
  align-items: center;
}

.publisher-section p {
  max-width: 740px;
  color: var(--muted);
  line-height: 1.75;
}

.publisher-section address {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  font-style: normal;
}

.publisher-section address span {
  color: var(--muted);
}

.publisher-section address a {
  color: var(--blue);
  font-weight: 900;
  word-break: break-word;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 70;
  max-width: min(420px, calc(100% - 32px));
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(210px, auto);
  gap: 18px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 32px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer a {
  color: var(--blue);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.site-footer p {
  margin: 0;
  text-align: right;
}

@media (max-width: 920px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    order: 2;
  }

  .search {
    grid-column: 1 / -1;
    order: 4;
  }

  .hero,
  .collection-hero,
  .shop-command,
  .arrival-hero,
  .arrival-editorial,
  .bestseller-board,
  .bestseller-spotlight,
  .shop-layout,
  .publisher-section,
  .newsletter-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .filters {
    position: static;
  }

  .category-list {
    grid-template-columns: repeat(auto-fit, minmax(116px, 1fr));
  }

  .mini-product-grid,
  .collection-highlights,
  .category-showcase,
  .shop-assist,
  .arrival-shelf,
  .release-timeline,
  .bestseller-metrics,
  .trust-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 620px) {
  main {
    width: min(100% - 24px, 1180px);
  }

  .topbar {
    padding: 12px;
    gap: 10px;
  }

  .announcement,
  .brand small,
  .cart-trigger span:not(.cart-icon),
  .site-nav {
    display: none;
  }

  .hero-copy {
    padding: 22px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-shelf {
    gap: 10px;
  }

  .stats,
  .mini-product-grid,
  .collection-highlights,
  .category-showcase,
  .shop-assist,
  .arrival-shelf,
  .release-timeline,
  .bestseller-metrics,
  .bestseller-spotlight .mini-product-grid,
  .trust-band,
  .checkout-form,
  .modal-product,
  .modal-facts {
    grid-template-columns: 1fr;
  }

  .shop-page .product-card {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .shop-page .product-card img {
    width: 86px;
  }

  .shop-page .price-row {
    grid-column: 1 / -1;
    justify-items: start;
  }

  .ranked-item {
    grid-template-columns: 30px 48px minmax(0, 1fr);
  }

  .rank-add {
    grid-column: 2 / -1;
    width: max-content;
  }

  .site-footer {
    align-items: flex-start;
  }

  .catalog-heading {
    align-items: start;
    flex-direction: column;
  }

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

  .cart-panel {
    padding: 18px;
  }
}

/* Hilda Veyra LLC editorial storefront theme */
:root {
  --ink: #172033;
  --muted: #627084;
  --surface: #ffffff;
  --soft: #f3f8fd;
  --line: #d8e2ec;
  --forest: #102542;
  --forest-2: #246a73;
  --coral: #f25c54;
  --gold: #f6c85f;
  --blue: #1769aa;
  --danger: #b73e35;
  --shadow: 0 20px 50px rgba(16, 37, 66, 0.14);
}

body {
  background:
    linear-gradient(90deg, rgba(23, 105, 170, 0.08) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(#f9fbff, #f3f8fd 48%, #fffaf0);
  color: var(--ink);
}

.announcement {
  background: var(--coral);
  color: #fff;
  letter-spacing: 0.02em;
}

.announcement a {
  color: #fff8d7;
}

.topbar {
  grid-template-columns: minmax(230px, auto) minmax(360px, 1fr) minmax(220px, 300px) auto;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 3px solid var(--forest);
  box-shadow: 0 8px 22px rgba(16, 37, 66, 0.08);
}

.brand-mark {
  border-radius: 2px 14px 14px 2px;
  background: var(--forest);
  box-shadow: 6px 6px 0 var(--coral);
  font-family: Georgia, "Times New Roman", serif;
}

.brand strong {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
}

.brand small {
  color: var(--coral);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a[aria-current="page"] {
  color: var(--coral);
  text-decoration-color: var(--coral);
}

.search,
.filter-block,
.catalog-panel,
.hero-feature,
.cart-panel,
.product-modal,
.newsletter-panel,
.publisher-section,
.page-hero,
.shop-command,
.arrival-date-card,
.release-note,
.ranking-card {
  border-radius: 4px;
}

.hero {
  min-height: 610px;
  padding: clamp(24px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(246, 200, 95, 0.22), transparent 34%),
    linear-gradient(120deg, #ffffff 0%, #eef8ff 48%, #fff7e7 100%);
  border: 1px solid var(--line);
  border-left: 8px solid var(--coral);
}

.hero h1,
.page-hero h1,
.shop-command h1,
.arrival-hero h1,
.bestseller-board h1,
.section-heading h2,
.catalog-heading h2,
.newsletter-panel h2,
.publisher-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  color: var(--forest);
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.96;
}

.hero-copy {
  background: transparent;
  box-shadow: none;
}

.hero-feature {
  align-self: stretch;
  background: #fff;
  border: 2px solid var(--forest);
  box-shadow: 12px 12px 0 rgba(242, 92, 84, 0.16);
}

.hero-feature img {
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(16, 37, 66, 0.18));
}

.primary-link,
.cart-trigger,
.product-card button.add-btn,
.coupon-row button,
.category-list button.is-active,
.rank-add {
  background: var(--forest);
  color: #fff;
}

.secondary-hero-link,
.section-heading a,
.newsletter-panel a,
.publisher-section address a,
.shop-command-panel a {
  color: var(--blue);
}

.sale-pill,
.card-pill {
  background: var(--coral);
  color: #fff;
}

.stats,
.trust-band,
.shop-assist,
.bestseller-metrics,
.release-timeline {
  gap: 12px;
}

.stats div,
.trust-band div,
.shop-assist article,
.bestseller-metrics article,
.release-timeline article,
.category-showcase a {
  border-radius: 4px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.category-showcase a {
  border-top: 5px solid var(--gold);
}

.category-showcase a:nth-child(2) {
  border-top-color: var(--blue);
}

.category-showcase a:nth-child(3) {
  border-top-color: var(--coral);
}

.product-card,
.mini-product-card,
.ranked-item {
  border-radius: 4px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 37, 66, 0.08);
}

.product-card {
  border-top: 5px solid var(--forest);
}

.product-card img,
.mini-product-card img,
.rank-cover img,
.cart-line img,
.modal-product img {
  border-radius: 2px;
  background: #eef5fb;
  object-fit: contain;
}

.product-meta span {
  background: #eef8ff;
  color: var(--forest);
  border: 1px solid #d7e8f5;
}

.price {
  color: var(--coral);
}

.shop-command {
  background:
    linear-gradient(100deg, #102542 0%, #183b67 55%, #f25c54 100%);
  color: #fff;
  border: 0;
}

.shop-command .eyebrow,
.shop-command p,
.shop-command-panel span {
  color: rgba(255, 255, 255, 0.82);
}

.shop-command-panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.arrival-hero {
  background:
    linear-gradient(90deg, rgba(16, 37, 66, 0.96), rgba(16, 37, 66, 0.78)),
    #102542;
  color: #fff;
}

.arrival-hero p,
.arrival-hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.arrival-date-card {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

.bestseller-board {
  background: #fff;
  border: 2px solid var(--forest);
  border-right: 8px solid var(--gold);
}

.filters {
  border-left: 5px solid var(--blue);
}

.site-footer {
  border-top: 3px solid var(--forest);
}

@media (max-width: 920px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 620px) {
  .hero {
    padding: 18px;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }
}
