/* ─────────────────────────────────────────────────────
   AuthenticMe Skincare Theme  |  style.css
   Palette: Warm Cream · Blush Rose · Terracotta · Sage
   ───────────────────────────────────────────────────── */

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

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

:root {
  --gold:       #C49A4D;        /* Subtle gold for accents only */
  --gold-soft:  #D9B872;
  --cream:      #FAF7F3;
  --cream-deep: #F3EDE5;
  --parchment:  #EDE4D8;
  --blush:      #D9AFA4;
  --blush-h:    #C99086;
  --rose:       #B5736A;
  --terracotta: #A05A50;
  --sage:       #8FAF9A;
  --sage-deep:  #6B9478;
  --clay:       #C4A882;
  --sand:       #D6C5B0;

  --text:       #2C1F1A;
  --text-mid:   #5C4A42;
  --muted:      #9B8B84;
  --muted-lt:   #C5B5AE;

  --border:     #E8DDD5;
  --border-lt:  #F0E8E2;
  --surface:    #FFFFFF;
  --surface2:   #FAF7F3;
  --surface3:   #F5EFE8;

  --success:    #5E8F6E;
  --success-bg: #EBF4EE;
  --warning:    #C49A3C;
  --warning-bg: #FBF4E4;
  --danger:     #B05050;
  --danger-bg:  #F9EDED;
  --info:       #5A7EA0;
  --info-bg:    #EAF0F7;

  --radius:     12px;
  --radius-sm:  7px;
  --nav-h:      68px;
  --shadow:     0 2px 16px rgba(44,31,26,.08);
  --shadow-lg:  0 8px 40px rgba(44,31,26,.12);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;
}

body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
}

a { color: var(--rose); text-decoration: none; }
a:hover { color: var(--terracotta); }

/* ── NAV ────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,243,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 2.5rem;
  box-shadow: 0 1px 12px rgba(44,31,26,.06);
}

.nav-brand {
  display: flex; align-items: center;
  margin-right: 2.5rem;
  text-decoration: none;
}
.nav-brand-logo {
  height: 56px;
  width: auto;
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex; align-items: center; gap: .15rem;
  flex: 1; list-style: none;
}
.nav-links a {
  display: block;
  padding: .42rem .9rem;
  border-radius: 50px;
  color: var(--text-mid);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .2px;
  transition: background .15s, color .15s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--parchment);
  color: var(--rose);
}

.nav-right { display: flex; align-items: center; gap: .6rem; margin-left: auto; }

.nav-user {
  font-size: .8rem; color: var(--muted);
  padding: .3rem .8rem;
  background: var(--surface3);
  border-radius: 50px;
  border: 1px solid var(--border);
  font-weight: 500;
}

.badge-role {
  font-size: .65rem; padding: .12rem .45rem;
  border-radius: 50px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
  margin-left: .3rem;
}
.badge-admin  { background: #f5e8e4; color: var(--terracotta); }
.badge-client { background: #eaf4ee; color: var(--sage-deep); }

/* ── ADMIN TOP-BAR ACTIVE STATE ─────────────────────── */
.btn.active-tab {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
}
.btn.active-tab:hover { background: var(--terracotta); border-color: var(--terracotta); }

/* ── LAYOUT ─────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.75rem; }

.page-header {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.page-header h1 {
  font-family: var(--font-serif);
  font-size: 2.2rem; font-weight: 400;
  letter-spacing: .5px;
}
.page-header p { color: var(--muted); margin-top: .3rem; font-size: .9rem; }

/* ── FLASH ──────────────────────────────────────────── */
.flash-zone { padding: .75rem 0 0; }
.flash {
  padding: .7rem 1.1rem; border-radius: var(--radius-sm);
  margin-bottom: .5rem; font-size: .88rem;
  border-left: 3px solid transparent;
}
.flash.success { background: var(--success-bg); border-color: var(--success); color: #3d6b50; }
.flash.danger  { background: var(--danger-bg);  border-color: var(--danger);  color: var(--danger); }
.flash.warning { background: var(--warning-bg); border-color: var(--warning); color: #8a6a20; }
.flash.info    { background: var(--info-bg);    border-color: var(--info);    color: var(--info); }

/* ── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .52rem 1.2rem; border-radius: 50px;
  font-size: .85rem; font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer; border: 1.5px solid transparent;
  transition: all .35s ease; white-space: nowrap; letter-spacing: .3px;
}
.btn:hover { letter-spacing: .9px; }     /* subtle expansion on hover */
.btn-lg:hover { letter-spacing: 1.2px; } /* a touch more on large CTAs */
.btn-primary  { background: var(--rose); color: #fff; border-color: var(--rose); }
.btn-primary:hover { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.btn-outline  { background: transparent; color: var(--rose); border-color: var(--rose); }
.btn-outline:hover { background: var(--rose); color: #fff; }
.btn-success  { background: var(--success-bg); color: var(--success); border-color: var(--sage); }
.btn-success:hover { background: #d5eadb; }
.btn-danger   { background: var(--danger-bg); color: var(--danger); border-color: #d9a0a0; }
.btn-danger:hover  { background: #f3d9d9; }
.btn-warning  { background: var(--warning-bg); color: var(--warning); border-color: #d9bc80; }
.btn-warning:hover { background: #f6ebcb; }
.btn-ghost    { background: transparent; color: var(--text-mid); border-color: var(--border); }
.btn-ghost:hover   { background: var(--surface3); color: var(--text); }
.btn-sm { padding: .3rem .8rem; font-size: .78rem; }
.btn-lg { padding: .7rem 2rem; font-size: .95rem; letter-spacing: .4px; }

/* ── CARDS ──────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border-lt);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem; font-weight: 400;
  margin-bottom: .6rem; letter-spacing: .3px;
}

/* ── GRID ───────────────────────────────────────────── */
.grid   { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3,.grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) {
  .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; }
  nav { padding: 0 1rem; }
}

/* ── HERO ───────────────────────────────────────────── */
.hero {
  padding: 5.5rem 0 5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}
.hero-eyebrow {
  font-size: .72rem; text-transform: uppercase;
  letter-spacing: 3px; color: var(--blush);
  font-weight: 600; margin-bottom: 1.1rem; display: block;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 300; line-height: 1.12;
  margin-bottom: 1.3rem; letter-spacing: .5px;
}
.hero h1 em { font-style: italic; color: var(--rose); }
.hero p {
  font-size: 1rem; color: var(--text-mid);
  max-width: 500px; margin: 0 auto 2.5rem;
  font-weight: 300; line-height: 1.85;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-divider {
  width: 48px; height: 1px;
  background: var(--sand); margin: 3rem auto 0;
}

/* ── STATS ──────────────────────────────────────────── */
.stat-card {
  background: var(--surface); border: 1px solid var(--border-lt);
  border-radius: var(--radius); padding: 1.5rem 1.75rem;
  display: flex; flex-direction: column; gap: .3rem;
  box-shadow: var(--shadow);
}
.stat-label {
  font-size: .7rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 1.2px; font-weight: 600;
}
.stat-value {
  font-family: var(--font-serif);
  font-size: 2.4rem; font-weight: 400;
  line-height: 1; margin-top: .15rem;
}
.stat-value.accent  { color: var(--rose); }
.stat-value.success { color: var(--sage-deep); }
.stat-value.warning { color: var(--warning); }
.stat-value.info    { color: var(--info); }

/* ── PRODUCT CARDS ──────────────────────────────────── */
.product-card {
  background: var(--surface); border: 1px solid var(--border-lt);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .22s, box-shadow .22s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.product-thumb {
  height: 260px;
  background: linear-gradient(135deg, var(--parchment) 0%, var(--surface3) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  border-bottom: 1px solid var(--border-lt);
  position: relative; overflow: hidden;
}
.product-thumb::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(217,175,164,.3), transparent 65%);
}
.product-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

.product-body { padding: 1.25rem 1.3rem; flex: 1; display: flex; flex-direction: column; }
.product-category {
  font-size: .68rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--blush); font-weight: 600; margin-bottom: .3rem;
}
.product-name {
  font-family: var(--font-serif);
  font-weight: 500; font-size: 1.05rem;
  margin-bottom: .3rem; letter-spacing: .2px;
}
.product-desc { color: var(--muted); font-size: .82rem; flex: 1; margin-bottom: .9rem; line-height: 1.6; }
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.product-price {
  font-family: var(--font-serif); font-size: 1.2rem; font-weight: 500;
  color: var(--rose); position: relative;
}
.product-price::before {
  content: 'R'; font-size: .7rem; opacity: .55; margin-right: 1px;
  letter-spacing: 1px; color: var(--gold);
}
.badge-stock  { font-size: .7rem; padding: .15rem .55rem; border-radius: 50px; font-weight: 600; }
.in-stock     { background: var(--success-bg); color: var(--success); }
.out-of-stock { background: var(--danger-bg);  color: var(--danger); }

/* ── CATEGORY PILLS ─────────────────────────────────── */
.category-pills { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.cat-pill {
  padding: .35rem 1rem; border-radius: 50px;
  font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600;
  cursor: pointer; border: 1.5px solid var(--border);
  color: var(--muted); background: transparent;
  transition: all .15s; text-decoration: none; display: inline-block;
}
.cat-pill:hover, .cat-pill.active {
  border-color: var(--rose); color: var(--rose);
  background: rgba(181,115,106,.06);
}

/* ── TABLE ──────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface);
}
table { width: 100%; border-collapse: collapse; }
thead th {
  background: var(--surface3); padding: .75rem 1.1rem;
  text-align: left; font-size: .7rem;
  text-transform: uppercase; letter-spacing: 1.1px;
  color: var(--muted); border-bottom: 1px solid var(--border); font-weight: 600;
}
tbody tr { border-bottom: 1px solid var(--border-lt); transition: background .12s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--surface2); }
tbody td { padding: .8rem 1.1rem; font-size: .88rem; vertical-align: middle; }

/* ── FORMS ──────────────────────────────────────────── */
.form-group { margin-bottom: 1.2rem; }
.form-label {
  display: block; font-size: .7rem; font-weight: 600;
  color: var(--muted); margin-bottom: .4rem;
  text-transform: uppercase; letter-spacing: .9px;
}
.form-control {
  width: 100%; padding: .65rem 1rem;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  font-size: .9rem; font-family: var(--font-sans);
  transition: border-color .15s, box-shadow .15s;
}
.form-control::placeholder { color: var(--muted-lt); }
.form-control:focus {
  outline: none; border-color: var(--blush);
  box-shadow: 0 0 0 3px rgba(217,175,164,.2);
}
textarea.form-control { resize: vertical; min-height: 90px; }
.form-check { display: flex; align-items: center; gap: .5rem; cursor: pointer; }
.form-check input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--rose); }
.form-check label { font-size: .9rem; cursor: pointer; }

select.form-control {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239B8B84' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center;
  padding-right: 2.25rem; cursor: pointer;
}
select.form-control option { background: var(--surface); color: var(--text); }

/* ── AUTH ───────────────────────────────────────────── */
.auth-wrap {
  display: flex; align-items: center; justify-content: center;
  min-height: calc(100vh - var(--nav-h));
  padding: 2rem 1rem;
  background: linear-gradient(160deg, var(--cream) 0%, var(--parchment) 100%);
}
.auth-box {
  background: var(--surface); border: 1px solid var(--border-lt);
  border-radius: var(--radius); padding: 2.75rem 2.5rem;
  width: 100%; max-width: 420px; box-shadow: var(--shadow-lg);
}
.auth-eyebrow {
  display: block; font-size: .7rem; text-transform: uppercase;
  letter-spacing: 2.5px; color: var(--blush); margin-bottom: .75rem; font-weight: 600;
}
.auth-box h2 {
  font-family: var(--font-serif); font-size: 1.85rem;
  font-weight: 400; margin-bottom: 1.5rem; letter-spacing: .3px;
}
.auth-footer { margin-top: 1.4rem; font-size: .84rem; color: var(--muted); text-align: center; }

/* ── STATUS ─────────────────────────────────────────── */
.status {
  display: inline-block; font-size: .68rem; font-weight: 600;
  padding: .2rem .6rem; border-radius: 50px;
  text-transform: uppercase; letter-spacing: .5px;
}
.status-confirmed  { background: var(--success-bg); color: var(--success); }
.status-pending    { background: var(--warning-bg); color: var(--warning); }
.status-processing { background: var(--info-bg);    color: var(--info); }
.status-shipped    { background: #f0eaf8;            color: #7e5aaa; }
.status-delivered  { background: var(--success-bg); color: var(--success); }
.status-cancelled  { background: var(--danger-bg);  color: var(--danger); }
.status-published  { background: var(--info-bg);    color: var(--info); }
.status-draft      { background: var(--surface3);   color: var(--muted); }

/* ── ADMIN LAYOUT ───────────────────────────────────── */
.admin-layout {
  display: grid; grid-template-columns: 220px 1fr;
  gap: 2rem; padding: 2rem 0; align-items: start;
}
@media (max-width: 768px) { .admin-layout { grid-template-columns: 1fr; } }

.sidebar {
  background: var(--surface); border: 1px solid var(--border-lt);
  border-radius: var(--radius); padding: 1.25rem;
  position: sticky; top: calc(var(--nav-h) + 1rem);
  box-shadow: var(--shadow);
}
.sidebar-title {
  font-size: .67rem; text-transform: uppercase; letter-spacing: 1.3px;
  color: var(--muted-lt); margin-bottom: .75rem; padding: 0 .5rem; font-weight: 600;
}
.sidebar a {
  display: flex; align-items: center; gap: .6rem;
  padding: .5rem .75rem; border-radius: 50px;
  color: var(--text-mid); font-size: .85rem; font-weight: 500;
  transition: background .15s, color .15s;
}
.sidebar a:hover, .sidebar a.active { background: var(--surface3); color: var(--rose); }

/* ── CART ───────────────────────────────────────────── */
.cart-badge {
  background: var(--rose); color: #fff; font-size: .62rem; font-weight: 700;
  padding: 0 5px; border-radius: 10px; min-width: 17px;
  text-align: center; display: inline-block;
}
.cart-summary {
  background: var(--surface3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-top: 1rem;
}
.cart-summary .total-row {
  display: flex; justify-content: space-between;
  font-family: var(--font-serif); font-size: 1.25rem;
  padding-top: .75rem; border-top: 1px solid var(--border);
}

/* ── INVOICE ────────────────────────────────────────── */
.invoice-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem;
}
.invoice-number {
  font-family: var(--font-serif);
  font-size: 1.8rem; font-weight: 400; letter-spacing: .5px;
}
.invoice-meta { color: var(--muted); font-size: .83rem; margin-top: .2rem; }

/* ── FEATURE STRIP ──────────────────────────────────── */
.feature-strip {
  background: var(--parchment); border-radius: var(--radius);
  padding: 2.5rem; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 2rem;
  text-align: center; border: 1px solid var(--border);
}
@media (max-width: 700px) { .feature-strip { grid-template-columns: 1fr; } }
.feature-icon { font-size: 1.75rem; margin-bottom: .5rem; opacity: .8; }
.feature-title { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: .35rem; font-weight: 500; }
.feature-desc  { font-size: .82rem; color: var(--text-mid); line-height: 1.65; }

/* ── FOOTER ─────────────────────────────────────────── */
footer {
  margin-top: 5rem; border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem; text-align: center;
  background: var(--surface3);
}
.footer-logo { height: 52px; width: auto; margin-bottom: .75rem; }
footer p { color: var(--muted); font-size: .8rem; }
footer .footer-links { display: flex; gap: 1.5rem; justify-content: center; margin-bottom: .75rem; }
footer .footer-links a { font-size: .8rem; color: var(--muted); }
footer .footer-links a:hover { color: var(--rose); }

/* ── UTILS ──────────────────────────────────────────── */
.text-muted   { color: var(--muted); }
.text-rose    { color: var(--rose); }
.text-success { color: var(--success); }
.text-danger  { color: var(--danger); }
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2.5rem}
.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}
.flex{display:flex}.gap-1{gap:.5rem}.gap-2{gap:1rem}
.items-center{align-items:center}.justify-between{justify-content:space-between}
.justify-end{justify-content:flex-end}.flex-wrap{flex-wrap:wrap}.w-full{width:100%}
.divider { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }
.empty-state { text-align: center; padding: 3.5rem 1rem; color: var(--muted); }
.empty-state .icon { font-size: 2.5rem; margin-bottom: 1rem; opacity: .4; }
.empty-state p { font-size: .9rem; }

/* ── QTY STEPPER ─────────────────────────────────────── */
.qty-stepper {
  display: flex; align-items: center; gap: 0;
  border: 1.5px solid var(--border); border-radius: 50px;
  overflow: hidden; width: fit-content;
}
.qty-stepper button {
  background: transparent; border: none;
  width: 32px; height: 32px;
  cursor: pointer; font-size: 1rem; color: var(--text-mid);
  transition: background .15s, color .15s;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
}
.qty-stepper button:hover { background: var(--surface3); color: var(--rose); }
.qty-stepper input[type="number"] {
  width: 40px; text-align: center;
  border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border);
  background: transparent; color: var(--text);
  font-size: .85rem; font-family: var(--font-sans);
  padding: 0; height: 32px; -moz-appearance: textfield;
}
.qty-stepper input[type="number"]::-webkit-inner-spin-button,
.qty-stepper input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; }
.status-pending_payment { background: #fef9ec; color: #a07800; }

/* ── HERO SECTION ─────────────────────────────────────────── */
.hero-section {
  position: relative;
  background: linear-gradient(160deg, #FFFCF9 0%, var(--cream-deep) 50%, var(--parchment) 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

/* Soft radial glow behind logo */
.hero-logo-frame {
  position: relative;
  display: inline-block;
  margin-bottom: 1.75rem;
  padding: 1rem 2rem;
}
.hero-logo-glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(ellipse at center,
    rgba(217,175,164,.20) 0%,
    rgba(237,228,216,.12) 45%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-logo-img {
  display: block;
  width: clamp(280px, 42vw, 460px);
  height: auto;
  position: relative;
  z-index: 1;
  mix-blend-mode: multiply;   /* removes white background */
}

/* ── TOAST NOTIFICATION ─────────────────────────────── */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--rose);
  border-radius: var(--radius);
  padding: .85rem 1.5rem;
  box-shadow: var(--shadow-lg);
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  z-index: 10000;
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
  max-width: 90vw;
}
.toast-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast-success { border-left-color: var(--success); color: var(--success); }
.toast-danger  { border-left-color: var(--danger);  color: var(--danger); }


/* ── GOLD ACCENT ELEMENTS ────────────────────────────── */
.divider-gold {
  display: flex; align-items: center; justify-content: center;
  gap: .85rem; margin: 1.5rem auto;
}
.divider-gold::before, .divider-gold::after {
  content: ''; height: 1px; width: 36px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}
.divider-gold-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); opacity: .85;
}

/* Add a gentle fade-in to the hero only — NOT every page */
.hero-section {
  animation: heroFade 1.2s ease-out;
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Gold accent on product card price */
.product-card { transition: transform .22s, box-shadow .22s, border-color .35s; }
.product-card:hover { border-color: var(--gold-soft); }

/* ── PRINT STYLES (invoice / packing slip) ─────────────── */
@media print {
  /* Hide nav, footer, buttons, flash messages */
  nav, footer, .flash-zone, .no-print, .toast { display: none !important; }

  body {
    background: white !important;
    color: black !important;
    font-size: 11pt;
    -webkit-print-color-adjust: exact !important;   /* keep gold accents */
    print-color-adjust: exact !important;
  }

  .container { max-width: none !important; padding: 0 !important; }
  .card {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    page-break-inside: avoid;
    background: white !important;
    padding: 1.25rem !important;
  }

  /* Invoice logo — keep it crisp and properly sized */
  .invoice-logo {
    height: 70px !important;
    width: auto !important;
    display: block !important;
    margin-left: auto !important;
  }

  .invoice-header { padding: 0 !important; margin-bottom: 1rem !important; }
  .invoice-number { color: black !important; }

  table { border-collapse: collapse !important; }
  thead th { background: #f5f5f5 !important; color: black !important; border-bottom: 1px solid #999 !important; }
  tbody tr:hover { background: white !important; }

  a { color: black !important; text-decoration: none !important; }
  .product-price { color: black !important; }

  /* Force gold accent line to print (browsers may strip backgrounds otherwise) */
  [style*="linear-gradient"] {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}
