/* GiftShopping.in — premium plum + rose gold palette */
:root {
  --plum: #3b1f3b;
  --plum-deep: #27122a;
  --rose: #c76688;
  --rose-deep: #a24565;
  --gold: #c9a26a;
  --gold-soft: #ead6b3;
  --cream: #fbf6ef;
  --cream-deep: #f3e7d6;
  --paper: #ffffff;
  --ink: #2a1a26;
  --ink-soft: #4a3a46;
  --muted: #8a7a84;
  --line: #ecdecd;
  --line-strong: #d4bfa4;

  --shadow-sm: 0 1px 2px rgba(42,26,38,0.05), 0 2px 4px rgba(42,26,38,0.04);
  --shadow-md: 0 6px 16px -4px rgba(42,26,38,0.10), 0 3px 6px -2px rgba(42,26,38,0.05);
  --shadow-lg: 0 24px 56px -16px rgba(42,26,38,0.25);
  --shadow-plum: 0 20px 48px -20px rgba(59,31,59,0.60);

  --font-display: 'Playfair Display', 'DM Sans', Georgia, serif;
  --font-body: 'DM Sans', 'Inter', -apple-system, sans-serif;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--cream); color: var(--ink); font-family: var(--font-body); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }

a { color: var(--rose-deep); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
header.site { background: rgba(251,246,239,0.92); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
header.site .wrap { max-width: 1200px; margin: 0 auto; padding: 18px 32px; display: flex; align-items: center; gap: 36px; }
header.site .brand { display: flex; align-items: center; gap: 12px; }
header.site .brand .mark { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--plum), var(--rose-deep)); color: var(--gold-soft); display: grid; place-items: center; font-size: 22px; box-shadow: var(--shadow-sm); }
header.site .brand .words b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 20px; color: var(--ink); letter-spacing: -0.005em; }
header.site .brand .words b em { color: var(--rose-deep); font-style: italic; font-weight: 400; }
header.site .brand .words small { display: block; font-size: 9px; color: var(--muted); font-weight: 700; letter-spacing: 0.24em; margin-top: 2px; }
header.site nav { margin-left: auto; display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 500; }
header.site nav a { color: var(--ink-soft); }
header.site nav a:hover { color: var(--rose-deep); text-decoration: none; }
header.site nav .chip { background: var(--plum); color: var(--gold-soft); padding: 6px 14px; border-radius: 999px; font-size: 12px; letter-spacing: 0.02em; }
header.site nav .signin, header.site nav .cart-link { background: var(--plum); color: #fff; padding: 9px 20px; border-radius: 999px; font-weight: 500; }
header.site nav .signin:hover, header.site nav .cart-link:hover { background: var(--rose-deep); color: #fff; text-decoration: none; }
header.site nav .ghost { color: var(--muted); font-size: 13px; }

main { max-width: 1200px; margin: 0 auto; padding: 48px 32px 80px; }
main.narrow { max-width: 540px; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 500; line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.015em; }
h1 { font-size: 52px; font-weight: 400; }
h1 em { color: var(--rose-deep); font-weight: 400; }
h2 { font-size: 32px; margin: 32px 0 16px; }
h3 { font-size: 18px; font-family: var(--font-body); font-weight: 600; letter-spacing: -0.005em; }
h4 { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
p { margin: 0 0 14px; color: var(--ink-soft); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--rose-deep); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--rose-deep); }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(135deg, var(--plum-deep) 0%, var(--plum) 50%, var(--rose-deep) 100%); color: #fff; padding: 96px 64px 120px; border-radius: var(--radius-lg); margin-bottom: 56px; overflow: hidden; box-shadow: var(--shadow-plum); }
.hero::before { content: ""; position: absolute; top: -20%; right: -10%; width: 60%; height: 140%; background: radial-gradient(ellipse at center, rgba(201,162,106,0.25), transparent 65%); pointer-events: none; }
.hero .eyebrow { color: var(--gold-soft); }
.hero .eyebrow::before { background: var(--gold-soft); }
.hero h1 { color: #fff; font-size: 68px; max-width: 760px; line-height: 1.02; letter-spacing: -0.025em; position: relative; }
.hero h1 .accent { color: var(--gold); font-style: italic; }
.hero p { color: rgba(251,246,239,0.80); font-size: 19px; max-width: 580px; font-weight: 300; position: relative; }
.hero .actions { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; position: relative; }
.hero .badge { position: absolute; top: 48px; right: 56px; background: rgba(255,255,255,0.08); border: 1px solid rgba(251,246,239,0.18); border-radius: 999px; padding: 8px 16px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); backdrop-filter: blur(6px); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--plum); color: #fff; padding: 13px 28px; border-radius: 999px; border: 0; font-family: var(--font-body); font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; transition: all .18s ease; box-shadow: var(--shadow-sm); letter-spacing: 0.01em; }
.btn:hover { background: var(--rose-deep); color: #fff; text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn.secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); box-shadow: none; }
.btn.secondary:hover { background: var(--plum); color: #fff; border-color: var(--plum); }
.btn.gold { background: var(--gold); color: var(--ink); }
.btn.gold:hover { background: var(--gold-soft); color: var(--plum-deep); }
.btn.small { padding: 7px 14px; font-size: 13px; }
.hero .btn { background: var(--gold); color: var(--ink); }
.hero .btn:hover { background: #fff; color: var(--plum-deep); }
.hero .btn.secondary { background: transparent; color: #fff; border-color: rgba(251,246,239,0.4); }
.hero .btn.secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--gold); color: var(--gold-soft); }

/* ---------- Cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 20px; box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease; }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3:first-child, .card h4:first-child { margin-top: 0; }
.card.highlight { background: linear-gradient(135deg, var(--paper) 0%, var(--cream-deep) 100%); border-color: var(--line-strong); }

/* ---------- Product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .product-grid { grid-template-columns: 1fr; } }
.product-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: all .2s ease; }
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-card .thumb { aspect-ratio: 1 / 1; display: grid; place-items: center; font-size: 72px; background: linear-gradient(135deg, var(--cream), var(--cream-deep)); border-bottom: 1px solid var(--line); }
.product-card .body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.product-card .cat { font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.product-card .name { font-family: var(--font-display); font-weight: 500; font-size: 17px; color: var(--ink); margin: 0; letter-spacing: -0.005em; }
.product-card .price { margin-top: 6px; font-size: 18px; font-weight: 700; color: var(--plum); }
.product-card .actions { margin-top: 12px; display: flex; gap: 8px; }

/* ---------- Forms ---------- */
form.stack { display: flex; flex-direction: column; gap: 16px; max-width: 440px; }
form.stack label { font-size: 13px; color: var(--ink); font-weight: 600; }
form.stack input, form.stack select, form.stack textarea { width: 100%; padding: 12px 15px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; font-family: inherit; font-size: 15px; color: var(--ink); transition: all .15s ease; }
form.stack input:focus, form.stack select:focus, form.stack textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 4px rgba(59,31,59,0.10); }

/* ---------- Messages / tags ---------- */
.msg { padding: 14px 18px; border-radius: var(--radius-sm); margin: 20px 0; font-size: 14px; border-left: 4px solid; }
.msg.error { background: #fde4ea; color: #7a1f36; border-color: #c43c58; }
.msg.ok { background: #e5f2ea; color: #1e5234; border-color: #2f7d4a; }
.msg.info { background: #fcefd8; color: #7a4a0d; border-color: var(--gold); }
.tag { display: inline-block; font-size: 10px; padding: 4px 10px; border-radius: 999px; background: var(--cream-deep); color: var(--plum-deep); border: 1px solid var(--line-strong); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }

/* ---------- Tables ---------- */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead { border-bottom: 2px solid var(--plum); }
th { text-align: left; padding: 14px 16px; color: var(--plum-deep); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; }
td { text-align: left; padding: 16px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
tr:last-child td { border-bottom: 0; }

/* ---------- Grids / stats ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } .hero { padding: 48px 28px 72px; } .hero h1 { font-size: 36px; } }
.stat .n { font-family: var(--font-display); font-size: 48px; font-weight: 400; color: var(--plum-deep); line-height: 1; }
.stat small { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); background: var(--plum-deep); color: rgba(251,246,239,0.72); margin-top: 96px; padding: 64px 32px 36px; font-size: 13px; position: relative; overflow: hidden; }
footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--rose), var(--gold), var(--plum)); }
footer .wrap { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
footer strong { color: #fff; font-family: var(--font-display); font-weight: 400; font-size: 20px; display: block; margin-bottom: 10px; letter-spacing: -0.01em; }
footer strong em { color: var(--gold-soft); font-style: italic; }
footer a { color: rgba(251,246,239,0.72); display: block; padding: 3px 0; }
footer a:hover { color: var(--gold-soft); text-decoration: none; }
footer h4 { color: var(--gold-soft); font-size: 11px; margin-bottom: 14px; }
footer .legal { max-width: 1200px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid rgba(251,246,239,0.08); color: rgba(251,246,239,0.5); font-size: 12px; text-align: center; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr 1fr; } }
