/* NARA Jewelry — based on the original Shopify "Envy" theme look */
:root {
  --text: #222;
  --muted: #777;
  --line: #e6e6e6;
  --bg: #fff;
  --bg-soft: #f7f7f7;
  --dark: #222;
  --footer: #2d2d2d;
  --line-green: #06c755;
  --font: "Figtree", system-ui, sans-serif;
  --font-head: "Poppins", "Figtree", sans-serif;
  --max: 1280px;
  --gutter: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 14px/1.6 var(--font); color: var(--text); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; letter-spacing: 1px; margin: 0 0 .6em; line-height: 1.25; }
main { min-height: 50vh; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--dark); color: #fff; border: 1px solid var(--dark); padding: 12px 26px; font: 500 14px var(--font); cursor: pointer; transition: opacity .2s; }
.btn:hover { opacity: .85; }
.btn svg { width: 18px; height: 18px; }
.btn-outline { background: transparent; color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: #fff; opacity: 1; }
.btn-outline-light { background: transparent; border-color: #fff; color: #fff; }
.btn-block { width: 100%; }
.link { text-decoration: underline; text-underline-offset: 3px; }
.center { text-align: center; margin-top: 32px; }
.muted { color: var(--muted); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: background .3s, border-color .3s; }
.header-inner { max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; row-gap: 10px; }
.logo { grid-column: 2; justify-self: center; }
.logo img { height: 64px; width: auto; }
.logo-white { display: none; }
.main-nav { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; }
.main-nav a { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; padding: 4px 0; border-bottom: 1px solid transparent; }
.main-nav a:hover { border-color: currentColor; }
.header-icons { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 6px; }
.currency-switch { display: inline-flex; border: 1px solid currentColor; border-radius: 4px; overflow: hidden; margin-right: 4px; font-size: 11.5px; font-weight: 600; }
.curr-btn { background: transparent; border: 0; color: inherit; padding: 3px 8px; cursor: pointer; font: inherit; opacity: .7; transition: opacity .2s, background .2s, color .2s; }
.curr-btn:hover { opacity: 1; }
.curr-btn.is-active { background: var(--dark); color: #fff; opacity: 1; }
.site-header.is-transparent:not(.is-scrolled) .curr-btn.is-active { background: #fff; color: #111; }
.icon-btn { background: none; border: 0; color: inherit; padding: 6px; cursor: pointer; display: inline-flex; }
.menu-btn { display: none; grid-column: 1; justify-self: start; }

/* transparent header over hero (home) */
.site-header.is-transparent { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: #fff; }
.site-header.is-transparent .logo-white { display: block; }
.site-header.is-transparent .logo-black { display: none; }
.site-header.is-transparent.is-scrolled { background: #fff; color: var(--text); border-color: var(--line); }
.site-header.is-transparent.is-scrolled .logo-white { display: none; }
.site-header.is-transparent.is-scrolled .logo-black { display: block; }
.site-header.is-scrolled .logo img { height: 0; }
.site-header.is-scrolled .header-inner { row-gap: 0; padding-top: 10px; padding-bottom: 10px; }

/* drawer (mobile menu) */
.drawer { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.4); opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer.is-open { opacity: 1; pointer-events: auto; }
.drawer-panel { background: #fff; width: min(320px, 85vw); height: 100%; padding: 16px 24px; transform: translateX(-100%); transition: transform .25s; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer ul { list-style: none; padding: 0; margin: 24px 0 0; }
.drawer li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: 2px; }

/* ---------- hero slideshow ---------- */
.hero { position: relative; height: 100vh; min-height: 560px; overflow: hidden; background: #111; color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: absolute; left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); bottom: 18%; max-width: 560px; z-index: 2; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.hero-label { font: 700 13px var(--font-head); letter-spacing: 3px; }
.hero-heading { font-size: clamp(28px, 4vw, 38px); text-transform: uppercase; letter-spacing: 2px; margin: 8px 0 6px; }
.hero-content p { margin: 0 0 22px; font-size: 15px; }
.dots { position: absolute; bottom: 20px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 2; }
.dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.5); cursor: pointer; }
.dot.is-active { background: #fff; }

/* ---------- sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 56px var(--gutter); }
.section-title { text-align: center; font-size: 20px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 32px; }
.page-title { text-align: center; padding: 48px var(--gutter) 0; }
.page-title h1 { font-size: clamp(22px, 3vw, 30px); text-transform: uppercase; letter-spacing: 3px; }
.page-title p { color: var(--muted); max-width: 640px; margin: 0 auto; }
.breadcrumb { max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter) 0; color: var(--muted); font-size: 13px; }
.breadcrumb a:hover { color: var(--text); }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { overflow: hidden; }
.tile img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s; }
.tile:hover img { transform: scale(1.04); }

/* product grid */
.product-grid { display: grid; gap: 28px 20px; }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); }
.product-card { text-align: center; }
.product-img { background: var(--bg-soft); overflow: hidden; margin-bottom: 12px; }
.product-img img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-card h3 { font: 500 13px var(--font); letter-spacing: 1px; margin: 0 0 4px; }
.price { color: var(--muted); margin: 0; }
.product-card[hidden] { display: none; }

/* shop tools */
.shop-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: #fff; padding: 8px 16px; font: 500 13px var(--font); cursor: pointer; letter-spacing: 1px; }
.chip.is-active { background: var(--dark); color: #fff; border-color: var(--dark); }
.search { border: 1px solid var(--line); padding: 10px 14px; font: 14px var(--font); min-width: 260px; }
.empty { text-align: center; color: var(--muted); }

/* product page */
.product { max-width: var(--max); margin: 0 auto; padding: 24px var(--gutter) 40px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.main-img { background: var(--bg-soft); }
.main-img img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.thumbs { display: flex; gap: 10px; margin-top: 10px; }
.thumb { width: 80px; padding: 0; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.thumb.is-active { border-color: var(--dark); }
.product-info { position: sticky; top: 140px; }
.product-info h1 { font-size: 24px; letter-spacing: 2px; }
.product-info .price { font-size: 18px; color: var(--text); margin-bottom: 20px; }
.specs { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--line); }
.specs li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; }
.specs span { color: var(--muted); min-width: 110px; }
.inquire-note { color: var(--muted); }
.inquire { display: grid; gap: 10px; margin: 16px 0 24px; }
.share { color: var(--muted); font-size: 13px; display: flex; gap: 14px; }
.share a { text-decoration: underline; }

/* lookbooks */
.lookbook-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
.lookbook-card { text-align: center; }
.lookbook-img { overflow: hidden; margin-bottom: 12px; }
.lookbook-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .6s; }
.lookbook-card:hover img { transform: scale(1.04); }
.lookbook-card h2 { font-size: 15px; text-transform: uppercase; letter-spacing: 2px; }
.masonry { columns: 3 260px; column-gap: 16px; }
.masonry img { width: 100%; margin-bottom: 16px; break-inside: avoid; }

/* content pages */
.prose { font-size: 15px; line-height: 1.8; }
.prose.narrow { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 18px; letter-spacing: 2px; margin-top: 1.8em; text-align: center; }
.prose .quote { font-style: italic; text-align: center; font-size: 17px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose a { text-decoration: underline; }
.about-words { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 40px; }
.swap { position: relative; margin: 0; }
.swap img + img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.swap:hover img + img { opacity: 1; }
.wide-img { width: 100%; margin: 40px 0; }
.img-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 20px 0; }
.img-grid img { max-width: 240px; width: auto; height: auto; object-fit: contain; border-radius: 2px; }

/* Press / What's on page — exact original Shopify 2-column layout (40% left / 60% right) */
.presspage { max-width: 1140px; margin: 0 auto; display: grid; gap: 40px; }
.pressitem { display: grid; grid-template-columns: 40% calc(60% - 30px); gap: 30px; align-items: start; }
.pressleft img, .pressleft video { width: 100%; height: auto; display: block; transition: transform .2s ease; }
.pressleft img:hover, .pressleft video:hover { transform: scale(1.03); }
.presshd h2 { font-size: 20px; font-weight: 600; letter-spacing: 1px; margin: 0 0 16px; line-height: 1.35; text-transform: uppercase; }
.presshd .pressdate { display: block; font-weight: 600; font-size: 20px; margin-top: 2px; }
.presshd span:not(.pressdate) { display: block; color: var(--text); font-size: 14px; line-height: 1.65; }
.pressitemlist { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 26px; align-items: flex-start; }
.pressitemlist img { width: 32%; max-width: 120px; height: auto; display: block; transition: transform .2s ease; }
.pressitemlist img:hover { transform: scale(1.03); }

.video { position: relative; aspect-ratio: 16/9; width: 100%; max-width: 900px; margin: 0 auto; overflow: hidden; border-radius: 3px; }
.video video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact h2 { font-size: 17px; letter-spacing: 2px; text-transform: uppercase; margin-top: 8px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 32px; }
.contact-list li { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.contact-list span { min-width: 100px; color: var(--muted); }
.store { margin-bottom: 22px; }
.store h3 { font-size: 14px; letter-spacing: 1px; margin-bottom: 2px; }
.store p { margin: 2px 0; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 500; }
.form input, .form textarea { border: 1px solid var(--line); padding: 11px 12px; font: 14px var(--font); width: 100%; }
.form input:focus, .form textarea:focus { outline: 1px solid var(--dark); }
.form label.pdpa-consent-check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 12.5px; color: #444; line-height: 1.5; cursor: pointer; }
.form label.pdpa-consent-check input[type="checkbox"] { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; accent-color: var(--dark); }

/* PDPA Cookie & Privacy Banner */
.pdpa-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(26,26,26,.96); color: #f5f5f5; padding: 14px var(--gutter); box-shadow: 0 -4px 20px rgba(0,0,0,.22); backdrop-filter: blur(6px); }
.pdpa-banner[hidden] { display: none; }
.pdpa-inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pdpa-text { margin: 0; font-size: 12.5px; line-height: 1.55; color: #e2e2e2; flex: 1; min-width: 260px; }
.pdpa-text strong { color: #fff; }
.pdpa-text a { color: #fff; text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }
.pdpa-actions { display: flex; gap: 10px; flex-shrink: 0; }
.pdpa-btn-outline { background: transparent; border: 1px solid #888; color: #eee; padding: 8px 16px; font-size: 12.5px; }
.pdpa-btn-outline:hover { border-color: #fff; color: #fff; }
.pdpa-btn-accept { background: #fff; border: 1px solid #fff; color: #111; padding: 8px 18px; font-size: 12.5px; font-weight: 600; }
.contact-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 56px; }
.contact-photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* blog */
.blog-list { max-width: 820px; }
.post-card { padding: 28px 0; border-bottom: 1px solid var(--line); }
.post-card h2 { font-size: 19px; letter-spacing: .5px; }
.post-card p { margin: 0 0 8px; }

/* instagram */
.ig-section { padding-bottom: 72px; }
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.ig-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: opacity .3s; }
.ig-grid a:hover img { opacity: .8; }
.ig-title { text-align: center; font: 700 18px var(--font); letter-spacing: 0; margin-top: 32px; }

/* footer */
.site-footer { background: var(--footer); color: #fff; padding: 56px var(--gutter) 28px; text-align: center; }
.footer-cols { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.site-footer h3 { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p { color: #ddd; }
.footer-social { display: flex; justify-content: center; gap: 18px; margin: 36px 0 12px; }
.copyright { font-size: 12px; color: #aaa !important; }

/* floating social buttons (as on the old site) */
.float-social { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: grid; gap: 8px; }
.float-social a { display: flex; align-items: center; gap: 8px; color: #fff; padding: 7px 12px; font-size: 12px; border-radius: 3px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.float-social svg { width: 18px; height: 18px; }
.float-ig { background: var(--dark); }
.float-line { background: var(--line-green); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .cols-5 { grid-template-columns: repeat(3, 1fr); }
  .cols-4 { grid-template-columns: repeat(3, 1fr); }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .main-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .logo img { height: 48px; }
  .site-header.is-scrolled .logo img { height: 40px; }
  .hero { height: 88vh; min-height: 480px; }
  .hero-content { bottom: 14%; right: var(--gutter); }
  .tiles, .cols-4, .cols-5 { grid-template-columns: repeat(2, 1fr); }
  .lookbook-grid { grid-template-columns: repeat(2, 1fr); }
  .product, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .pressitem { grid-template-columns: 1fr; gap: 20px; padding: 20px; box-shadow: 0 0 8px rgba(0,0,0,.06); border-radius: 6px; border-bottom: 0; }
  .presshd h2 { font-size: 17px; }
  .pressitemlist img { width: 96px; max-width: 96px; }
  .product-info { position: static; }
  .about-words { grid-template-columns: repeat(2, 1fr); }
  .contact-photos { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .search { min-width: 0; width: 100%; }
  .section { padding: 40px var(--gutter); }
  .float-social { right: 12px; bottom: 12px; }
  .float-social span { display: none; }
}
