hi/* ==========================================================
   HOOK. - Minimal House Theme
   Loads AFTER style.css and theme-simple.css.
   Quiet, editorial look: warm paper background, thin lines,
   spaced lowercase wordmark, light type, square buttons.
   To go back: delete the theme-minimal.css <link> in header.php.
   ========================================================== */

:root {
    --hk-paper: #f7f5f0;
    --hk-soft: #efece5;
    --hk-ink: #141414;
    --hk-muted: #5f5b53;
    --hk-line: #e4e0d8;

    --bg-light: #f7f5f0;
    --bg-subtle: #f1eee8;
    --border-color: #e4e0d8;
    --text-main: #141414;
    --text-muted: #77736b;
    --radius-sm: 0;
    --radius-md: 0;
    --radius-lg: 0;
    --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Manrope', 'Segoe UI', Arial, sans-serif;
}

body {
    background: var(--hk-paper);
    color: var(--hk-ink,#141414);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 0;
    color: var(--hk-ink);
}

/* ---------- Announcement bar ---------- */
.announcement-bar {
    background: var(--hk-ink);
    color: var(--hk-paper);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 10px 14px;
}

/* ---------- Header ---------- */
.site-header {
    background: var(--hk-paper);
    border-bottom: 1px solid var(--hk-line);
    box-shadow: none;
}

.hk-wordmark {
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5em;
    margin-right: -0.55em;
    text-transform: none;
    color: var(--hk-ink);
    line-height: 1;
}
.hk-wordmark b { color: var(--hk-ink); font-weight: 400; }

.nav-links a {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hk-ink);
}
.nav-links a::after { background: var(--hk-ink); height: 1px; }

.action-btn { color: var(--hk-ink); }
.action-btn:hover { background: transparent; opacity: 0.6; }
.cart-count-badge { background: var(--hk-ink); border-color: var(--hk-paper); }

/* ---------- Buttons ---------- */
.btn {
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 14px 28px;
}
.btn-sm { padding: 10px 18px; font-size: 11px; }
.btn-lg { padding: 16px 34px; font-size: 12px; }
.btn-primary { background: var(--hk-ink); color: var(--hk-paper); border-color: var(--hk-ink); }
.btn-primary:hover { background: #3a3733; color: var(--hk-paper); }
.btn-outline { border: 1px solid var(--hk-ink); color: var(--hk-ink); background: transparent; }
.btn-outline:hover { background: var(--hk-ink); color: var(--hk-paper); }

/* ---------- Forms ---------- */
.form-control {
    border-radius: 0;
    border: 1px solid var(--hk-line2,#cfcac0);
    background: #ffffff;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--hk-ink,#141414);
}
.form-control:focus { border-color: var(--hk-ink); box-shadow: none; }
.form-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hk-muted,#5a564e);
}

/* ---------- Page title bands (shop / cart / checkout) ---------- */
[style*="background: #f8fafc"][style*="border-bottom"],
[style*="background: #f8f9fa"][style*="border-bottom"] {
    background: transparent !important;
    border-bottom: 1px solid var(--hk-line) !important;
}
[style*="background: #f8fafc"][style*="border-bottom"] h1,
[style*="background: #f8f9fa"][style*="border-bottom"] h1 {
    font-family: var(--font-heading) !important;
    font-weight: 500 !important;
    font-size: clamp(30px, 5vw, 44px) !important;
    letter-spacing: 0 !important;
}

/* ---------- Shop product cards ---------- */
.products-grid .product-card,
.shop-products-grid .product-card {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none;
}
.product-thumb { background: var(--hk-soft) !important; }
.product-card:hover { transform: none; box-shadow: none; }
.product-body { padding: 14px 2px 6px !important; }
.product-card h3 {
    font-family: var(--font-heading) !important;
    font-size: 22px !important;
    font-weight: 600 !important;
}
.product-card .btn-sm { border-radius: 0; }

/* ---------- Cart / checkout cards ---------- */
.cart-card, .cart-summary, .co-card, .co-summary {
    background: var(--hk-paper,#f7f5f0) !important;
    border-color: var(--hk-line) !important;
    border-radius: 0 !important;
}

/* ---------- Drawers ---------- */
.cart-drawer, .mobile-menu-drawer { background: var(--hk-paper); }
.drawer-footer { background: var(--hk-soft); }
.mobile-bottom-nav { background: rgba(247, 245, 240, 0.97); border-top-color: var(--hk-line); }

/* ---------- Search modal ---------- */
.search-modal-box { border-radius: 0; background: var(--hk-paper); }

@media (max-width: 768px) {
    .hk-wordmark { font-size: 19px; letter-spacing: 0.45em; margin-right: -0.45em; }
}


/* ==========================================================
   FONTS + READABILITY (added)
   Sturdier fonts (Fraunces headings, Manrope text), heavier
   weights and darker text so everything reads clearly on any
   screen, including older office monitors.
   ========================================================== */
:root {
    --hk-muted: #5a564e;
    --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Manrope', 'Segoe UI', Arial, sans-serif;
}
body {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--hk-ink,#141414);
}
h1, h2, h3, h4, h5, h6 { font-weight: 500; }
.hk-wordmark { font-weight: 600; }
.nav-links a { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; }
.announcement-bar { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; }
.btn { font-weight: 600; }
.form-label { font-size: 12px; font-weight: 600; color: var(--hk-muted,#5a564e); }


/* ==========================================================
   ADMIN COLOURS
   These colours come from Admin > Store Settings >
   "Dynamic Website Theme Colors" (Primary, Accent, Button, Footer).
   Page background comes from the setting "color_page".
   ========================================================== */
body { background: var(--hk-paper, #f7f5f0); color: var(--hk-ink, #141414); }

.btn-primary {
    background: var(--hk-btn, #141414) !important;
    color: var(--hk-btn-text, #f7f5f0) !important;
    border-color: var(--hk-btn, #141414) !important;
}
.btn-primary:hover { opacity: 0.88; }
.btn-outline { border-color: var(--hk-ink, #141414); color: var(--hk-ink, #141414); }
.btn-outline:hover { background: var(--hk-ink, #141414); color: var(--hk-paper, #f7f5f0); }

.announcement-bar { background: var(--hk-ink, #141414); color: var(--hk-paper, #f7f5f0); }
.hk-wordmark b { color: var(--hk-accent, #d4af37); }
.nav-links a::after { background: var(--hk-accent, #d4af37); }
.hk-link { border-bottom: 2px solid var(--hk-accent, #d4af37); }
.hkc-tag, .pd-tag {
    background: var(--hk-accent, #d4af37) !important;
    color: var(--hk-accent-text, #141414) !important;
}
.pd-stars { color: var(--hk-accent, #d4af37) !important; }
.cart-count-badge { background: var(--hk-accent, #d4af37); color: var(--hk-accent-text, #141414); }
::selection { background: var(--hk-accent, #d4af37); color: var(--hk-accent-text, #141414); }



/* ==========================================================
   DARK LOOK (preview)
   Used when the page has <html data-look="dark">.
   ========================================================== */
html[data-look="dark"] {
    --hk-paper: #121110;
    --hk-ink: #f2eee7;
    --hk-text2: #d8d2c6;
    --hk-soft: #1c1a18;
    --hk-line: #2d2a26;
    --hk-line2: #46423b;
    --hk-muted: #b3ad9f;
    --hk-accent: #d9a441;
    --hk-accent-text: #141414;
    --hk-btn: #d9a441;
    --hk-btn-text: #141414;
    --hk-footer-bg: #0b0a09;
    --hk-footer-text: #f2eee7;
    --hk-footer-line: #2a2825;
    --hk-footer-muted: #a8a296;

    --primary: #f2eee7;
    --accent: #d9a441;
    --colorBtnPrimary: #d9a441;
    --bg-light: #121110;
    --bg-surface: #1a1816;
    --bg-subtle: #1c1a18;
    --border-color: #2d2a26;
    --text-main: #f2eee7;
    --text-muted: #b3ad9f;
    color-scheme: dark;
}
html[data-look="dark"] body { background: #121110; color: #f2eee7; }
html[data-look="dark"] .announcement-bar { background: #000; color: #f2eee7; }
html[data-look="dark"] .site-header { background: #121110; border-bottom-color: #2d2a26; }
html[data-look="dark"] .brand-logo-img,
html[data-look="dark"] .hkm-logo-img { filter: brightness(0) invert(1); }
html[data-look="dark"] .mobile-bottom-nav { background: rgba(18, 17, 16, 0.97); }
html[data-look="dark"] .hkw {
    background: #1b1816;
    background: color-mix(in srgb, var(--hkw-bg, #1b1816) 16%, #0f0e0e);
}
html[data-look="dark"] .hkw-notes div { border-top-color: rgba(255, 255, 255, 0.16); }
html[data-look="dark"] .form-control { background: #1c1a18; color: #f2eee7; }



/* ==========================================================
   ONE-STYLE LAYOUT (menu left, logo centre, icons right)
   ========================================================== */
@media (min-width: 1101px) {
    .header-inner { display: grid !important; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
    .header-left { display: contents; }
    .header-left .logo-brand { grid-column: 2; grid-row: 1; justify-self: center; position: static !important; transform: none !important; left: auto !important; top: auto !important; }
    .header-nav { grid-column: 1; grid-row: 1; justify-self: start; margin: 0 !important; }
    .nav-links { justify-content: flex-start !important; gap: 22px !important; }
    .header-actions { grid-column: 3; grid-row: 1; justify-self: end; }
}
@media (max-width: 1100px) {
    .header-inner { display: grid !important; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
    .header-left { display: contents; }
    .mobile-menu-toggle { grid-column: 1; grid-row: 1; justify-self: start; }
    .header-left .logo-brand { grid-column: 2; grid-row: 1; justify-self: center; position: static !important; transform: none !important; left: auto !important; top: auto !important; }
    .header-actions { grid-column: 3; grid-row: 1; justify-self: end; }
}

/* ==========================================================
   DARK LOOK: pages that still use light colours inside the page itself
   (shop, cart, checkout, product, account ...)
   ========================================================== */
html[data-look="dark"] .qty-btn { background: #1c1a18; color: #f2eee7; }
html[data-look="dark"] .pd-stock-ok { color: #7fd19b; }
html[data-look="dark"] .pd-stock-no { color: #ff9a8d; }
html[data-look="dark"] .shop-filter-card ul li a { background: #1c1a18 !important; border-color: #2d2a26 !important; color: #f2eee7 !important; }
html[data-look="dark"] .cart-table th { color: #b3ad9f; border-bottom-color: #2d2a26; }
html[data-look="dark"] .cart-table td { border-bottom-color: #2d2a26; }
html[data-look="dark"] .cart-table tr { border-bottom-color: #2d2a26; }
html[data-look="dark"] .search-modal-box { background: #1a1816; }
html[data-look="dark"] .search-input-wrap { background: #121110; border-color: #2d2a26; }
html[data-look="dark"] .search-input-wrap input { color: #f2eee7; }
html[data-look="dark"] select option { background: #1c1a18; color: #f2eee7; }
html[data-look="dark"] input::placeholder, html[data-look="dark"] textarea::placeholder { color: #8f897c; }

/* light inline backgrounds become dark panels */
html[data-look="dark"] [style*="background: #fff"],
html[data-look="dark"] [style*="background:#fff"],
html[data-look="dark"] [style*="background: #ffffff"],
html[data-look="dark"] [style*="background:#ffffff"],
html[data-look="dark"] [style*="background: #fafafa"],
html[data-look="dark"] [style*="background:#fafafa"],
html[data-look="dark"] [style*="background: #fdfdfd"],
html[data-look="dark"] [style*="background:#fdfdfd"],
html[data-look="dark"] [style*="background: #fbfaf7"],
html[data-look="dark"] [style*="background:#fbfaf7"],
html[data-look="dark"] [style*="background: #f8fafc"],
html[data-look="dark"] [style*="background:#f8fafc"],
html[data-look="dark"] [style*="background: #f8f9fa"],
html[data-look="dark"] [style*="background:#f8f9fa"],
html[data-look="dark"] [style*="background: #f1f5f9"],
html[data-look="dark"] [style*="background:#f1f5f9"],
html[data-look="dark"] [style*="background: #f9fafb"],
html[data-look="dark"] [style*="background:#f9fafb"],
html[data-look="dark"] [style*="background: #f3f3f3"],
html[data-look="dark"] [style*="background:#f3f3f3"],
html[data-look="dark"] [style*="background: #fcfcfd"],
html[data-look="dark"] [style*="background:#fcfcfd"] {
    background: #1a1816 !important;
    border-color: #2d2a26 !important;
}

/* dark inline text colours become light */
html[data-look="dark"] [style*="color: #0f172a"]:not([style*="background"]),
html[data-look="dark"] [style*="color: #111"]:not([style*="background"]),
html[data-look="dark"] [style*="color: #111827"]:not([style*="background"]),
html[data-look="dark"] [style*="color: #1e293b"]:not([style*="background"]),
html[data-look="dark"] [style*="color: #000"]:not([style*="background"]),
html[data-look="dark"] [style*="color: #222"]:not([style*="background"]),
html[data-look="dark"] [style*="color: #333"]:not([style*="background"]) {
    color: #f2eee7 !important;
}
html[data-look="dark"] [style*="color: #334155"]:not([style*="background"]),
html[data-look="dark"] [style*="color: #444"]:not([style*="background"]),
html[data-look="dark"] [style*="color: #475569"]:not([style*="background"]),
html[data-look="dark"] [style*="color: #555"]:not([style*="background"]) {
    color: #d8d2c6 !important;
}
html[data-look="dark"] [style*="color: #64748b"]:not([style*="background"]),
html[data-look="dark"] [style*="color: #666"]:not([style*="background"]),
html[data-look="dark"] [style*="color: #777"]:not([style*="background"]),
html[data-look="dark"] [style*="color: #888"]:not([style*="background"]),
html[data-look="dark"] [style*="color: #94a3b8"]:not([style*="background"]) {
    color: #b3ad9f !important;
}

html[data-look="dark"] [style*="border: 1px solid #e2e8f0"], html[data-look="dark"] [style*="border: 1px solid #f0f0f0"],
html[data-look="dark"] [style*="border: 1px solid #eaeaea"], html[data-look="dark"] [style*="border-bottom: 1px solid #f1f5f9"] {
    border-color: #2d2a26 !important;
}



/* ==========================================================
   BLACK / WHITE / ANTIQUE GOLD polish
   ========================================================== */
.btn-primary:hover {
    background: var(--hk-accent, #b8924a) !important;
    border-color: var(--hk-accent, #b8924a) !important;
    color: var(--hk-accent-text, #0e0e0e) !important;
    opacity: 1;
}



/* ==========================================================
   PROMINENT PRICES AND KEY INFORMATION
   Prices, savings and key figures stand out in the deep gold
   (it follows the Accent colour in Admin) and in green for savings.
   ========================================================== */
:root { --hk-good: #1e8e4e; }
html[data-look="dark"] { --hk-accent-deep: #e0b25a; --hk-good: #4fd18b; }

/* product page */
.pd .pd-price { background: var(--hk-soft, #edeae4); border-left: 4px solid var(--hk-accent, #b8924a); padding: 14px 18px; margin-bottom: 22px; }
.pd .pd-price .now { font-size: 42px !important; font-weight: 700 !important; color: var(--hk-accent-deep, #8a6a2e) !important; line-height: 1; }
.pd .pd-price .was { font-size: 19px; color: var(--hk-muted, #5a564e); }
.pd .pd-price .save { background: var(--hk-good, #1e8e4e) !important; color: #ffffff !important; border: 0 !important; font-size: 12px !important; font-weight: 700 !important; padding: 6px 11px !important; letter-spacing: 0.08em; }
.pd .pd-tag { font-weight: 700; }
.pd .pd-stock-ok { color: var(--hk-good, #1e8e4e) !important; font-weight: 700; }
.pd .pd-stock-no { font-weight: 700; }
.pd .pd-notes dt { color: var(--hk-accent-deep, #8a6a2e) !important; }
.pd .pd-assure i { color: var(--hk-accent-deep, #8a6a2e) !important; font-size: 20px; }
.pd .pd-assure strong { color: var(--hk-accent-deep, #8a6a2e); font-weight: 800; }
.pd .pd-chip { font-weight: 700; border-width: 2px; }

/* homepage */
.hk-home .hk-price { color: var(--hk-accent-deep, #8a6a2e); font-size: 23px; font-weight: 800; }
.hk-home .hk-was { font-size: 15px; }
.hk-home .hkw-notes dt, .hk-home .hkf-notes dt { color: var(--hk-accent-deep, #8a6a2e); }
.hk-home .hkw-no { color: var(--hk-accent-deep, #8a6a2e); font-weight: 700; }
.hk-home .hk-stats, .hk-home .hk-trust { color: var(--hk-ink, #0e0e0e); font-weight: 700; }

/* shop page cards */
.shop-products-grid .shop-price-row > div > span:first-child { color: var(--hk-accent-deep, #8a6a2e) !important; font-size: 20px !important; font-weight: 800 !important; }

/* bag, drawer and checkout totals */
#fullCartTotal, #coTotal, #drawerSubtotal { color: var(--hk-accent-deep, #8a6a2e) !important; font-weight: 800 !important; }
#fullCartSubtotal, #coSubtotal { font-weight: 800 !important; }



/* ==========================================================
   SAME SIDE MARGINS EVERYWHERE + NO SIDEWAYS SCROLL
   Header, banners, product block and footer now share one width and
   one side margin (20px). To change it, edit the two numbers below.
   ========================================================== */
:root { --hk-gutter: 20px; --hk-max: 1280px; }

/* the header grid may shrink instead of pushing the page wider */
.header-inner { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important; }
.header-nav { min-width: 0; }

/* pictures and videos never wider than the screen */
img, video, picture, iframe { max-width: 100%; }

/* homepage blocks: same width and margins as the header */
.hk-home .hk-wrap,
.hk-promo-wrap {
    max-width: calc(var(--hk-max) + 2 * var(--hk-gutter)) !important;
    padding-left: var(--hk-gutter) !important;
    padding-right: var(--hk-gutter) !important;
}
.hk-home .hs,
.hk-home .hkw,
.hk-home .hkf {
    width: min(calc(100% - 2 * var(--hk-gutter)), var(--hk-max));
    margin-left: auto;
    margin-right: auto;
}
.hk-promo { padding-left: 0; padding-right: 0; }
.hk-promo-item { max-width: 100%; }
/* LOGO SIZE */
.site-header .header-left .brand-logo-img {
    height: auto !important;
    width: auto !important;
    max-height: 72px !important;   /* desktop logo height */
    max-width: 320px !important;
}
.site-header .header-inner { min-height: 90px; }

@media (max-width: 768px) {
    .site-header .header-left .brand-logo-img {
        max-height: 62px !important;   /* phone logo height */
        max-width: 240px !important;
    }
    .site-header .header-inner { min-height: 78px; }
}
