/* Chroma — soft radiant beauty. Blush ground, lavender glow, serif display. */
* { box-sizing: border-box; margin: 0; }
body { font-family: "Nunito Sans", system-ui, sans-serif; color: #3B1F33; background: #FDF2F8; line-height: 1.65; }
h1, h2, h3, .brand span, .card-title { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; letter-spacing: 0; color: #2E1728; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.announcement { background: linear-gradient(90deg, var(--accent), #8B5CF6); color: #fff; text-align: center; font-size: 13px; font-weight: 600; padding: 7px 16px; }
.site-header { background: rgba(253, 242, 248, 0.94); backdrop-filter: blur(6px); border-bottom: 1px solid #FBCFE8; position: sticky; top: 0; z-index: 10; }
.header-inner { max-width: 1120px; margin: 0 auto; padding: 16px 20px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 24px; }
.brand img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid #FBCFE8; }
.search { flex: 1; min-width: 180px; }
.search input { width: 100%; padding: 11px 18px; border: 1px solid #FBCFE8; border-radius: 999px; font-size: 14px; background: #fff; font-family: inherit; }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.14); }
.header-links { display: flex; gap: 18px; font-size: 14px; font-weight: 700; }
.header-links a:hover { color: var(--accent); }

.hero { background: linear-gradient(135deg, #FDF2F8 0%, #F5F3FF 55%, #FDF2F8 100%); background-size: cover; background-position: center; border-bottom: 1px solid #FBCFE8; }
.hero-inner { max-width: 1120px; margin: 0 auto; padding: 92px 20px; text-align: center; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); margin-bottom: 12px; }
.hero h1, .hero p { color: inherit; }
.hero p { color: #86527A; font-size: 16px; margin-bottom: 26px; max-width: 52ch; margin-inline: auto; }
.btn { display: inline-block; background: linear-gradient(90deg, var(--accent), #8B5CF6); color: #fff; font-weight: 700; font-size: 14px; padding: 13px 30px; border-radius: 999px; border: none; cursor: pointer; box-shadow: 0 6px 18px rgba(236, 72, 153, 0.28); transition: transform 0.15s, box-shadow 0.15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(236, 72, 153, 0.34); }
main .btn { color: #fff; }

.grid-section, .pdp, .prose-page { max-width: 1120px; margin: 0 auto; padding: 48px 20px; }
.grid-section h1, .grid-section h2 { font-size: 30px; margin-bottom: 8px; }
.muted { color: #A8759B; font-size: 13px; margin-bottom: 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }
.card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 2px 12px rgba(120, 50, 100, 0.07); transition: transform 0.18s, box-shadow 0.18s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(139, 92, 246, 0.16); }
.card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.card-title { font-size: 17px; padding: 12px 16px 2px; }
.card-price { font-size: 15px; font-weight: 700; color: var(--accent); padding: 2px 16px 14px; }
.card-price s { color: #C9A2BC; font-weight: 400; font-size: 12px; margin-left: 6px; }
.card p { padding: 0 16px 12px; font-size: 13px; color: #86527A; }
.pager { display: flex; gap: 12px; margin-top: 28px; justify-content: center; }

.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .pdp { grid-template-columns: 1fr; } }
.pdp-gallery img { border-radius: 24px; margin-bottom: 14px; }
.pdp-info h1 { font-size: 36px; margin-bottom: 10px; }
.pdp-price { font-size: 24px; font-weight: 700; color: var(--accent); margin-bottom: 20px; }
.pdp-price s { color: #C9A2BC; font-weight: 400; font-size: 16px; margin-left: 8px; }
.pdp-description { margin-top: 24px; font-size: 15px; color: #5C3A52; }
.sold-out { color: #B3372B; font-weight: 700; }

.prose-page { max-width: 740px; }
.prose-page .cover { border-radius: 24px; margin-bottom: 22px; }
.prose-page h1 { font-size: 34px; margin: 6px 0 18px; }
.prose-page .content { font-size: 16px; color: #5C3A52; }
.prose-page .content p { margin-bottom: 14px; }

.site-footer { background: #2E1728; color: #E5C8DB; margin-top: 64px; }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 46px 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.site-footer h4 { color: #fff; font-family: "DM Serif Display", serif; font-size: 18px; font-weight: 400; margin-bottom: 10px; }
.site-footer p { font-size: 13px; }
.powered { text-align: center; font-size: 12px; color: #A8759B; padding: 14px; border-top: 1px solid #47253C; }

/* Cart */
.cart-lines { display: flex; flex-direction: column; gap: 12px; margin: 18px 0; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto auto auto; align-items: center; gap: 14px; padding: 12px; background: rgba(127,127,127,0.06); border-radius: 10px; }
.cart-line img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.cart-line-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cart-line-info a { font-weight: 600; font-size: 14px; }
.cart-qty { display: flex; align-items: center; gap: 10px; }
.cart-qty button { width: 30px; height: 30px; border: 1px solid currentColor; background: transparent; color: inherit; border-radius: 6px; cursor: pointer; font-size: 15px; }
.cart-remove { border: none; background: transparent; color: inherit; opacity: 0.5; cursor: pointer; font-size: 14px; }
.cart-remove:hover { opacity: 1; }
.cart-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid rgba(127,127,127,0.25); }
@media (max-width: 600px) { .cart-line { grid-template-columns: 48px 1fr auto; } .cart-line strong, .cart-remove { grid-column: auto; } }

/* Product carousel (Featured products: layout = carousel) */
.products-carousel { display: flex !important; grid-template-columns: none !important; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 8px; padding-bottom: 10px; -webkit-overflow-scrolling: touch; }
.products-carousel > * { flex: 0 0 calc(100% / var(--carousel-cols, 4) - 14px); min-width: 190px; scroll-snap-align: start; }
@media (max-width: 640px) { .grid[style*="grid-template-columns"] { grid-template-columns: repeat(2, 1fr) !important; } }

/* Navigation menu dropdowns */
.nav-item { position: relative; display: inline-block; }
.nav-caret { font-size: 0.6em; margin-left: 4px; opacity: 0.6; }
.nav-dropdown { position: absolute; top: 100%; left: 0; min-width: 180px; background: #fff; color: #111;
  border: 1px solid rgba(0,0,0,.08); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.1);
  padding: 8px 0; display: none; z-index: 50; }
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown { display: block; }
.nav-dropdown a { display: block; padding: 8px 16px; white-space: nowrap; color: #111; }
.nav-dropdown a:hover { background: rgba(0,0,0,.05); }

/* Back-in-stock form */
.restock-form { display: flex; gap: 8px; margin: 12px 0; flex-wrap: wrap; }
.restock-form input[type="email"] { flex: 1; min-width: 180px; padding: 10px 12px; border: 1px solid rgba(0,0,0,.15); border-radius: 8px; font: inherit; }
.restock-ok { font-weight: 600; margin: 12px 0; }

/* Collection toolbar */
.collection-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sort-select { padding: 8px 12px; border: 1px solid rgba(0,0,0,.15); border-radius: 8px; font: inherit; background: #fff; color: #111; }

/* Product specifications */
.pdp-specs { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.9em; }
.pdp-specs th { text-align: left; font-weight: 600; padding: 8px 12px 8px 0; opacity: 0.7; width: 35%; vertical-align: top; }
.pdp-specs td { padding: 8px 0; }
.pdp-specs tr { border-bottom: 1px solid rgba(0,0,0,.06); }

/* Flash sale banner */
.flash-banner { display: inline-block; margin: 10px 0; padding: 8px 14px; background: #dc2626; color: #fff; border-radius: 8px; font-weight: 700; font-size: 0.85em; }
.flash-banner span { font-variant-numeric: tabular-nums; }

/* Floating WhatsApp button */
.wa-float { position: fixed; bottom: 22px; right: 22px; z-index: 60; width: 52px; height: 52px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); transition: transform .15s; }
.wa-float:hover { transform: scale(1.07); }

/* Personalization field */
.personalization-field { margin: 12px 0; }
.personalization-field label { display: block; font-size: 0.85em; font-weight: 600; margin-bottom: 4px; }
.personalization-field input { width: 100%; padding: 10px 12px; border: 1px solid rgba(0,0,0,.15); border-radius: 8px; font: inherit; }

/* Social links (theme settings → Social media) */
.nk-social { display: flex; gap: 12px; list-style: none; padding: 0; margin: 14px 0 0; }
.nk-social a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  border-radius: 999px; color: inherit; opacity: .75; transition: opacity .15s, transform .15s; }
.nk-social a:hover { opacity: 1; transform: translateY(-1px); }
