/* ══════════════════════════════════════════════
   COLOURFUL ME
   Colours and fonts are all set here — change them in one place.
   ══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --font-head: 'Gilda Display', 'Bodoni 72', Georgia, serif;
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --bg: #F7F1FC;
  --surface: #FFFFFF;
  --surface2: #EADDF4;
  --tint: #F1E8F8;
  --border: #E2D4EE;
  --border2: #C6B1D8;
  --text: #6E5084;
  --text-2: #7F6393;
  --text-3: #9F87B1;
  --accent: #6E5084;          /* Colourful ME plum */
  --accent-hover: #5A3F6E;
  --accent-fg: #FFFFFF;
  --teal: #2E9C99;
  --teal-bg: #E6F5F4;
  --ombre: linear-gradient(90deg, #6E5084, #6E5084);
  --card: #EADDF4;
  --red: #B42318;
  --red-bg: #FEF3F2;
  --green: #12805C;
  --green-bg: #ECFDF3;
  --amber: #93370D;
  --amber-bg: #FFFAEB;
  --blue: #1D4ED8;
  --blue-bg: #EFF6FF;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 3px rgba(46,34,64,0.08), 0 1px 2px rgba(46,34,64,0.04);
  --shadow-md: 0 8px 28px rgba(46,34,64,0.12), 0 2px 6px rgba(46,34,64,0.06);
  --max: 1520px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.6; -webkit-text-size-adjust: 100%; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

h1, h2, h3, .site-title, .section-title, .footer-brand, .footer-heading, .btn, .header-nav a {
  font-family: var(--font-head);
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.muted { color: var(--text-2); font-size: 14px; }
.text-link { display: inline-block; margin-top: 1rem; font-size: 14px; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── HEADER ── */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.97); backdrop-filter: blur(6px); border-bottom: 1px solid var(--border); }
.announcement .ann-long { display: none; }
@media (min-width: 760px) { .announcement .ann-long { display: inline; } }
.announcement { background: var(--ombre); color: #fff; text-align: center; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; padding: 6px 1rem; font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,0.15); }
.header-inner { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.header-nav { display: none; gap: 1.6rem; }
.header-nav a { font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .15s, color .15s; }
.header-nav a:hover, .header-nav a.active { border-bottom-color: var(--accent); color: var(--accent); }
.site-title { font-size: 26px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--text); text-decoration: none; white-space: nowrap; text-align: center; }
.site-title:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.header-link { display: none; background: none; border: none; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--text); text-decoration: none; cursor: pointer; padding: 6px 8px; font-family: var(--font-head); }
.header-link:hover { color: var(--accent); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: var(--text); background: none; border: none; cursor: pointer; transition: background .15s, color .15s; }
.icon-btn:hover { background: var(--surface2); color: var(--accent); }
.icon-btn.social { display: none; }
.menu-btn { justify-self: start; }
.cart-btn { background: var(--accent); color: #fff; border: none; border-radius: 100px; padding: 9px 16px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; font-family: var(--font-head); cursor: pointer; white-space: nowrap; transition: background .15s; }
.cart-btn:hover { background: var(--accent-hover); }
@media (min-width: 960px) {
  .header-nav { display: flex; }
  .menu-btn { display: none; }
  .header-link, .icon-btn.social { display: inline-flex; }
  body:not(.signed-in) .header-link.auth-in, body.signed-in .header-link.auth-out, body:not(.is-admin) .header-link.admin-only { display: none; }
}
@media (max-width: 959px) { .site-title { font-size: 20px; letter-spacing: 3px; } .header-inner { height: 64px; } }
@media (max-width: 400px) { .site-title { font-size: 17px; letter-spacing: 2px; } .cart-btn { padding: 8px 12px; } }

.mobile-menu { display: none; flex-direction: column; padding: .5rem 1.25rem 1.25rem; border-top: 1px solid var(--border); background: #fff; }
.mobile-menu.open { display: flex; }
.mobile-menu a, .mobile-menu button { display: block; text-align: left; background: none; border: none; padding: 12px 0; font-size: 15px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text); text-decoration: none; font-family: var(--font-head); cursor: pointer; border-bottom: 1px solid var(--border); }
.mobile-menu a.active { color: var(--accent); }
.mobile-menu-divider { height: 8px; }
.mobile-menu-social { display: flex; gap: 14px; padding-top: 14px; }
.mobile-menu-social a { border: none; padding: 4px; }
body:not(.signed-in) .mobile-menu .auth-in, body.signed-in .mobile-menu .auth-out, body:not(.is-admin) .mobile-menu .admin-only { display: none; }
@media (min-width: 960px) { .mobile-menu, .mobile-menu.open { display: none; } }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; background: var(--accent); color: var(--accent-fg); border: 1.5px solid var(--accent); border-radius: 100px; padding: 13px 28px; font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; touch-action: manipulation; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn:disabled { background: var(--border2); border-color: var(--border2); color: #fff; cursor: not-allowed; }
.btn.outline { background: transparent; color: var(--accent); }
.btn.outline:hover { background: var(--surface2); }
.btn.white { background: #fff; color: var(--text); border-color: #fff; }
.btn.white:hover { background: var(--surface2); }
.btn.sm { width: auto; padding: 8px 18px; font-size: 12px; letter-spacing: 1.2px; }
.btn.inline { width: auto; }
.link-btn { background: none; border: none; color: var(--text-2); font-size: 13px; text-decoration: underline; cursor: pointer; margin-top: 12px; display: block; width: 100%; font-family: inherit; }
.link-btn:hover { color: var(--accent); }

/* ── HERO ── */
.hero { position: relative; min-height: 72vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ombre); }
.hero img.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,10,35,0) 35%, rgba(20,10,35,0.55) 100%); }
.hero-content { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 3rem 1.25rem; color: #fff; }
.hero h1 { font-size: clamp(30px, 5vw, 56px); font-weight: 300; line-height: 1.15; letter-spacing: 1px; max-width: 14em; margin-bottom: 1.5rem; text-shadow: 0 2px 12px rgba(0,0,0,0.25); }
.hero .btn { width: auto; }

.gif-banner { width: 100%; background: var(--tint); }
.gif-banner img { width: 100%; height: auto; max-height: 520px; object-fit: cover; }

/* ── SECTIONS ── */
.section { padding: 4rem 0; }
.section.tint { background: var(--tint); }
.section-header { text-align: center; margin-bottom: 2.25rem; }
.section-title { font-size: clamp(24px, 3vw, 32px); font-weight: 400; letter-spacing: 4px; text-transform: uppercase; }
.section-title::after { content: ''; display: block; width: 72px; height: 4px; border-radius: 4px; margin: 14px auto 0; background: var(--ombre); }
.section-sub { color: var(--text-2); margin-top: 1rem; }
.intro { max-width: 760px; margin: 0 auto; text-align: center; }
.intro p { color: var(--text-2); font-size: 17px; line-height: 1.8; margin-bottom: 1.1rem; }
.center { text-align: center; }
.center .btn { width: auto; }

/* ── PRODUCT GRID ── */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; }
@media (min-width: 760px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem 1.75rem; } }
.product-card { position: relative; text-align: center; }
.product-card-media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--surface2); }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .35s ease; }
.product-card-media img.alt { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .product-card-media img { transform: scale(1.04); }
.product-card:hover .product-card-media img.alt { opacity: 1; }
.product-card-media.no-img { background: var(--ombre); }
.product-card-media.no-img img { display: none; }
.badge { position: absolute; top: 10px; left: 10px; background: #fff; color: var(--text); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; font-weight: 700; }
.quick-view-btn { position: absolute; left: 50%; transform: translate(-50%, 8px); top: calc(100% - 7.2rem); opacity: 0; background: rgba(255,255,255,0.95); color: var(--text); border: none; border-radius: 100px; padding: 9px 18px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-family: var(--font-head); cursor: pointer; transition: opacity .2s, transform .2s; box-shadow: var(--shadow); white-space: nowrap; }
.product-card:hover .quick-view-btn, .quick-view-btn:focus-visible { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .quick-view-btn { display: none; } }
.product-card-name { display: block; margin-top: 1rem; font-family: var(--font-head); font-size: 16px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text); text-decoration: none; }
.product-card-name:hover { color: var(--accent); }
.product-card-price { color: var(--text-2); font-size: 15px; margin-top: 2px; }

/* ── PRODUCT DETAIL (product page and quick view) ── */
.product-detail { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 760px) { .product-detail { grid-template-columns: 1.1fr 1fr; gap: 3rem; } }
.product-gallery-main { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--surface2); }
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-main.no-img { background: var(--ombre); }
.product-gallery-main.no-img img { display: none; }
.product-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.product-thumbs button { width: 64px; height: 64px; padding: 0; border-radius: 8px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: var(--surface2); }
.product-thumbs button.active { border-color: var(--accent); }
.product-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-title { font-size: clamp(24px, 3vw, 34px); font-weight: 400; letter-spacing: 2px; text-transform: uppercase; margin-bottom: .5rem; }
.product-price { font-size: 22px; color: var(--accent); font-weight: 700; margin-bottom: 1.5rem; }
.product-info select { margin-bottom: 1rem; }
.product-info .qty-select { max-width: 110px; }
.product-info .btn { margin: .25rem 0 1.5rem; }
.product-size-note { color: var(--text-2); margin-bottom: 1rem; }
.product-desc p { color: var(--text-2); margin-bottom: .9rem; }
.breadcrumb { font-size: 13px; color: var(--text-3); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--text-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* ── INSTAGRAM ── */
.instagram-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 600px) { .instagram-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; } }
.instagram-post { aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface2); display: flex; align-items: center; justify-content: center; color: #fff; transition: transform .2s, box-shadow .2s; }
.instagram-post:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.instagram-post img { width: 100%; height: 100%; object-fit: cover; }
.instagram-post.placeholder svg { width: 28px; height: 28px; opacity: .85; }
.instagram-post.p0 { background: linear-gradient(135deg, #8E6CCF, #6F8FE0); }
.instagram-post.p1 { background: linear-gradient(135deg, #6F8FE0, #4FB7C8); }
.instagram-post.p2 { background: linear-gradient(135deg, #4FB7C8, #6FD0AE); }
.instagram-post.p3 { background: linear-gradient(135deg, #6FD0AE, #F2D27A); }
.instagram-post.p4 { background: linear-gradient(135deg, #F2D27A, #8E6CCF); }
.instagram-cta { text-align: center; margin-top: 1.25rem; font-size: 14px; color: var(--text-2); }
.instagram-cta a { font-weight: 700; text-decoration: none; }

/* ── CONTENT PAGES (how to, FAQ, contact, policies) ── */
.page-hero { background: var(--tint); border-bottom: 1px solid var(--border); text-align: center; padding: 3.5rem 1.25rem 3rem; }
.page-hero h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 400; letter-spacing: 4px; text-transform: uppercase; }
.page-hero h1::after { content: ''; display: block; width: 72px; height: 4px; border-radius: 4px; margin: 14px auto 0; background: var(--ombre); }
.page-hero p { color: var(--text-2); margin-top: .9rem; }
.page-body { max-width: 820px; margin: 0 auto; padding: 3rem 1.25rem 4rem; }
.page-body h2 { font-size: 20px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; margin: 2.25rem 0 .75rem; }
.page-body h2:first-child { margin-top: 0; }
.page-body h3 { font-size: 16px; letter-spacing: .5px; font-weight: 600; margin: 1.5rem 0 .4rem; }
.page-body p, .page-body li { color: var(--text-2); margin-bottom: .9rem; }
.page-body ul, .page-body ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.highlight-box { background: var(--surface2); border-left: 4px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1rem 1.25rem; margin: 1.25rem 0; color: var(--text); }
.page-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -1.25rem auto 0; padding: 0 1.25rem; position: relative; z-index: 1; }
.page-tabs a { background: #fff; border: 1px solid var(--border); border-radius: 100px; padding: 7px 16px; font-size: 13px; color: var(--text-2); text-decoration: none; }
.page-tabs a.active, .page-tabs a:hover { border-color: var(--accent); color: var(--accent); }

.steps-list { list-style: none; padding: 0 !important; counter-reset: step; display: grid; gap: 1rem; }
.steps-list li { counter-increment: step; position: relative; background: var(--tint); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.25rem 1.1rem 4rem; margin: 0; color: var(--text); }
.steps-list li::before { content: counter(step); position: absolute; left: 1.1rem; top: 1rem; width: 32px; height: 32px; border-radius: 50%; background: var(--ombre); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); }
.steps-list li strong { display: block; font-family: var(--font-head); letter-spacing: .5px; margin-bottom: 2px; }
.steps-list li span { color: var(--text-2); }

.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font-family: var(--font-head); font-size: 16px; letter-spacing: .5px; position: relative; color: var(--text); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--accent); transition: transform .2s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details > div { padding: 0 0 1rem; }

/* ── FORMS ── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: .9rem; }
@media (max-width: 420px) { .form-row { grid-template-columns: 1fr; } }
.form-group, .input-group { margin-bottom: .9rem; }
.form-label, .input-label { display: block; font-size: 12px; font-weight: 700; color: var(--text-2); margin-bottom: 5px; text-transform: uppercase; letter-spacing: .8px; }
select, input[type="email"], input[type="password"], input[type="text"], input[type="tel"], textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border2); border-radius: var(--radius-sm);
  font-size: 16px; font-family: var(--font-body); color: var(--text); background: #fff; transition: border-color .15s, box-shadow .15s;
}
@media (min-width: 600px) { select, input[type="email"], input[type="password"], input[type="text"], input[type="tel"], textarea { font-size: 15px; } }
textarea { resize: vertical; min-height: 110px; }
select { appearance: none; cursor: pointer; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%236E5084' d='M5 7L1 3h8z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(110,80,132,0.15); }
.field-error { border-color: var(--red) !important; background: var(--red-bg) !important; }
.form-msg { display: none; font-size: 14px; padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 1rem; }
.form-msg.show { display: block; }
.form-msg.error { background: var(--red-bg); color: var(--red); }
.form-msg.success { background: var(--green-bg); color: var(--green); }

.upload-zone { border: 1.5px dashed var(--border2); border-radius: var(--radius-sm); padding: 1.25rem; text-align: center; cursor: pointer; color: var(--text-2); font-size: 13px; background: var(--tint); transition: border-color .15s, background .15s; }
.upload-zone:hover, .upload-zone.drag-over { border-color: var(--accent); background: var(--surface2); }
.upload-zone svg { width: 26px; height: 26px; margin: 0 auto 6px; color: var(--accent); }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.thumb-wrap { position: relative; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.thumb-wrap img { width: 100%; height: 100%; object-fit: cover; }
.thumb-remove { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 50%; border: none; background: rgba(0,0,0,0.6); color: #fff; font-size: 13px; line-height: 1; cursor: pointer; }

/* ── MODALS ── */
.modal-overlay { position: fixed; inset: 0; background: rgba(30,18,48,0.5); z-index: 300; display: none; align-items: flex-end; justify-content: center; }
.modal-overlay.open { display: flex; }
@media (min-width: 560px) { .modal-overlay { align-items: center; padding: 1rem; } }
.modal { background: #fff; border-radius: var(--radius) var(--radius) 0 0; width: 100%; max-width: 440px; box-shadow: var(--shadow-md); max-height: 92vh; overflow-y: auto; }
.modal.modal-wide { max-width: 920px; }
@media (min-width: 560px) { .modal { border-radius: var(--radius); } }
.modal-header { padding: 1.25rem 1.5rem 0; display: flex; justify-content: space-between; align-items: flex-start; }
.modal-header h2 { font-size: 20px; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; }
.modal-close { background: none; border: none; font-size: 26px; color: var(--text-3); cursor: pointer; line-height: 1; min-width: 36px; min-height: 36px; }
.modal-close:hover { color: var(--accent); }
.modal-body { padding: 1rem 1.5rem 1.75rem; }
.modal-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 1.25rem; }
.modal-tab { flex: 1; padding: 10px; text-align: center; font-size: 14px; color: var(--text-2); cursor: pointer; border: none; background: none; border-bottom: 2px solid transparent; margin-bottom: -1px; font-family: var(--font-head); letter-spacing: 1px; text-transform: uppercase; }
.modal-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.modal-error, .modal-success { font-size: 14px; border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 1rem; display: none; }
.modal-error { color: var(--red); background: var(--red-bg); }
.modal-success { color: var(--green); background: var(--green-bg); }
.modal-error.show, .modal-success.show { display: block; }

/* ── CART DRAWER ── */
.cart-overlay { position: fixed; inset: 0; background: rgba(30,18,48,0.4); z-index: 200; display: none; }
.cart-overlay.open { display: block; }
.cart-drawer { position: fixed; top: 0; right: -100%; width: 100%; max-width: 420px; height: 100vh; height: 100dvh; background: #fff; z-index: 201; transition: right .28s ease; display: flex; flex-direction: column; box-shadow: var(--shadow-md); }
.cart-drawer.open { right: 0; }
.cart-header { padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.cart-header h2 { font-size: 18px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; }
.close-cart { background: none; border: none; font-size: 26px; cursor: pointer; color: var(--text-3); min-width: 36px; min-height: 36px; }
.cart-items { flex: 1; overflow-y: auto; padding: .5rem 1.25rem; }
.cart-empty { text-align: center; color: var(--text-3); padding: 3rem 0; line-height: 1.9; }
.cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cart-item-img { width: 64px; height: 80px; border-radius: 8px; object-fit: cover; background: var(--surface2); flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-family: var(--font-head); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.cart-item-detail { font-size: 13px; color: var(--text-3); margin: 2px 0 8px; }
.cart-item-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cart-item-price { font-weight: 700; color: var(--accent); font-size: 15px; }
.cart-item-remove { background: none; border: none; color: var(--text-3); font-size: 12px; text-decoration: underline; cursor: pointer; }
.cart-item-remove:hover { color: var(--red); }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--border2); border-radius: 100px; overflow: hidden; }
.qty-stepper button { width: 30px; height: 28px; border: none; background: none; cursor: pointer; font-size: 16px; color: var(--text-2); }
.qty-stepper button:hover { background: var(--surface2); color: var(--accent); }
.qty-stepper span { min-width: 24px; text-align: center; font-size: 14px; }
.cart-footer { padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--border); }
.cart-subtotals { margin-bottom: 12px; }
.cart-subtotal-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-2); margin-bottom: 4px; }
.checkout-note { font-size: 12px; color: var(--text-3); text-align: center; margin-top: 10px; }

/* ── TOAST ── */
.toast { position: fixed; bottom: 1.25rem; left: 50%; transform: translateX(-50%) translateY(120px); background: var(--text); color: #fff; padding: 11px 22px; border-radius: 100px; font-size: 14px; z-index: 400; transition: transform .25s ease; box-shadow: var(--shadow-md); max-width: calc(100vw - 2rem); text-align: center; }
.toast.show { transform: translateX(-50%) translateY(0); visibility: visible; }
.toast { visibility: hidden; transition: transform .25s ease, visibility .25s; }

/* ── FOOTER ── */
.site-footer { background: #251A35; color: rgba(255,255,255,0.72); margin-top: 0; font-size: 14px; }
.footer-rainbow { height: 6px; background: var(--ombre); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 3rem 1.25rem 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (min-width: 860px) { .footer-inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand-col { grid-column: 1 / -1; }
@media (min-width: 860px) { .footer-brand-col { grid-column: auto; } }
.footer-brand { font-size: 20px; letter-spacing: 4px; text-transform: uppercase; color: #fff; margin-bottom: .6rem; }
.footer-col p { margin-bottom: .6rem; max-width: 30ch; }
.footer-heading { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #fff; margin-bottom: .9rem; font-weight: 600; }
.footer-col a { display: block; color: rgba(255,255,255,0.72); text-decoration: none; margin-bottom: .5rem; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); align-items: center; justify-content: center; margin: 0; }
.footer-social a:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); text-align: center; padding: 1.1rem 1.25rem; font-size: 12px; color: rgba(255,255,255,0.45); }

/* ── CHECKOUT PAGE ── */
.checkout-wrap { max-width: 1040px; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
.checkout-wrap h1 { font-size: 26px; font-weight: 400; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 1.5rem; }
.checkout-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
@media (min-width: 860px) { .checkout-grid { grid-template-columns: 1fr 380px; gap: 2rem; } }
.checkout-section { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1rem; }
.checkout-section-title { font-family: var(--font-head); font-size: 16px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1.25rem; padding-bottom: .9rem; border-bottom: 1px solid var(--border); }
.checkout-tabs { display: flex; border: 1px solid var(--border2); border-radius: 100px; overflow: hidden; margin-bottom: 1.25rem; }
.checkout-tab { flex: 1; padding: 10px; font-size: 13px; color: var(--text-2); cursor: pointer; background: #fff; border: none; font-family: var(--font-head); letter-spacing: 1px; text-transform: uppercase; }
.checkout-tab.active { background: var(--accent); color: #fff; }
.checkout-tab-panel { display: none; }
.checkout-tab-panel.open { display: block; }
.co-signed-in { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface2); border-radius: var(--radius-sm); }
.co-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; flex-shrink: 0; }
.co-signed-in .lbl { font-size: 11px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .6px; }
.co-signed-in .name { font-weight: 700; }
.co-signed-in .email { font-size: 14px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-signout { margin-top: 8px; text-align: right; }
.checkout-save-details { display: flex; align-items: flex-start; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 1rem; color: var(--text-2); font-size: 14px; cursor: pointer; }
.checkout-save-details input { width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.ship-option { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.ship-option.selected { border-color: var(--accent); background: var(--surface2); }
.ship-option input { accent-color: var(--accent); width: 18px; height: 18px; }
.ship-option .ship-name { font-weight: 700; font-size: 14px; }
.ship-option .ship-note { font-size: 12px; color: var(--text-3); }
.ship-option .ship-price { margin-left: auto; font-weight: 700; color: var(--accent); }
.ship-options { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.addr-autocomplete-wrap { position: relative; }
.addr-suggestions { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-md); max-height: 240px; overflow-y: auto; z-index: 20; }
.addr-suggestions.open { display: block; }
.addr-suggestion { padding: 10px 14px; font-size: 14px; cursor: pointer; }
.addr-suggestion:not(:last-child) { border-bottom: 1px solid var(--border); }
.addr-suggestion:hover, .addr-suggestion.active { background: var(--surface2); }
.payment-loading-note { font-size: 14px; color: var(--text-3); text-align: center; padding: 1.25rem; background: var(--tint); border-radius: var(--radius-sm); }
#coPaymentElement { margin-bottom: 1rem; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--text-3); margin: 10px 0 1.1rem; }
.co-error { font-size: 14px; color: var(--red); background: var(--red-bg); border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 1rem; display: none; }
.co-error.show { display: block; }
.checkout-order-summary { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 120px; }
.checkout-summary-title { font-family: var(--font-head); font-size: 16px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--border); }
.checkout-summary-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); align-items: center; }
.checkout-summary-thumb { width: 52px; height: 64px; border-radius: 8px; object-fit: cover; background: var(--surface2); flex-shrink: 0; }
.checkout-summary-info { flex: 1; min-width: 0; }
.checkout-summary-name { font-size: 14px; font-weight: 700; }
.checkout-summary-detail { font-size: 12px; color: var(--text-3); }
.checkout-summary-price { font-weight: 700; color: var(--accent); }
.checkout-summary-edit { display: inline-block; margin-top: .75rem; font-size: 13px; background: none; border: none; color: var(--accent); text-decoration: underline; cursor: pointer; padding: 0; }
.checkout-totals { margin-top: 1rem; }
.checkout-total-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-2); margin-bottom: 6px; }
.checkout-total-row.final { font-size: 18px; font-weight: 700; color: var(--text); padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--border); }
.checkout-empty { text-align: center; padding: 4rem 1rem; }
.checkout-empty p { color: var(--text-2); margin-bottom: 1.5rem; }
.checkout-empty .btn { width: auto; }

/* ── SUCCESS ── */
.success-wrap { max-width: 760px; margin: 0 auto; text-align: center; }
.success-icon { width: 68px; height: 68px; background: var(--green-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.success-wrap h2 { font-size: 30px; font-weight: 400; letter-spacing: 3px; text-transform: uppercase; margin-bottom: .75rem; }
.success-wrap > p { color: var(--text-2); max-width: 480px; margin: 0 auto 2rem; }
.success-details { text-align: left; margin-bottom: 1.5rem; }
.success-detail-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); }
.success-detail-header { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--border); margin-bottom: .5rem; }
.success-label { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--text-3); margin-bottom: 3px; font-weight: 700; }
.success-ref { font-weight: 700; }
.success-date { font-size: 13px; color: var(--text-2); }
.success-items { margin-bottom: .9rem; }
.success-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.success-item-thumb { width: 48px; height: 56px; border-radius: 8px; object-fit: cover; background: var(--surface2); flex-shrink: 0; display: inline-block; }
.success-item-info { flex: 1; min-width: 0; }
.success-item-name { font-size: 14px; font-weight: 700; }
.success-item-detail { font-size: 13px; color: var(--text-3); }
.success-item-price { font-weight: 700; color: var(--accent); white-space: nowrap; }
.success-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; font-size: 14px; color: var(--text-2); margin: .9rem 0; }
.success-totals { border-top: 1px solid var(--border); padding-top: .9rem; }
.success-totals div { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-2); margin-bottom: 5px; }
.success-totals .success-total { font-size: 17px; font-weight: 700; color: var(--text); margin-top: 8px; }
.success-signup { background: var(--tint); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; text-align: left; margin-bottom: 1.5rem; }
.success-signup h3 { font-size: 16px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: .4rem; }
.success-signup p { color: var(--text-2); font-size: 14px; margin-bottom: 1rem; }
@media (max-width: 600px) { .success-info-grid { grid-template-columns: 1fr; } .success-detail-header { flex-direction: column; } }

/* ── ACCOUNT ── */
.account-wrap { max-width: 900px; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
.account-header { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.25rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.account-who { display: flex; align-items: center; gap: 12px; }
.account-avatar { width: 48px; height: 48px; background: var(--ombre); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; color: #fff; flex-shrink: 0; }
.account-name { font-size: 17px; font-weight: 700; }
.account-email { font-size: 14px; color: var(--text-3); }
.account-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; overflow-x: auto; }
.account-tab { padding: 10px 18px; font-size: 14px; color: var(--text-2); cursor: pointer; border: none; background: none; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; font-family: var(--font-head); letter-spacing: 1px; text-transform: uppercase; }
.account-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.account-panel { display: none; }
.account-panel.open { display: block; }
.settings-section { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.25rem; }
.settings-section-title { font-family: var(--font-head); font-size: 15px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); }
.settings-save-row { display: flex; justify-content: flex-end; margin-top: 1rem; }
.settings-status { font-size: 14px; padding: 9px 12px; border-radius: var(--radius-sm); margin-top: .75rem; display: none; }
.settings-status.show { display: block; }
.settings-status.ok { background: var(--green-bg); color: var(--green); }
.settings-status.err { background: var(--red-bg); color: var(--red); }
.orders-grid { display: flex; flex-direction: column; gap: 12px; }
.orders-toolbar { display: flex; gap: 8px; flex-wrap: wrap; }
.orders-toolbar select { width: auto; font-size: 14px; padding: 8px 34px 8px 12px; }
.order-card { display: block; width: 100%; text-align: left; font: inherit; color: inherit; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.order-card:hover { border-color: var(--border2); box-shadow: var(--shadow); }
.order-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; gap: 8px; flex-wrap: wrap; }
.order-card-id { font-weight: 700; }
.order-card-date { font-size: 13px; color: var(--text-3); }
.order-card-items { font-size: 14px; color: var(--text-2); margin-bottom: 6px; }
.order-card-total { font-weight: 700; color: var(--accent); }
.order-card-more { font-size: 12px; color: var(--text-3); text-align: right; margin-top: 6px; }
.order-thumbs { display: flex; gap: 6px; margin-top: 10px; }
.order-thumb { width: 44px; height: 54px; border-radius: 6px; object-fit: cover; }
.order-status { display: inline-flex; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 100px; background: var(--surface2); color: var(--text-2); }
.order-status.pending { background: var(--amber-bg); color: var(--amber); }
.order-status.processing { background: var(--blue-bg); color: var(--blue); }
.order-status.shipped, .order-status.delivered { background: var(--green-bg); color: var(--green); }
.order-status.cancelled { background: var(--red-bg); color: var(--red); }
.empty-orders { text-align: center; padding: 3rem 0; color: var(--text-3); line-height: 1.9; }
.order-detail-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.order-detail-ref { font-weight: 700; font-size: 17px; }
.order-detail-date { font-size: 13px; color: var(--text-3); }
.order-detail-section { padding: .9rem 0; border-top: 1px solid var(--border); }
.order-detail-label { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--text-3); font-weight: 700; margin-bottom: 4px; }
.order-detail-total { font-weight: 700; font-size: 17px; color: var(--accent); }
.order-detail-section .success-items { margin-bottom: 0; }
.order-detail-section .success-item:last-child { border-bottom: none; }
.signed-out-card { max-width: 480px; margin: 3rem auto; text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem 1.5rem; }
.signed-out-card h1 { font-size: 24px; font-weight: 400; letter-spacing: 3px; text-transform: uppercase; margin-bottom: .75rem; }
.signed-out-card p { color: var(--text-2); margin-bottom: 1.5rem; }
.signed-out-card .btn-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.signed-out-card .btn { width: auto; }

/* ══════════════════════════════════════════════
   ADMIN DASHBOARD (scoped under .admin-page)
   ══════════════════════════════════════════════ */
body.admin-page { background: #F8F6FB; font-size: 14px; display: block; }
.admin-page .login-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.admin-page .login-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; width: 100%; max-width: 400px; box-shadow: var(--shadow-md); }
.admin-page .login-card h1 { font-size: 22px; font-weight: 400; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 4px; }
.admin-page .login-card p { font-size: 14px; color: var(--text-2); margin-bottom: 1.5rem; }
.admin-page .error-msg { font-size: 14px; color: var(--red); background: var(--red-bg); border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 1rem; display: none; }
.admin-page .error-msg.show { display: block; }
.admin-page .mfa-qr { display: block; width: 180px; height: 180px; margin: 0 auto 12px; padding: 8px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.admin-page .mfa-secret { font-size: 12px; color: var(--text-2); text-align: center; margin-bottom: 1.25rem; word-break: break-all; }
.admin-page .mfa-secret code { font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--text); letter-spacing: 1px; }
.admin-page input.mfa-code { font-size: 22px; letter-spacing: 8px; text-align: center; }
.admin-page .admin-wrap { display: none; min-height: 100vh; flex-direction: column; }
.admin-page .admin-wrap.open { display: flex; }
.admin-page .admin-header { background: #fff; border-bottom: 1px solid var(--border); padding: 0 1.5rem; height: 64px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 10; }
.admin-page .admin-header::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--ombre); }
.admin-page .header-left { display: flex; align-items: center; gap: 12px; }
.admin-page .header-logo { font-family: var(--font-head); font-size: 18px; letter-spacing: 3px; text-transform: uppercase; }
.admin-page .admin-badge { background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 9px; border-radius: 100px; letter-spacing: .6px; text-transform: uppercase; }
.admin-page .header-right { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); }
@media (max-width: 640px) { .admin-page #adminUserEmail { display: none; } }
.admin-page .admin-content { max-width: 1180px; margin: 1.5rem auto; padding: 0 1.5rem; flex: 1; width: 100%; }
.admin-page .admin-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.admin-page .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.admin-page .stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; }
.admin-page .stat-label { font-size: 11px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 6px; }
.admin-page .stat-value { font-size: 26px; font-weight: 700; line-height: 1; }
.admin-page .stat-sub { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.admin-page .filters-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 1rem; flex-wrap: wrap; }
.admin-page .filter-btn { background: #fff; border: 1px solid var(--border); border-radius: 100px; padding: 6px 15px; font-size: 13px; cursor: pointer; color: var(--text-2); }
.admin-page .filter-btn:hover { border-color: var(--border2); color: var(--text); }
.admin-page .filter-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.admin-page .search-input { flex: 1; min-width: 180px; max-width: 300px; padding: 8px 14px; font-size: 14px; }
.admin-page .orders-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow-x: auto; }
.admin-page .orders-loading, .admin-page .orders-empty { text-align: center; padding: 3rem; color: var(--text-3); }
.admin-page table { width: 100%; min-width: 760px; border-collapse: collapse; }
.admin-page thead tr { background: var(--surface2); border-bottom: 1px solid var(--border); }
.admin-page th { padding: 10px 14px; text-align: left; font-size: 11px; font-weight: 700; color: var(--text-2); text-transform: uppercase; letter-spacing: .6px; white-space: nowrap; }
.admin-page tbody tr { border-bottom: 1px solid var(--border); }
.admin-page tbody tr:last-child { border-bottom: none; }
.admin-page tbody tr:hover { background: var(--tint); }
.admin-page td { padding: 12px 14px; font-size: 14px; vertical-align: middle; }
.admin-page .order-id { font-weight: 700; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; color: var(--text-2); }
.admin-page .order-customer { font-weight: 700; }
.admin-page .order-email { font-size: 12px; color: var(--text-3); }
.admin-page .status-badge { display: inline-flex; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 100px; white-space: nowrap; background: var(--surface2); color: var(--text-2); }
.admin-page .status-badge.pending { background: var(--amber-bg); color: var(--amber); }
.admin-page .status-badge.processing { background: var(--blue-bg); color: var(--blue); }
.admin-page .status-badge.shipped, .admin-page .status-badge.delivered, .admin-page .status-badge.resolved { background: var(--green-bg); color: var(--green); }
.admin-page .status-badge.cancelled { background: var(--red-bg); color: var(--red); }
.admin-page .item-thumbs { display: flex; gap: 4px; }
.admin-page .item-thumb { width: 32px; height: 40px; border-radius: 4px; object-fit: cover; background: var(--surface2); }
.admin-page .photo-thumb { width: 36px; height: 36px; border-radius: 4px; object-fit: cover; cursor: pointer; }
.admin-page .photo-thumbs { display: flex; gap: 4px; flex-wrap: wrap; }
.admin-page .action-select { width: auto; padding: 6px 30px 6px 10px; font-size: 13px; }
.admin-page .detail-overlay { position: fixed; inset: 0; background: rgba(30,18,48,0.45); z-index: 200; display: none; justify-content: flex-end; }
.admin-page .detail-overlay.open { display: flex; }
.admin-page .detail-panel { background: #fff; width: 100%; max-width: 500px; height: 100vh; height: 100dvh; overflow-y: auto; display: flex; flex-direction: column; box-shadow: var(--shadow-md); }
.admin-page .detail-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.admin-page .detail-header h2 { font-size: 18px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; }
.admin-page .close-panel { background: none; border: none; font-size: 24px; color: var(--text-3); cursor: pointer; }
.admin-page .detail-body { padding: 1.25rem 1.5rem; flex: 1; }
.admin-page .detail-section { margin-bottom: 1.5rem; }
.admin-page .detail-section-title { font-size: 11px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.admin-page .detail-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; gap: 12px; }
.admin-page .detail-row .key { font-size: 13px; color: var(--text-2); flex-shrink: 0; }
.admin-page .detail-row .val { font-size: 14px; font-weight: 600; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.admin-page .detail-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; margin-top: 8px; }
.admin-page .detail-photo { aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); cursor: pointer; }
.admin-page .detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.admin-page .return-box { background: var(--amber-bg); border-radius: var(--radius-sm); padding: 12px; }
.admin-page .note-area { min-height: 90px; font-size: 14px; }
.admin-page .detail-footer { padding: 1.25rem 1.5rem; border-top: 1px solid var(--border); display: flex; gap: 8px; }
.admin-page .btn.danger { color: var(--red); border-color: var(--red); background: transparent; }
.admin-page .btn.danger:hover { background: var(--red-bg); }
.admin-page .status-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-page .lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.88); z-index: 300; display: none; align-items: center; justify-content: center; padding: 1rem; }
.admin-page .lightbox.open { display: flex; }
.admin-page .lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--radius-sm); }
.admin-page .lightbox-close { position: absolute; top: 1rem; right: 1rem; background: rgba(255,255,255,0.15); border: none; color: #fff; font-size: 22px; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; }
.admin-page .detail-section .success-items { margin-bottom: 0; }
.admin-page .detail-section .success-item:last-child { border-bottom: none; }
@media (max-width: 700px) {
  .admin-page th:nth-child(4), .admin-page td:nth-child(4) { display: none; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }


/* ══════════════════════════════════════════════
   MATCHES THE SQUARESPACE LOOK
   Plum on lavender, serif headings, lavender product cards with white image
   squares, square purple buttons. Everything above still applies; these win.
   ══════════════════════════════════════════════ */
body { font-weight: 300; }
strong, b { font-weight: 500; }
.announcement { display: none; }
.site-header { background: var(--bg); border-bottom: none; box-shadow: 0 6px 14px -6px rgba(110,80,132,0.18); backdrop-filter: none; }
.header-inner { height: 110px; }
@media (max-width: 959px) { .header-inner { height: 72px; } }
.site-title { font-family: var(--font-head); font-weight: 400; font-size: 32px; letter-spacing: 1px; color: var(--text); }
@media (max-width: 959px) { .site-title { font-size: 22px; letter-spacing: .5px; } }
@media (max-width: 400px) { .site-title { font-size: 19px; } }
.header-nav { gap: 2rem; }
.header-nav a { font-family: var(--font-body); font-weight: 400; font-size: 15px; letter-spacing: 0; color: var(--text); padding: 2px 0; border-bottom-width: 1px; }
.header-nav a:hover, .header-nav a.active { border-bottom-color: var(--text); color: var(--text); }
.header-link { font-family: var(--font-body); font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--text); }
.cart-btn { background: none; color: var(--text); border-radius: 0; padding: 6px 8px; font-family: var(--font-body); font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 400; }
.cart-btn:hover { background: none; text-decoration: underline; }
.icon-btn { color: var(--text); }
.mobile-menu { background: var(--bg); }
.mobile-menu a, .mobile-menu button { font-family: var(--font-body); font-weight: 400; letter-spacing: 0; color: var(--text); }

.btn { border-radius: 0; font-family: var(--font-body); font-weight: 400; font-size: 16px; letter-spacing: 0; text-transform: none; padding: 13px 26px; }
.btn.sm { font-size: 14px; letter-spacing: 0; padding: 8px 16px; }
.btn.outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn.white { color: var(--accent); }
.cart-btn, .quick-view-btn, .modal-tab, .checkout-tab, .account-tab, .checkout-section-title, .checkout-summary-title, .settings-section-title { font-family: var(--font-body); letter-spacing: .3px; }

h1, h2, h3, .section-title, .page-hero h1, .product-title, .modal-header h2, .cart-header h2, .checkout-wrap h1, .success-wrap h2, .signed-out-card h1 { font-family: var(--font-head); font-weight: 400; color: var(--text); }
.section-title, .page-hero h1 { letter-spacing: 2px; }
.section-title::after, .page-hero h1::after { width: 48px; height: 1px; background: var(--text); }
.section.tint, .page-hero { background: var(--bg); }
.page-hero { border-bottom: none; }
.page-body h2 { font-family: var(--font-head); font-weight: 400; letter-spacing: .5px; text-transform: none; font-size: 26px; }
.page-body h3 { font-family: var(--font-body); font-weight: 500; }
.intro p, .page-body p, .page-body li, .product-desc p { color: var(--text); }

/* Product cards: lavender panel, thin plum border, white square photo, size + add to cart on the card */
.product-grid { gap: 1.5rem; }
@media (min-width: 760px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }
@media (min-width: 1100px) { .product-grid.four { grid-template-columns: repeat(4, 1fr); } }
.product-card { background: var(--card); border: 1px solid var(--text); padding: 22px 22px 26px; display: flex; flex-direction: column; align-items: center; }
.product-card-media { width: 100%; aspect-ratio: 1; border-radius: 0; background: #fff; }
.product-card-media img { object-fit: contain; }
.product-card:hover .product-card-media img { transform: none; }
.product-card-media.no-img { background: #fff; }
.product-card-name { font-family: var(--font-head); text-transform: none; letter-spacing: 0; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; margin-top: 1.5rem; color: var(--text); }
.product-card-price { color: var(--text-3); font-size: 15px; margin-top: 6px; }
.product-card-form { width: 100%; margin-top: 1rem; display: flex; flex-direction: column; align-items: center; gap: 14px; flex: 1; justify-content: flex-end; }
.product-card-form select { border-radius: 100px; border-color: var(--text); background-color: transparent; color: var(--text-3); padding: 12px 40px 12px 18px; }
.product-card-form .btn { width: auto; }
.quick-view-btn { top: auto; bottom: 0; }
.product-card-media + .quick-view-btn { position: static; transform: none; opacity: 1; display: none; }

.product-gallery-main { border-radius: 0; background: #fff; aspect-ratio: 1; border: 1px solid var(--border); }
.product-gallery-main img { object-fit: contain; }
.product-thumbs button { border-radius: 0; background: #fff; }
.product-title { text-transform: none; letter-spacing: 0; }
.product-price { color: var(--text-3); font-weight: 400; }
.product-info select { border-color: var(--text); }

.modal, .cart-drawer, .checkout-section, .checkout-order-summary, .settings-section, .account-header, .order-card, .success-detail-card, .signed-out-card, .checkout-save-details, .ship-option { border-radius: 0; }
.modal { background: var(--bg); }
.cart-drawer { background: var(--bg); }
.cart-item-img, .checkout-summary-thumb, .success-item-thumb, .order-thumb { background: #fff; object-fit: contain; border-radius: 0; }
.checkout-tabs, .qty-stepper, .page-tabs a, .orders-toolbar select { border-radius: 0; }
.account-avatar, .co-avatar { background: var(--accent); }
.hero h1 { font-family: var(--font-head); font-weight: 400; }
.instagram-post { border-radius: 0; }
.instagram-post.p0, .instagram-post.p1, .instagram-post.p2, .instagram-post.p3, .instagram-post.p4 { background: var(--card); color: var(--text); }
.hero { background: var(--card); }

.site-footer { background: var(--card); color: var(--text); }
.footer-rainbow { height: 1px; background: var(--text); }
.footer-brand { font-family: var(--font-head); letter-spacing: 1px; color: var(--text); }
.footer-heading { font-family: var(--font-body); font-weight: 500; letter-spacing: .5px; color: var(--text); }
.footer-col a { color: var(--text); }
.footer-col a:hover { color: var(--accent-hover); text-decoration: underline; }
.footer-social a { border-color: var(--text); color: var(--text); }
.footer-social a:hover { background: rgba(110,80,132,0.08); border-color: var(--text); }
.footer-bottom { border-top-color: rgba(110,80,132,0.2); color: var(--text-3); }

.admin-page .admin-header::before { background: var(--text); height: 3px; }
body.admin-page { background: var(--bg); }
.admin-page .header-logo { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; }
.page-body { max-width: 860px; }
.checkout-wrap { max-width: 1100px; }
.header-inner, .footer-inner { padding-left: 2.5rem; padding-right: 2.5rem; }
@media (max-width: 700px) { .header-inner, .footer-inner { padding-left: 1rem; padding-right: 1rem; } }
.container { padding: 0 2.5rem; }
@media (max-width: 700px) { .container { padding: 0 1rem; } }
body[data-page="shop"] .section:first-of-type { padding-top: 2rem; }
@media (max-width: 520px) {
  .product-grid, .product-grid.four { grid-template-columns: 1fr; }
  .product-card { padding: 18px 18px 22px; }
  .product-card-media { max-width: 340px; }
}
.stock-note { font-size: 14px; color: var(--text-3); margin: -.25rem 0 .9rem; min-height: 1px; }
.stock-note:empty { display: none; }
.cart-item-warning { font-size: 12px; color: var(--red); margin: -4px 0 8px; }
.product-card-form select option:disabled { color: #bbb; }
