@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap");

:root {
  --ink: #171412;
  --muted: #6d645b;
  --soft: #f6f1eb;
  --paper: #fffdf9;
  --panel: #ffffff;
  --line: #e6ded4;
  --gold: #b6873f;
  --rose: #8d3556;
  --green: #0e5b4a;
  --night: #211f2a;
  --shadow: 0 16px 46px rgba(23, 20, 18, 0.1);
  --radius: 8px;
  --container: min(1210px, calc(100vw - 32px));
  font-family: "Cairo", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fffaf4 0, #fffdf9 360px),
    var(--paper);
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  inset-inline-start: 16px;
  top: -50px;
  z-index: 100;
  padding: 8px 12px;
  color: white;
  background: var(--ink);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.promo-strip {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 9px 16px;
  color: white;
  background: var(--night);
  font-size: 0.9rem;
}

.promo-strip a {
  color: #f8d694;
  font-weight: 900;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px max(16px, calc((100vw - 1210px) / 2));
  background: rgba(255, 253, 249, 0.94);
  border-bottom: 1px solid rgba(230, 222, 212, 0.9);
  backdrop-filter: blur(16px);
}

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

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

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

.brand-mark {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  white-space: nowrap;
}

.main-nav a {
  color: #3d362f;
  font-size: 0.9rem;
  font-weight: 800;
}

.header-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.header-actions,
.toolbar,
.hero-actions,
.product-actions,
.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.select-control,
.search-input,
input {
  height: 44px;
  min-width: 0;
  padding: 0 13px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
}

.search-input {
  width: 100%;
}

.select-control:focus,
.search-input:focus,
input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(182, 135, 63, 0.14);
}

.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  color: #17120c;
  background: var(--gold);
}

.button.primary:hover {
  background: #ca9a50;
}

.button.secondary {
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
}

.button.ghost {
  color: var(--ink);
  background: white;
  border-color: var(--line);
}

.button.dark,
.icon-button {
  color: white;
  background: var(--ink);
}

.icon-button {
  position: relative;
  width: 44px;
  padding: 0;
}

.badge-count {
  position: absolute;
  top: -7px;
  inset-inline-end: -7px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  color: white;
  background: var(--rose);
  border: 2px solid var(--paper);
  border-radius: 999px;
  font-size: 0.72rem;
}

.category-nav {
  position: sticky;
  top: 73px;
  z-index: 25;
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 10px 16px;
  background: rgba(255, 253, 249, 0.96);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  white-space: nowrap;
}

.category-nav a {
  color: #3d362f;
  font-weight: 800;
  font-size: 0.92rem;
}

.hero-commerce {
  width: var(--container);
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.hero-copy {
  display: grid;
  align-content: center;
  min-height: 560px;
  padding: clamp(24px, 5vw, 56px);
  color: white;
  background:
    radial-gradient(circle at 15% 20%, rgba(182, 135, 63, 0.24), transparent 28%),
    linear-gradient(135deg, #191611, #24212e 60%, #0e3f36);
  border-radius: var(--radius);
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.hero-actions {
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-showcase {
  position: relative;
  min-height: 560px;
  background: #f0e9df;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-deal {
  position: absolute;
  inset-inline-start: 24px;
  bottom: 24px;
  width: min(280px, calc(100% - 48px));
  padding: 18px;
  color: white;
  background: rgba(23, 20, 18, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
}

.floating-deal strong,
.floating-deal span {
  display: block;
}

.floating-deal strong {
  font-size: 1.35rem;
}

.trust-bar {
  width: var(--container);
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 26px rgba(23, 20, 18, 0.06);
}

.trust-bar div {
  padding: 18px;
  border-inline-start: 1px solid var(--line);
}

.trust-bar div:first-child {
  border-inline-start: 0;
}

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

.trust-bar span {
  color: var(--muted);
  font-size: 0.9rem;
}

.content-section,
.deal-lane,
.discover-section {
  width: var(--container);
  margin: 0 auto;
  padding: 74px 0 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 3rem);
  line-height: 1.14;
  letter-spacing: 0;
}

.content-section h1,
.discover-section h1 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.page-intro {
  padding-top: 58px;
}

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

.legal-note {
  max-width: 380px;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.brand-card,
.product-card,
.review-card,
.marketing-panel,
.newsletter-form,
.account-card,
.brand-hero-card,
.quiz-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(23, 20, 18, 0.06);
}

.brand-card {
  display: grid;
  gap: 12px;
  min-height: 318px;
  padding: 12px;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.brand-card:hover,
.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(182, 135, 63, 0.62);
  box-shadow: var(--shadow);
}

.brand-image-link {
  display: grid;
  place-items: center;
  height: 150px;
  background: linear-gradient(180deg, #fff, #f7f1ea);
  border-radius: var(--radius);
  overflow: hidden;
}

.brand-image-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}

.brand-card-header,
.brand-card-footer,
.product-meta,
.rating-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand-initial {
  display: none;
}

.origin-tag,
.product-badge,
.discount-pill {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 2px 9px;
  background: #f4eee4;
  color: #5c4930;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.brand-card h3,
.product-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.brand-card p,
.product-card p,
.review-card p,
.content-section > p,
.marketing-panel p,
.account-section p {
  margin: 0;
  color: var(--muted);
}

.brand-card p {
  display: -webkit-box;
  min-height: 72px;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.text-link,
.product-brand {
  color: var(--green);
  font-weight: 900;
}

.deal-lane {
  display: grid;
  grid-template-columns: 0.34fr minmax(0, 0.66fr);
  gap: 18px;
}

.deal-copy {
  min-height: 100%;
  padding: 28px;
  color: white;
  background: linear-gradient(135deg, #2a1720, #70405a);
  border-radius: var(--radius);
}

.deal-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

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

.product-card {
  display: grid;
  gap: 11px;
  padding: 12px;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #fff, #f6f1eb);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  mix-blend-mode: multiply;
}

.discount-pill {
  position: absolute;
  inset-inline-start: 10px;
  top: 10px;
  color: white;
  background: var(--rose);
}

.product-brand {
  font-size: 0.88rem;
}

.rating-line {
  justify-content: flex-start;
  color: var(--gold);
  font-size: 0.88rem;
}

.rating-line strong {
  color: var(--ink);
}

.price {
  color: var(--green);
  font-size: 1.2rem;
  font-weight: 900;
}

.old-price {
  color: #978b7f;
  text-decoration: line-through;
  font-size: 0.9rem;
}

.product-actions .button {
  flex: 1;
  padding-inline: 8px;
}

.discover-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.65fr);
  gap: 18px;
  align-items: stretch;
}

.discover-section > div:first-child {
  padding: 30px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.discover-section p:not(.eyebrow) {
  color: var(--muted);
}

.quiz-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 20px;
  align-content: center;
}

.scent-chip {
  min-height: 46px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
}

.scent-chip.active {
  color: white;
  background: var(--green);
  border-color: var(--green);
}

.quiz-result {
  grid-column: 1 / -1;
  padding: 16px;
  background: #f7f1ea;
  border-radius: var(--radius);
}

.quiz-result span,
.quiz-result strong {
  display: block;
}

.marketing-grid,
.account-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 18px;
  align-items: start;
}

.marketing-panel,
.newsletter-form,
.account-card {
  padding: 24px;
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-inline-start: 28px;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 900;
}

label span {
  color: var(--muted);
  font-size: 0.88rem;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 900;
}

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

.review-card {
  padding: 20px;
}

.stars {
  color: var(--gold);
  font-weight: 900;
}

.review-author {
  display: block;
  margin-top: 16px;
  font-weight: 900;
}

.site-footer {
  width: var(--container);
  margin: 84px auto 0;
  padding: 30px 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  max-width: 720px;
  margin: 8px 0 0;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--ink);
  font-weight: 900;
}

.brand-page-main {
  width: var(--container);
  margin: 0 auto;
}

.brand-hero-card {
  margin-top: 32px;
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
  gap: 24px;
  background:
    radial-gradient(circle at 80% 20%, rgba(182, 135, 63, 0.18), transparent 32%),
    linear-gradient(135deg, #fff, #f7f1ea);
}

.brand-hero-card h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  line-height: 1;
}

.brand-hero-card p {
  color: var(--muted);
}

.brand-facts {
  display: grid;
  gap: 10px;
  align-content: start;
}

.brand-feature-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  mix-blend-mode: multiply;
}

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

.brand-facts strong,
.brand-facts span {
  display: block;
}

.brand-facts span {
  color: var(--muted);
  font-size: 0.9rem;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  color: var(--muted);
  background: white;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

@media (max-width: 1120px) {
  .brand-grid,
  .product-row,
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-commerce,
  .deal-lane,
  .discover-section {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-showcase {
    min-height: 460px;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

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

  .category-nav {
    justify-content: flex-start;
    top: 138px;
  }

  .trust-bar,
  .brand-grid,
  .product-row,
  .product-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketing-grid,
  .account-section,
  .brand-hero-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  :root {
    --container: min(100vw - 24px, 1210px);
  }

  .promo-strip {
    align-items: center;
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .site-header {
    padding: 12px;
  }

  .brand-lockup {
    min-width: auto;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .header-search {
    grid-template-columns: 1fr;
  }

  .category-nav {
    top: 183px;
  }

  .hero-commerce {
    margin-top: 14px;
  }

  .hero-copy,
  .hero-showcase {
    min-height: auto;
  }

  .hero-showcase {
    height: 390px;
  }

  .hero-actions,
  .product-actions,
  .footer-links,
  .toolbar {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .button,
  .product-actions .button,
  .toolbar > * {
    width: 100%;
  }

  .trust-bar,
  .brand-grid,
  .product-row,
  .product-grid,
  .reviews-grid,
  .quiz-card {
    grid-template-columns: 1fr;
  }

  .trust-bar div {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }

  .trust-bar div:first-child {
    border-top: 0;
  }

  .site-footer {
    flex-direction: column;
  }
}
