:root {
  --navy: #0d1f2d;
  --gold: #c99019;
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --success: #16a34a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.promo-headline {
  background: linear-gradient(90deg, #c99019 0%, #f4d06f 100%);
  color: #1f2937;
}

.promo-headline-inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

.promo-headline-inner strong {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.brand-text {
  color: #fff;
  font-family: "Cinzel", serif;
  font-size: clamp(1.1rem, 3vw, 1.7rem);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

.catalog-hero {
  background: linear-gradient(180deg, #12293d 0%, #0d1f2d 100%);
  color: #fff;
  padding: 0;
}

.catalog-hero-inner {
  display: block;
}

.catalog-hero-banner img {
  width: 100%;
  display: block;
}

.catalog-hero-banner-main {
  overflow: hidden;
  border-radius: 0 0 22px 22px;
}

.catalog-hero-banner-main img {
  min-height: 320px;
  object-fit: cover;
}

.section-kicker {
  margin: 0 0 8px;
  color: #cbd5e1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

.section-heading h2 {
  margin: 0;
  font-family: "Cinzel", serif;
  line-height: 1.15;
}

.hero-copy-section {
  background: linear-gradient(180deg, #12293d 0%, #0d1f2d 100%);
  color: #fff;
  padding: 26px 0 30px;
}

.hero-copy-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.hero-copy-inner h1 {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.05;
}

.hero-copy {
  max-width: 540px;
  margin: 12px 0 0;
  color: #dbe4ee;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stat {
  min-width: 140px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-size: 30px;
  color: #fff;
}

.hero-stat span {
  color: #dbe4ee;
  font-size: 13px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 18px;
  padding: 0 24px;
  border-radius: 10px;
  background: linear-gradient(180deg, #d7ab39 0%, #bf8f1b 100%);
  color: #1f2937;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.catalog-toolbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.toolbar-inner {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
}

.catalog-search {
  width: min(360px, 100%);
  height: 46px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  border: 1px solid #d0d8e3;
  border-radius: 999px;
  background: #fff;
  padding: 9px 14px;
  cursor: pointer;
}

.filter-chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.catalog-results {
  padding: 26px 0 54px;
}

.bottom-banner {
  padding: 0 0 38px;
}

.bottom-banner img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.catalog-section+.catalog-section {
  margin-top: 46px;
}

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

.section-heading h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

.section-heading p {
  margin: 0;
}

.section-meta {
  color: var(--muted);
  font-size: 14px;
}

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

.product-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.product-thumb {
  display: block;
  background: #fff;
}

.product-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-card-body {
  padding: 14px;
}

.product-title {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.5;
  min-height: 64px;
}

.price-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.price-stack s {
  color: #64748b;
  font-size: 14px;
}

.price-stack strong {
  font-size: 20px;
}

.discount-badge {
  display: inline-block;
  margin-top: 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: #ecfdf3;
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
}

.product-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.product-flags:empty {
  display: none;
}

.stock-badge {
  display: inline-block;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.product-flags-detail {
  margin-top: 18px;
}

.is-hidden {
  display: none !important;
}

.product-page {
  padding: 30px 0 56px;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 34px;
}

.gallery-main,
.checkout-card,
.product-card {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.gallery-main {
  border: 1px solid var(--line);
  background: #fff;
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.breadcrumbs {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.product-summary h1 {
  margin: 12px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
}

.selector-group {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.selector-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}

.product-meta-text {
  margin: 0;
  color: #334155;
}

.size-options {
  display: flex;
  gap: 12px;
}

.size-option {
  cursor: pointer;
}

.size-option input {
  display: none;
}

.size-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  transition: all 0.2s;
}

.size-option input:checked+span {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.size-option:hover span {
  border-color: var(--navy);
}

.reviews-section {
  padding: 18px 0 60px;
}

.reviews-shell {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.reviews-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
}

.reviews-summary {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 20px;
}

.reviews-score {
  padding-right: 20px;
  border-right: 1px solid var(--line);
}

.reviews-score strong {
  display: block;
  font-size: clamp(3rem, 7vw, 4.4rem);
  line-height: 1;
  color: var(--navy);
}

.reviews-stars {
  margin-top: 10px;
  color: var(--gold);
  letter-spacing: 0.14em;
  font-size: 20px;
}

.reviews-score p {
  margin: 8px 0 0;
  color: var(--muted);
}

.reviews-cta {
  justify-self: start;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
}

.reviews-list {
  margin-top: 30px;
}

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

.review-card:first-child {
  border-top: 0;
  padding-top: 12px;
}

.review-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d8c25f;
  color: #102030;
  font-size: 13px;
  font-weight: 700;
}

.review-author {
  font-weight: 600;
}

.review-date {
  color: var(--muted);
  font-size: 14px;
}

.review-stars {
  color: var(--gold);
  letter-spacing: 0.12em;
}

.review-title {
  margin: 0;
  font-size: 1.15rem;
}

.review-copy {
  margin: 0;
  line-height: 1.7;
  color: #1e293b;
}

.source-link {
  color: var(--navy);
  font-weight: 600;
}

.purchase-row {
  margin-top: 26px;
}

.buy-button,
.confirm-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 10px;
  border: 0;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.buy-button {
  width: 100%;
}

.checkout-header {
  border-bottom: 1px solid var(--line);
}

.checkout-header-top {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.checkout-logo {
  width: 150px;
}

.secure-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.lock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--navy);
  font-weight: 700;
}

.checkout-notice {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 12px 0;
}

.checkout-notice p {
  margin: 0;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 24px;
  padding: 26px 0 44px;
}

.checkout-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.step {
  padding: 10px 14px;
  border-radius: 999px;
  background: #eef2f7;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.step.is-active {
  background: var(--navy);
  color: #fff;
}

.checkout-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: #fff;
}

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

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-grid span {
  font-size: 13px;
  font-weight: 500;
}

.form-grid input {
  height: 46px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  width: 100%;
  max-width: 100%;
}

.checkout-summary-column {
  position: sticky;
  top: 88px;
  align-self: start;
}

.order-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 12px;
  align-items: start;
}

.order-item img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 8px;
}

.order-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.summary-lines {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.summary-lines div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.summary-lines .pix-discount {
  color: var(--success);
}

.summary-lines .total {
  font-size: 20px;
  font-weight: 700;
}

.empty-state {
  padding: 34px 18px;
  border: 1px dashed #cbd5e1;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 980px) {

  .catalog-hero-inner,
  .hero-copy-inner,
  .toolbar-inner,
  .checkout-layout,
  .product-layout,
  .section-heading {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

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

  .checkout-summary-column {
    position: static;
  }
}

@media (max-width: 720px) {
  .catalog-toolbar {
    position: static;
  }

  .toolbar-inner {
    align-items: stretch;
  }

  .promo-headline-inner {
    min-height: 56px;
    flex-direction: column;
    gap: 2px;
    padding: 8px 0;
    font-size: 12px;
  }

  .catalog-search {
    width: 100%;
  }

  .category-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .filter-chip {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .catalog-hero {
    padding: 0;
  }

  .catalog-hero-banner-main {
    border-radius: 0 0 14px 14px;
  }

  .catalog-hero-banner-main img {
    min-height: 240px;
  }

  .hero-copy-section {
    padding: 22px 0 24px;
  }

  .hero-copy-inner h1 {
    font-size: clamp(1.55rem, 7vw, 2.15rem);
  }

  .hero-copy {
    font-size: 14px;
    line-height: 1.5;
  }

  .hero-cta {
    min-height: 42px;
    padding: 0 18px;
    font-size: 13px;
  }

  .product-grid,
  .product-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .product-card-body {
    padding: 10px 8px 12px;
  }

  .product-title {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.35;
    min-height: 52px;
  }

  .price-stack {
    gap: 4px 8px;
  }

  .price-stack s {
    font-size: 12px;
  }

  .price-stack strong {
    font-size: 17px;
  }

  .discount-badge {
    margin-top: 0;
    padding: 6px 8px;
    font-size: 11px;
  }

  .stock-badge {
    padding: 6px 8px;
    font-size: 10px;
  }

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

  .checkout-header-top {
    flex-direction: column;
    align-items: stretch;
  }

  .reviews-summary {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .reviews-score {
    padding-right: 0;
    padding-bottom: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .review-head {
    grid-template-columns: auto 1fr;
  }

  .review-date {
    grid-column: 2;
  }

  .checkout-logo {
    width: min(260px, 70vw);
    max-height: 74px;
    object-fit: contain;
  }
}

.order-bumps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-bump-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bg);
}

.order-bump-item:hover {
  border-color: var(--navy);
}

.order-bump-item.selected {
  border-color: var(--navy);
  background: var(--soft);
}

.order-bump-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
}

.bump-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bump-info strong {
  font-size: 13px;
  line-height: 1.3;
}

.bump-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--success);
}

.order-bump-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
}