/*
Theme Name: Luxe Scents
Theme URI: https://localhost
Author: Luxe Scents
Description: Custom WooCommerce theme for the Luxe Scents perfume wholesale catalog.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: luxe-scents
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:   #b8935a;
  --gold2:  #c8a96e;
  --paper:  #f5efe2;
  --ink:    #1a1510;
  --mid:    #5a4f42;
  --light:  #8c7d6a;
  --border: #ddd8d0;
  --cream2: #f2ede6;
  --white:  #fff;
  --serif:  Georgia, 'Times New Roman', serif;
  --sans:   -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html, body { height: 100%; }
body {
  margin: 0;
  background: #efe9dd;
  background-image:
    radial-gradient(ellipse at top, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(180,160,130,.18), transparent 60%);
  font-family: var(--sans);
  color: var(--ink);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }

.container { width: min(94vw, 1280px); margin: 0 auto; }

/* ── Header ── */
.site-header {
  background: var(--ink);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hdr-logo img { height: 34px; width: auto; border-radius: 3px; opacity: .9; }
.hdr-nav { display: flex; gap: 2px; list-style: none; margin: 0 auto; }
.hdr-nav a {
  padding: 6px 12px; font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--mid);
  text-decoration: none; transition: color .2s;
}
.hdr-nav a:hover, .hdr-nav a.current-menu-item, .hdr-nav a.current-product_cat-ancestor {
  color: var(--gold);
}
.hdr-whatsapp {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 14px;
  background: rgba(37,211,102,.12);
  border: 1px solid rgba(37,211,102,.35);
  border-radius: 20px;
  text-decoration: none;
  color: #25d366;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .06em;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
}
.hdr-whatsapp:hover { background: rgba(37,211,102,.22); border-color: rgba(37,211,102,.6); }
.hdr-cart {
  display: flex; align-items: center; gap: 6px;
  color: var(--gold2); text-decoration: none;
  font-size: .75rem; letter-spacing: .04em;
  white-space: nowrap;
}
.hdr-cart:hover { color: var(--gold); }
.hdr-cart-count {
  background: var(--gold); color: var(--ink);
  border-radius: 50%; width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 700;
}

@media (max-width: 780px) {
  .hdr-nav { display: none; }
}

/* ── Footer ── */
.site-footer {
  background: var(--ink);
  color: var(--light);
  padding: 40px 24px 24px;
  margin-top: 60px;
  text-align: center;
}
.site-footer .footer-logo { height: 30px; margin: 0 auto 14px; opacity: .85; }
.site-footer p { font-size: .78rem; letter-spacing: .04em; margin-bottom: 6px; }
.site-footer .footer-links { list-style: none; display: flex; gap: 18px; justify-content: center; margin: 14px 0; flex-wrap: wrap; }
.site-footer .footer-links a { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--light); text-decoration: none; }
.site-footer .footer-links a:hover { color: var(--gold); }

/* ── Hero (front page) ── */
.hero {
  position: relative;
  padding: 80px 24px 60px;
  text-align: center;
  overflow: hidden;
}
.hero-eyebrow {
  font-size: .72rem; letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.hero-title {
  font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--ink); margin-bottom: 16px; letter-spacing: .02em;
}
.hero-sub {
  font-size: .95rem; color: var(--mid); max-width: 560px; margin: 0 auto 28px;
  line-height: 1.6;
}
.hero-cta {
  display: inline-block; padding: 12px 32px;
  background: var(--ink); color: var(--gold);
  border-radius: 30px; text-decoration: none;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600; transition: background .2s, transform .15s;
}
.hero-cta:hover { background: #2c2419; transform: translateY(-1px); }

/* ── Category tiles ── */
.cat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding: 20px 24px 70px; width: min(94vw, 1280px); margin: 0 auto;
}
.cat-tile {
  position: relative; display: block; text-decoration: none;
  border-radius: 6px; overflow: hidden; aspect-ratio: 3/4;
  background: var(--cream2);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}
.cat-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile-label {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(26,21,16,.85), transparent);
  color: #fff; padding: 24px 18px 18px; text-align: center;
}
.cat-tile-label span {
  font-family: var(--serif); font-size: 1.15rem; letter-spacing: .1em;
  text-transform: uppercase;
}
@media (max-width: 780px) {
  .cat-grid { grid-template-columns: 1fr; }
}
