/* Unique Style Boutique — vintage, elegant, curated.
   Palette: ivory, warm gold, deep espresso. Serif display + clean sans body. */
:root {
  --ivory: #faf7f0;
  --cream: #f3ecdd;
  --gold: #b08d3e;
  --gold-deep: #8f6f2a;
  --espresso: #2b2118;
  --muted: #7a6a55;
  --card: #fffdf8;
  --line: #e7dcc4;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--ivory); color: var(--espresso);
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  line-height: 1.55;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, .serif { font-family: Georgia, "Playfair Display", "Times New Roman", serif; font-weight: 600; letter-spacing: .01em; }
a { color: var(--gold-deep); }
a:hover { color: var(--espresso); }

/* Header */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--espresso); }
.monogram { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.brand-name { font-family: Georgia, serif; font-size: 1.35rem; letter-spacing: .04em; }
.site-nav { display: flex; align-items: center; gap: 16px; }
.site-nav a { text-decoration: none; color: var(--espresso); font-size: .95rem; }
.site-nav a:hover { color: var(--gold-deep); }
.hello { color: var(--muted); font-size: .9rem; }
.inline { display: inline; margin: 0; }
.linklike { background: none; border: none; color: var(--gold-deep); cursor: pointer; font-size: .95rem; padding: 0; }

/* Buttons */
.btn {
  display: inline-block; background: var(--gold); color: #fff; border: none;
  padding: 10px 22px; border-radius: 999px; font-size: 1rem; cursor: pointer;
  text-decoration: none; font-family: inherit;
}
.btn:hover { background: var(--gold-deep); color: #fff; }
.btn.small { padding: 6px 16px; font-size: .88rem; }
.btn.ghost { background: transparent; color: var(--gold-deep); border: 1px solid var(--gold); }
.btn.ghost:hover { background: var(--cream); color: var(--espresso); }
.btn.danger { background: #a33; }

/* Hero (light, demo-style: text left, tilted photo collage right) */
.hero { padding: 3.4rem 0 2.6rem; }
.hero-logo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 1.1rem; box-shadow: 0 6px 18px rgba(43,33,24,.15); border: 2px solid var(--gold); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1rem; }
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--gold); display: inline-block; }
.hero h1 { font-size: 2.6rem; margin: 0 0 8px; }
.hero h1 em { font-style: italic; color: var(--gold-deep); }
.hero p.lede { font-size: 1.14rem; color: var(--muted); max-width: 34rem; margin: 0 0 4px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }
.hero-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-collage figure { margin: 0; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(43,33,24,.12); background: var(--card); position: relative; }
.hero-collage figure:nth-child(1) { transform: rotate(-2deg); grid-row: span 2; }
.hero-collage figure:nth-child(2) { transform: rotate(1.6deg); margin-top: 22px; }
.hero-collage figure:nth-child(3) { transform: rotate(-1.2deg); }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; display: block; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 2.2rem; } .hero-collage { max-width: 560px; } }

/* Clickable showcase tiles */
.showcase > a { display: block; }
.showcase > a > .showcase-item { height: 100%; }
.showcase > a:hover figcaption { color: #ffe9b0; }

/* Featured strip (paid placement) */
.section-title { font-family: Georgia, "Times New Roman", serif; margin: 6px 0 4px; font-size: 1.6rem; }
.featured-note { font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif; font-size: .8rem; color: var(--muted); font-weight: 400; margin-left: 8px; }
.card .thumb { position: relative; }
.badge-featured { position: absolute; top: 10px; left: 10px; background: var(--gold); color: #fffdf6; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }

/* Listing grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; padding: 10px 0 60px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; display: block; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(43,33,24,.12); color: inherit; }
.card .thumb { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: var(--cream); overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 14px 16px; }
.card-body h3 { margin: 0 0 4px; font-size: 1.05rem; }
.card .price { color: var(--gold-deep); font-weight: 700; font-size: 1.1rem; }
.card .meta { color: var(--muted); font-size: .85rem; }

/* Product page */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding: 30px 0 60px; }
@media (max-width: 760px) { .product { grid-template-columns: 1fr; } }
.gallery .stage {
  aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: var(--cream); position: relative;
}
.gallery .stage img { max-width: 88%; max-height: 88%; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(43,33,24,.25)); }
.gallery .stage.blur-bg img:first-child { position: absolute; inset: -20px; max-width: none; max-height: none; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(18px) brightness(.92); }
.gallery .stage.blur-bg img:last-child { position: relative; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumbs button { border: 2px solid transparent; border-radius: 8px; padding: 0; cursor: pointer; background: var(--cream); width: 72px; height: 72px; overflow: hidden; }
.thumbs button.active { border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { margin-top: 0; font-size: 2rem; }
.product-info .price { font-size: 1.6rem; color: var(--gold-deep); font-weight: 700; }
.attr { display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; margin: 18px 0; font-size: .95rem; }
.attr dt { color: var(--muted); }
.attr dd { margin: 0; }
.desc { white-space: pre-wrap; }

/* Forms */
.form { max-width: 560px; margin: 10px 0 40px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .92rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 1rem; font-family: inherit; background: #fff;
}
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { color: var(--muted); font-size: .85rem; margin-top: 4px; }
.alert { background: #fdecea; border: 1px solid #e8b4ae; color: #8c2f26; padding: 12px 16px; border-radius: 8px; margin: 16px 0; }
.notice { background: #eef6ee; border: 1px solid #bcd8bc; color: #2f5d33; padding: 12px 16px; border-radius: 8px; margin: 16px 0; }

/* Backdrop picker */
.backdrop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.backdrop-opt { border: 2px solid var(--line); border-radius: 10px; overflow: hidden; cursor: pointer; background: #fff; padding: 0; text-align: left; font-family: inherit; }
.backdrop-opt.selected { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.backdrop-opt .swatch { height: 84px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.backdrop-opt .lbl { padding: 8px 10px; font-size: .85rem; }
.backdrop-opt .lbl b { display: block; }
.backdrop-opt .lbl span { color: var(--muted); }

/* Tables */
table.data { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 10px; overflow: hidden; margin: 12px 0 40px; font-size: .93rem; }
table.data th, table.data td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
table.data th { background: var(--cream); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; background: var(--cream); border: 1px solid var(--line); }
.badge.green { background: #e7f2e7; border-color: #bcd8bc; color: #2f5d33; }
.badge.gold { background: #f7ecd4; border-color: var(--gold); color: var(--gold-deep); }

/* Admin */
.admin-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin: 16px 0 30px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.stat b { font-size: 1.5rem; display: block; font-family: Georgia, serif; }
.stat span { color: var(--muted); font-size: .85rem; }

/* Cart / checkout */
.cart-row { display: flex; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin-bottom: 12px; }
.cart-row img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; background: var(--cream); }
.totals { max-width: 380px; margin-left: auto; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.totals .row { display: flex; justify-content: space-between; margin-bottom: 8px; }
.totals .grand { font-weight: 700; font-size: 1.15rem; border-top: 1px solid var(--line); padding-top: 10px; }

.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 22px 0; color: var(--muted); font-size: .88rem; text-align: center; }
.page-head { display: flex; align-items: center; justify-content: space-between; margin: 26px 0 6px; }
.photo-strip { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0; }
.photo-strip .ph { position: relative; width: 96px; height: 96px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--cream); }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }
.photo-strip button { position: absolute; top: 2px; right: 2px; background: rgba(0,0,0,.55); color: #fff; border: none; border-radius: 6px; cursor: pointer; font-size: .75rem; padding: 2px 6px; }

/* Homepage showcase — decorative boutique imagery (not product listings) */
.showcase { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr 1fr; gap: 16px; padding: 6px 0 46px; }
.showcase-item { position: relative; margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 5; }
.showcase-large { aspect-ratio: auto; }
.showcase-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.showcase-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; color: #fffdf6; font-size: 1.05rem; letter-spacing: .04em; background: linear-gradient(transparent, rgba(30,22,14,.72)); }
@media (max-width: 720px) { .showcase { grid-template-columns: 1fr; } .showcase-item, .showcase-large { aspect-ratio: 4 / 3; } }

/* Spotlight — single premium featured card */
.spotlight { padding: 8px 0 40px; }
.spotlight-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--card); border: 1px solid var(--gold); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 12px 32px rgba(176,141,62,.16); }
.spotlight-card:hover { color: inherit; }
.spotlight-photo { position: relative; aspect-ratio: 4 / 3; background: var(--cream); }
.spotlight-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spotlight-body { padding: 34px 36px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.spotlight-kicker { font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.spotlight-body h2 { font-family: Georgia, "Times New Roman", serif; font-size: 2rem; margin: 0 0 8px; }
.spotlight-body .price { color: var(--gold-deep); font-weight: 700; font-size: 1.35rem; margin-bottom: 6px; }
.spotlight-body .meta { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.spotlight-desc { color: var(--espresso); margin: 0 0 18px; }
.spotlight-cta { display: inline-block; background: var(--gold); color: #fffdf6; font-weight: 700; padding: 10px 22px; border-radius: 999px; }
@media (max-width: 720px) { .spotlight-card { grid-template-columns: 1fr; } .spotlight-body { padding: 22px; } .spotlight-body h2 { font-size: 1.5rem; } }

/* Search */
.searchbar { display: flex; gap: 10px; margin: 6px 0 26px; }
.searchbar input[type="search"] { flex: 1; padding: 12px 18px; font-size: 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fffdf8; color: var(--espresso); font-family: inherit; }
.searchbar input[type="search"]:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.searchbar button { background: var(--gold); color: #fffdf6; border: none; border-radius: 999px; padding: 0 28px; font-size: 1rem; font-weight: 700; cursor: pointer; font-family: inherit; }
.searchbar button:hover { background: var(--gold-deep); }
.searchbar.small { max-width: 520px; margin: 12px 0 16px; }
.searchbar.small input[type="search"] { padding: 9px 15px; font-size: .92rem; }
.searchbar.small button { padding: 0 20px; font-size: .92rem; }
.search-meta { color: var(--muted); font-size: .9rem; margin: 0 0 14px; }
.search-meta a { color: var(--gold-deep); }
