
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Cormorant+Garamond:wght@400;500;600;700&display=swap');

:root {
  --black: #10100f;
  --dark: #171715;
  --panel: #20201d;
  --ivory: #f2eee5;
  --gold: #c9a15c;
  --muted: #a39c8e;
  --line: rgba(201,161,92,.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.announcement {
  background: var(--gold);
  color: #15130f;
  text-align: center;
  padding: 9px;
  font-size: 9px;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.site-header {
  min-height: 92px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(16,16,15,.97);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  letter-spacing: .2em;
}

.brand img {
  width: 43px;
  height: 43px;
  object-fit: contain;
}

.brand small {
  display: block;
  font: 8px 'DM Sans', sans-serif;
  letter-spacing: .55em;
  text-align: center;
  margin-top: 3px;
}

.site-header nav {
  display: flex;
  gap: 30px;
  font-size: 10px;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.site-header nav a,
.header-actions a {
  transition: color .3s;
}

.site-header nav a:hover,
.header-actions a:hover {
  color: var(--gold);
}

.header-actions {
  display: flex;
  gap: 24px;
  font-size: 11px;
  letter-spacing: .1em;
}

.menu-toggle {
  display: none;
  color: var(--ivory);
  background: none;
  border: 0;
  font-size: 25px;
}

/* HERO */

.hero {
  min-height: 690px;
  padding: 90px 9%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 76% 48%, #393023 0%, transparent 38%),
    linear-gradient(110deg, #11110f, #1b1915 65%, #11110f);
}

.hero-copy { max-width: 570px; }

.eyebrow {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: .32em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero h1,
.page-title,
.section h2,
.quote-band h2,
.detail-copy h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.05;
}

.hero h1 {
  font-size: clamp(65px, 7vw, 105px);
  margin: 22px 0;
  letter-spacing: -.025em;
}

.hero-copy > p:not(.eyebrow) {
  color: #b6b0a4;
  font-size: 13px;
  max-width: 390px;
}

.hero-description {
  color: #b6b0a4;
  font-size: 13px;
  max-width: 390px;
}

.hero-note {
  margin-top: 35px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .2em;
}

.hero-note span {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 10px;
}

.btn {
  display: inline-block;
  margin-top: 28px;
  padding: 16px 29px;
  background: var(--gold);
  color: #17140f;
  border: 1px solid var(--gold);
  font-size: 10px;
  letter-spacing: .19em;
  text-transform: uppercase;
  cursor: pointer;
  transition: .3s;
}

.btn:hover {
  background: transparent;
  color: var(--gold);
}

.hero-art {
  min-height: 470px;
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at center, #77603a 0%, #30281d 34%, #191814 68%, transparent 72%);
}

.hero-orb {
  width: 190px;
  height: 285px;
  position: relative;
  border: 1px solid #bda477;
  border-radius: 25px 25px 13px 13px;
  background: linear-gradient(100deg, #161a16, #354034 48%, #131612);
  box-shadow: 0 30px 90px #0009, inset 0 0 35px #c8ad6630;
}

.hero-orb:before {
  content: 'NEROLI';
  position: absolute;
  top: 47%;
  left: 0;
  right: 0;
  text-align: center;
  color: #e6d4ac;
  font: 24px 'Cormorant Garamond', serif;
  letter-spacing: .2em;
}

.hero-orb:after {
  content: '';
  position: absolute;
  top: -49px;
  left: 70px;
  width: 48px;
  height: 49px;
  background: linear-gradient(90deg, #947b4d, #d2b77e, #80683e);
  border-radius: 4px 4px 0 0;
}

.hero-caption {
  position: absolute;
  bottom: 10px;
  right: 0;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: .23em;
  line-height: 2;
}

.hero-caption span {
  display: block;
  margin-bottom: 8px;
}

/* SECTIONS */

.section {
  padding: 110px 8%;
}

.intro {
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
  padding: 100px 24px 75px;
  background: #171714;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro h2,
.section h2 {
  font-size: clamp(42px, 5vw, 65px);
  margin: 15px 0;
}

.intro h2 em,
.quote-band h2 em {
  color: var(--gold);
  font-weight: 400;
}

.intro > p:last-child {
  max-width: 560px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.collection-section {
  padding-top: 90px;
  padding-bottom: 100px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 35px;
}

.text-link {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: .1em;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 7px;
}

.category-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 25px 0 35px;
}

.category-pills a {
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 9px 19px;
  border-radius: 0;
  font-size: 10px;
  letter-spacing: .1em;
  transition: .3s;
}

.category-pills a:hover {
  background: var(--gold);
  color: var(--black);
}

/* LUXURY CATEGORY TILES */

.luxury-categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 35px 0 55px;
}

.luxury-categories a {
  min-height: 125px;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(201,161,92,.4);
  background: linear-gradient(145deg, #29221a, #100f0d);
  color: #f1e8d9;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  transition: .3s ease;
}

.luxury-categories a:hover {
  background: var(--gold);
  color: #100f0d;
  transform: translateY(-5px);
}

.category-arrow { font-size: 20px; }

.collection-section .section-head { align-items: end; }

/* PRODUCTS */

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

.product-card { min-width: 0; }

.product-image {
  height: 340px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at center, #373027, #24221e 55%, #1b1a17);
  border: 1px solid #ffffff0b;
}

.product-image img,
.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s;
}

.product-image:hover img { transform: scale(1.06); }

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: .1em;
  margin-top: 16px;
}

.product-card h3 {
  font: 24px 'Cormorant Garamond', serif;
  font-weight: 500;
  margin: 5px 0;
}

.quick-add {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.quick-add:hover { color: var(--gold); }

.placeholder-bottle {
  width: 105px;
  height: 190px;
  border: 1px solid #b89a67;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(90deg, #151b17, #405040, #111812);
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 25px 50px #0008;
}

.placeholder-bottle:before {
  content: '';
  position: absolute;
  top: -28px;
  width: 31px;
  height: 29px;
  background: linear-gradient(90deg, #8e7549, #d0b47a);
}

.placeholder-bottle span {
  color: #e5d3a9;
  font: 12px 'Cormorant Garamond', serif;
  letter-spacing: .2em;
}

/* BRAND STATEMENT */

.quote-band {
  background:
    radial-gradient(ellipse at center, #343027, transparent 70%),
    #171714;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 100px 25px;
}

.quote-band h2 {
  font-size: clamp(38px, 6vw, 82px);
  line-height: 1.15;
  margin: 20px 0 30px;
}

.btn-light {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-light:hover {
  background: var(--gold);
  color: var(--black);
}

/* FOOTER */

.footer {
  background: #0b0b0a;
  border-top: 1px solid var(--line);
  padding: 75px 8%;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer h4 {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer p,
.footer a:not(.brand) {
  color: #aaa397;
  font-size: 11px;
}

.footer a:not(.brand) {
  display: block;
  margin: 11px 0;
}

.brand-light { color: var(--ivory); }

.copyright {
  grid-column: 1/-1;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #777168;
  font-size: 10px;
}

/* INNER PAGES */

.page-wrap {
  padding: 85px 8%;
  min-height: 60vh;
}

.page-title {
  font-size: clamp(48px, 6vw, 78px);
  margin: 10px 0 40px;
}

.shop-tools {
  display: flex;
  gap: 12px;
  margin-bottom: 35px;
}

.shop-tools input,
.shop-tools select,
.checkout-form input,
.checkout-form textarea,
.checkout-form select,
.admin-form input,
.admin-form textarea,
.admin-form select,
.admin-card input {
  padding: 14px;
  border: 1px solid var(--line);
  background: #1c1b18;
  color: var(--ivory);
  width: 100%;
  min-width: 0;
}

.shop-tools input { max-width: 360px; }
.shop-tools select { max-width: 220px; }

.empty {
  padding: 30px;
  background: var(--panel);
  color: var(--muted);
}

.product-detail {
  padding: 85px 10%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: center;
}

.detail-image {
  height: 550px;
  background: #24221e;
  display: grid;
  place-items: center;
}

.detail-copy h1 {
  font-size: clamp(44px, 5vw, 70px);
}

.detail-price {
  color: var(--gold);
  font-size: 22px;
}

.stock { color: #b4c09e; font-size: 12px; }

.detail-copy label {
  display: block;
  margin-top: 20px;
}

.detail-copy input {
  padding: 10px;
  width: 85px;
  background: var(--panel);
  color: var(--ivory);
  border: 1px solid var(--line);
}

.cart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.cart-row button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ivory);
  padding: 8px 12px;
  cursor: pointer;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  max-width: 450px;
  margin: 35px 0;
}

.checkout-form {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 50px;
}

.checkout-form label,
.admin-form label,
.admin-card label {
  display: block;
  margin: 14px 0;
  font-size: 12px;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  display: block;
  margin-top: 7px;
}

.checkout-form aside {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 25px;
  height: max-content;
}

.small-note { font-size: 11px; color: var(--muted); }

.story {
  max-width: 900px;
  padding-top: 120px;
  padding-bottom: 140px;
}

.story > p:not(.eyebrow) {
  max-width: 600px;
  color: var(--muted);
}

/* ADMIN */

.admin-body {
  min-height: 100vh;
  background: var(--black);
  display: grid;
  place-items: center;
  padding: 20px;
}

.admin-card {
  width: min(440px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 35px;
}

.admin-card h1 {
  font: 38px 'Cormorant Garamond', serif;
}

.admin-card .btn { width: 100%; }

.admin-page { background: var(--black); }

.admin-top {
  padding: 20px 5%;
  background: #171714;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-top a { color: var(--gold); margin-left: 15px; }

.admin-main {
  max-width: 1100px;
  margin: 45px auto;
  padding: 0 22px;
}

.admin-main h1 {
  font: 48px 'Cormorant Garamond', serif;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.stats div,
.order-card {
  background: var(--panel);
  padding: 22px;
  border: 1px solid var(--line);
}

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

.stats strong {
  font-size: 28px;
  color: var(--gold);
  margin-top: 10px;
}

.admin-links {
  display: flex;
  gap: 15px;
  margin: 25px 0;
  flex-wrap: wrap;
}

.admin-links a {
  background: var(--gold);
  color: var(--black);
  padding: 14px 18px;
}

.table-wrap { overflow: auto; background: var(--panel); }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

td, th {
  text-align: left;
  padding: 13px;
  border-bottom: 1px solid var(--line);
}

.admin-form {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px;
  max-width: 650px;
  margin: 25px 0;
}

.admin-form textarea { min-height: 90px; }

.order-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 15px 0;
}

.order-card form { min-width: 190px; }

.order-card select {
  width: 100%;
  padding: 8px;
  margin: 5px 0;
  background: var(--dark);
  color: var(--ivory);
}

.error { color: #e58b80; }

/* RESPONSIVE */

@media(max-width: 900px) {
  .site-header { padding: 0 4%; }
  .site-header nav { gap: 14px; font-size: 9px; }
  .hero { padding: 65px 6%; min-height: 540px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-image { height: 280px; }
  .section { padding: 75px 6%; }
  .intro { padding: 75px 24px; }
}

@media(max-width: 650px) {
  .site-header { height: 72px; min-height: 72px; }

  .menu-toggle {
    display: block;
    margin-left: auto;
    margin-right: 15px;
  }

  .site-header nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #151512;
    padding: 25px;
    flex-direction: column;
    border-bottom: 1px solid var(--line);
  }

  .site-header nav.open { display: flex; }

  .brand { font-size: 21px; }
  .header-actions { font-size: 10px; gap: 12px; }

  .hero {
    grid-template-columns: 1fr;
    padding: 65px 7%;
  }

  .hero h1 { font-size: 65px; }
  .hero-art { min-height: 350px; }

  .section-head {
    align-items: start;
    gap: 15px;
    flex-direction: column;
  }

  .section h2 { font-size: 40px; }

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

  .luxury-categories a {
    min-height: 100px;
    padding: 16px;
    font-size: 11px;
  }

  .intro {
    padding: 65px 22px 45px;
  }

  .collection-section { padding-top: 55px; }

  .product-grid { gap: 14px; }
  .product-image { height: 220px; }
  .product-card h3 { font-size: 19px; }

  .quote-band { padding: 75px 20px; }

  .footer {
    grid-template-columns: 1fr 1fr;
    padding: 50px 7%;
  }

  .footer > div:first-child { grid-column: 1/-1; }

  .product-detail {
    grid-template-columns: 1fr;
    padding: 40px 7%;
    gap: 30px;
  }

  .detail-image { height: 380px; }

  .checkout-form {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-wrap { padding: 50px 7%; }

  .shop-tools { flex-direction: column; }

  .shop-tools input,
  .shop-tools select { max-width: none; }

  .order-card { display: block; }
  .stats { grid-template-columns: 1fr; }
  .admin-top { font-size: 11px; }
  .copyright { grid-column: 1/-1; }
}


/* Keep the mobile bag easy to reach without crowding the header. */
@media (max-width: 760px) {
  .site-header .header-actions {
    position: static !important;
  }

  .site-header .header-actions .bag-link {
    position: fixed !important;
    right: 18px !important;
    bottom: calc(18px + env(safe-area-inset-bottom)) !important;
    z-index: 3000 !important;
    width: 56px !important;
    height: 56px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(201, 161, 92, .55) !important;
    border-radius: 50% !important;
    background: #173d32 !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .24) !important;
  }

  .site-header .header-actions .bag-link::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 53%;
    width: 18px;
    height: 17px;
    border: 1.7px solid #fff;
    border-radius: 2px 2px 4px 4px;
    transform: translate(-50%, -50%);
  }

  .site-header .header-actions .bag-link::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 29%;
    width: 8px;
    height: 6px;
    border: 1.7px solid #fff;
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    transform: translateX(-50%);
  }

  .site-header .header-actions .bag-link #cart-count {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    border: 1px solid #f2eee5;
    border-radius: 999px;
    background: #c9a15c;
    color: #171715;
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
  }
}
