/*
 * BEADLOOM DESIGN SETTINGS
 * Change these colours to personalize the entire website.
 */
:root {
    --ink: #252b27;
    --muted: #747a72;
    --paper: #faf9f5;
    --white: #ffffff;
    --sage: #e8f0df;
    --accent: #638064;
    --peach: #f8e9d9;
    --border: #e9e9e2;
    --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 15px/1.6 system-ui, -apple-system, 'Segoe UI', sans-serif; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.shell { width: min(1140px, calc(100% - 40px)); margin: auto; }
.topbar { min-height: 94px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 22px; line-height: 1.05; letter-spacing: -.04em; }
.brand small { display: block; margin-top: 7px; letter-spacing: .19em; font-size: 9px; color: var(--muted); }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--ink); color: #fff; font-size: 30px; line-height: 1; }
.top-links { display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 650; }
.top-links a:hover { color: var(--accent); }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .19em; color: var(--accent); }
.hero { position: relative; padding: 88px 8% 94px; background: var(--sage); border-radius: 27px; overflow: hidden; min-height: 440px; }
.hero h1 { margin: 20px 0; font-size: clamp(48px, 7vw, 88px); line-height: 1.05; letter-spacing: -.065em; max-width: 710px; position: relative; z-index: 1; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { color: #565f53; max-width: 480px; line-height: 1.8; margin: 0 0 25px; position: relative; z-index: 1; }
.sparkle { font-size: 22px; vertical-align: middle; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; border-radius: 12px; font-weight: 750; padding: 12px 20px; border: 1px solid var(--ink); font-size: 14px; }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #3a5140; }
.button-outline { background: transparent; }
.button-outline:hover, .small-button:hover { background: var(--sage); }
.button:disabled { opacity: .55; cursor: progress; }
.hero-dots { position: absolute; right: 8%; top: 80px; display: grid; grid-template-columns: repeat(3, 37px); gap: 11px; transform: rotate(-13deg); opacity: .7; }
.hero-dots span { width: 37px; height: 37px; background: #a1b998; border-radius: 10px; }
.hero-dots span:nth-child(3n+1) { background: #dfbca5; }
.hero-dots span:nth-child(4n+2) { background: #f7f0bf; }
.catalog { padding-top: 88px; padding-bottom: 85px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 25px; }
h1, h2, h3, p { overflow-wrap: anywhere; }
.section-head h2, .section-head h1 { margin: 7px 0 0; font-size: clamp(30px, 4vw, 42px); line-height: 1.2; letter-spacing: -.045em; }
.section-head h2 span, .section-head h1 span { color: #ddad7d; }
.item-count { font-size: 13px; color: var(--muted); white-space: nowrap; }
.controls { display: flex; align-items: center; gap: 20px; justify-content: space-between; flex-wrap: wrap; margin-bottom: 28px; }
.controls input { min-width: min(100%, 300px); border: 1px solid var(--border); border-radius: 11px; background: #fff; padding: 12px 14px; outline-color: var(--accent); }
.categories { display: flex; flex-wrap: wrap; gap: 7px; }
.category-chip { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 9px 14px; font-size: 12px; font-weight: 700; }
.category-chip.active { background: var(--ink); color: white; border-color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card { border: 1px solid var(--border); background: #fff; border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px #24301e12; }
.product-picture { aspect-ratio: 1/1; position: relative; background: #f3f0e9; overflow: hidden; }
.product-picture img { width: 100%; height: 100%; object-fit: cover; display: block; }
.picture-placeholder { display: grid; place-items: center; font-size: 86px; color: #d7cbbb; }
.featured-flag { position: absolute; top: 12px; left: 12px; border-radius: 20px; padding: 5px 10px; background: #fff; font-size: 10px; font-weight: 800; letter-spacing: .07em; }
.product-details { padding: 17px; display: flex; flex-direction: column; align-items: flex-start; min-height: 196px; }
.product-category { font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); font-weight: 800; }
.product-details h3 { margin: 7px 0 5px; font-size: 16px; line-height: 1.35; }
.product-details p { color: var(--muted); margin: 0 0 17px; font-size: 12px; line-height: 1.6; }
.product-link { margin-top: auto; font-size: 13px; font-weight: 800; border-bottom: 1px solid var(--ink); }
.product-link:hover { color: var(--accent); border-color: var(--accent); }
.empty { grid-column: 1 / -1; background: #fff; color: var(--muted); border: 1px dashed #d9ded3; border-radius: var(--radius); padding: 50px 20px; text-align: center; }
.about { background: var(--peach); border-radius: 24px; display: flex; gap: 22px; align-items: center; padding: 40px 5%; }
.about-icon { font-size: 58px; color: #d0a37d; }
.about h2 { margin: 0 0 7px; font-size: 23px; letter-spacing: -.03em; }
.about p { margin: 0; color: #776a5c; max-width: 710px; }
.footer { display: flex; gap: 35px; align-items: center; justify-content: space-between; padding-top: 32px; padding-bottom: 36px; font-size: 12px; color: var(--muted); }
.footer p { max-width: 690px; margin: 0; }
/* Admin styles */
.admin-body { background: #f4f5f0; }
.admin-main { padding-top: 36px; padding-bottom: 70px; }
.admin-main .section-head { align-items: center; }
.admin-main .section-head p { margin: 8px 0 0; }
.muted { color: var(--muted); }
.panel { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 25px; }
.panel h2 { margin: 0 0 20px; font-size: 21px; letter-spacing: -.03em; }
.admin-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
label:not(.check) { display: block; font-size: 12px; font-weight: 750; margin: 17px 0 6px; }
.panel input:not([type="checkbox"]):not([type="file"]), .panel textarea { width: 100%; border: 1px solid #dcdfd7; border-radius: 9px; padding: 10px 12px; outline-color: var(--accent); background: #fff; }
.panel textarea { resize: vertical; }
.panel input[type="file"] { width: 100%; font-size: 12px; }
.field-help { color: var(--muted); font-size: 11px; margin-top: 5px; }
.image-preview { display: grid; place-items: center; height: 160px; background: #f5f6f2; border: 1px dashed #cdd3ca; border-radius: 12px; color: var(--muted); margin-top: 10px; overflow: hidden; }
.image-preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.inline-fields { display: flex; align-items: center; gap: 25px; }
.inline-fields > div { flex: 1; }
.check-fields { display: flex; flex-direction: column; gap: 13px; padding-top: 18px; }
.check { font-size: 12px; font-weight: 650; }
.check input { margin-right: 7px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.notice { min-height: 20px; font-weight: 650; font-size: 13px; }
.notice.error { color: #a93838; }
.notice.success { color: #3c7046; }
.panel-head { display: flex; align-items: start; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.panel-head h2 { margin: 0; }
.panel-head p { font-size: 12px; margin: 2px 0; }
.small-button { border: 1px solid var(--border); background: #fff; border-radius: 8px; padding: 7px 10px; font-size: 12px; font-weight: 700; }
.small-button.danger { color: #a43b3b; }
.admin-products { display: flex; flex-direction: column; gap: 10px; }
.admin-item { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 11px; }
.admin-thumb { width: 65px; height: 65px; border-radius: 9px; flex-shrink: 0; background: var(--sage); display: grid; place-items: center; color: #87a380; font-size: 31px; overflow: hidden; }
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-item-details { flex: 1; min-width: 0; }
.admin-item-details strong { display: block; font-size: 13px; line-height: 1.4; }
.admin-item-details small { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }
.item-actions { display: flex; flex-direction: column; gap: 5px; }
.auth-wrap { min-height: 100vh; max-width: 430px; margin: auto; display: flex; flex-direction: column; justify-content: center; gap: 23px; padding: 24px; }
.login-panel h1 { font-size: 30px; letter-spacing: -.05em; margin: 9px 0; }
.login-panel p { margin: 7px 0; }
.login-panel .full { width: 100%; margin-top: 20px; }
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(3, 1fr); } .hero-dots { opacity: .35; } }
@media (max-width: 740px) { .shell { width: min(100% - 28px, 1140px); } .topbar { min-height: 76px; } .top-links { gap: 11px; } .hero { min-height: 0; padding: 70px 26px; } .hero-dots { right: -18px; top: 30px; opacity: .15; } .catalog { padding-top: 54px; padding-bottom: 50px; } .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; } .product-details { padding: 12px; min-height: 205px; } .product-details h3 { font-size: 14px; } .controls input { width: 100%; } .admin-layout { grid-template-columns: 1fr; } .admin-main .section-head { align-items: start; flex-direction: column; } .footer { flex-direction: column; align-items: start; gap: 14px; } }
@media (max-width: 390px) { .top-links { font-size: 11px; } .brand { font-size: 18px; } .brand-mark { width: 36px; height: 36px; font-size: 26px; } .hero h1 { font-size: 45px; } .about { padding: 27px; } .about-icon { display: none; } }


/* MULTI-STOREFRONT HOMEPAGE — edit colours and spacing here. */
.store-hero { min-height: 400px; }
.store-directory { padding: 78px 0 88px; }
.store-directory .section-head { margin-bottom: 25px; }
.store-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.store-card { display: flex; align-items: center; gap: 19px; min-height: 142px; padding: 24px; border: 1px solid var(--border); border-radius: 20px; background: #fff; transition: transform .2s, box-shadow .2s; }
.store-card:not([aria-disabled="true"]):hover { transform: translateY(-3px); box-shadow: 0 14px 30px #24301e12; }
.store-card[aria-disabled="true"] { opacity: .56; cursor: not-allowed; }
.store-icon { display: grid; place-items: center; flex: 0 0 60px; width: 60px; height: 60px; border-radius: 16px; font-size: 30px; font-weight: 900; }
.shopee-icon { background: #fff0e6; color: #ee4d2d; }
.amazon-icon { background: #f0f3f8; color: #242d39; font-family: Georgia, serif; font-size: 39px; }
.taobao-icon { background: #fff1df; color: #ee7600; }
.aliexpress-icon { background: #ffefec; color: #e33b36; }
.store-info { flex: 1; min-width: 0; }
.store-info strong { display: block; font-size: 21px; letter-spacing: -.035em; }
.store-info small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.store-arrow { font-size: 23px; color: var(--accent); }
.store-status { color: #b1493f; font-size: 12px; }
.shop-intro { padding: 62px 3% 28px; border-radius: 24px; background: var(--sage); }
.shop-intro h1 { font-size: clamp(34px, 5vw, 56px); margin: 13px 0 8px; letter-spacing: -.045em; }
.shop-intro p { max-width: 600px; color: #526352; margin-top: 0; }
.shop-switch { display: flex; gap: 9px; margin-top: 24px; }
.shop-switch a { border-radius: 999px; padding: 10px 18px; font-size: 13px; font-weight: 750; background: #fff; }
.shop-switch a.active { background: var(--ink); color: #fff; }
.shop-intro + .catalog { padding-top: 54px; }
.links-panel { margin-bottom: 24px; }
.links-panel .panel-head { margin-bottom: 6px; }
.external-link-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.links-panel button { margin-top: 18px; }
.panel select { width: 100%; border: 1px solid #dcdfd7; border-radius: 9px; background: #fff; padding: 10px 12px; font: inherit; }
@media (max-width: 740px) { .store-grid, .external-link-fields { grid-template-columns: 1fr; } .store-directory { padding: 51px 0 58px; } .store-card { min-height: 115px; padding: 17px; } .shop-intro { padding: 35px 20px; } }
