/* THEME 26 — Handcrafted Mirror Art
   Vibe: Artisanal Decorated Mirror Studio — Warm Porcelain, Warm Gold Leaf,
   Terracotta/Blush Rose, Pale Glass Reflection Blue, Shell & Floral Embellishment Motif. */

:root {
  --ink: #2b2325;
  --ink-soft: #635356;
  --paper: #fbf9f5;          /* Warm alabaster porcelain */
  --paper-alt: #f3ede4;      /* Soft artisan linen */
  --gold-leaf: #cda846;      /* Vintage champagne gold detail */
  --blush-rose: #dfab94;     /* Terracotta & shell rose tone */
  --glass-tint: #e4eff3;     /* Soft icy reflective glass hue */
  --border: #e4dad0;
  --radius: 12px;            /* Softly rounded handcrafted edges */
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

.theme-tag {
  position: fixed;
  bottom: 12px;
  right: 12px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.72rem;
  padding: 6px 14px;
  border-radius: 999px;
  z-index: 50;
  border: 1px solid var(--gold-leaf);
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 {
  font-family: "Italiana", Georgia, serif;
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 16px;
  color: var(--ink);
  letter-spacing: 0.02em;
}

p { margin: 0 0 16px; color: var(--ink-soft); }

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--gold-leaf);
  box-shadow: 0 8px 18px rgba(43, 35, 37, 0.2);
}
.btn-primary:hover {
  background: #3d3235;
}
.btn-whatsapp {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(43, 35, 37, 0.06);
}
.btn-whatsapp:hover {
  border-color: var(--gold-leaf);
}

/* Embellished Bead & Shell Pattern Ribbon Line */
.embellished-border-strip {
  height: 16px;
  background-image:
    radial-gradient(circle at 12px 8px, var(--gold-leaf) 0 5px, transparent 5.5px 16px),
    radial-gradient(circle at 28px 8px, var(--blush-rose) 0 4px, transparent 4.5px 16px);
  background-size: 32px 16px;
  background-color: var(--paper-alt);
}

/* Header, brand, and nav chrome now live in css/category-nav.css, shared
   by every category page so they're identical everywhere. */

/* Fixed Decorative Oval Corner Motifs */
.decor-motif { pointer-events: none; }
.decor-motif svg { display: block; width: 100%; height: 100%; }
.corner-motif {
  position: fixed;
  width: 130px;
  height: 130px;
  opacity: 0.8;
  z-index: 0;
}
.corner-motif.top-left { top: -30px; left: -30px; }
.corner-motif.bottom-right { bottom: -30px; right: -30px; transform: rotate(180deg); }

/* Hero — Handcrafted Mirror Studio Atmosphere */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0px 0 53px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(228, 239, 243, 0.6) 0%, transparent 60%),
    radial-gradient(circle at 15% 85%, rgba(223, 171, 148, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(205, 168, 70, 0.12) 0%, transparent 45%),
    var(--paper-alt);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  height: 401px;
}
.hero .container { position: relative; z-index: 1; }
.hero-kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-leaf);
  margin-bottom: 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero h1 { font-size: 2.6rem; color: var(--ink); }
.hero-sub { font-size: 1.05rem; margin: 0 auto 30px; max-width: 460px; color: var(--ink-soft); }
.hero-icon {
  display: block;
  margin: 0 auto 16px;
  width: 56px;
  height: 56px;
  opacity: 0.9;
}
.hero-icon svg { width: 100%; height: 100%; }

.about { position: relative; overflow: hidden; padding: 56px 0; text-align: center; display: flex; flex-direction: column; justify-content: center; min-height: 320px; }
.about .container { max-width: 640px; position: relative; z-index: 1; }

/* Products Section */
.products { position: relative; overflow: hidden; padding: 20px 0 72px; }
.mirror-frame-bg {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
}
.mirror-frame-bg svg { width: 100%; height: 100%; }
.products h2 { text-align: center; margin-bottom: 8px; font-size: 2.3rem; position: relative; z-index: 1; }
.product-search-wrap { display: flex; justify-content: center; margin: 16px 0 12px; position: relative; z-index: 1; }
.product-search {
  width: 100%; max-width: 360px; padding: 10px 18px; border-radius: 999px;
  border: 2px solid var(--border); background: var(--paper); color: var(--ink); font-family: inherit; font-size: 0.92rem;
}
.product-search:focus { border-color: var(--gold-leaf); }
.no-results { text-align: center; color: var(--ink-soft); margin: -8px 0 24px; position: relative; z-index: 1; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

.product-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 22px rgba(43, 35, 37, 0.06);
  position: relative;
}
.product-card:hover { transform: translateY(-3px); }

/* Hand-Embellished Frame Pin Badge (Corner Highlight) */
.product-card::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 14px;
  height: 18px;
  background: var(--blush-rose);
  border: 2px solid var(--gold-leaf);
  border-radius: 50%;
  z-index: 2;
}

.product-image { aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.product-image.placeholder {
  background: repeating-linear-gradient(
    135deg, var(--paper-alt), var(--paper-alt) 10px, #efdcb8 10px, #efdcb8 20px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 0.8rem;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; display: none; }
.product-image img.loaded { display: block; }
.product-image:not(.placeholder) span { display: none; }

.product-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.15rem; margin-bottom: 6px; font-family: "Italiana", serif; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.product-tags .tag {
  background: var(--paper-alt);
  color: var(--ink);
  border: 1px solid var(--border);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}
.product-desc { font-size: 0.88rem; flex: 1; margin-bottom: 16px; }

.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-price {
  font-weight: 700;
  color: var(--ink);
  font-family: "Italiana", serif;
  font-size: 1.05rem;
}
.product-footer .btn { padding: 9px 18px; font-size: 0.78rem; white-space: nowrap; }

/* Custom CTA */
.custom-cta { position: relative; overflow: hidden; padding: 60px 0 88px; text-align: center; background: var(--paper-alt); border-top: 1px solid var(--border); display: flex; flex-direction: column; justify-content: center; min-height: 345px; }
.custom-cta .container { max-width: 600px; position: relative; z-index: 1; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0; background: var(--paper); display: flex; flex-direction: column; justify-content: center; min-height: 200px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; }
.footer-links a:hover { color: var(--gold-leaf); }
.footer-contact { display: flex; gap: 6px; align-items: center; margin: 0; font-size: 0.92rem; color: var(--ink-soft); }
.footer-contact a { color: var(--ink-soft); text-decoration: none; }
.footer-contact a:hover { color: var(--gold-leaf); }
.footer-policies { font-size: 0.8rem; color: var(--ink-soft); margin: 0 0 4px; }
.footer-note { font-size: 0.8rem; margin: 0; }

@media (max-width: 600px) {
  .embellished-border-strip { height: 10px; }
  .hero { height: 250px; padding: 8px 0 14px; }
  .hero-icon { width: 26px; height: 26px; margin-bottom: 6px; }
  .hero-kicker { font-size: 0.68rem; margin-bottom: 6px; }
  .hero h1 { font-size: 1.5rem; }
  .hero-sub { font-size: 0.82rem; margin: 0 auto 14px; }
  .mirror-frame-bg { width: 280px; height: 280px; }
  .corner-motif.bottom-right { opacity: 0.35; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
  .product-footer .btn { align-self: stretch; text-align: center; font-size: 0.72rem; padding: 9px 8px; }
  .product-image { aspect-ratio: 1 / 1; }
  .product-body { padding: 10px; }
  .product-body h3 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    line-height: 1.25;
    min-height: 2.4rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .product-tags { display: none; }
  .product-tags .tag { font-size: 0.6rem; padding: 2px 8px; }
  .product-desc {
    font-size: 0.76rem;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .product-price { font-size: 0.95rem; }
}