
/* =========================================
   SCENTS BY ZAHRA
   BLACK & GOLD LUXURY THEME
========================================= */

:root {
  --black: #090909;
  --black-soft: #11100e;
  --black-card: #151411;
  --gold: #c9a45b;
  --gold-light: #e6cb8d;
  --cream: #f6f0e5;
  --muted: #aaa195;
  --border: rgba(201, 164, 91, 0.22);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.7;
  overflow-x: hidden;
}

body.cart-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ANNOUNCEMENT */

.announcement {
  min-height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 7px 12px;
  background: var(--gold);
  color: #100e09;
  text-align: center;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
}

/* HEADER */

.site-header {
  position: relative;
  z-index: 10;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 16px 7%;
  background: #0b0b0a;
  border-bottom: 1px solid var(--border);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.logo-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 30px;
}

.logo-name {
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

.logo-name strong {
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 1.6px;
}

.logo-name small {
  color: var(--gold);
  font-size: 8px;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 34px);
}

.nav-links a {
  color: #d0c7b8;
  font-size: 10px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold-light);
}

.cart-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--cream);
  font-size: 10px;
  flex-shrink: 0;
}

.cart-button span {
  min-width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #100e09;
  font-size: 10px;
  font-weight: 800;
}

/* HERO */

.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 85px 9%;
  background:
    radial-gradient(
      ellipse at 83% 45%,
      rgba(143, 105, 39, 0.16),
      transparent 43%
    ),
    linear-gradient(110deg, #090909 0%, #100f0d 60%, #17120a 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 3px;
  line-height: 1.8;
}

.hero h1 {
  margin: 24px 0 20px;
  font-family: var(--serif);
  font-size: clamp(54px, 7vw, 88px);
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: -1px;
}

.hero h1 span,
.section-heading h2 span,
.story-content h2 span,
.order-banner h2 span {
  color: var(--gold);
  font-style: italic;
}

.hero-content > p {
  max-width: 420px;
  margin-bottom: 30px;
  color: #b8b0a3;
  font-size: 12px;
  line-height: 2;
}

.gold-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 22px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #0b0a07;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s;
}

.gold-button:hover {
  background: transparent;
  color: var(--gold-light);
  transform: translateY(-2px);
}

.gold-button span {
  font-size: 16px;
}

.hero-details {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 60px;
  color: #948979;
  font-size: 8px;
  letter-spacing: 1.4px;
}

.hero-decoration {
  position: absolute;
  top: 50%;
  right: 8%;
  width: min(37vw, 420px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  pointer-events: none;
}

.hero-ring {
  position: absolute;
  display: block;
  border: 1px solid rgba(201, 164, 91, 0.26);
  border-radius: 50%;
}

.ring-one {
  inset: 5%;
}

.ring-two {
  inset: 17%;
  border-color: rgba(201, 164, 91, 0.15);
}

.hero-letter {
  color: rgba(201, 164, 91, 0.63);
  font-family: var(--serif);
  font-size: clamp(160px, 24vw, 290px);
  line-height: 1;
}

/* BENEFITS */

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 23px 7%;
  background: #100f0c;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.benefits > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #d7cbb8;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.4px;
}

.benefit-symbol {
  color: var(--gold);
  font-size: 17px;
}

/* SHARED SECTIONS */

.section-padding {
  padding: 100px 7%;
}

.section-heading {
  margin-bottom: 40px;
  text-align: center;
}

.section-heading h2,
.story-content h2,
.order-banner h2 {
  margin: 10px 0;
  font-family: var(--serif);
  font-size: clamp(39px, 5vw, 58px);
  font-weight: 400;
  line-height: 1.12;
}

.section-heading > p,
.order-banner > p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
}

/* COLLECTION TOOLBAR */

.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 27px;
}

.search-box {
  width: min(100%, 350px);
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid var(--border);
  background: #100f0d;
  color: var(--gold);
}

.search-box > span {
  font-size: 22px;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--cream);
  font-size: 11px;
}

.search-box input::placeholder {
  color: #837b70;
}

.sort-box select {
  max-width: 100%;
  min-height: 43px;
  padding: 0 28px 0 12px;
  border: 1px solid var(--border);
  background: #100f0d;
  color: var(--cream);
  font-size: 10px;
}

/* PRODUCT GRID */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 20px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  background: var(--black-card);
  border: 1px solid rgba(201, 164, 91, 0.13);
  transition:
    border-color 0.25s,
    transform 0.25s;
}

.product-card:hover {
  border-color: rgba(201, 164, 91, 0.55);
  transform: translateY(-3px);
}

.product-image {
  position: relative;
  aspect-ratio: 0.84;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, #282218, #12110e 70%);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}

.product-card:hover .product-image img {
  transform: scale(1.035);
}

.product-number {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  color: var(--gold-light);
  font-size: 8px;
  letter-spacing: 1.5px;
}

.product-info {
  padding: 17px 15px 16px;
}

.product-type {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.product-info h3 {
  margin-bottom: 7px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 600;
  line-height: 1.15;
}

.product-price {
  margin-bottom: 13px;
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 800;
}

.variant-label,
.quantity-label {
  display: block;
  margin-bottom: 6px;
  color: #c6bcad;
  font-size: 9px;
  font-weight: 600;
}

.variant-select {
  width: 100%;
  min-height: 39px;
  margin-bottom: 12px;
  padding: 0 9px;
  border: 1px solid rgba(201, 164, 91, 0.35);
  border-radius: 0;
  background: #0d0d0b;
  color: var(--cream);
  font-size: 10px;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.quantity-control {
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  background: #0e0e0c;
}

.quantity-control button {
  width: 38px;
  height: 37px;
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: var(--gold-light);
  font-size: 19px;
}

.quantity-control button:hover {
  background: rgba(201, 164, 91, 0.1);
}

.quantity-control output {
  color: var(--cream);
  font-size: 11px;
  font-weight: 700;
}

.add-button {
  width: 100%;
  min-height: 42px;
  padding: 10px 8px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #100e09;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.7px;
  transition: background 0.2s, color 0.2s;
}

.add-button:hover {
  background: transparent;
  color: var(--gold-light);
}

.no-results {
  padding: 35px 0;
  color: var(--muted);
  text-align: center;
}

/* BRAND STORY */

.story {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 390px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 82% 50%, rgba(201, 164, 91, 0.12), transparent 40%),
    #11100d;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.story-content {
  position: relative;
  z-index: 1;
  max-width: 570px;
}

.story-content h2 {
  margin: 16px 0;
}

.story-content > p {
  max-width: 460px;
  margin-bottom: 23px;
  color: var(--muted);
  font-size: 12px;
  line-height: 2;
}

.story-ornament {
  position: absolute;
  top: 50%;
  right: 12%;
  transform: translateY(-50%);
  color: rgba(201, 164, 91, 0.09);
  font-family: var(--serif);
  font-size: clamp(250px, 36vw, 440px);
  line-height: 1;
  pointer-events: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.text-link:hover {
  color: var(--cream);
}

/* ORDER BANNER */

.order-banner {
  padding: 85px 7%;
  text-align: center;
}

.order-banner > p {
  max-width: 480px;
  margin: 0 auto 24px;
}

.order-banner .gold-button {
  margin-top: 4px;
}

/* FOOTER */

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 35px 20px;
  background: #070706;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-brand {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 2px;
}

.site-footer p {
  color: #b7ad9e;
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
}

.site-footer > span {
  margin-top: 12px;
  color: #777064;
  font-size: 9px;
}

/* CART DRAWER */

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.cart-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 101;
  width: min(440px, 100%);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 25px;
  background: #11100d;
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.cart-header h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
}

.close-cart {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--cream);
  font-size: 27px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item h3 {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
}

.cart-item-variant {
  margin: 4px 0;
  color: var(--muted);
  font-size: 10px;
}

.cart-item-price {
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
}

.cart-item-controls button {
  min-width: 27px;
  min-height: 27px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--cream);
}

.cart-item-controls span {
  min-width: 16px;
  text-align: center;
  font-size: 11px;
}

.remove-item {
  color: #d9a58e !important;
  font-size: 10px;
}

.empty-cart {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.empty-cart > span {
  color: var(--gold);
  font-size: 42px;
}

.empty-cart p {
  color: var(--muted);
  font-size: 12px;
}

.cart-footer {
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}

.cart-total span {
  color: var(--muted);
  font-size: 11px;
}

.cart-total strong {
  color: var(--gold-light);
  font-size: 20px;
}

.cart-note {
  margin-bottom: 15px;
  color: #8f8679;
  font-size: 10px;
  line-height: 1.8;
}

.checkout-button {
  width: 100%;
}

.clear-cart {
  display: block;
  margin: 12px auto 0;
  padding: 5px 10px;
  border: 0;
  background: transparent;
  color: #a99e8d;
  font-size: 10px;
  text-decoration: underline;
}

/* TOAST */

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  max-width: calc(100% - 40px);
  padding: 13px 18px;
  background: var(--gold);
  color: #100e09;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* TABLET */

@media (max-width: 1000px) {
  .site-header {
    padding-right: 4%;
    padding-left: 4%;
    gap: 16px;
  }

  .nav-links {
    gap: 16px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-decoration {
    right: 3%;
    opacity: 0.75;
  }
}

/* MOBILE NAVIGATION */

@media (max-width: 700px) {
  .site-header {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px 10px;
    padding: 15px 5%;
  }

  .brand-logo {
    gap: 8px;
  }

  .logo-mark {
    width: 37px;
    height: 37px;
    font-size: 26px;
  }

  .logo-name strong {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .logo-name small {
    font-size: 7px;
    letter-spacing: 1.4px;
  }

  .cart-button {
    padding: 8px 10px;
  }

  .nav-links {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    width: 100%;
    overflow-x: auto;
    padding: 5px 0 8px;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex-shrink: 0;
    font-size: 10px;
  }

  .hero {
    min-height: 510px;
    padding: 65px 7%;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(48px, 11vw, 70px);
  }

  .hero-content > p {
    max-width: 330px;
    font-size: 11px;
  }

  .hero-decoration {
    right: -19%;
    width: 70vw;
    opacity: 0.25;
  }

  .hero-details {
    gap: 12px;
    margin-top: 45px;
    font-size: 7px;
  }

  .benefits {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 20px 5%;
  }

  .benefits > div {
    font-size: 9px;
  }

  .section-padding {
    padding: 70px 4%;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2 {
    font-size: 43px;
  }

  .collection-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }

  .search-box {
    width: 100%;
  }

  .sort-box select {
    width: 100%;
  }

  /* TWO PRODUCTS PER ROW ON MOBILE */
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }

  .product-image {
    aspect-ratio: 0.78;
  }

  .product-info {
    padding: 12px 10px;
  }

  .product-info h3 {
    font-size: 19px;
    overflow-wrap: anywhere;
  }

  .product-type {
    font-size: 7px;
    letter-spacing: 0.8px;
  }

  .product-price {
    font-size: 13px;
    margin-bottom: 11px;
  }

  .variant-label,
  .quantity-label {
    font-size: 9px;
  }

  .variant-select {
    min-height: 38px;
    padding: 0 5px;
    font-size: 9px;
  }

  .quantity-control button {
    width: 33px;
  }

  .add-button {
    min-height: 42px;
    font-size: 8px;
    letter-spacing: 0.3px;
  }

  .story {
    min-height: 350px;
  }

  .story-ornament {
    right: -10%;
    opacity: 0.7;
  }

  .story-content h2,
  .order-banner h2 {
    font-size: 42px;
  }

  .order-banner {
    padding: 65px 5%;
  }

  .cart-drawer {
    padding: 20px;
  }
}

/* SMALL MOBILE */

@media (max-width: 360px) {
  .logo-name strong {
    font-size: 9px;
  }

  .product-grid {
    gap: 12px 8px;
  }

  .product-info {
    padding: 10px 8px;
  }

  .product-info h3 {
    font-size: 17px;
  }

  .product-price {
    font-size: 12px;
  }

  .quantity-control button {
    width: 28px;
  }

  .add-button {
    font-size: 7px;
  }

  .hero h1 {
    font-size: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
