:root {
  --ink: #3d302d;
  --muted: #857874;
  --cream: #fbf8f5;
  --white: #fff;
  --blush: #f2e5e0;
  --rose: #bc817d;
  --gold: #b39366;
  --line: #e9e1dc;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Poppins", sans-serif;
  --type-h1: 52px;
  --type-h2: 36px;
  --type-h3: 26px;
  --type-product: 17px;
  --type-price: 18px;
  --type-body: 15px;
  --type-nav: 14px;
  --type-button: 14px;
  --type-label: 12px;
  --type-footer: 13px;
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--sans); font-size: 15px; line-height: 1.65; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.announcement { min-height: 30px; padding: 5px 16px; text-align: center; background: var(--ink); color: #fff9f5; font-size: 10px; letter-spacing: .12em; }
.announcement span { margin-left: 8px; color: #e1c49b; }
.site-header { height: 82px; padding: 0 7.2%; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: #fff; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(61,48,45,.07); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { display: block; width: 66px; height: 66px; object-fit: cover; object-position: center; border: 2px solid var(--gold); border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 2px 8px rgba(61,48,45,.16); flex-shrink: 0; }
.brand-name { display: flex; flex-direction: column; font-size: 12px; letter-spacing: .11em; line-height: 1.35; }
.brand-name b { font-weight: 500; }
.brand-name small { color: var(--muted); font-size: 8px; letter-spacing: .17em; margin-top: 3px; }
.main-nav { display: flex; gap: clamp(18px, 3vw, 42px); align-items: center; }
.main-nav a { font-size: 12px; color: #5f514c; transition: color .2s; }
.main-nav a:hover, .footer-links a:hover { color: var(--rose); }
.main-nav a[aria-current="page"] { color: var(--rose); }
.main-nav a[aria-current="page"]::after { content: ""; display: block; height: 1px; margin-top: 3px; background: var(--gold); }
.cart-trigger { border: 0; background: transparent; font-size: 12px; cursor: pointer; white-space: nowrap; }
.cart-trigger > span { font-size: 18px; vertical-align: -2px; margin-left: 4px; }
.cart-trigger i { display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--blush); font-size: 10px; font-style: normal; margin-left: 3px; }
.mobile-menu { display: none; }
.hero { position: relative; min-height: 560px; display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); overflow: hidden; }
.hero-copy { align-self: center; padding: 66px 5vw 75px 14.4%; position: relative; z-index: 1; }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .2em; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 0 0 19px; font: 500 clamp(42px, 5.2vw, 70px)/1.12 var(--serif); letter-spacing: -.04em; }
.hero h1 em, .about-copy h2 em { color: var(--rose); font-weight: 500; }
.hero-text { max-width: 400px; margin: 0 0 27px; color: #72645f; font-size: 14px; line-height: 1.9; }
.button { min-height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: 20px; padding: 0 23px; border: 1px solid transparent; font-size: 11px; font-weight: 600; letter-spacing: .07em; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #634d47; }
.button-outline { background: transparent; border-color: var(--line); }
.button-outline:hover { background: var(--cream); }
.button-full { width: 100%; }
.hero-note { margin-top: 32px; color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.note-stars, .quote-stars { color: var(--gold); letter-spacing: .14em; margin-right: 8px; }
.hero-image { min-height: 560px; background: linear-gradient(90deg, rgba(251,248,245,.13), transparent 25%), url("https://images.unsplash.com/photo-1596462502278-27bfdc403348?auto=format&fit=crop&w=1400&q=85") center 48%/cover no-repeat; position: relative; }
.hero-stamp { position: absolute; right: 12%; bottom: 11%; width: 126px; height: 126px; border-radius: 50%; background: rgba(251,248,245,.9); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transform: rotate(7deg); }
.hero-stamp span { color: var(--gold); font-size: 8px; letter-spacing: .2em; }
.hero-stamp b { font: 600 20px/1.1 var(--serif); }
.hero-stamp i { color: var(--rose); font-style: normal; font-size: 10px; }
.hero-caption { position: absolute; bottom: 20px; right: 7%; color: #fff; text-shadow: 0 1px 5px #44332b; font-size: 9px; letter-spacing: .13em; }
.trust-strip { min-height: 105px; padding: 22px 10%; display: grid; grid-template-columns: repeat(4,1fr); align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.trust-strip > div { display: flex; align-items: center; justify-content: center; gap: 13px; }
.trust-strip > div > span { color: var(--rose); font: 22px var(--serif); }
.trust-strip p { margin: 0; font-size: 11px; font-weight: 600; line-height: 1.55; }
.trust-strip small { display: block; color: var(--muted); font-size: 9px; font-weight: 400; }
.section { padding: 94px 9%; }
.page-hero { padding: 66px 8% 62px; background: var(--cream); text-align: center; }
.page-hero .eyebrow { margin-bottom: 10px; }
.page-hero h1 { margin: 0 auto 12px; font: 500 clamp(36px,5vw,52px)/1.2 var(--serif); }
.page-hero > p:last-child { max-width: 600px; margin: auto; color: var(--muted); font-size: var(--type-body); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 34px; }
.section-heading h2, .contact-banner h2, .dashboard h1 { margin: 0; font: 500 clamp(30px, 3.8vw, 43px)/1.2 var(--serif); letter-spacing: -.025em; }
.section-heading .muted { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.text-link { padding: 0; border: 0; background: none; font-size: 11px; font-weight: 600; color: var(--ink); }
.text-link span { color: var(--rose); margin-left: 8px; }
.text-link:hover { color: var(--rose); }
.category-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.category-directory { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px 20px; }
.category-card { min-width: 0; }
.category-photo { display: block; width: 100%; aspect-ratio: 1/1.02; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.category-photo::after { content: "→"; position: absolute; right: 12px; bottom: 12px; width: 29px; height: 29px; display: grid; place-items: center; background: #fff; border-radius: 50%; transition: transform .2s; }
.category-card:hover .category-photo::after { transform: translateX(3px); }
.category-card h3 { margin: 12px 0 0; font: 500 18px var(--serif); }
.category-card p { color: var(--muted); font-size: 10px; margin: 2px 0 0; }
.products-section { background: #fbf8f5; }
.shop-tools { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 0 0 24px; }
.search-box { display: flex; align-items: center; gap: 9px; width: min(320px,100%); padding: 0 12px; border: 1px solid var(--line); background: #fff; }
.search-box > span { font-size: 22px; color: var(--rose); }
.search-box input { width: 100%; height: 42px; border: 0; outline: 0; font-size: 11px; }
.filter-label { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 10px; }
.filter-label select { min-width: 142px; height: 40px; padding: 0 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 11px; }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 27px 17px; }
.product-card { min-width: 0; }
.product-image-wrap { position: relative; background: #f1eae6; overflow: hidden; }
.product-image { display: block; width: 100%; aspect-ratio: .88/1; object-fit: cover; transition: transform .45s; }
.product-card:hover .product-image { transform: scale(1.035); }
.product-badge { position: absolute; top: 11px; left: 10px; padding: 5px 8px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 8px; letter-spacing: .06em; }
.product-badge.out { background: #6a5650; color: white; }
.product-info { padding-top: 12px; }
.product-category { margin: 0 0 4px; color: var(--gold); font-size: 8px; letter-spacing: .15em; text-transform: uppercase; }
.product-info h3 { margin: 0 0 4px; font: 500 18px/1.3 var(--serif); }
.product-description { min-height: 36px; margin: 0 0 5px; color: var(--muted); font-size: 10px; line-height: 1.65; }
.product-price { margin: 0 0 11px; font-size: 12px; font-weight: 700; }
.product-actions { display: flex; align-items: center; gap: 8px; }
.product-actions button { min-height: 35px; padding: 0 9px; border: 1px solid var(--ink); background: transparent; font-size: 9px; cursor: pointer; }
.product-actions .add-button { flex: 1; background: var(--ink); color: white; }
.product-actions button:hover:not(:disabled) { background: var(--rose); color: white; border-color: var(--rose); }
.product-actions button:disabled { opacity: .48; cursor: not-allowed; }
.empty-state { padding: 35px 0; text-align: center; color: var(--muted); font-size: 13px; }
.about-band { display: grid; grid-template-columns: 1fr 1fr; min-height: 430px; background: var(--cream); }
.about-image { background: url("https://images.unsplash.com/photo-1608248543803-ba4f8c70ae0b?auto=format&fit=crop&w=1200&q=85") center/cover no-repeat; }
.about-copy { align-self: center; max-width: 560px; padding: 70px 12%; }
.about-copy h2 { margin: 0 0 19px; font: 500 clamp(35px, 4vw, 49px)/1.15 var(--serif); }
.about-copy > p:not(.eyebrow) { margin-bottom: 20px; color: #746762; font-size: 12px; line-height: 1.9; }
.why-section { padding-top: 82px; padding-bottom: 86px; }
.centered { display: block; text-align: center; margin-bottom: 42px; }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 50px; max-width: 960px; margin: auto; }
.why-grid article { text-align: center; }
.why-grid article > span { color: var(--rose); font: 20px var(--serif); }
.why-grid h3 { margin: 12px 0 8px; font: 500 20px var(--serif); }
.why-grid p { max-width: 250px; margin: auto; color: var(--muted); font-size: 11px; }
.testimonial { padding: 67px 20px 72px; background: #f5ebe7; text-align: center; }
.testimonial .eyebrow { margin-bottom: 14px; }
.quote-stars { margin: 0; }
.testimonial blockquote { max-width: 690px; margin: 18px auto 15px; font: 500 clamp(22px,3vw,31px)/1.45 var(--serif); }
.quote-credit { margin: 0; color: var(--muted); font-size: 10px; letter-spacing: .06em; }
.contact-banner { padding: 62px 10%; display: grid; grid-template-columns: 1fr minmax(280px,.8fr); align-items: center; gap: 35px; background: var(--cream); }
.contact-banner h2 { font-size: 36px; }
.contact-banner > div > p:last-child { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.contact-page-section { padding: 76px 10%; display: grid; grid-template-columns: 1fr minmax(280px,.85fr); align-items: start; gap: 50px; background: var(--cream); }
.contact-page-section .eyebrow { font-size: var(--type-label); }
.contact-page-copy h2 { margin: 0 0 12px; font: 500 clamp(30px,3.8vw,42px)/1.2 var(--serif); }
.contact-page-copy > p:not(.eyebrow) { max-width: 440px; color: var(--muted); font-size: var(--type-body); line-height: 1.8; }
.contact-number { display: flex; align-items: center; gap: 13px; margin-top: 27px; }
.contact-number > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: #e6f1e9; color: #287c54; font-size: 20px; }
.contact-number > .instagram-icon { background: #f5e8ed; color: #a44e72; font-size: 25px; }
.contact-number small, .contact-number a { display: block; }
.contact-number small { color: var(--muted); font-size: var(--type-label); letter-spacing: .08em; }
.contact-number a { margin-top: 3px; font-size: var(--type-body); font-weight: var(--weight-medium); }
.contact-page-section .whatsapp-message-form { padding: 25px; background: white; border: 1px solid var(--line); }
.about-page-story { min-height: 490px; }
.whatsapp-message-form { display: grid; gap: 8px; }
.whatsapp-message-form label { margin-top: 5px; font-size: var(--type-label); font-weight: var(--weight-medium); }
.whatsapp-message-form input, .whatsapp-message-form textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: var(--type-body); outline-color: var(--rose); }
.whatsapp-message-form textarea { resize: vertical; }
.whatsapp-message-form .button { justify-self: start; margin-top: 6px; }
.site-footer { min-height: 250px; padding: 42px 9% 22px; background: #3d302d; color: #fff8f4; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 23px 35px; align-items: start; }
.footer-brand .brand-logo { width: 76px; height: 76px; box-shadow: 0 0 0 3px #3d302d, 0 2px 8px rgba(0,0,0,.24); }
.footer-brand .brand-name small { color: #c4b4ac; }
.site-footer > p { margin: 4px 0 0; color: #cbbeb7; font-size: 10px; line-height: 1.9; }
.footer-links { display: flex; justify-content: flex-end; gap: 17px; flex-wrap: wrap; }
.footer-links a { color: #e0d4ce; font-size: 10px; }
.copyright { grid-column: 1/-1; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.14); color: #cbbeb7; font-size: 9px; letter-spacing: .04em; }
.whatsapp-float { position: fixed; right: 22px; bottom: 20px; z-index: 18; display: flex; align-items: center; gap: 9px; padding: 12px 16px; border-radius: 30px; background: #287c54; box-shadow: 0 5px 22px #2b261f35; color: white; font-size: 10px; }
.whatsapp-float span { font-size: 16px; }
.drawer-scrim { position: fixed; inset: 0; z-index: 29; background: #251b1880; opacity: 0; visibility: hidden; transition: .25s; }
.drawer-scrim.open { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: 0; z-index: 30; width: min(440px,100%); height: 100%; padding: 26px; background: white; display: flex; flex-direction: column; transform: translateX(102%); transition: transform .3s ease; }
.cart-drawer.open { transform: translateX(0); }
.drawer-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.drawer-header .eyebrow { margin-bottom: 4px; }
.drawer-header h2 { margin: 0; font: 500 26px var(--serif); }
.drawer-header h2 span { color: var(--muted); font: 11px var(--sans); }
.icon-button, .dialog-close { width: 34px; height: 34px; border: 0; background: transparent; font-size: 25px; cursor: pointer; }
.cart-items { flex: 1; overflow: auto; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 13px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 72px; height: 86px; object-fit: cover; background: var(--cream); }
.cart-item h3 { margin: 0 0 3px; font: 500 16px var(--serif); }
.cart-item > div > p { margin: 0 0 9px; font-size: 11px; font-weight: 600; }
.quantity-control { display: inline-flex; height: 27px; border: 1px solid var(--line); align-items: center; }
.quantity-control button { width: 26px; height: 25px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.quantity-control span { min-width: 22px; text-align: center; font-size: 10px; }
.remove-item { padding: 0 4px; align-self: start; border: 0; background: none; color: var(--muted); font-size: 10px; cursor: pointer; }
.cart-empty { margin: auto; color: var(--muted); font-size: 13px; text-align: center; }
.cart-bottom { padding-top: 15px; border-top: 1px solid var(--line); }
.subtotal-row, .checkout-total { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.cart-note, .checkout-intro { color: var(--muted); font-size: 10px; line-height: 1.7; }
.cart-bottom .button { margin-top: 8px; }
.product-dialog, .checkout-dialog { width: min(760px,calc(100% - 28px)); max-height: min(88vh,850px); padding: 0; border: 0; background: white; box-shadow: 0 20px 70px #20130f40; }
.product-dialog::backdrop, .checkout-dialog::backdrop { background: #251b1880; }
.product-dialog { overflow: visible; }
.dialog-close { position: absolute; top: 10px; right: 12px; z-index: 2; background: rgba(255,255,255,.9); border-radius: 50%; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; min-height: 400px; }
.product-detail > img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; background: var(--cream); }
.detail-copy { padding: 48px 34px 30px; align-self: center; }
.detail-copy h2 { margin: 5px 0 10px; font: 500 31px/1.2 var(--serif); }
.detail-copy .detail-price { font-size: 16px; font-weight: 700; }
.detail-copy > p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.detail-shades { color: var(--ink)!important; }
.detail-quantity { display: flex; align-items: center; gap: 12px; margin: 18px 0; font-size: 11px; }
.detail-copy .button { margin: 5px 0; width: 100%; }
.detail-copy .whatsapp-detail { border-color: var(--line); color: var(--ink); background: white; }
.checkout-dialog { width: min(510px,calc(100% - 28px)); padding: 35px; overflow-y: auto; }
.checkout-form { position: relative; }
.checkout-form h2 { margin: 0 0 10px; font: 500 30px/1.2 var(--serif); }
.checkout-form > label, .admin-form-card label, .login-card label { display: block; margin: 14px 0 0; font-size: 10px; font-weight: 600; }
.checkout-form input, .checkout-form textarea, .admin-form-card input:not([type="checkbox"]):not([type="file"]), .admin-form-card textarea, .admin-form-card select, .login-card input { display: block; width: 100%; margin-top: 6px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 0; background: white; color: var(--ink); outline-color: var(--rose); font-size: 11px; }
.checkout-form textarea, .admin-form-card textarea { resize: vertical; }
.optional { color: var(--muted); font-weight: 400; }
.checkout-total { margin: 22px 0 16px; padding-top: 13px; border-top: 1px solid var(--line); }
.toast { position: fixed; bottom: 25px; left: 50%; z-index: 60; max-width: calc(100% - 28px); padding: 11px 18px; transform: translate(-50%,20px); opacity: 0; visibility: hidden; background: var(--ink); color: white; box-shadow: 0 4px 16px #211a1640; font-size: 11px; transition: .2s; }
.toast.visible { transform: translate(-50%,0); opacity: 1; visibility: visible; }
body.dialog-open { overflow: hidden; }

/* Owner dashboard */
.admin-page { min-height: 100vh; background: var(--cream); }
.admin-topbar { height: 76px; padding: 0 7%; background: white; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.admin-main { max-width: 1240px; margin: auto; padding: 52px 7% 80px; }
.login-card { width: min(430px,100%); margin: 45px auto; padding: 34px; background: white; box-shadow: 0 8px 35px #493b3510; }
.login-card h1 { margin: 0 0 7px; font: 500 35px var(--serif); }
.login-card > p:not(.eyebrow) { color: var(--muted); font-size: 11px; }
.login-card form .button { margin-top: 20px; }
.password-field { position: relative; }
.password-field input { padding-right: 44px!important; }
.password-toggle { position: absolute; top: calc(50% + 3px); right: 4px; display: grid; width: 36px; height: 36px; place-items: center; padding: 8px; transform: translateY(-50%); border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.password-toggle:hover, .password-toggle:focus-visible { color: var(--ink); }
.password-toggle:focus-visible { outline: 2px solid var(--rose); outline-offset: 1px; }
.password-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.security-note, .admin-storage-note { padding: 12px; background: #f8f3ed; color: #78675d; font-size: 10px; line-height: 1.7; }
.security-note { margin: 19px 0 0!important; }
.form-error { min-height: 16px; margin: 6px 0 0; color: #a53d39; font-size: 10px; }
.dashboard-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 25px; }
.dashboard-heading > div > p:last-child { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.dashboard-heading .eyebrow { margin-bottom: 5px; }
.dashboard h1 { font-size: 38px; }
.dashboard-heading .button { min-height: 40px; }
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 22px; }
.stat-card { min-height: 100px; padding: 18px; background: white; border: 1px solid var(--line); }
.stat-card span { display: block; color: var(--muted); font-size: 10px; }
.stat-card b { display: block; margin-top: 4px; font: 500 30px var(--serif); }
.admin-content { display: grid; grid-template-columns: minmax(270px,.85fr) minmax(0,1.5fr); gap: 20px; align-items: start; }
.admin-form-card, .admin-list-card { padding: 22px; background: white; border: 1px solid var(--line); }
.admin-form-heading, .admin-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.admin-form-heading .eyebrow, .admin-list-heading .eyebrow { margin-bottom: 4px; }
.admin-form-heading h2, .admin-list-heading h2 { margin: 0; font: 500 23px var(--serif); }
.cancel-edit { font-size: 10px; white-space: nowrap; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.admin-form-card input[type="file"] { display: block; width: 100%; margin-top: 8px; font-size: 10px; }
.upload-preview { display: block; width: 85px; height: 85px; margin-top: 10px; object-fit: cover; background: var(--cream); }
.check-label { display: flex!important; gap: 8px; align-items: center; }
.check-label input { accent-color: var(--rose); }
.admin-form-card form > .button { margin-top: 17px; }
.admin-list-heading input { max-width: 180px; min-width: 100px; padding: 9px; border: 1px solid var(--line); font-size: 10px; }
.admin-product-row { display: grid; grid-template-columns: 58px minmax(100px,1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.admin-product-row img { width: 58px; height: 65px; object-fit: cover; background: var(--cream); }
.admin-product-row h3 { margin: 0 0 3px; font: 500 15px/1.3 var(--serif); }
.admin-product-row p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.stock-tag { display: inline-block; margin-top: 4px; color: #477656; }
.stock-tag.out { color: #a1473d; }
.row-actions { display: flex; gap: 6px; }
.row-actions button { padding: 6px 8px; border: 1px solid var(--line); background: white; cursor: pointer; font-size: 9px; }
.row-actions button:hover { border-color: var(--rose); color: var(--rose); }
.admin-storage-note { margin-top: 18px; }
[hidden] { display: none!important; }

@media (max-width: 900px) {
  .site-header { padding: 0 5%; gap: 15px; }
  .main-nav { gap: 15px; }
  .main-nav a { font-size: 11px; }
  .hero-copy { padding-left: 9%; }
  .section { padding-left: 6%; padding-right: 6%; }
  .category-grid, .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .trust-strip { padding-left: 5%; padding-right: 5%; }
  .admin-main { padding-left: 4%; padding-right: 4%; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 72px; }
  .announcement { font-size: 8px; letter-spacing: .08em; }
  .site-header { height: 68px; padding: 0 18px; justify-content: initial; gap: 14px; }
  .brand { gap: 7px; }
  .brand-logo { width: 52px; height: 52px; }
  .footer-brand .brand-logo { width: 60px; height: 60px; }
  .brand-name { font-size: 10px; }
  .brand-name small { font-size: 7px; }
  .mobile-menu { display: block; order: 2; margin-left: auto; padding: 8px; border: 0; background: transparent; font-size: 19px; cursor: pointer; }
  .cart-trigger { order: 3; padding: 5px 0 5px 4px; font-size: 0; }
  .cart-trigger > span { font-size: 20px; }
  .cart-trigger i { font-size: 9px; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; padding: 14px 21px 19px; background: white; border-top: 1px solid var(--line); box-shadow: 0 12px 17px #20130f10; flex-direction: column; align-items: flex-start; gap: 15px; }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; font-size: 12px; }
  .hero { display: flex; flex-direction: column-reverse; }
  .hero-image { min-height: 300px; background-position: center 45%; }
  .hero-copy { padding: 42px 8% 53px; }
  .hero h1 { font-size: 46px; }
  .hero-text { font-size: 12px; }
  .hero-note { margin-top: 23px; }
  .hero-caption { top: 278px; bottom: auto; right: 18px; font-size: 8px; }
  .hero-stamp { width: 91px; height: 91px; bottom: 10%; right: 8%; }
  .hero-stamp b { font-size: 16px; }
  .trust-strip { grid-template-columns: 1fr 1fr; gap: 18px 6px; padding: 19px 6%; }
  .trust-strip > div { justify-content: flex-start; gap: 8px; }
  .trust-strip > div > span { font-size: 19px; }
  .trust-strip p { font-size: 10px; }
  .trust-strip small { font-size: 8px; }
  .section { padding: 59px 6%; }
  .page-hero { padding: 48px 7% 43px; }
  .section-heading { align-items: flex-start; margin-bottom: 24px; }
  .section-heading h2 { font-size: 31px; }
  .section-heading .eyebrow { margin-bottom: 8px; }
  .section-heading > .text-link { margin-top: 24px; font-size: 9px; white-space: nowrap; }
  .category-grid { gap: 18px 12px; }
  .category-directory { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 12px; }
  .category-photo { aspect-ratio: .9/1; }
  .category-card h3 { font-size: 15px; }
  .category-card p { font-size: 9px; }
  .shop-tools { align-items: stretch; flex-direction: column; gap: 10px; }
  .search-box { width: 100%; }
  .filter-label { justify-content: space-between; }
  .filter-label select { flex: 1; }
  .product-grid { gap: 23px 12px; }
  .product-image { aspect-ratio: .8/1; }
  .product-info h3 { font-size: 16px; }
  .product-description { min-height: 33px; font-size: 9px; }
  .product-actions { gap: 5px; }
  .product-actions button { padding: 0 6px; font-size: 8px; }
  .product-badge { top: 7px; left: 6px; padding: 4px 6px; font-size: 7px; }
  .about-band { grid-template-columns: 1fr; }
  .about-image { min-height: 280px; }
  .about-copy { padding: 46px 8%; }
  .why-grid { grid-template-columns: 1fr; gap: 30px; }
  .why-grid p { max-width: 290px; }
  .testimonial { padding: 49px 22px 52px; }
  .contact-banner { padding: 42px 7%; grid-template-columns: 1fr; align-items: start; gap: 20px; }
  .contact-banner h2 { font-size: 31px; }
  .contact-page-section { padding: 46px 7%; grid-template-columns: 1fr; gap: 27px; }
  .contact-page-section .whatsapp-message-form { padding: 19px; }
  .about-page-story .about-copy { padding: 46px 8%; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 18px; padding: 35px 7% 19px; }
  .site-footer > p { text-align: right; }
  .footer-links { grid-column: 1/-1; justify-content: flex-start; }
  .copyright { grid-column: 1/-1; }
  .whatsapp-float { right: 12px; bottom: 12px; padding: 11px 13px; }
  .product-detail { grid-template-columns: 1fr; }
  .product-detail > img { height: 260px; }
  .detail-copy { padding: 24px; }
  .detail-copy h2 { font-size: 26px; }
  .checkout-dialog { padding: 29px 22px 22px; }
  .checkout-form h2 { font-size: 25px; }
  .cart-drawer { padding: 20px; }
  .admin-topbar { padding: 0 16px; }
  .admin-topbar > .text-link { font-size: 9px; }
  .admin-main { padding: 30px 15px 55px; }
  .dashboard-heading { align-items: flex-start; }
  .dashboard h1 { font-size: 30px; }
  .stats-grid { gap: 7px; }
  .stat-card { min-height: 82px; padding: 12px 9px; }
  .stat-card span { font-size: 8px; }
  .stat-card b { font-size: 24px; }
  .admin-content { grid-template-columns: 1fr; }
  .admin-form-card, .admin-list-card { padding: 17px; }
  .admin-product-row { grid-template-columns: 47px minmax(70px,1fr) auto; gap: 8px; }
  .admin-product-row img { width: 47px; height: 56px; }
  .admin-product-row h3 { font-size: 13px; }
  .row-actions { flex-direction: column; }
  .row-actions button { padding: 5px; }
}

/* Shared typography system for storefront, dialogs, forms, and owner dashboard. */
body, button, input, select, textarea { font-family: var(--sans); }
body { font-size: var(--type-body); line-height: 1.65; font-weight: var(--weight-regular); }
h1, h2, h3 { font-family: var(--serif); font-weight: var(--weight-medium); line-height: 1.25; }
h1, .dashboard h1, .login-card h1 { font-size: var(--type-h2); }
.hero h1 { font-size: var(--type-h1); line-height: 1.12; }
h2, .section-heading h2, .contact-banner h2, .about-copy h2, .detail-copy h2, .checkout-form h2,
.admin-form-heading h2, .admin-list-heading h2 { font-size: var(--type-h2); }
.category-card h3, .why-grid h3 { font-size: var(--type-h3); }
.product-info h3, .cart-item h3, .admin-product-row h3 {
  font-family: var(--sans);
  font-size: var(--type-product);
  font-weight: var(--weight-medium);
  line-height: 1.4;
}
.brand-name { font-family: var(--serif); font-size: var(--type-body); font-weight: var(--weight-medium); letter-spacing: .12em; }
.brand-name b { font-weight: var(--weight-medium); }
.announcement { font-family: var(--serif); font-size: var(--type-body); font-weight: var(--weight-regular); letter-spacing: .06em; }
.main-nav a, .cart-trigger { font-size: var(--type-nav); }
.button, .product-actions button { font-size: var(--type-button); font-weight: var(--weight-medium); letter-spacing: .02em; }
.eyebrow, .hero-stamp span, .hero-caption, .product-badge, .product-category,
.filter-label, .filter-label select, .search-box input, .text-link, .hero-note,
.trust-strip small, .category-card p, .section-heading .muted, .quote-credit,
.detail-quantity, .checkout-form > label, .admin-form-card label, .login-card label,
.form-error, .stat-card span, .admin-list-heading input, .admin-product-row p,
.row-actions button, .security-note, .admin-storage-note, .cart-note, .checkout-intro,
.remove-item, .toast, .footer-links a, .copyright { font-size: var(--type-label); }
.hero-text, .trust-strip p, .product-description, .about-copy > p:not(.eyebrow),
.why-grid p, .contact-banner > div > p:last-child, .site-footer > p,
.cart-item > div > p, .subtotal-row, .checkout-total, .detail-copy > p, .cart-empty {
  font-size: var(--type-body);
}
.product-description, .about-copy > p:not(.eyebrow), .detail-copy > p { line-height: 1.65; }
.product-price, .detail-copy .detail-price { font-size: var(--type-price); font-weight: var(--weight-semibold); }
.site-footer > p, .footer-links a, .copyright { font-size: var(--type-footer); }
.product-actions button { min-height: 40px; }
.product-category { font-weight: var(--weight-medium); letter-spacing: .08em; }
.product-badge, .eyebrow { font-weight: var(--weight-medium); letter-spacing: .12em; }
.brand-name small { font-family: var(--sans); font-size: var(--type-label); font-weight: var(--weight-regular); letter-spacing: .14em; }
.main-nav a, .button, .footer-links a, .text-link { font-weight: var(--weight-medium); }
.product-badge, .hero-stamp span, .hero-caption { line-height: 1.4; }
.trust-strip p { font-weight: var(--weight-medium); }
.trust-strip small { font-weight: var(--weight-regular); }

@media (max-width: 650px) {
  :root {
    --type-h1: 34px;
    --type-h2: 27px;
    --type-h3: 21px;
    --type-product: 15px;
    --type-price: 16px;
    --type-body: 14px;
    --type-button: 13px;
    --type-label: 11px;
  }
  .main-nav a { font-size: var(--type-nav); }
  .cart-trigger { font-size: 0; }
  .section-heading > .text-link, .admin-topbar > .text-link { font-size: var(--type-label); }
  .announcement { font-size: var(--type-body); }
  .hero h1 { font-size: var(--type-h1); }
  .hero-text, .trust-strip p, .product-description, .about-copy > p:not(.eyebrow),
  .why-grid p, .contact-banner > div > p:last-child, .site-footer > p,
  .cart-item > div > p, .subtotal-row, .checkout-total, .detail-copy > p, .cart-empty {
    font-size: var(--type-body);
  }
  .section-heading h2, .contact-banner h2, .about-copy h2, .detail-copy h2,
  .checkout-form h2, .dashboard h1, .login-card h1,
  .admin-form-heading h2, .admin-list-heading h2 { font-size: var(--type-h2); }
  .category-card h3, .why-grid h3 { font-size: var(--type-h3); }
  .product-info h3, .cart-item h3, .admin-product-row h3 { font-size: var(--type-product); }
  .product-price, .detail-copy .detail-price { font-size: var(--type-price); }
  .button, .product-actions button { font-size: var(--type-button); }
  .eyebrow, .product-badge, .product-category, .filter-label, .filter-label select,
  .search-box input, .text-link, .detail-quantity, .checkout-form > label,
  .admin-form-card label, .login-card label, .footer-links a, .copyright {
    font-size: var(--type-label);
  }
  .site-footer > p, .footer-links a, .copyright { font-size: var(--type-footer); }
}
  @media (max-width: 900px) {
    .site-header { height: 72px; padding: 0 clamp(16px,4vw,36px); gap: 14px; }
    .mobile-menu { display: block; order: 2; margin-left: auto; padding: 8px; border: 0; background: transparent; font-size: 19px; cursor: pointer; }
    .cart-trigger { order: 3; }
    .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 17px clamp(20px,5vw,40px) 22px; background: white; border-top: 1px solid var(--line); box-shadow: 0 12px 17px #20130f10; flex-direction: column; align-items: flex-start; gap: 14px; }
    .main-nav.open { display: flex; }
    .main-nav a { width: 100%; font-size: var(--type-nav); }
    .main-nav a[aria-current="page"]::after { width: fit-content; min-width: 30px; }
    .admin-content { grid-template-columns: minmax(0,1fr); }
    .admin-form-card { max-width: 620px; width: 100%; }
  }
  @media (max-width: 650px) {
    .site-header { height: 68px; padding: 0 16px; }
    .main-nav { top: 68px; }
    .admin-content { grid-template-columns: minmax(0,1fr); }
    .dashboard-heading { flex-wrap: wrap; }
    .dashboard-heading > div { min-width: 0; }
    .stats-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .stat-card { min-width: 0; }
    .section-heading { flex-wrap: wrap; }
    .section-heading > * { min-width: 0; }
    .product-dialog, .checkout-dialog { max-height: 90vh; max-height: 90dvh; }
    .cart-drawer { height: 100vh; height: 100dvh; padding-bottom: max(20px,env(safe-area-inset-bottom)); }
    .site-footer { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
    .footer-brand { min-width: 0; }
    .footer-brand .brand-name { overflow-wrap: anywhere; }
    .whatsapp-float { right: max(12px,env(safe-area-inset-right)); bottom: max(12px,env(safe-area-inset-bottom)); }
    .whatsapp-message-form, .checkout-form { min-width: 0; }
    .whatsapp-message-form input, .whatsapp-message-form textarea, .checkout-form input,
    .checkout-form textarea, .search-box input, .filter-label select { min-width: 0; }
  }
  @media (max-width: 380px) {
    .brand { gap: 6px; }
    .brand-logo { width: 46px; height: 46px; }
    .brand-name { font-size: 9px; letter-spacing: .08em; }
    .brand-name small { font-size: 6px; letter-spacing: .1em; }
    .site-header { padding-right: 12px; padding-left: 12px; gap: 8px; }
    .trust-strip { grid-template-columns: minmax(0,1fr); }
    .category-directory { grid-template-columns: minmax(0,1fr); }
    .product-grid { grid-template-columns: minmax(0,1fr); }
    .product-image { aspect-ratio: 1/1; }
    .product-actions button { min-height: 42px; }
    .section-heading > .text-link { margin-top: 0; white-space: normal; }
    .site-footer { grid-template-columns: minmax(0,1fr); }
    .site-footer > p { text-align: left; }
    .footer-links { grid-column: 1; }
    .copyright { grid-column: 1; }
    .stats-grid { gap: 5px; }
    .stat-card { padding: 10px 7px; }
    .stat-card span { overflow-wrap: anywhere; }
    .admin-product-row { grid-template-columns: 44px minmax(0,1fr) auto; gap: 7px; }
    .row-actions button { min-width: 42px; }
    .whatsapp-float b { display: none; }
    .whatsapp-float { width: 46px; height: 46px; justify-content: center; padding: 0; }
  }
  @media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto!important; animation-duration: .01ms!important; transition-duration: .01ms!important; }
}

/* Admin order, customer and live-notification improvements */
.order-row { grid-template-columns:minmax(0,1fr) minmax(220px,30%); align-items:flex-start; gap:1rem; }
.order-main { min-width:0; flex:1; }
.order-controls { display:flex; flex-direction:column; gap:.55rem; min-width:170px; }
.order-controls select { width:100%; min-width:0; box-sizing:border-box; padding:.65rem; border:1px solid #ddd; border-radius:8px; background:#fff; }
.order-details { width:100%; font-size:.82rem; padding:.55rem .8rem; }
.delete-record-button { color:#a1473d!important; border-color:#e4c4bf!important; }
.delete-record-button:hover { background:#fff8f6!important; border-color:#a1473d!important; }
.order-notes { color:#777; font-size:.88rem; }
.notifications-list { display:grid; gap:.65rem; }
.notification-item { display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:.9rem 1rem; border:1px solid #eee; border-radius:10px; }
.notification-item.unread { background:#fff8f4; border-color:#f0d5c9; }
.notification-item p { margin:.25rem 0; }
.notification-item small { color:#777; }
.notification-item button { white-space:nowrap; }
.notification-copy { min-width:0; }
.notification-actions { display:flex; align-items:center; gap:.5rem; }
.notification-order-link { display:inline-block; margin-top:.4rem; color:var(--rose); font-size:.82rem; font-weight:600; }
.notification-count { display:inline-flex; min-width:1.6rem; height:1.6rem; align-items:center; justify-content:center; border-radius:50%; background:#0f3460; color:white; font-size:.8rem; vertical-align:middle; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media(max-width:650px){.order-row{grid-template-columns:minmax(0,1fr)}.order-row,.notification-item{flex-direction:column;align-items:stretch}.order-controls{min-width:0}.order-controls select{width:100%}.notification-actions{justify-content:flex-end}}


/* Customer records: responsive, non-overlapping information grid */
#customers-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
#customers-list > .empty-state { grid-column: 1 / -1; }
.customer-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(150px, 1.15fr) minmax(130px, .9fr) minmax(180px, 1.35fr) minmax(115px, .9fr) auto;
  gap: 14px 20px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.customer-primary, .customer-contact { min-width: 0; display: grid; gap: 4px; }
.customer-primary h3 { margin: 0; overflow-wrap: anywhere; }
.customer-order-count, .customer-label { color: #8a817d; font-size: .82rem; }
.customer-contact a, .customer-email { min-width: 0; overflow-wrap: anywhere; }
.customer-action { justify-self: end; display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px; }
.customer-action .button { min-width: 84px; }
@media (max-width: 650px) {
  .customer-card { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 15px; }
  .customer-action { justify-self: stretch; }
  .customer-action .button { width: 100%; }
}

/* Responsive refinements shared by storefront pages and owner dashboard. */
main, section, article, form, .admin-list-card, .admin-form-card { min-width: 0; }
img, video { max-width: 100%; }
input, select, textarea { max-width: 100%; }
.product-dialog, .checkout-dialog, .order-items-dialog { max-width: calc(100vw - 24px); max-height: min(90vh, 850px); max-height: min(90dvh, 850px); overflow: auto; overscroll-behavior: contain; }
.order-items-dialog { position: relative; width: min(520px, calc(100vw - 24px)); padding: clamp(22px, 5vw, 34px); border: 0; background: white; color: var(--ink); box-shadow: 0 20px 70px #20130f40; }
.order-items-dialog::backdrop { background: #251b1880; }
.order-items-dialog > .eyebrow { margin-bottom: 5px; }
.order-items-dialog h2 { margin: 0 40px 18px 0; font: 500 clamp(24px, 5vw, 32px)/1.2 var(--serif); overflow-wrap: anywhere; }
.order-items-list { display: grid; }
.order-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); }
.order-item h3, .order-item p { margin: 0; overflow-wrap: anywhere; }
.order-item h3 { font: 500 15px/1.4 var(--sans); }
.order-item p { color: var(--muted); font-size: 12px; }
.order-item > b { flex-shrink: 0; white-space: nowrap; }
.order-items-total { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.order-items-error { margin: 0; color: #a53d39; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .customer-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px 16px; }
  .customer-primary { grid-row: span 2; }
  .customer-contact { min-width: 0; }
  .customer-action { grid-column: 3; grid-row: 1 / span 2; }
  .admin-list-heading { flex-wrap: wrap; }
  .admin-list-heading input { max-width: none; flex: 1 1 180px; }
}

@media (max-width: 650px) {
  .section { padding-top: clamp(48px, 12vw, 64px); padding-bottom: clamp(48px, 12vw, 64px); }
  .section-heading { align-items: flex-start; gap: 12px; }
  .section-heading > div { min-width: 0; }
  .section-heading > .text-link { margin-top: 0; white-space: normal; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .product-card, .product-info { min-width: 0; }
  .product-info h3, .product-description { overflow-wrap: anywhere; }
  .product-actions { flex-wrap: wrap; }
  .product-actions button { min-height: 44px; }
  .category-grid, .category-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-copy, .contact-page-section, .contact-banner { min-width: 0; }
  .contact-page-section { grid-template-columns: minmax(0, 1fr); }
  .site-footer { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { min-width: 0; }
  .footer-brand .brand-name { overflow-wrap: anywhere; }
  .cart-drawer { width: min(440px, 100vw); padding: 18px; padding-bottom: max(18px, env(safe-area-inset-bottom)); }
  .cart-item { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 10px; }
  .cart-item img { width: 58px; height: 70px; }
  .product-detail { grid-template-columns: minmax(0, 1fr); }
  .product-detail > img { height: min(42vh, 300px); }
  .detail-copy { padding: 24px clamp(18px, 6vw, 30px); }
  .checkout-dialog { padding: clamp(22px, 6vw, 32px); }
  .admin-topbar { min-height: 68px; height: auto; gap: 10px; }
  .admin-topbar > .text-link { flex: 0 0 auto; }
  .admin-main { padding: 28px 14px 48px; }
  .admin-list-card, .admin-form-card { padding: clamp(14px, 4vw, 20px); }
  .admin-form-heading, .admin-list-heading { align-items: flex-start; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .customer-card { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .customer-primary { grid-row: auto; }
  .customer-action { grid-column: auto; grid-row: auto; justify-self: stretch; }
  .customer-action .button { flex: 1 1 100px; }
  .order-row { grid-template-columns: minmax(0, 1fr); }
  .order-controls { min-width: 0; }
  .order-controls select, .order-details { width: 100%; min-height: 44px; }
  .notification-item { align-items: stretch; }
  .notification-actions { flex-wrap: wrap; justify-content: flex-end; }
  .notification-actions button { min-height: 40px; }
}

@media (max-width: 500px) {
  .stats-grid, .order-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-card { min-width: 0; }
  .stat-card b { overflow-wrap: anywhere; }
  .admin-product-row:not(.order-row) { grid-template-columns: 46px minmax(0, 1fr); gap: 8px 10px; }
  .admin-product-row:not(.order-row) img { width: 46px; height: 56px; }
  .admin-product-row:not(.order-row) > .row-actions { grid-column: 2; flex-direction: row; }
  .row-actions button { min-height: 40px; }
  .admin-list-heading input { flex-basis: 100%; width: 100%; }
}

@media (max-width: 360px) {
  .brand { gap: 5px; }
  .brand-logo { width: 42px; height: 42px; }
  .brand-name { font-size: 9px; }
  .brand-name small { font-size: 6px; }
  .site-header { padding-right: 10px; padding-left: 10px; gap: 6px; }
  .admin-topbar { padding-right: 10px; padding-left: 10px; }
  .admin-topbar .brand-logo { width: 42px; height: 42px; }
  .admin-topbar .brand-name { font-size: 8px; }
  .admin-topbar > .text-link { font-size: 9px; }
  .product-actions { flex-direction: column; align-items: stretch; }
  .product-actions button { width: 100%; }
  .category-directory { grid-template-columns: minmax(0, 1fr); }
  .notification-actions { justify-content: stretch; }
  .notification-actions button { flex: 1 1 auto; }
}
