*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:auto}

:root {
    --bg: #f8fafc;
    --bg-strong: #f1f5f9;
    --panel: #ffffff;
    --panel-alt: #f8fafc;
    --panel-soft: #f1f5f9;
    --text: #0f172a;
    --muted: #64748b;
    --muted-strong: #334155;
    --border: #e2e8f0;
    --border-strong: #cbd5e1;
    --brand: #005f73;
    --brand-strong: #004554;
    --accent: #0a9396;
    --accent-soft: rgba(0, 95, 115, 0.08);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --panel-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

body {
    background: #ffffff;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    min-height: 100vh;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-strong); text-decoration: underline; }

img { max-width: 100%; display: block; }

.wrapper {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 10px;
}

/* ── Discreet Top Announcement Bar ────────────────────────────────────────── */
.discreet-top-banner {
    background: #0b1a28;
    border-bottom: 1px solid #132b42;
    padding: 6px 16px;
    font-size: 12px;
    color: #e2e8f0;
    position: relative;
    z-index: 1002;
    line-height: 1.4;
}
.banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1340px;
    margin: 0 auto;
}
.banner-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.banner-badge {
    background: #005f73;
    color: #ffffff;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    border-radius: 3px;
    text-transform: uppercase;
    flex-shrink: 0;
}
.banner-text {
    color: #cbd5e1;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.banner-link {
    color: #94d2bd;
    font-weight: 600;
    margin-left: 6px;
    text-decoration: underline;
}
.banner-link:hover {
    color: #ffffff;
}
.banner-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
    transition: all 0.15s ease;
}
.banner-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

/* utility row */
.top-utility-bar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 12px;
    color: #475569;
    line-height: 1;
}
.utility-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 16px;
    gap: 16px;
    max-width: 1340px;
    margin: 0 auto;
}
.utility-left {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    overflow-x: auto;
}
.utility-link {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    transition: color 0.15s;
}
.utility-link:hover {
    color: #005f73;
    text-decoration: underline;
}
.utility-divider {
    color: #cbd5e1;
    font-size: 11px;
}
.utility-right {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    font-size: 12px;
}
.utility-hotline, .utility-email {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #334155;
    font-weight: 600;
    text-decoration: none;
}
.utility-email:hover {
    color: #005f73;
    text-decoration: underline;
}
.utility-cur-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #e2e8f0;
    padding: 3px 8px;
    border-radius: 4px;
    color: #0f172a;
    font-size: 11.5px;
}
.flag-icon {
    font-size: 14px;
    line-height: 1;
}

/* main header */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 16px;
    max-width: 1340px;
    margin: 0 auto;
}

/* brand mark */
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}
.lgc-brand-emblem {
    width: 44px;
    height: 44px;
    border-radius: 7px;
    background: #006b7f;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    border: 1px solid #005466;
    flex-shrink: 0;
    transition: none;
}
.site-logo:hover .lgc-brand-emblem { background: #005f73; }
.emblem-text {
    color: #ffffff;
    font-weight: 900;
    font-size: 19px;
    letter-spacing: -0.5px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.logo-text-wrap {
    display: flex;
    flex-direction: column;
}
.logo-title {
    font-size: 21px;
    font-weight: 800;
    color: #005f73;
    letter-spacing: -0.15px;
    line-height: 1.1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.logo-sub {
    font-size: 8.5px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Wide Omnibar Search Pill */
.header-search {
    flex: 1;
    max-width: 620px;
    margin: 0 16px;
}
.header-search, .qo-field-row { position: relative; }
.search-suggestions { position:absolute; z-index:120; top:calc(100% + 5px); left:0; right:0; max-height:300px; overflow-y:auto; background:#fff; border:1px solid #cbd5e1; border-radius:8px; box-shadow:0 16px 30px rgba(15,23,42,.16); text-align:left; }
.search-suggestion { display:grid; grid-template-columns:1fr auto; gap:2px 12px; padding:10px 12px; color:#172033; text-decoration:none; border-bottom:1px solid #edf1f4; font-size:13px; }
.search-suggestion:last-child { border-bottom:0; }.search-suggestion:hover { background:#f0f7f6; }.search-suggestion strong { font-weight:700; }.search-suggestion span { font-weight:700; color:#006b7f; }.search-suggestion small { grid-column:1 / -1; color:#607083; }
.qty-choice { min-width:78px; padding:6px 7px; border:1px solid #cbd5e1; border-radius:5px; background:#fff; color:#1f2937; }
.review-trust-summary { display:flex; justify-content:space-between; gap:12px; margin:22px 0 14px; padding:14px 16px; border:1px solid #d7e0e2; background:#f6f9f9; border-radius:6px; color:#334b50; }.review-trust-summary span { color:#65777b; }.public-reviews { display:grid; gap:12px; }.public-reviews .review-card { padding:16px; border:1px solid #dfe6e7; border-radius:6px; background:#fff; }.public-reviews .review-card-top { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }.public-reviews time { margin-left:auto; color:#718087; font-size:12px; }.public-reviews p { margin:10px 0 0; color:#42565b; line-height:1.55; }
.header-search-form {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    border-radius: 9999px;
    padding: 3px 6px 3px 20px;
    transition: all 0.2s ease;
    height: 44px;
}
.header-search-form:focus-within {
    background: #ffffff;
    border-color: #005f73;
    box-shadow: none;
}
.header-search-form input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 13.5px;
    color: #0f172a;
    outline: none;
    padding-right: 10px;
}
.header-search-form input::placeholder {
    color: #64748b;
    font-weight: 400;
}
.search-submit-btn {
    background: transparent;
    border: none;
    color: #475569;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}
.search-submit-btn:hover {
    color: #005f73;
    background: #e2e8f0;
}

/* Header Right Actions (Quick Order, Account, Favorites, Cart) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.quick-order-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.quick-order-btn:hover {
    border-color: #005f73;
    color: #005f73;
    background: #f0fdfa;
    box-shadow: none;
}

/* Practical responsive defaults: no horizontal overflow, controls remain usable. */
img, svg { max-width: 100%; }
@media (max-width: 480px) {
  .wrapper, .inner-page { padding-left: 14px; padding-right: 14px; }
  .site-logo { gap: 8px; }.lgc-brand-emblem { width: 38px; height: 38px; }.logo-title { font-size: 18px; }.logo-sub { font-size: 7px; letter-spacing: 1px; }
  .utility-right { width: 100%; justify-content: center; }.utility-signal, .utility-email { font-size: 11px; }
  .header-actions { gap: 5px; }.header-icon-action { padding: 5px; }.cart-badge-pill { min-width: 16px; }
  table { display: block; overflow-x: auto; white-space: nowrap; }
}
.header-icon-action {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #334155;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 8px;
    border-radius: 6px;
    transition: color 0.15s;
    white-space: nowrap;
}
.header-icon-action:hover {
    color: #005f73;
    text-decoration: none;
}
.action-text {
    display: inline;
}
.cart-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.cart-badge-pill {
    position: absolute;
    top: -7px;
    right: -10px;
    background: #005f73;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 9999px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #ffffff;
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    padding: 6px;
    color: #0f172a;
    cursor: pointer;
}

/* catalog navigation */
.catalog-nav-bar {
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}
.nav-inner {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 16px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    position: relative;
}
.nav-links::-webkit-scrollbar {
    display: none;
}
.nav-tab {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.nav-tab:hover, .nav-tab.tab-active {
    color: #005f73;
    border-bottom-color: #005f73;
    background: #f8fafc;
    text-decoration: none;
}
.tab-arrow-icon {
    transition: transform 0.2s ease;
}
.mega-tab-wrapper {
    position: static;
}
.mega-tab-wrapper:hover .tab-arrow-icon,
.mega-tab-wrapper.open .tab-arrow-icon {
    transform: rotate(180deg);
}

/* category menu */
.mega-menu-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.18), 0 0 1px rgba(0, 0, 0, 0.1);
    border-top: 2px solid #005f73;
    border-bottom: 2px solid #cbd5e1;
    z-index: 999;
}
.mega-menu-dropdown.mega-open {
    display: block;
    animation: megaDropdownSlide 0.2s ease-out;
}
@keyframes megaDropdownSlide {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
.mega-menu-close {
    position: absolute;
    top: 14px;
    right: 24px;
    background: transparent;
    border: none;
    font-size: 26px;
    color: #005f73;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.15s ease;
}
.mega-menu-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}
.mega-menu-body {
    max-width: 1340px;
    margin: 0 auto;
    padding: 28px 24px 34px;
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 48px;
}

/* Mega Menu Promo Card (Left Column) */
.mega-promo-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}
.promo-image-header {
    height: 120px;
    position: relative;
    background: linear-gradient(135deg, #005f73 0%, #0a9396 60%, #94d2bd 100%);
    overflow: hidden;
}
.promo-science-bg {
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 35%, rgba(255,255,255,0.25) 0%, transparent 45%),
        radial-gradient(circle at 80% 65%, rgba(255,255,255,0.2) 0%, transparent 45%);
}
.promo-tag {
    position: absolute;
    bottom: 8px;
    left: 12px;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 2px 8px;
    border-radius: 3px;
}
.promo-card-content {
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.promo-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin: 0;
}
.promo-desc {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}
.promo-btn {
    display: inline-block;
    margin-top: auto;
    padding: 10px 20px;
    background: #005f73;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 9999px;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
}
.promo-btn:hover {
    background: #004554;
    text-decoration: none;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 95, 115, 0.28);
}

/* Mega Menu Products Taxonomy (Right Section) */
.mega-products-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.mega-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 1.5px solid #f1f5f9;
    padding-bottom: 10px;
}
.mega-section-title {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}
.mega-view-all {
    font-size: 12.5px;
    font-weight: 600;
    color: #005f73;
    text-decoration: none;
}
.mega-view-all:hover {
    text-decoration: underline;
}
.mega-category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 40px;
}
.mega-col {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.mega-cat-link {
    font-size: 13px;
    color: #334155;
    text-decoration: none;
    padding: 4px 6px;
    border-radius: 4px;
    transition: all 0.12s ease;
}
.mega-cat-link:hover {
    color: #005f73;
    background: #f8fafc;
    text-decoration: none;
    transform: translateX(4px);
}
.mega-resources-row {
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
}
.mega-resources-label {
    font-weight: 800;
    color: #0f172a;
}
.mega-resources-links {
    display: flex;
    align-items: center;
    gap: 10px;
}
.mega-res-link {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
}
.mega-res-link:hover {
    color: #005f73;
    text-decoration: underline;
}
.mega-res-sep {
    color: #cbd5e1;
    font-size: 8px;
}

/* ── Quick Order Modal Window ────────────────────────────────────────────── */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(3px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.quick-order-dialog {
    background: #ffffff;
    border-radius: 10px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.28);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    animation: modalPop 0.18s ease-out;
}
.announcement-hero { padding: 34px 0 38px; }
.hero-announcements { max-width: 760px; margin: 20px auto 0; display: grid; gap: 9px; text-align: left; }
.hero-announcements article { display: flex; gap: 12px; align-items: baseline; padding: 11px 14px; border: 1px solid rgba(0,95,115,.18); border-radius: 8px; background: rgba(255,255,255,.64); }
.hero-announcements strong { color: #005f73; white-space: nowrap; }
.hero-announcements span, .hero-empty { color: #40545b; }
.hero-sample-note { margin: 18px 0 0; font-size: 13px; color: #40545b; }.hero-sample-note a { color: #005f73; font-weight: 700; }.contact-signal { margin-top: 12px; color: #52666d; font-size: 13px; }
@keyframes modalPop {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}
.modal-header {
    padding: 18px 22px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.modal-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}
.modal-subtitle {
    font-size: 12.5px;
    color: #64748b;
    margin: 4px 0 0;
}
.modal-close-btn {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 4px;
    transition: color 0.15s;
}
.modal-close-btn:hover {
    color: #0f172a;
    background: #f1f5f9;
}
.modal-body {
    padding: 22px;
}
.qo-field-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}
.qo-label {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}
.qo-input {
    padding: 12px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    color: #0f172a;
    outline: none;
    transition: border-color 0.15s;
}
.qo-input:focus {
    border-color: #005f73;
    box-shadow: 0 0 0 3px rgba(0, 95, 115, 0.12);
}
.qo-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.qo-submit {
    padding: 11px 22px;
    background: #005f73;
    color: #ffffff;
    border-radius: 6px;
    border: none;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}
.qo-submit:hover {
    background: #004554;
}
.qo-browse-link {
    font-size: 12.5px;
    color: #005f73;
    font-weight: 600;
    text-decoration: none;
}
.qo-browse-link:hover {
    text-decoration: underline;
}

/* ── Responsive Rules for Header & Nav ───────────────────────────────────── */
@media (max-width: 1024px) {
    .mega-menu-body {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .mega-promo-card {
        display: none;
    }
}
@media (max-width: 900px) {
    .top-utility-bar .utility-divider,
    .top-utility-bar .utility-link:nth-child(n+4) { display: none; }
    .header-inner { flex-wrap: wrap; padding: 10px 14px; gap: 12px; }
    .header-search { order: 3; max-width: 100%; margin: 6px 0 0; width: 100%; }
    .action-text { display: none; }
    .quick-order-btn span { display: none; }
    .quick-order-btn { padding: 8px 10px; }
    .mobile-nav-toggle { display: block; }
    .catalog-nav-bar { display: none; }
    .catalog-nav-bar.mobile-open { display: block; }
    .nav-links { flex-direction: column; width: 100%; align-items: flex-start; gap: 4px; padding: 10px 0; }
    .nav-tab { width: 100%; padding: 10px 14px; border-bottom: none; border-left: 3px solid transparent; }
    .nav-tab:hover, .nav-tab.tab-active { border-left-color: #005f73; }
    .mega-tab-wrapper { width: 100%; }
    .mega-menu-dropdown { position: static; box-shadow: none; border: 1px solid #e2e8f0; }
    .mega-category-grid { grid-template-columns: 1fr; }
}

.hero {
    background: linear-gradient(180deg, #f0f7f9 0%, #ffffff 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: 44px 16px 36px;
    text-align: center;
    position: relative;
}
.hero-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #005f73;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: inline-block;
    background: rgba(0, 95, 115, 0.08);
    padding: 3px 10px;
    border-radius: 9999px;
}
.hero h1 {
    font-size: 28px;
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
    line-height: 1.25;
}
.hero .tagline {
    color: #475569;
    font-size: 14.5px;
    max-width: 780px;
    margin: 0 auto 20px;
    line-height: 1.6;
}
.hero-trust-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #005f73;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 4px 12px;
    border-radius: 9999px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.pay-badges {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
.pay-badge {
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.pay-badge-btc {
    background: #fff8ed;
    border: 1px solid #ffd599;
    color: #b45309;
}
.pay-badge-xmr {
    background: #fff4eb;
    border: 1px solid #ffcca3;
    color: #c2410c;
}

.shop-wrap {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 10px 140px;
}

.shop-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0 14px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}
.shop-bar-label {
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .6px;
    font-weight: 600;
}

.search-form { display: flex; align-items: stretch; }
.search-form input {
    background: #fff;
    border: 1px solid var(--border-strong);
    border-right: none;
    color: var(--text);
    padding: 7px 12px;
    font-size: 13px;
    width: 230px;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.search-form input::placeholder { color: #8a9c96; }
.search-form input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 2px rgba(31,90,90,.12);
}
.search-form button {
    background: var(--brand);
    border: 1px solid var(--brand);
    color: transparent;
    padding: 7px 12px;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    line-height: 1;
    width: 40px;
    position: relative;
    overflow: hidden;
    transition: background-color .15s, border-color .15s;
}
.search-form button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 45%;
    width: 10px;
    height: 10px;
    border: 1.5px solid #fff;
    border-radius: 50%;
    transform: translate(-70%,-70%);
}
.search-form button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 45%;
    width: 6px;
    height: 0;
    border-top: 1.5px solid #fff;
    transform: translate(15%,15%) rotate(45deg);
    transform-origin: left center;
}
.search-form button:hover {
    background: var(--brand-strong);
    border-color: var(--brand-strong);
}

.stock-filter { margin: 0; }
.stock-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
}
.stock-toggle input {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: var(--brand);
}
.form-notice {
    margin: 0 0 16px;
    padding: 10px 12px;
    border: 1px solid #e5c8c8;
    border-radius: 4px;
    color: #8f2929;
    background: #fff7f7;
    font-size: 13px;
}

/* ── Category sections (front page) ──────────────────────────────────────── */
.cat-section {
    margin-bottom: 48px;
}
.cat-section-head {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 16px 0 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}
.cat-section-title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--brand-strong);
    margin: 0;
}
.cat-see-all {
    font-size: 12px;
    color: var(--brand);
    margin-left: auto;
    white-space: nowrap;
    font-weight: 600;
}
.cat-see-all:hover { color: var(--accent); text-decoration: underline; }
.cat-see-all-bar {
    padding: 12px 0 8px;
}
.cat-see-all-bar a {
    font-size: 12px;
}

/* Homepage category shortcuts */
.catalog-quicknav {
    margin: 18px 0 30px;
    padding: 16px;
    border: 1px solid #dce5e2;
    border-radius: 8px;
    background: #f8fbfa;
}
.catalog-quicknav-heading {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0 0 12px;
    color: #1a3934;
}
.catalog-quicknav-heading strong { font-size: 14px; }
.catalog-quicknav-heading span { color: #64746f; font-size: 12px; }
.catalog-quicknav-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
    gap: 8px;
}
.catalog-quicknav-card {
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid #d5e0dc;
    border-radius: 6px;
    background: #fff;
    color: #23443e;
    text-decoration: none;
}
.catalog-quicknav-card:hover,
.catalog-quicknav-card:focus-visible {
    border-color: #277265;
    background: #f3f8f6;
}
.catalog-quicknav-name,
.catalog-quicknav-count,
.catalog-quicknav-format { display: block; }
.catalog-quicknav-icon {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-bottom: 7px;
    border: 1px solid #cfe0da;
    border-radius: 6px;
    color: #1f6659;
    background: #f2f8f5;
}
.catalog-quicknav-name {
    overflow: hidden;
    color: #163b35;
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.catalog-quicknav-count { margin-top: 4px; color: #3b655c; font-size: 11px; font-weight: 600; }
.catalog-quicknav-format { margin-top: 2px; color: #73827e; font-size: 10px; }
.cat-section { scroll-margin-top: 20px; }
.cat-section-summary { margin: 5px 0 0; color: #63736e; font-size: 11px; }
.card-format-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    min-height: 22px;
    margin-top: 8px;
}
.card-format-label,
.card-format-standard,
.card-format-more { color: #6a7874; font-size: 10px; }
.card-format-tag {
    padding: 3px 6px;
    border: 1px solid #d6e2de;
    border-radius: 3px;
    color: #2f6056;
    background: #f6faf8;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.15;
}
.card-format-unavailable { color: #8a6a61; border-color: #eadbd5; background: #fdf9f7; text-decoration: line-through; }

@media (max-width: 620px) {
    .catalog-quicknav { margin: 12px 0 22px; padding: 12px; }
    .catalog-quicknav-heading { display:block; }
    .catalog-quicknav-heading span { display:block; margin-top:3px; }
    .catalog-quicknav-list {
        display: flex;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 3px;
        scroll-snap-type: x proximity;
    }
    .catalog-quicknav-card { flex: 0 0 150px; scroll-snap-align:start; }
    .cat-section-head { margin-bottom: 12px; }
}

/* ── Category filter pills (products.php) ─────────────────────────────────── */
.cat-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}
.category-rail {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #c7d7d1 transparent;
}
.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: #fff;
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    color: var(--muted-strong);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .3px;
    text-decoration: none;
    transition: all .15s ease;
    flex: 0 0 auto;
}
.cat-pill i { color: #4b7b70; font-size: 11px; }
.cat-pill-active i { color: currentColor; }
.cat-pill:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--panel-soft);
    text-decoration: none;
}
.cat-pill-active {
    border-color: var(--brand);
    color: #fff;
    background: var(--brand);
}
.cat-pill-active:hover {
    color: #fff;
    background: var(--brand-strong);
    border-color: var(--brand-strong);
}

.filter-trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--border-strong);
    border-radius: 5px;
    padding: 7px 11px;
    color: var(--muted-strong);
    background: #fff;
    cursor: pointer;
    font: 600 12px/1 inherit;
}
.filter-trigger:hover,
.filter-trigger:focus-visible { border-color: var(--brand); color: var(--brand); background: var(--panel-soft); }
.filter-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1190;
    background: rgba(12, 31, 29, .38);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}
.filter-drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.catalog-filter-drawer {
    position: fixed;
    z-index: 1200;
    inset: 0 0 0 auto;
    width: min(380px, calc(100vw - 20px));
    overflow-y: auto;
    padding: 22px;
    background: #fff;
    border-left: 1px solid #d8e4df;
    box-shadow: -12px 0 30px rgba(21, 50, 46, .14);
    transform: translateX(105%);
    transition: transform .22s ease;
}
.catalog-filter-drawer.is-open { transform: translateX(0); }
.filter-drawer-open { overflow: hidden; }
.filter-drawer-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; padding-bottom:16px; border-bottom:1px solid #e1ebe7; }
.filter-drawer-head h2 { margin:2px 0 0; color:#173f3d; font-size:20px; }
.filter-kicker { color:#568278; font-size:10px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.filter-close { width:34px; height:34px; border:1px solid #d4e0dc; border-radius:5px; color:#4d6861; background:#f7faf9; cursor:pointer; }
.filter-close:hover { color:#173f3d; border-color:#91b5aa; }
.filter-drawer-form { padding-top:16px; }
.filter-stock-row { display:flex; align-items:flex-start; gap:10px; padding:12px; border:1px solid #dce8e3; border-radius:6px; background:#f7fbf9; cursor:pointer; }
.filter-stock-row input { width:17px; height:17px; margin:1px 0 0; accent-color:var(--brand); }
.filter-stock-row span { display:grid; gap:3px; color:#244c43; font-size:13px; }
.filter-stock-row small { color:#70827d; font-size:11px; }
.filter-drawer-section { margin-top:22px; }
.filter-drawer-section h3 { margin:0 0 8px; color:#506b63; font-size:11px; letter-spacing:.09em; text-transform:uppercase; }
.filter-category-link { display:flex; align-items:center; gap:10px; padding:10px 8px; border-bottom:1px solid #eef3f1; color:#294d45; text-decoration:none; font-size:13px; }
.filter-category-link i { width:18px; color:#4a7b70; text-align:center; }
.filter-category-link span { flex:1; min-width:0; }
.filter-category-link em { color:#7a8b86; font-size:11px; font-style:normal; }
.filter-category-link:hover, .filter-category-link.is-active { color:#0f6659; background:#f3f8f6; }
.filter-category-link.is-active { font-weight:700; }
.filter-apply { width:100%; margin-top:24px; padding:11px 14px; border:0; border-radius:5px; color:#fff; background:var(--brand); cursor:pointer; font:700 13px/1 inherit; }
.filter-apply:hover { background:var(--brand-strong); }

/* ── Product grid ─────────────────────────────────────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
    padding-bottom: 36px;
}

.product-card {
    background: #ffffff;
    border: 1px solid var(--border, #dfe8e2);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .15s ease, box-shadow .15s ease, transform .12s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    position: relative;
}
.product-card:hover {
    border-color: #1f5a5a;
    box-shadow: 0 4px 14px rgba(31, 90, 90, 0.09);
    transform: translateY(-2px);
}
.product-card.card-hover-lift {
    transform: translateY(-4px) scale(1.018);
    z-index: 5;
    box-shadow: 0 10px 24px rgba(21, 54, 52, .16);
}

/* Card Top Metadata Bar */
.card-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: #f8faf9;
    border-bottom: 1px solid #edf2ef;
    font-size: 10.5px;
}
.card-cat-id {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    color: #53665f;
    letter-spacing: 0.4px;
}
.card-purity-badge {
    color: #21664f;
    font-weight: 700;
    font-size: 10px;
    background: #e3f2eb;
    padding: 1px 5px;
    border-radius: 3px;
    text-transform: uppercase;
}

/* Product Card Image Container */
.product-card-img-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    background: #f7f9f8;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    border-bottom: 1px solid #edf2ef;
    padding: 0;
    isolation: isolate;
}
.product-card-img-el {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    box-sizing: border-box;
    display: block;
    transition: transform .2s ease;
}
.product-card-img-link:hover .product-card-img-el {
    transform: scale(1.05);
}
.card-view-overlay {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(31, 90, 90, 0.9);
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 3px;
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.18s ease;
    pointer-events: none;
    z-index: 3;
}
.product-card-img-link:hover .card-view-overlay {
    opacity: 1;
    transform: translateY(0);
}
.card-molecule-preview {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    background: #f7f9f8;
    transition: opacity .28s ease;
    pointer-events: none;
}
.card-molecule-canvas { width: 100%; height: 100%; }
.card-molecule-label {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 4px 7px;
    border: 1px solid #d4e1dc;
    border-radius: 3px;
    background: rgba(255,255,255,.92);
    color: #35645a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .02em;
}
.card-molecule-label .fas { margin-right: 4px; }
.product-card.molecule-active.molecule-ready .card-molecule-preview { opacity: 1; }
.product-card.molecule-active.molecule-ready .product-card-img-el { opacity: 0; }
.product-card.molecule-active.molecule-ready .card-view-overlay { opacity: 0; }

.no-img-placeholder,
.product-card-img-el.placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.35;
    padding: 18px;
    background: #f2f5f3;
}

/* Product Card Body */
.product-card-body {
    padding: 11px 12px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-card-name {
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.35;
    height: 37px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.product-card-name a {
    color: #1d2a26;
    text-decoration: none;
}
.product-card-name a:hover {
    color: #1f5a5a;
    text-decoration: underline;
}

/* Card Specs / Rating / Stock Row */
.card-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 8px;
    min-height: 18px;
}
.card-rating {
    display: flex;
    align-items: center;
    gap: 2px;
}
.star-disp {
    color: #c8d4cf;
    font-size: 11px;
    line-height: 1;
}
.star-disp-on {
    color: #d4a843;
}
.card-rating-num {
    font-size: 11px;
    font-weight: 700;
    color: #2f3e39;
    margin-left: 2px;
}
.card-rating-count {
    font-size: 10px;
    color: #53665f;
}
.card-grade-tag {
    font-size: 10.5px;
    color: #53665f;
    font-weight: 600;
}

.stock-status {
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}
.stock-status.stock-in {
    color: #2d7a46;
}
.stock-status.stock-low {
    color: #b26a15;
}
.stock-status.stock-out {
    color: #a12c2c;
}

/* Pricing Row */
.card-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.card-fiat-price {
    font-size: 16px;
    font-weight: 800;
    color: #173f3d;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.2;
}
.card-fiat-price .cur-label {
    font-size: 10.5px;
    font-weight: 600;
    color: #53665f;
    margin-left: 2px;
}
.card-price-prefix { font-size: 11px; font-weight: 600; color: #667873; margin-right: 2px; }
.card-crypto-pill {
    font-size: 10.5px;
    font-family: 'Courier New', Courier, monospace;
    color: #53665f;
    background: #f1f5f2;
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.card-crypto-pill .crypto-sep {
    font-size: 7px;
    color: #c8d4cf;
}

/* Bulk Discount Badge */
.card-bulk-badge {
    font-size: 10.5px;
    font-weight: 600;
    color: #8a5814;
    background: #fcf6e8;
    border: 1px solid #f2e2be;
    padding: 2px 6px;
    border-radius: 3px;
    margin-top: auto;
    display: inline-block;
    width: fit-content;
}

/* Product Card Footer Actions */
.product-card-foot {
    padding: 8px 10px;
    background: #fbfdfc;
    border-top: 1px solid #edf2ef;
    display: flex;
    align-items: center;
    gap: 6px;
}
.card-cart-form {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    min-width: 0;
}
.qty-stepper {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #c8d4cf;
    border-radius: 4px;
    background: #ffffff;
    height: 28px;
    flex-shrink: 0;
    overflow: hidden;
}
.qty-step-btn {
    border: none;
    background: #edf3f0;
    color: #2f3e39;
    width: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    transition: background 0.12s ease;
    padding: 0;
}
.qty-step-btn:hover {
    background: #dfe8e2;
}
.qty-step-input {
    width: 28px;
    border: none;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #1d2a26;
    padding: 0;
    outline: none;
    -moz-appearance: textfield;
}
.qty-step-input::-webkit-inner-spin-button,
.qty-step-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.btn-primary-action {
    flex: 1;
    padding: 0 8px;
    font-size: 11.5px;
    font-weight: 700;
    background: #1f5a5a;
    color: #ffffff;
    border: 1px solid #173f3d;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.15s ease;
}
.btn-primary-action:hover {
    background: #173f3d;
    color: #ffffff;
    text-decoration: none;
}
.btn-view-specs {
    padding: 0 8px;
    font-size: 11px;
    font-weight: 600;
    color: #53665f;
    border: 1px solid #c8d4cf;
    border-radius: 4px;
    text-decoration: none;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    white-space: nowrap;
    transition: all 0.15s ease;
}
.btn-view-specs:hover {
    color: #173f3d;
    border-color: #1f5a5a;
    background: #f1f5f2;
    text-decoration: none;
}
.card-admin-bar {
    display: flex;
    gap: 3px;
    align-items: center;
}
.btn-admin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 28px;
    border: 1px solid #c8d4cf;
    border-radius: 4px;
    background: #ffffff;
    color: #53665f;
    font-size: 12px;
    text-decoration: none;
}
.btn-admin-icon:hover {
    background: #f1f5f2;
    color: #1d2a26;
    text-decoration: none;
}
.btn-admin-icon.btn-admin-del {
    color: #a12c2c;
}
.btn-admin-icon.btn-admin-del:hover {
    background: #fdf2f2;
    border-color: #f0c0c0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    background: var(--brand);
    color: #fff;
    border: 1px solid var(--brand);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .3px;
    font-family: inherit;
    text-decoration: none;
    transition: background-color .15s, border-color .15s, transform .1s;
}
.btn:hover { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; text-decoration: none; }
.btn-sm { padding: 6px 12px; font-size: 11px; }
.btn-full { display: flex; width: 100%; text-align: center; justify-content: center; }
.btn-secondary {
    background: var(--panel-alt);
    border: 1px solid var(--border-strong);
    color: var(--muted-strong);
}
.btn-secondary:hover { background: var(--border); color: var(--brand-strong); border-color: var(--border-strong); }
.btn-danger { background: #962828; border-color: #962828; color: #fff; }
.btn-danger:hover { background: #b03232; border-color: #b03232; color: #fff; }
.btn-green { background: #1e6b3c; border-color: #1e6b3c; color: #fff; }
.btn-green:hover { background: #248249; border-color: #248249; color: #fff; }

.form-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 18px;
    flex-wrap: wrap;
}

.no-products {
    text-align: center;
    padding: 70px 20px;
    color: var(--muted);
    font-size: 14px;
}

.pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    padding: 24px 0 44px;
}
.pagination a, .pagination span {
    display: inline-block;
    padding: 6px 13px;
    background: #fff;
    border: 1px solid var(--border-strong);
    border-radius: 4px;
    color: var(--muted-strong);
    font-size: 12px;
    font-weight: 600;
    transition: all .15s ease;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.pagination .cur { background: var(--brand); border-color: var(--brand); color: #fff; }

.breadcrumb {
    padding: 12px 0 4px;
    color: #464646;
    font-size: 11px;
}
.breadcrumb a { color: #585858; }
.breadcrumb a:hover { color: #999; }
.breadcrumb-sep { margin: 0 5px; color: #333; }

.product-page {
    max-width: 880px;
    margin: 22px auto;
    padding: 0 18px;
}
.product-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 38px;
    align-items: start;
}
/* ── Fixed-size product image + CSS-only full-view lightbox ── */
.product-img-link {
    display: block;
    text-decoration: none;
    position: relative;
}
.product-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 3px;
    border: 1px solid #252525;
    background: #191919;
    cursor: zoom-in;
}
.product-img-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .22s ease;
}
.product-img-link:hover .product-img-thumb {
    transform: scale(1.04);
}
/* "View full size" hint badge — pure CSS, no JS */
.product-img-link::after {
    content: '\2B2C\00A0 View full size';
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,.75);
    color: #ccc;
    font-size: 10px;
    letter-spacing: .4px;
    padding: 4px 9px;
    border-radius: 2px;
    opacity: 0;
    transition: opacity .15s;
    pointer-events: none;
}
.product-img-link:hover::after {
    opacity: 1;
}
/* No-image placeholder */
.product-img .no-img-lg {
    aspect-ratio: 1 / 1;
    background: #191919;
    border: 1px solid #252525;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.product-placeholder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #0e1318;
}
/* ── CSS :target lightbox — activated by href="#img-full" ── */
.img-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    align-items: center;
    justify-content: center;
}
.img-lightbox:target {
    display: flex;
}
.img-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.88);
    cursor: zoom-out;
}
.img-lightbox-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 94vw;
    max-height: 94vh;
}
.img-lightbox-img {
    display: block;
    max-width: 94vw;
    max-height: 94vh;
    object-fit: contain;
    border-radius: 3px;
    box-shadow: 0 8px 48px rgba(0,0,0,.7);
    border: 1px solid #2a2a2a;
}
.img-lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 32px;
    height: 32px;
    line-height: 30px;
    text-align: center;
    background: #1e1e1e;
    border: 1px solid #383838;
    border-radius: 50%;
    color: #aaa;
    font-size: 18px;
    text-decoration: none;
    cursor: pointer;
    display: block;
}
.img-lightbox-close:hover { background: #2a2a2a; color: #fff; text-decoration: none; }

/* ── Product image gallery strip (multiple images) ──────────────────────── */
.product-gallery-strip {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.product-gallery-thumb {
    display: block;
    width: 58px;
    height: 58px;
    border: 1px solid #252525;
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: zoom-in;
    transition: border-color .15s;
}
.product-gallery-thumb:hover { border-color: #444; }
.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-info-title {
    font-size: 24px;
    font-weight: 700;
    color: #e5e2da;
    margin-bottom: 10px;
    line-height: 1.25;
}
.product-info-price {
    font-size: 22px;
    font-weight: 700;
    font-family: 'Courier New', Courier, monospace;
    color: #dddad2;
    margin-bottom: 9px;
}
.product-pack-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    margin: 0 0 15px;
    padding: 9px 11px;
    border: 1px solid #d5e1d7;
    border-radius: 5px;
    background: #f5f9f5;
    color: #214c3e;
    font-size: .82rem;
}
.product-pack-label {
    color: #60756a;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .69rem;
}
.product-pack-value { font-weight: 700; }
.product-info-stock {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #505050;
    margin-bottom: 14px;
}
.product-info-stock.low { color: #7a5d20; }
.product-info-stock.out { color: #6a2828; }
.product-desc {
    color: #888;
    font-size: 13px;
    line-height: 1.75;
    margin-bottom: 22px;
    white-space: pre-line;
}
.product-add-form { display: flex; gap: 9px; align-items: center; }

/* ── Bulk discount table ─────────────────────────────────────────────────── */
.bulk-discount-table {
    margin: 4px 0 14px;
    border: 1px solid #1e2c1e;
    border-radius: 7px;
    overflow: hidden;
    display: inline-block;
    min-width: 260px;
}
.bulk-discount-title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #556655;
    padding: 7px 12px 5px;
    border-bottom: 1px solid #1a2a1a;
    background: #0a130a;
}
.bulk-discount-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
.bulk-discount-tbl th {
    text-align: left;
    padding: 5px 12px;
    color: #4a5e4a;
    font-weight: 600;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .4px;
    background: #090f09;
    border-bottom: 1px solid #182418;
}
.bulk-discount-tbl td {
    padding: 6px 12px;
    color: #a0a89a;
    border-bottom: 1px solid #111a11;
}
.bulk-discount-tbl tr:last-child td { border-bottom: none; }
.bulk-discount-tbl tr:hover td { background: #0d160d; }
.bulk-discount-pct  { color: #6ab86a; font-weight: 600; }
.bulk-discount-price { font-family: 'Courier New', Courier, monospace; color: #c8d4c0; }

.inner-page {
    max-width: 780px;
    margin: 26px auto;
    padding: 0 18px;
}
.page-title {
    font-size: 20px;
    font-weight: 700;
    color: #e0ddd6;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #222;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.cart-table th {
    text-align: left;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #555;
    padding: 7px 9px;
    border-bottom: 1px solid #232323;
}
.cart-table td {
    padding: 11px 9px;
    border-bottom: 1px solid #1c1c1c;
    color: #bbb;
    vertical-align: middle;
    font-size: 13px;
}
.cart-table td.right { text-align: right; }
.cart-item-name { color: #ccc; font-weight: 500; }
.cart-qty-input {
    width: 48px;
    background: #1c1c1c;
    border: 1px solid #383838;
    color: #bbb;
    padding: 4px 5px;
    font-size: 12px;
    text-align: center;
    border-radius: 2px;
    outline: none;
}
.cart-total-row td {
    font-size: 15px;
    font-weight: 700;
    color: #e8e5de;
    padding-top: 14px;
    border-bottom: none;
    font-family: 'Courier New', Courier, monospace;
}
.cart-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    gap: 12px;
}
.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: #444;
}

.section-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .9px;
    color: #555;
    margin: 22px 0 12px;
    padding-bottom: 5px;
    border-bottom: 1px solid #1e1e1e;
}
.form-row { margin-bottom: 14px; }
.form-row label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #666;
    margin-bottom: 4px;
}
.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
  background: #151515;
    border: 1px solid #2e2e2e;
    color: #c0bdb5;
    padding: 8px 11px;
    font-size: 13px;
    border-radius: 2px;
    outline: none;
    font-family: inherit;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: #4e4e4e; }
.form-row textarea { resize: vertical; min-height: 68px; }
.form-row select option { background: #1a1a1a; }
.form-row.half { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row.half label { margin-bottom: 4px; }
.form-hint { font-size: 11px; color: #555; margin-top: 3px; }

.pay-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin-bottom: 18px;
}
.pay-opt { display: block; position: relative; cursor: pointer; }
.pay-opt input[type=radio] { position: absolute; opacity: 0; width: 0; height: 0; }
.pay-opt-lbl {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 15px;
    background: #151515;
    border: 1px solid #2e2e2e;
    border-radius: 3px;
    color: #888;
    font-size: 13px;
    transition: border-color .12s;
}
.pay-opt input:checked + .pay-opt-lbl {
    border-color: #c05500;
    color: #d4d1c9;
    background: #1a1008;
}
.pay-opt-icon { font-size: 17px; }

.order-lookup-form { display: flex; gap: 9px; margin-bottom: 28px; }
.order-lookup-form input {
    flex: 1;
    background: #151515;
    border: 1px solid #2e2e2e;
    color: #bbb;
    padding: 8px 13px;
    font-size: 14px;
    border-radius: 2px;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 1.2px;
    outline: none;
}
.order-lookup-form input:focus { border-color: #4e4e4e; }

.order-card {
    background: #131313;
    border: 1px solid #252525;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 20px;
}
.order-card-head {
    padding: 15px 18px;
    border-bottom: 1px solid #1e1e1e;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
}
.order-card-id {
    font-family: 'Courier New', Courier, monospace;
    font-size: 15px;
    color: #d4d1c9;
    letter-spacing: 1px;
}
.status-pill {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 3px 9px;
    border-radius: 2px;
}
.status-pending  { background: #221a08; color: #c09030; border: 1px solid #3e3010; }
.status-confirmed{ background: #0a1a0a; color: #4aaa52; border: 1px solid #1a3a1a; }
.status-shipped  { background: #0a1525; color: #4080cc; border: 1px solid #1a2e48; }
.status-cancelled{ background: #1a0808; color: #c04040; border: 1px solid #381818; }

.order-card-body { padding: 18px 18px; }

.shipment-tracking-panel {
  margin: 18px 0 4px;
  padding: 16px 18px;
  border: 1px solid #cbd5df;
  border-left: 3px solid #0b7285;
  border-radius: 8px;
  background: #f7fafb;
}
.shipment-tracking-kicker {
  color: #0b7285;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.shipment-tracking-panel h2 { margin: 4px 0 5px; font-size: 18px; color: #17323b; }
.shipment-tracking-panel p { margin: 0 0 8px; color: #53636c; font-size: 13px; }
.shipment-tracking-panel code {
  display: inline-block;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid #d7e0e5;
  border-radius: 5px;
  background: #fff;
  color: #17323b;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.shipment-tracking-status { display: block; margin-top: 8px; color: #2b6a4a; font-size: 12px; font-weight: 700; }
.order-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}
.meta-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #484848;
    margin-bottom: 3px;
}
.meta-value { color: #b8b5ad; font-size: 13px; }

.order-items-tbl {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
}
.order-items-tbl th {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #484848;
    text-align: left;
    padding: 5px 9px;
    border-bottom: 1px solid #1e1e1e;
}
.order-items-tbl td {
    padding: 9px 9px;
    color: #aaa;
    border-bottom: 1px solid #191919;
    font-size: 12px;
}
.order-items-tbl .total-row td {
    padding-top: 12px;
    border-bottom: none;
    font-weight: 700;
    color: #d4d1c9;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
}

.payment-box {
    background: #0e0e0e;
    border: 1px solid #222;
    border-radius: 3px;
    padding: 18px;
    margin-top: 18px;
}
.payment-box h3 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #ccc;
    margin-bottom: 11px;
}
.crypto-addr {
    background: #080808;
    border: 1px solid #232323;
    padding: 10px 12px;
    border-radius: 2px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    color: #999;
    word-break: break-all;
    margin-bottom: 8px;
    user-select: all;
}
.crypto-note { color: #555; font-size: 12px; }

.success-box {
    background: #0a160a;
    border: 1px solid #243824;
    border-radius: 3px;
    padding: 22px;
    text-align: center;
    margin-bottom: 22px;
}
.success-box h2 { color: #5aaa60; font-size: 20px; margin-bottom: 8px; }
.success-box p { color: #777; font-size: 13px; margin-bottom: 4px; }
.order-id-big {
    font-family: 'Courier New', Courier, monospace;
    font-size: 26px;
    font-weight: 700;
    color: #e0ddd6;
    letter-spacing: 3px;
    display: block;
    margin: 14px 0;
    padding: 11px;
    background: #080808;
    border: 1px solid #252525;
    border-radius: 2px;
}

.flash { padding: 9px 13px; border-radius: 2px; margin-bottom: 14px; font-size: 13px; }
.flash-ok  { background: #0a160a; border: 1px solid #1e3a1e; color: #5aaa60; }
.flash-err { background: #180a0a; border: 1px solid #381818; color: #cc5050; }
.flash-inf { background: #0a1422; border: 1px solid #1a2e4e; color: #5888c8; }

/* ── Homepage 3-column shell ─────────────────────────────────────────────── */
.shop-shell {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 8px;
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) 270px;
    grid-template-areas: "left main right";
    gap: 18px;
    align-items: start;
}
.shop-main { min-width: 0; grid-area: main; }
.shop-sidebar-left {
    grid-area: left;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 14px;
    position: sticky;
    top: 70px;
    min-width: 0;
}
.shop-sidebar-right {
    grid-area: right;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 14px;
    position: sticky;
    top: 70px;
    min-width: 0;
}
/* Legacy sidebar alias */
.shop-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 14px;
    min-width: 0;
}

/* ── Sidebar panel card ───────────────────────────────────────────────────── */
.sidebar-panel {
    background: var(--panel, #fff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 8px;
    overflow: hidden;
}
.sidebar-panel-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    background: #f8faf9;
    border-bottom: 1px solid var(--border, #e2e8f0);
}
.sidebar-panel-head h3 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .55px;
    color: #3d5a54;
    margin: 0;
}
.sidebar-panel-body { padding: 10px 0; }

/* ── Category sidebar ────────────────────────────────────────────────────── */
.sidebar-cat-list { list-style: none; margin: 0; padding: 0; }
.sidebar-cat-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 13px;
    font-size: 12.5px;
    color: #2d4a44;
    text-decoration: none;
    transition: background .12s, color .12s;
    border-left: 3px solid transparent;
    gap: 8px;
}
.sidebar-cat-item a > i { width: 16px; color: #47766b; text-align: center; font-size: 12px; flex: 0 0 16px; }
.sidebar-cat-item a > span:first-of-type { min-width: 0; flex: 1; }
.sidebar-cat-item a:hover {
    background: #f0f7f5;
    border-left-color: var(--brand, #005f73);
    color: var(--brand, #005f73);
}
.sidebar-cat-count {
    font-size: 10px;
    font-weight: 700;
    background: #eef4f2;
    color: #4a6d66;
    border-radius: 10px;
    padding: 1px 6px;
    min-width: 20px;
    text-align: center;
}

/* ── Announcements center panel ──────────────────────────────────────────── */
.hp-announcements {
    margin-bottom: 20px;
}
.hp-announcement-card {
    background: #fffdf5;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: 6px;
    padding: 11px 14px;
    margin-bottom: 10px;
}
.hp-announcement-card:last-child { margin-bottom: 0; }
.hp-announcement-title {
    font-size: 13px;
    font-weight: 700;
    color: #92400e;
    margin: 0 0 4px;
}
.hp-announcement-body {
    font-size: 12px;
    color: #78350f;
    line-height: 1.5;
    margin: 0;
}

/* ── Recent items sidebar ────────────────────────────────────────────────── */
.sidebar-recent-list { list-style: none; margin: 0; padding: 0; }
.sidebar-recent-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 8px;
    padding: 9px 12px;
    border-bottom: 1px solid #f0f4f3;
    text-decoration: none;
    color: inherit;
    transition: background .12s;
    align-items: center;
}
.sidebar-recent-item:last-child { border-bottom: none; }
.sidebar-recent-item:hover { background: #f4f9f7; }
.sidebar-recent-img {
    width: 52px;
    height: 46px;
    object-fit: cover;
    border-radius: 4px;
    background: #eef3f1;
    display: block;
    border: 1px solid #dde8e4;
}
.sidebar-recent-img-placeholder {
    width: 52px;
    height: 46px;
    background: #eef3f1;
    border-radius: 4px;
    border: 1px solid #dde8e4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #a0b5b0;
}
.sidebar-recent-name {
    font-size: 11.5px;
    font-weight: 600;
    color: #1d2a26;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sidebar-recent-price {
    font-size: 11px;
    font-weight: 700;
    color: var(--brand, #005f73);
    margin-top: 3px;
}
.hp-info-section {
    width: 100%;
}
.hp-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
.hp-info-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--panel-shadow);
}
.hp-info-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--panel-alt);
}
.hp-info-card-head h3 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--muted-strong);
    margin: 0;
}
.hp-info-icon {
    font-size: 14px;
    color: var(--brand);
    line-height: 1;
}
.hp-info-card-body {
    padding: 12px 14px 4px;
}
.hp-info-text {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    white-space: pre-line;
    margin: 0;
}
.hp-rates-wrap {
    border-top: 1px solid #1a1a1a;
    padding: 12px 14px 14px;
}
.hp-rate-zone { margin-bottom: 10px; }
.hp-rate-zone:last-child { margin-bottom: 0; }
.hp-rate-zone-name {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #666;
    margin-bottom: 6px;
}
.hp-rate-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    font-family: 'Courier New', monospace;
}
.hp-rate-tbl th {
    text-align: left;
    color: #555;
    font-weight: 600;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .3px;
    padding: 4px 5px 4px 0;
    border-bottom: 1px solid #1a1a1a;
}
.hp-rate-tbl td {
    padding: 4px 5px 4px 0;
    color: #888;
    border-bottom: 1px solid #131313;
}
.hp-rate-tbl tr:last-child td { border-bottom: none; }
.hp-rate-price { color: #b58c42; white-space: nowrap; }
.hp-rate-days { color: #666; white-space: nowrap; }

.admin-quickbar {
    position: fixed;
    right: 20px;
    top: 120px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    background: rgba(12,12,12,.94);
    border: 1px solid #242424;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,.2);
}
.admin-quickbar-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: #7b7a76;
    text-align: center;
    padding-bottom: 4px;
}
.admin-quickbar a {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #2d2d2d;
    background: #161616;
    color: #c7c2b9;
    font-size: 12px;
    text-decoration: none;
    text-align: center;
}
.admin-quickbar a:hover { border-color: #d9aa60; color: #fff; text-decoration: none; }

.product-card-foot {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.product-admin-actions {
    display: flex;
    gap: 6px;
    margin-left: auto;
    align-items: center;
}
.product-admin-actions .btn-sm {
    padding: 4px 7px;
    font-size: 10px;
    border-radius: 2px;
}

.site-footer {
    background: #090909;
    border-top: 1px solid #181818;
    padding: 22px 22px;
    text-align: center;
    color: #333;
    font-size: 12px;
    margin-top: 0;
}
.site-footer a { color: #555; }
.site-footer a:hover { color: #888; }

/* Support page */
.support-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 28px 18px 12px;
}
.support-page-title {
    font-size: 24px;
    color: #e0ddd6;
    margin-bottom: 18px;
}
.support-hint {
    color: #7b786f;
    font-size: 13px;
    margin-bottom: 14px;
    line-height: 1.7;
}

.support-tabs {
    max-width: 760px;
}
.support-split {
    max-width: 760px;
}
.support-panel {
    margin-bottom: 16px;
}
.support-panel-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #9a978f;
    margin: 0 0 10px;
}
.stab-radio,
.pgp-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.stab-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}
.stab-label {
    display: inline-block;
    padding: 7px 13px;
    border: 1px solid #2e2e2e;
    background: #121212;
    color: #8e8b84;
    font-size: 11px;
    letter-spacing: .5px;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
    user-select: none;
}
#stab-new:checked ~ .stab-bar label[for="stab-new"],
#stab-existing:checked ~ .stab-bar label[for="stab-existing"] {
    background: #1a1a1a;
    border-color: #c05500;
    color: #e0ddd6;
}
.stab-panel { display: none; }
#stab-new:checked ~ .stab-panels .stab-panel-new { display: block; }
#stab-existing:checked ~ .stab-panels .stab-panel-existing { display: block; }

.support-form,
.support-created-box,
.support-reply-box,
.support-thread-header,
.support-key-warn,
.support-token-box {
    background: #121212;
    border: 1px solid #232323;
    border-radius: 2px;
    padding: 18px 20px;
}
.support-form,
.support-created-box,
.support-key-warn,
.support-token-box,
.support-download-row,
.support-thread-header,
.support-messages,
.support-reply-box {
    margin-bottom: 16px;
}

.pgp-choice-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #7a776f;
    margin-bottom: 5px;
}
.pgp-choice-note {
    color: #6a675f;
    font-size: 12px;
}
.pgp-choice-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 3px;
}
.pgp-choice-btn {
    display: inline-block;
    padding: 6px 11px;
    border: 1px solid #2e2e2e;
    background: #0f0f0f;
    color: #8c8982;
    font-size: 11px;
    border-radius: 2px;
    cursor: pointer;
    user-select: none;
}
#pgp-none:checked ~ .pgp-choice-btns label[for="pgp-none"],
#pgp-own:checked ~ .pgp-choice-btns label[for="pgp-own"],
#pgp-gen:checked ~ .pgp-choice-btns label[for="pgp-gen"] {
    border-color: #c05500;
    color: #e0ddd6;
    background: #1a1a1a;
}
.pgp-own-area,
.pgp-gen-area { display: none; }
#pgp-own:checked ~ .pgp-own-area { display: block; }
#pgp-gen:checked ~ .pgp-gen-area { display: block; }

.privacy-choice-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 3px;
}
.privacy-choice-btn {
    display: inline-block;
    padding: 6px 11px;
    border: 1px solid #2e2e2e;
    background: #0f0f0f;
    color: #8c8982;
    font-size: 11px;
    border-radius: 2px;
    cursor: pointer;
    user-select: none;
}
#ship-plain:checked ~ .privacy-choice-btns label[for="ship-plain"],
#ship-offline:checked ~ .privacy-choice-btns label[for="ship-offline"],
#ship-server:checked ~ .privacy-choice-btns label[for="ship-server"],
#msg-plain:checked ~ .privacy-choice-btns label[for="msg-plain"],
#msg-offline:checked ~ .privacy-choice-btns label[for="msg-offline"],
#msg-server:checked ~ .privacy-choice-btns label[for="msg-server"] {
    border-color: #c05500;
    color: #e0ddd6;
    background: #1a1a1a;
}
.privacy-plain-area,
.privacy-offline-area,
.privacy-server-area { display: none; }
#ship-plain:checked ~ .privacy-choice-btns ~ .privacy-plain-area { display: block; }
#ship-offline:checked ~ .privacy-choice-btns ~ .privacy-offline-area { display: block; }
#ship-server:checked ~ .privacy-choice-btns ~ .privacy-plain-area,
#ship-server:checked ~ .privacy-choice-btns ~ .privacy-server-area { display: block; }
#msg-plain:checked ~ .privacy-choice-btns ~ .privacy-plain-area { display: block; }
#msg-offline:checked ~ .privacy-choice-btns ~ .privacy-offline-area { display: block; }
#msg-server:checked ~ .privacy-choice-btns ~ .privacy-plain-area,
#msg-server:checked ~ .privacy-choice-btns ~ .privacy-server-area { display: block; }

.pgp-store-box {
    border: 1px solid #1a3a1a;
    background: #071007;
    border-radius: 2px;
    padding: 16px 18px;
}
.pgp-store-box-head {
    font-family: 'Courier New', monospace;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6ab58a;
    margin-bottom: 10px;
}
.pgp-store-box-text {
    font-family: 'Courier New', monospace;
    font-size: 0.76rem;
    line-height: 1.7;
    color: #5f8a68;
}
.pgp-store-key {
    width: 100%;
    margin-top: 12px;
    background: #060d06;
    border: 1px solid #1a3a1a;
    color: #6ab58a;
    font-family: 'Courier New', monospace;
    font-size: 0.72rem;
    line-height: 1.45;
    padding: 10px 12px;
    resize: vertical;
}

.support-created-head {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}
.support-created-icon {
    color: #5aaa60;
    font-weight: 700;
}
.support-created-label {
    color: #9a978f;
    text-transform: uppercase;
    letter-spacing: .7px;
    font-size: 11px;
}
.support-ticket-id-display {
    font-family: 'Courier New', monospace;
    font-size: 21px;
    color: #d4a843;
    letter-spacing: .08em;
    margin-bottom: 8px;
}

.support-token-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #666;
    margin-bottom: 6px;
}
.support-token-value {
    font-family: 'Courier New', monospace;
    font-size: 15px;
    color: #e0ddd6;
    letter-spacing: .04em;
    word-break: break-all;
}
.support-download-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.support-subject-line {
    font-family: 'Courier New', monospace;
    font-size: 0.82rem;
    color: #6a6762;
    margin-bottom: 0;
}

.support-mono-input {
    font-family: 'Courier New', monospace;
}
.support-id-input {
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.support-pin-input {
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.support-pgp-text {
    font-family: 'Courier New', monospace;
    font-size: 0.72rem;
    line-height: 1.45;
    color: #6ab58a;
    background: #060d06;
    border: 1px solid #1a3a1a;
}

.support-alert {
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: 2px;
}
.support-alert-danger {
    background: #110808;
    border: 1px solid #4a1a1a;
}
.support-alert-text {
    font-family: 'Courier New', monospace;
    font-size: 0.78rem;
    line-height: 1.65;
    margin-bottom: 6px;
}
.support-alert-subtext {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    line-height: 1.65;
}
.support-alert-text-danger,
.support-alert-subtext-danger { color: #c87070; }
.support-alert-text-danger strong { color: #e07070; }

.support-closed-note {
    background: #111;
    border: 1px solid #2a2a2a;
    padding: 18px 22px;
    margin-top: 18px;
    font-family: 'Courier New', monospace;
    font-size: 0.82rem;
    color: #5a5752;
    text-align: center;
}

.support-thread-id {
    font-family: 'Courier New', monospace;
    color: #d4a843;
    letter-spacing: .05em;
    margin-right: 8px;
}
.support-thread-subject {
    color: #d5d2ca;
    font-size: 17px;
    margin: 8px 0 5px;
}
.support-thread-meta {
    color: #6a675f;
    font-size: 12px;
}

.support-status-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    padding: 2px 8px;
    border-radius: 2px;
    border: 1px solid transparent;
}
.support-status-badge.status-open   { background: #0a1a0a; color: #4aaa52; border-color: #1a3a1a; }
.support-status-badge.status-closed { background: #161616; color: #666; border-color: #2e2e2e; }

.support-messages {
    border: 1px solid #232323;
    background: #101010;
    border-radius: 2px;
    padding: 12px;
}
.support-msg {
    border: 1px solid #252525;
    padding: 12px 13px;
    border-radius: 2px;
}
.support-msg + .support-msg { margin-top: 10px; }
.support-msg-admin { background: #101510; border-color: #233023; }
.support-msg-customer { background: #141414; }
.support-msg-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 11px;
}
.support-msg-author-admin { color: #75b079; text-transform: uppercase; letter-spacing: .4px; }
.support-msg-author-customer { color: #a28f63; text-transform: uppercase; letter-spacing: .4px; }
.support-msg-time { color: #5e5b54; }
.support-msg-body {
    color: #cbc8c0;
    font-size: 13px;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
}

.support-reply-title {
    color: #a8a59c;
    text-transform: uppercase;
    letter-spacing: .6px;
    font-size: 11px;
    margin-bottom: 10px;
}

.support-form .form-actions,
.support-reply-box .form-actions {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.support-page .form-error {
    max-width: 760px;
    margin-bottom: 14px;
}

@media (max-width: 680px) {
  .modal-backdrop { padding: 8px; align-items: flex-start; overflow-y: auto; }
  .quick-order-dialog { margin: 8px 0; width: 100%; }
  .modal-header, .modal-body { padding: 16px; }
  .qo-actions-row { align-items: stretch; flex-direction: column; }
  .qo-submit { width: 100%; }
  .hero-announcements article { align-items: flex-start; flex-direction: column; gap: 4px; }
  .product-page-grid { grid-template-columns: 1fr; }
  .order-meta-grid { grid-template-columns: 1fr; }
  .pay-selection { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; gap: 10px; }
  .main-nav { gap: 14px; }
  .hero h1 { font-size: 19px; }
  .hp-info-grid { grid-template-columns: 1fr; }
  .support-page { padding: 22px 14px 8px; }
  .support-page-title { font-size: 22px; }
  .stab-bar { flex-wrap: wrap; }
  .support-form,
  .support-created-box,
  .support-reply-box,
  .support-thread-header,
  .support-key-warn,
  .support-token-box { padding: 14px; }
}
/* ---- Delivery confirmation box ---- */
.delivery-confirm-box {
    background: #0a160a;
    border: 1px solid #1e3e1e;
    border-radius: 3px;
    padding: 20px 22px;
    margin-top: 18px;
}
.delivery-confirm-title {
    font-size: 14px;
    font-weight: 700;
    color: #5aaa60;
    margin-bottom: 7px;
}
.delivery-confirm-hint {
    color: #6a7a6a;
    font-size: 12px;
    margin-bottom: 14px;
    line-height: 1.6;
}

/* ---- Review section on order page ---- */
.review-section {
    background: #0f0f0f;
    border: 1px solid #252525;
    border-radius: 3px;
    padding: 20px 22px;
    margin-top: 18px;
}
.review-section-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #b8b5ad;
    margin-bottom: 7px;
}
.review-section-hint {
    color: #666;
    font-size: 12px;
    margin-bottom: 18px;
    line-height: 1.6;
}
.review-item {
    border: 1px solid #232323;
    border-radius: 2px;
    background: #141414;
    padding: 14px 16px;
    margin-bottom: 12px;
}
.review-item-done {
    opacity: .65;
}
.review-item-name {
    font-size: 13px;
    font-weight: 600;
    color: #d0cdc5;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 9px;
}
.review-badge-done {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    background: #0a1a0a;
    border: 1px solid #1a3a1a;
    color: #4aaa52;
    padding: 2px 7px;
    border-radius: 2px;
}
.review-already-note {
    font-size: 12px;
    color: #555;
}

/* Star rating input */
.star-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 10px;
    flex-direction: row-reverse;
    justify-content: flex-end;
}
.star-radio { display: none; }
.star-label { cursor: pointer; font-size: 22px; color: #383838; line-height: 1; }
.star-label:hover,
.star-label:hover ~ .star-label,
.star-rating:has(.star-radio:checked) .star-label { color: #383838; }
.star-rating .star-label:has(~ .star-radio:checked),
.star-rating .star-label:has(.star-radio:checked) { color: #d4a843; }
.star-hint {
    font-size: 11px;
    color: #555;
    margin-left: 6px;
    align-self: center;
}
.review-body {
    width: 100%;
    background: #111;
    border: 1px solid #2e2e2e;
    color: #bbb;
    padding: 8px 11px;
    font-size: 12px;
    border-radius: 2px;
    outline: none;
    font-family: inherit;
    resize: vertical;
    min-height: 64px;
}
.review-body:focus { border-color: #4e4e4e; }

/* ---- Product page reviews ---- */
.product-reviews {
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid #1e1e1e;
}
.product-reviews-header {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.reviews-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #b8b5ad;
}
.reviews-summary {
    display: flex;
    align-items: center;
    gap: 8px;
}
.reviews-avg-num {
    font-size: 14px;
    font-weight: 700;
    color: #d4a843;
    font-family: 'Courier New', monospace;
}
.reviews-count {
    font-size: 11px;
    color: #555;
}
.star-disp { color: #2e2e2e; font-size: 14px; }
.star-disp-on { color: #d4a843; }

.reviews-list { display: flex; flex-direction: column; gap: 10px; }
.review-card {
    background: #141414;
    border: 1px solid #232323;
    border-radius: 2px;
    padding: 12px 15px;
}
.review-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 7px;
}
.review-stars { display: flex; gap: 2px; }
.review-stars .star-disp { font-size: 13px; }
.review-date {
    font-size: 11px;
    color: #484848;
    margin-left: auto;
}
.review-body-text {
    font-size: 13px;
    color: #999;
    line-height: 1.65;
    white-space: pre-wrap;
    word-break: break-word;
}

@media (max-width: 680px) {
  .star-rating { gap: 1px; }
  .star-label { font-size: 20px; }
  .review-section, .delivery-confirm-box { padding: 16px; }
}

/* ---- Custom error pages ---- */
.error-page {
    text-align: center;
    padding: 70px 20px 90px;
}
.error-code-badge {
    font-family: 'Courier New', Courier, monospace;
    font-size: 88px;
    font-weight: 700;
    color: #202020;
    letter-spacing: -3px;
    line-height: 1;
    margin-bottom: 14px;
    user-select: none;
}
.error-title {
    font-size: 22px;
    font-weight: 700;
    color: #e0ddd6;
    margin-bottom: 10px;
    letter-spacing: -.2px;
}
.error-desc {
    color: #606060;
    font-size: 14px;
    max-width: 460px;
    margin: 0 auto 30px;
    line-height: 1.75;
}
.error-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Homepage compact product grid ───────────────────────────────────────── */
.hp-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    padding-bottom: 24px;
}

/* Shrink image block */
.hp-grid .product-card-img-link {
    height: 140px;
    padding: 0;
}

/* Tighter padding inside the card body */
.hp-grid .product-card-body {
    padding: 10px 12px 8px;
}

/* Clamp product name to 2 lines */
.hp-grid .product-card-name {
    font-size: 13px;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}

/* Fiat price (main, converted) */
.hp-price-fiat {
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    font-weight: 700;
    color: #e0ddd6;
    margin-bottom: 5px;
    line-height: 1.2;
}

/* BTC + XMR price lines */
.hp-prices-crypto {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 6px;
}
.hp-price-btc,
.hp-price-xmr {
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hp-price-btc { color: #c08520; }
.hp-price-xmr { color: #c05500; }

/* Compact stock label */
.hp-grid .stock-label { font-size: 10px; margin-top: 2px; }

/* Compact card footer */
.hp-grid .product-card-foot {
    padding: 8px 12px;
}
.hp-grid .product-card-foot form {
    gap: 6px;
}
.hp-grid .qty-input {
    width: 48px;
    font-size: 12px;
    padding: 4px 2px 4px 6px;
}

/* Currency code badge on cards */
.hp-cur-code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #555;
    margin-left: 4px;
    vertical-align: middle;
}

/* ── Inline currency switcher in shop bar (<details>) ────────────────────── */
.shop-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cur-inline {
    position: relative;
}
.cur-inline[open] > .cur-inline-panel { display: flex; }

.cur-inline-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #191919;
    border: 1px solid #303030;
    border-radius: 2px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 11px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    color: #888;
    letter-spacing: .4px;
    white-space: nowrap;
    list-style: none;
    user-select: none;
}
.cur-inline-toggle::-webkit-details-marker { display: none; }
.cur-inline-toggle::after {
    content: ' ▾';
    font-size: 9px;
    color: #555;
}
.cur-inline[open] .cur-inline-toggle { border-color: #4a4a4a; color: #c0bdb5; }
.cur-inline-toggle:hover { border-color: #4a4a4a; color: #bbb; }

.cur-inline-sym {
    font-size: 12px;
    color: #c05500;
    margin-right: 1px;
}

.cur-inline-panel {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    z-index: 900;
    width: 210px;
    max-height: 340px;
    overflow-y: auto;
    flex-direction: column;
    background: #111;
    border: 1px solid #2e2e2e;
    border-radius: 3px;
    box-shadow: 0 6px 24px rgba(0,0,0,.75);
    scrollbar-width: thin;
    scrollbar-color: #333 #111;
}

.cur-inline-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    text-decoration: none;
    border-bottom: 1px solid #161616;
    color: #777;
    font-size: 12px;
    transition: background .09s;
}
.cur-inline-opt:hover { background: #191919; color: #ccc; text-decoration: none; }
.cur-inline-opt:last-child { border-bottom: none; }
.cur-inline-opt-on {
    background: #0e1e0e;
    border-left: 2px solid #c05500;
    padding-left: 10px;
    color: #b58c42;
}
.cur-inline-opt-on:hover { background: #131e13; color: #d9aa60; }

.cur-inline-os {
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
    color: #ccc;
    flex-shrink: 0;
}
.cur-inline-oc {
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    font-weight: 700;
    min-width: 30px;
    color: #aaa;
    flex-shrink: 0;
}
.cur-inline-on {
    font-size: 11px;
    color: #555;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media (max-width: 540px) {
    .hp-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 8px;
    }
    .hp-grid .product-card-img-link { height: 100px; }
    .shop-bar { flex-wrap: wrap; gap: 8px; }
    .shop-bar-right { width: 100%; justify-content: flex-end; }
    .cur-inline-panel { right: auto; left: 0; }
}
/* ── End homepage additions ──────────────────────────────────────────────── */
/* ── Order Messages — Messenger-style chat panel ─────────────────────────── */
.msg-panel {
    border: 1px solid #1e1e1e;
    border-radius: 6px;
    overflow: hidden;
    background: #0c0c0c;
    margin-bottom: 26px;
    display: flex;
    flex-direction: column;
}
.msg-panel-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    background: #0f0f0f;
    border-bottom: 1px solid #1a1a1a;
    flex-shrink: 0;
}
.msg-panel-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #505050;
}
.msg-panel-sub {
    font-size: 11px;
    color: #303030;
    margin-left: auto;
    white-space: nowrap;
}
.msg-thread {
    flex: 1;
    min-height: 100px;
    max-height: 380px;
    overflow-y: auto;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    scrollbar-width: thin;
    scrollbar-color: #242424 #0c0c0c;
}
.msg-empty {
    text-align: center;
    color: #2e2e2e;
    font-size: 12px;
    padding: 28px 0;
    line-height: 1.8;
}
.msg-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}
.msg-row-left  { justify-content: flex-start; }
.msg-row-right { justify-content: flex-end; }

/* Bubble */
.msg-bubble {
    max-width: 72%;
    min-width: 52px;
    padding: 9px 13px 6px;
    line-height: 1.5;
    font-size: 13px;
    word-break: break-word;
}
/* Store/admin message (left) */
.msg-bubble-left {
    background: #141414;
    border: 1px solid #242424;
    color: #aaa8a2;
    border-radius: 4px 16px 16px 16px;
}
/* Your/buyer message (right) */
.msg-bubble-right {
    background: #0c1f0c;
    border: 1px solid #193519;
    color: #7ec87e;
    border-radius: 16px 4px 16px 16px;
}
.msg-text {
    white-space: pre-wrap;
    margin-bottom: 5px;
}
.msg-time {
    font-size: 10px;
    font-family: 'Courier New', Courier, monospace;
    color: #2e2e2e;
}
.msg-bubble-left  .msg-time { text-align: left; }
.msg-bubble-right .msg-time { text-align: right; color: #254525; }

/* Avatar circles */
.msg-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0;
}
.msg-avatar-store {
    background: #161616;
    color: #484848;
    border: 1px solid #252525;
}
.msg-avatar-you {
    background: #091909;
    color: #3d7a3d;
    border: 1px solid #173017;
}

/* Compose row */
.msg-compose {
    border-top: 1px solid #161616;
    background: #0a0a0a;
    padding: 10px 12px;
    flex-shrink: 0;
}
.msg-form {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}
.msg-input {
    flex: 1;
    background: #111;
    border: 1px solid #222;
    color: #c0bdb5;
    font-family: inherit;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 20px;
    resize: none;
    outline: none;
    line-height: 1.45;
    box-sizing: border-box;
    min-height: 38px;
    max-height: 100px;
    overflow-y: auto;
}
.msg-input:focus { border-color: #2e2e2e; }
.msg-input::placeholder { color: #333; }
.msg-send {
    width: 38px;
    height: 38px;
    min-width: 38px;
    background: #c05500;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    transition: background .12s;
    font-family: inherit;
    line-height: 1;
}
.msg-send:hover { background: #d96510; }
.msg-notice {
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 2px;
    margin-bottom: 8px;
    line-height: 1.4;
}
.msg-notice-ok  { background: #080f08; border: 1px solid #1a341a; color: #5aaa60; }
.msg-notice-err { background: #150808; border: 1px solid #321414; color: #cc5050; }

@media (max-width: 540px) {
    .msg-bubble { max-width: 86%; }
    .msg-thread { max-height: 300px; padding: 12px 10px; }
}

/* ── Card review rating (product cards) ──────────────────────────────────── */
.card-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 5px;
    line-height: 1;
}
.card-rating .star-disp { font-size: 11px; }
.card-rating-num {
    font-size: 11px;
    font-weight: 700;
    color: #d4a843;
    font-family: 'Courier New', monospace;
    margin-left: 2px;
}
.card-rating-count {
    font-size: 10px;
    color: #555;
}
.hp-grid .card-rating .star-disp { font-size: 10px; }
.hp-grid .card-rating-num { font-size: 10px; }
.hp-grid .card-rating-count { font-size: 9px; }

/* ── View button on product cards ────────────────────────────────────────── */
.btn-view {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #999;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    box-sizing: border-box;
}
.btn-view:hover {
    background: #252525;
    border-color: #555;
    color: #ddd;
    text-decoration: none;
}

/* ── Product page tabs (CSS-only radio switch) ───────────────────────────── */
.product-tabs {
    margin-top: 32px;
    border-top: 1px solid #1e1e1e;
    padding-top: 0;
}
.ptab-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.ptab-bar {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #1e1e1e;
}
.ptab-label {
    display: inline-block;
    padding: 12px 22px 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #555;
    cursor: pointer;
    user-select: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color .12s, border-color .12s;
}
.ptab-label:hover { color: #999; }
#ptab-desc:checked ~ .ptab-bar label[for="ptab-desc"],
#ptab-reviews:checked ~ .ptab-bar label[for="ptab-reviews"],
#ptab-analytics:checked ~ .ptab-bar label[for="ptab-analytics"] {
    color: #e0ddd6;
    border-bottom-color: #c05500;
}
.ptab-count {
    font-weight: 400;
    color: #666;
    font-size: 11px;
}
.ptab-content {
    display: none;
    padding: 22px 0;
}
#ptab-desc:checked ~ .ptab-content-desc { display: block; }
#ptab-reviews:checked ~ .ptab-content-reviews { display: block; }
#ptab-analytics:checked ~ .ptab-content-analytics { display: block; }

/* Analytics tab — research paper styles */
.analytics-paper-list { display: flex; flex-direction: column; gap: 20px; }
.analytics-paper {
    background: #fafbff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 18px 20px;
}
.analytics-paper-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px;
    line-height: 1.4;
}
.analytics-paper-meta {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.analytics-paper-meta span { display: flex; align-items: center; gap: 4px; }
.analytics-paper-abstract {
    font-size: 12.5px;
    color: #374151;
    line-height: 1.65;
    margin: 0 0 10px;
}
.analytics-paper-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.analytics-paper-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}
.analytics-section-intro {
    font-size: 12.5px;
    color: #475569;
    line-height: 1.6;
    padding: 0 0 16px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
}
.reviews-summary-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}
.no-desc-note,
.no-reviews-note {
    color: #555;
    font-size: 13px;
}

/* Floating site tools */
.float-menu {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 800;
}
.float-menu-launch {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
    background: #173f3d;
    border: 1px solid #0f302e;
    border-radius: 50%;
    cursor: pointer;
    list-style: none;
    box-shadow: 0 8px 22px rgba(19, 57, 53, .24);
    transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
}
.float-menu-launch::-webkit-details-marker { display: none; }
.float-menu-launch:hover,
.float-menu[open] .float-menu-launch {
    background: #105c56;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(19, 57, 53, .28);
}
.float-menu-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
}
.float-menu-popout {
    position: absolute;
    bottom: 68px;
    right: 0;
    width: min(360px, calc(100vw - 24px));
    max-height: min(76vh, 620px);
    overflow: auto;
    padding: 10px;
    background: #fff;
    border: 1px solid #cfdad7;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(24,49,45,.22);
    opacity: 0;
    transform: translateY(8px) scale(.98);
    transform-origin: bottom right;
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease;
}
.float-menu[open] .float-menu-popout {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.float-menu-section {
    padding: 10px;
    border-bottom: 1px solid #e3e9e7;
}
.float-panel-title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #60716c;
    margin-bottom: 8px;
}
.float-current {
    margin-bottom: 8px;
    color: #173f3d;
    font: 700 13px/1.2 'Courier New', Courier, monospace;
}
.float-currency-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 10px;
}
.float-chip {
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: 7px 6px;
    border: 1px solid #d7e1dd;
    border-radius: 5px;
    color: #314943;
    text-decoration: none;
    font: 700 11px/1 'Courier New', Courier, monospace;
    background: #f7faf9;
}
.float-chip:hover,
.float-chip.is-active {
    border-color: #176d66;
    color: #0f504a;
    background: #eaf3f0;
}
.float-rates-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 10px;
}
.float-rates-tbl thead th {
    text-align: left;
    padding: 6px;
    color: #6f7f7a;
    font-size: 9px;
    text-transform: uppercase;
    border-bottom: 1px solid #e3e9e7;
    font-weight: 600;
}
.float-rates-tbl tbody td {
    padding: 5px 6px;
    border-bottom: 1px solid #eef3f1;
    color: #4a5b56;
}
.float-rates-tbl tbody tr:last-child td { border-bottom: none; }
.float-rate-active td { background: #edf6f3; }
.float-rate-val {
    font-family: 'Courier New', Courier, monospace;
    font-size: 10px;
    white-space: nowrap;
}
.float-lang-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}
.float-lang-opt {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 8px;
    text-decoration: none;
    color: #314943;
    border: 1px solid #d7e1dd;
    border-radius: 5px;
    font-size: 11px;
    background: #f7faf9;
}
.float-lang-opt:hover,
.float-lang-on { border-color: #176d66; color: #0f504a; background: #eaf3f0; }
.float-lang-code {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    min-width: 22px;
    color: #173f3d;
    flex-shrink: 0;
}
.float-lang-name {
    color: #60716c;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.float-support-btn {
    width: 100%;
    margin-top: 10px;
    min-height: 40px;
    border: 0;
    border-radius: 5px;
    color: #fff;
    background: #176d66;
    font: 700 13px/1 inherit;
    cursor: pointer;
}
.float-support-btn:hover {
    background: #105c56;
}
@media (max-width: 540px) {
    .float-menu { right: 12px; bottom: 12px; }
    .float-menu-launch { width: 52px; height: 52px; }
    .float-menu-popout { right: 0; bottom: 62px; }
    .float-currency-grid { grid-template-columns: repeat(3, 1fr); }
    .ptab-label { padding: 10px 14px 8px; font-size: 11px; }
}

/* ── Light storefront theme ──────────────────────────────────────────────── */
:root { color-scheme: light; }

body {
    background-color: #f7f8fa;
    color: #27313b;
}

a { color: #9b4b0c; }
a:hover { color: #743805; }

.site-header {
    background: #fff;
    border-bottom-color: #dce2e8;
}
.site-logo,
.site-logo:hover { color: #17212b; }
.main-nav a { color: #4b5563; }
.main-nav a:hover { color: #9b4b0c; }
.cart-btn {
    background: #f1f4f6;
    border-color: #cbd3dc;
    color: #27313b;
}
.cart-btn:hover { background: #e5eaee; color: #17212b; }

.hero {
    background: #eef3f2;
    border-bottom-color: #d9e1df;
}
.hero h1 { color: #17212b; }
.hero .tagline { color: #52616a; }
.announcements-bar,
.announcement-item { border-color: #e1e5e9; }
.announcement-item { color: #48535d; }
.announcement-item strong { color: #9b4b0c; }

.shop-bar,
.cat-section-head,
.cat-filter-bar,
.product-reviews,
.section-label { border-color: #dce2e8; }
.shop-bar-label,
.cat-section-title { color: #4b5563; }
.cat-see-all { color: #586575; }
.cat-see-all:hover { color: #9b4b0c; }
.cat-pill {
    border-color: #cbd3dc;
    color: #475569;
    background: #fff;
}
.cat-pill:hover { border-color: #9b4b0c; color: #743805; }
.cat-pill-active {
    border-color: #b45a18;
    color: #8a3f08;
    background: #fff4e9;
}

.product-card {
    background: #fff;
    border-color: #dce2e8;
    box-shadow: 0 2px 8px rgba(25, 39, 52, .045);
}
.product-card:hover {
    border-color: #bac5cf;
    box-shadow: 0 5px 15px rgba(25, 39, 52, .09);
}
.product-card-img-link,
.product-card-img { background: var(--panel-soft); }
.no-img-placeholder { color: var(--muted); }
.product-card-name a { color: var(--text); }
.product-card-name a:hover { color: var(--brand); }
.product-card-price,
.hp-price-fiat { color: var(--brand-strong); }
.stock-label { color: var(--muted); }
.stock-label.low,
.product-info-stock.low { color: #8a5814; }
.stock-label.out,
.product-info-stock.out { color: #9c2a2a; }
.product-card-foot { border-top-color: var(--border); }
.product-card-foot .btn-sm:not(.btn-view) { border-color: var(--brand); }
.qty-input,
.cart-qty-input {
    background: #fff;
    border-color: var(--border-strong);
    color: var(--text);
}
.qty-input:focus,
.cart-qty-input:focus { border-color: var(--brand); }
.btn-secondary {
    background: var(--panel-alt);
    border-color: var(--border-strong);
    color: var(--muted-strong);
}
.btn-secondary:hover { background: var(--border); color: var(--brand-strong); }
.btn-view {
    background: var(--panel-alt);
    border-color: var(--border-strong);
    color: var(--muted-strong);
}
.btn-view:hover { background: var(--border); border-color: var(--border-strong); color: var(--brand-strong); }
.pagination a,
.pagination span {
    background: #fff;
    border-color: var(--border-strong);
    color: var(--muted-strong);
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.breadcrumb { color: var(--muted); }
.breadcrumb a { color: var(--muted-strong); }
.breadcrumb a:hover { color: var(--brand); }

.product-img-wrap,
.product-img .no-img-lg,
.product-gallery-thumb { background: var(--panel-soft); border-color: var(--border); }
.product-img .no-img-lg { color: var(--muted); }
.product-gallery-thumb:hover { border-color: var(--brand); }
.product-info-title,
.product-info-price,
.page-title,
.support-page-title { color: var(--brand-strong); }
.product-info-stock,
.product-desc,
.support-hint { color: var(--muted-strong); }
.bulk-discount-table { border-color: var(--border); }
.bulk-discount-title,
.bulk-discount-tbl th { background: #eef5ed; border-color: #d9e5d6; color: #405a40; }
.bulk-discount-tbl td { color: #344a35; border-color: #e2ebe0; }
.bulk-discount-tbl tr:hover td { background: #f5faf3; }
.bulk-discount-price { color: #314b34; }
.page-title { border-bottom-color: #dce2e8; }
.page-content {
    color: #4d5a67;
    font-size: 15px;
    line-height: 1.75;
}
.page-content p { margin: 0 0 18px; }
.page-content p:last-child { margin-bottom: 0; }

.shipping-eta-panel {
    margin-top: 28px;
    padding: 22px;
    border: 1px solid #dbe4e1;
    border-radius: 12px;
    background: #f8fbfa;
}
.shipping-eta-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}
.shipping-eta-heading h2 { margin: 4px 0 0; color: var(--brand-strong, #173f3d); font-size: 20px; }
.shipping-eta-heading > i { color: var(--brand, #1f5a5a); font-size: 22px; padding-top: 4px; }
.shipping-eta-kicker { display: block; color: #48756b; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.shipping-eta-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.shipping-eta-table th, .shipping-eta-table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid #dfe9e5; vertical-align: top; color: #334b47; }
.shipping-eta-table thead th { color: #63746f; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; background: #edf5f2; }
.shipping-eta-table tbody th { color: #173f3d; font-weight: 700; }
.shipping-eta-table tbody tr:last-child th, .shipping-eta-table tbody tr:last-child td { border-bottom: 0; }
.shipping-eta-table td strong { color: #176051; font-weight: 700; }
.shipping-eta-note { margin: 15px 0 0; color: #687873; font-size: 12px; line-height: 1.55; }
.shipping-origin-note { display:flex; gap:11px; align-items:flex-start; margin:0 0 18px; padding:12px 14px; border:1px solid #d7e6e0; border-radius:8px; background:#f3f8f6; color:#23554d; }
.shipping-origin-note > i { margin-top:2px; color:#1d7566; }
.shipping-origin-note strong, .shipping-origin-note span { display:block; }
.shipping-origin-note span { margin-top:3px; color:#5d716b; font-size:12px; }
.terms-acceptance-box { margin: 12px 0 14px; padding: 14px 16px; border: 1px solid #cfded8; border-left: 4px solid #1d7566; border-radius: 7px; background: #f4f8f6; color: #31504a; }
.terms-acceptance-box label { display:flex; align-items:flex-start; gap:10px; margin:0; font-size: .84rem; line-height:1.55; cursor:pointer; }
.terms-acceptance-box input { margin-top:4px; flex:0 0 auto; accent-color:#1d7566; }
.terms-acceptance-box a { color:#176051; font-weight:700; text-decoration:underline; }
.cart-terms-note { margin: 16px 0 0; color: #5d716b; font-size: 12px; line-height: 1.55; }
.cart-terms-note a { color: #176051; font-weight: 700; text-decoration: underline; }

@media (max-width: 640px) {
    .shipping-eta-panel { padding: 16px; border-radius: 10px; }
    .shipping-eta-table, .shipping-eta-table tbody, .shipping-eta-table tr, .shipping-eta-table td, .shipping-eta-table th { display: block; width: 100%; }
    .shipping-eta-table thead { display: none; }
    .shipping-eta-table tr { padding: 12px 0; border-bottom: 1px solid #dfe9e5; }
    .shipping-eta-table tr:last-child { border-bottom: 0; }
    .shipping-eta-table tbody th, .shipping-eta-table td { padding: 3px 0; border: 0; }
    .shipping-eta-table tbody th { font-size: 14px; }
    .shipping-eta-table td::before { content: attr(data-label) ': '; color: #71817c; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
}

.inner-page input,
.inner-page select,
.inner-page textarea,
.support-page input,
.support-page select,
.support-page textarea,
.review-body,
.order-lookup-form input,
.search-form input,
.msg-input {
    background: #fff;
    border-color: #cbd3dc;
    color: #27313b;
}
.search-form input::placeholder,
.msg-input::placeholder { color: #778391; }
.search-form input:focus,
.inner-page input:focus,
.inner-page select:focus,
.inner-page textarea:focus,
.support-page input:focus,
.support-page select:focus,
.support-page textarea:focus,
.review-body:focus,
.order-lookup-form input:focus,
.msg-input:focus { border-color: #9b4b0c; }
.form-row label,
.section-label,
.form-hint { color: #4b5865; }
.form-row input,
.form-row select,
.form-row textarea { background: #fff; border-color: #cbd3dc; color: #27313b; }
.form-row select option { background: #fff; color: #27313b; }
.pay-opt-lbl { background: #fff; border-color: #d1d8df; color: #45515e; }
.pay-opt input:checked + .pay-opt-lbl { background: #fff4e9; border-color: #a84a08; color: #27313b; }

.cart-table th,
.order-items-tbl th { color: #4b5865; border-color: #dce2e8; }
.cart-table td,
.order-items-tbl td { color: #344252; border-color: #e2e6ea; }
.cart-item-name { color: #263442; }
.cart-total-row td,
.order-items-tbl .total-row td { color: #17212b; }
.cart-empty,
.no-products { color: #566372; }
.order-card,
.hp-info-card,
.payment-box,
.review-card,
.review-item,
.delivery-confirm-box,
.review-section,
.support-form,
.support-created-box,
.support-reply-box,
.support-thread-header,
.support-key-warn,
.support-token-box,
.support-messages,
.support-msg,
.msg-panel,
.msg-panel-head,
.msg-compose,
.float-panel-box {
    background: #fff;
    border-color: #dce2e8;
}
.order-card-head,
.hp-info-card-head,
.hp-info-card-body,
.payment-box,
.msg-panel-head,
.msg-compose { color: #344252; }
.order-card-head { background: #f3f6f8; border-bottom-color: #dce2e8; }
.order-card-id,
.meta-value,
.order-card-body { color: #27313b; }
.meta-label,
.order-items-tbl th { color: #52606d; }
.payment-box h3 { color: #263442; }
.crypto-addr,
.pgp-store-box,
.pgp-store-key,
.support-pgp-text {
    background: #f2f5f7;
    border-color: #d1d9e0;
    color: #344252;
}
.crypto-note,
.hp-info-text { color: #52606d; }
.success-box { background: #edf7ee; border-color: #bfdcc2; }
.success-box h2 { color: #246b30; }
.success-box p { color: #405b45; }
.order-id-big { background: #f3f6f8; border-color: #d1d9e0; color: #17212b; }
.flash-ok { background: #edf7ee; border-color: #bfdcc2; color: #246b30; }
.flash-err { background: #fff0ef; border-color: #edc5c1; color: #9b3028; }
.flash-inf { background: #eef5fc; border-color: #c8d8e8; color: #285b89; }

.hp-info-section {
    margin-top: 56px;
    padding-top: 36px;
    border-top: 1px solid var(--border);
}
.hp-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 24px;
}
.hp-info-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--panel-shadow);
}
.hp-info-card-head {
    background: var(--panel-alt);
    border-bottom: 1px solid var(--border);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.hp-info-card-head h3,
.hp-rate-zone-name {
    color: var(--brand-strong);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin: 0;
}
.hp-info-icon { color: var(--brand); font-size: 16px; }
.hp-rates-wrap { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; margin-top: 12px; }
.hp-rate-tbl th { color: var(--muted); border-color: var(--border); font-size: 11px; text-transform: uppercase; }
.hp-rate-tbl td { color: var(--text); border-color: var(--border); }
.hp-rate-price { color: var(--accent); font-weight: 700; }
.hp-rate-days { color: var(--muted); }
.site-footer {
    background: var(--panel-alt);
    border-top: 1px solid var(--border);
    padding: 34px 20px 44px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    margin-top: 0;
}
.site-footer a { color: var(--brand); text-decoration: none; }
.site-footer a:hover { color: var(--brand-strong); text-decoration: underline; }

.support-panel-title,
.pgp-choice-title,
.support-reply-title,
.support-thread-meta { color: #4b5865; }
.stab-label,
.pgp-choice-btn,
.privacy-choice-btn { background: #f4f6f8; border-color: #cbd3dc; color: #45515e; }
#stab-new:checked ~ .stab-bar label[for="stab-new"],
#stab-existing:checked ~ .stab-bar label[for="stab-existing"],
#pgp-none:checked ~ .pgp-choice-btns label[for="pgp-none"],
#pgp-own:checked ~ .pgp-choice-btns label[for="pgp-own"],
#pgp-gen:checked ~ .pgp-choice-btns label[for="pgp-gen"],
#ship-plain:checked ~ .privacy-choice-btns label[for="ship-plain"],
#ship-offline:checked ~ .privacy-choice-btns label[for="ship-offline"],
#ship-server:checked ~ .privacy-choice-btns label[for="ship-server"],
#msg-plain:checked ~ .privacy-choice-btns label[for="msg-plain"],
#msg-offline:checked ~ .privacy-choice-btns label[for="msg-offline"],
#msg-server:checked ~ .privacy-choice-btns label[for="msg-server"] {
    background: #fff4e9;
    border-color: #a84a08;
    color: #27313b;
}
.support-created-label,
.support-subject-line,
.support-closed-note { color: #4b5865; }
.support-token-value,
.support-thread-subject { color: #27313b; }
.support-msg-admin { background: #eef6ef; border-color: #cbdccb; }
.support-msg-customer { background: #f4f6f8; }
.support-msg-body { color: #344252; }
.support-msg-time,
.support-subject-line { color: #596675; }
.support-status-badge.status-closed { background: #eef1f4; color: #52606d; border-color: #d1d8df; }
.pgp-store-box { background: #edf6ee; border-color: #c7dfc9; }
.pgp-store-box-head { color: #246b30; }
.pgp-store-box-text { color: #426b49; }
.support-pgp-text { color: #344252; }
.support-alert-danger { background: #fff0ef; border-color: #edc5c1; }
.support-alert-text-danger,
.support-alert-subtext-danger { color: #8e3832; }
.support-alert-text-danger strong { color: #76221d; }

.msg-panel { background: #fff; }
.msg-panel-head { background: #f3f6f8; border-bottom-color: #dce2e8; }
.msg-panel-title { color: #45515e; }
.msg-panel-sub { color: #62707d; }
.msg-empty { color: #62707d; }
.msg-bubble-left { background: #f0f3f6; border-color: #d5dde4; color: #344252; }
.msg-bubble-right { background: #edf6ee; border-color: #c9ddcb; color: #285b30; }
.msg-time,
.msg-bubble-right .msg-time { color: #61706a; }
.msg-avatar-store { background: #edf1f4; color: #52606d; border-color: #d1d9e0; }
.msg-avatar-you { background: #edf6ee; color: #326b39; border-color: #c9ddcb; }
.msg-compose { background: #f7f8fa; border-top-color: #dce2e8; }
.msg-notice-ok { background: #edf7ee; border-color: #bfdcc2; color: #246b30; }
.msg-notice-err { background: #fff0ef; border-color: #edc5c1; color: #9b3028; }
.review-section-title,
.reviews-title { color: #344252; }
.review-section-hint { color: #52606d; }
.review-item { background: #f7f8fa; border-color: #dce2e8; }
.review-item-name { color: #27313b; }
.review-already-note,
.review-date,
.reviews-count,
.star-hint { color: #596675; }
.review-body-text { color: #344252; }
.no-desc-note,
.no-reviews-note { color: #52606d; }
.star-label { color: #b8c0c8; }
.star-rating .star-label:has(~ .star-radio:checked),
.star-rating .star-label:has(.star-radio:checked) { color: #9a6100; }
.star-disp { color: #b8c0c8; }
.star-disp-on,
.reviews-avg-num,
.card-rating-num { color: #8a5900; }
.review-badge-done { background: #edf7ee; border-color: #bfdcc2; color: #246b30; }

.product-tabs,
.ptab-bar { border-color: #dce2e8; }
.ptab-label { color: #596675; }
#ptab-desc:checked ~ .ptab-bar label[for="ptab-desc"],
#ptab-reviews:checked ~ .ptab-bar label[for="ptab-reviews"],
#ptab-analytics:checked ~ .ptab-bar label[for="ptab-analytics"] { color: #263442; }
.ptab-count { color: #596675; }
.cur-inline-toggle,
.float-btn { background: #fff; border-color: #cbd3dc; color: #344252; }
.cur-inline-toggle:hover,
.float-btn:hover { border-color: #9aa7b3; color: #17212b; }
.cur-inline-toggle::after,
.cur-inline-on,
.float-panel-title { color: #5c6875; }
.cur-inline-panel,
.float-panel-box { background: #fff; border-color: #d1d8df; box-shadow: 0 8px 24px rgba(25, 39, 52, .16); }
.cur-inline-opt,
.float-lang-opt { color: #45515e; border-color: #e2e7ec; }
.cur-inline-opt:hover,
.float-lang-opt:hover { background: #f2f5f7; color: #17212b; }
.cur-inline-opt-on,
.float-lang-on { background: #fff4e9; color: #8a3f08; }
.cur-inline-os,
.cur-inline-oc,
.float-cur-sym,
.float-lang-code { color: #344252; }
.cur-inline-on,
.float-cur-name,
.float-lang-name,
.float-rates-age { color: #596675; }
.float-rates-tbl thead th { background: #f3f6f8; color: #52606d; border-color: #dce2e8; }
.float-rates-tbl tbody td { color: #344252; border-color: #e6eaee; }
.float-rates-tbl tbody tr:hover td { background: #f4f6f8; }
.float-rate-active td { background: #edf6ee; }
.float-rate-val { color: #27313b; }
.error-code-badge { color: #cbd3dc; }
.error-title { color: #17212b; }
.error-desc { color: #52606d; }

@media (max-width: 1060px) {
    .shop-shell {
        grid-template-columns: minmax(0, 1fr) 240px !important;
        grid-template-areas: "main right" !important;
    }
    .shop-sidebar-left { display: none; }
}

@media (max-width: 768px) {
    /* Base layouts */
    .shop-shell, .shop-wrap { padding: 0 10px 40px; }
    .shop-shell, .cart-layout, .checkout-layout, .account-layout { grid-template-columns: 1fr !important; grid-template-areas: "main" !important; }
    .shop-sidebar-left, .shop-sidebar-right { display: none !important; }
    div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
    
    /* Header & Navigation */
    .header-inner { flex-direction: column; align-items: center; padding: 12px; gap: 12px; }
    .main-nav { flex-wrap: wrap; justify-content: center; width: 100%; gap: 10px; flex: 1 1 100%; }
    .site-logo { margin-bottom: 4px; }
    
    /* Grids */
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important; gap: 12px; }
    .product-page-grid { grid-template-columns: 1fr !important; }
    
    /* Shop Bar & Forms */
    .shop-bar { flex-direction: column; align-items: stretch; gap: 10px; }
    .search-form, .search-form input { width: 100%; flex: 1; }
    .stock-filter { align-self: flex-start; }
    .form-row.half { grid-template-columns: 1fr !important; }

    /* Tables */
    .cart-table, .order-table, .table { min-width: 500px; }
    .table-responsive, .cart-table-wrap, .checkout-table-wrap, div:has(> table) { 
        overflow-x: auto; 
        display: block; 
        width: 100%; 
        -webkit-overflow-scrolling: touch; 
    }
    
    /* Typography & Utilities */
    .hero h1 { font-size: 22px; }
    .page-title { font-size: 20px; margin-bottom: 16px; }
    .delivery-confirm-box, .review-section { padding: 14px; }
}

/* Mobile storefront: compact, deliberate controls instead of squeezed desktop UI. */
@media (max-width: 900px) {
    .top-utility-bar { display:none; }
    .site-header { position:sticky; top:0; box-shadow:0 1px 10px rgba(15,23,42,.1); }
    .header-inner {
        display:grid;
        grid-template-columns:minmax(0,1fr) auto;
        grid-template-areas:"brand actions" "search search";
        align-items:center;
        gap:10px 12px;
        padding:11px 14px;
    }
    .site-logo { grid-area:brand; min-width:0; }
    .header-actions { grid-area:actions; gap:4px; }
    .header-search { grid-area:search; width:100%; max-width:none; margin:0; }
    .logo-title { font-size:19px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .logo-sub { display:none; }
    .lgc-brand-emblem { width:39px; height:39px; border-radius:6px; }
    .emblem-text { font-size:17px; }
    .header-icon-action { width:38px; height:38px; justify-content:center; padding:5px; border:1px solid #d8e0e4; border-radius:7px; }
    .quick-order-btn { width:38px; height:38px; justify-content:center; padding:5px; border-radius:7px; }
    .quick-order-btn svg { width:19px; height:19px; }
    .mobile-nav-toggle { width:38px; height:38px; display:flex; align-items:center; justify-content:center; padding:5px; border-radius:7px; }
    .header-search-form { height:42px; padding-left:14px; }
    .catalog-nav-bar.mobile-open { display:block; border-top:1px solid #e3e8ea; }
    .catalog-nav-bar.mobile-open .nav-links { gap:0; padding:6px 0; }
    .catalog-nav-bar.mobile-open .nav-tab { padding:12px 16px; font-size:14px; }
}

@media (max-width: 560px) {
    .products-grid {
        grid-template-columns:1fr !important;
        gap:12px;
        padding-bottom:24px;
    }
    .product-card {
        display:grid;
        grid-template-columns:116px minmax(0,1fr);
        grid-template-areas:"top top" "image body" "foot foot";
        border-radius:8px;
        box-shadow:0 2px 8px rgba(22,50,49,.06);
    }
    .card-top-bar { grid-area:top; padding:7px 10px; }
    .product-card-img-link {
        grid-area:image;
        height:100%;
        min-height:120px;
        padding:0;
        border-bottom:0;
        border-right:1px solid #edf2ef;
        align-self:stretch;
    }
    .product-card-img-el { padding: 8px; }
    .product-card-body { grid-area:body; padding:12px 12px 9px; min-width:0; }
    .product-card-name { height:auto; min-height:35px; margin-bottom:5px; font-size:15px; }
    .card-meta-row { margin-bottom:5px; }
    .card-rating { display:none; }
    .card-price-row { align-items:center; margin-bottom:4px; }
    .card-fiat-price { font-size:20px; }
    .card-crypto-pill { font-size:10px; padding:3px 5px; }
    .card-bulk-badge { margin-top:3px; }
    .product-card-foot {
        grid-area:foot;
        display:grid;
        grid-template-columns:minmax(0,1fr) auto;
        gap:8px;
        padding:9px 10px;
    }
    .card-cart-form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:7px; width:100%; }
    .card-purchase-controls { min-width:0; }
    .card-option-label { display:block; margin:0 0 3px; color:#66757a; font-size:9px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; }
    .card-qty-choice { width:100%; min-width:0; height:34px; padding:5px 7px; font-size:11px; }
    .card-add-button { min-height:34px; align-self:end; white-space:nowrap; padding:7px 11px; }
    .btn-view-specs { min-height:34px; align-self:end; display:flex; align-items:center; justify-content:center; }
    .card-view-overlay { display:none; }
}

@media (prefers-reduced-motion: reduce) {
    .product-card.card-hover-lift { transform: translateY(-2px); }
    .card-molecule-preview, .product-card-img-el { transition: none; }
}

@media (max-width: 380px) {
    .quick-order-btn { display:none; }
    .header-inner { padding-left:10px; padding-right:10px; }
    .site-logo { gap:7px; }
    .logo-title { font-size:17px; }
}

.molecule-explorer { margin:28px auto; padding:22px; border:1px solid #d7e2df; border-radius:8px; background:#fbfdfc; max-width:1120px; }
.molecule-explorer-head { display:flex; align-items:center; justify-content:space-between; gap:16px; border-bottom:1px solid #e4ece9; padding-bottom:14px; }
.molecule-explorer h2 { margin:2px 0 0; color:#173f3d; font-size:19px; }
.molecule-kicker { color:#4d7770; text-transform:uppercase; letter-spacing:.08em; font-size:10px; font-weight:700; }
.molecule-intro, .molecule-status { color:#566b66; font-size:13px; line-height:1.55; margin:13px 0; }
.molecule-content { display:grid; grid-template-columns:minmax(240px,.9fr) minmax(0,1.1fr); gap:20px; align-items:start; }
.molecule-visual { min-height:220px; padding:12px; border:1px solid #e0e9e5; background:#fff; border-radius:6px; text-align:center; }
.molecule-2d { max-width:100%; max-height:230px; object-fit:contain; }
.molecule-3d { height:280px; width:100%; margin-bottom:10px; }
.molecule-properties { display:grid; gap:0; border:1px solid #e0e9e5; border-radius:6px; overflow:hidden; background:#fff; }
.molecule-properties > div { display:grid; grid-template-columns:minmax(120px,.8fr) minmax(0,1.2fr); gap:12px; padding:10px 12px; border-bottom:1px solid #edf2ef; font-size:12px; }
.molecule-properties > div:last-of-type { border-bottom:0; }
.molecule-properties span { color:#647872; }.molecule-properties strong { color:#243c37; overflow-wrap:anywhere; }
.molecule-hbond-note { grid-column:1 / -1; margin:0; padding:12px; background:#f1f7f4; color:#365a51; font-size:12px; line-height:1.5; }
.molecule-fragments { margin-top:18px; display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:10px; }
.molecule-fragments h3 { grid-column:1 / -1; margin:0; color:#173f3d; font-size:14px; }
.molecule-fragments article { padding:12px; border:1px solid #dbe7e2; border-left:3px solid #1f5a5a; border-radius:4px; background:#fff; }
.molecule-fragments strong { color:#173f3d; font-size:13px; }.molecule-fragments p { margin:5px 0; color:#536b65; font-size:12px; line-height:1.45; }.molecule-fragments small { color:#71847e; font-size:11px; line-height:1.4; }
@media (max-width:640px) { .molecule-explorer { margin:18px 0; padding:16px; }.molecule-content { grid-template-columns:1fr; }.molecule-explorer-head { align-items:flex-start; flex-direction:column; }.molecule-visual { min-height:180px; } }

/* catalog theme */
:root {
    --ink-950: #10252d;
    --ink-800: #203940;
    --ink-650: #52656a;
    --ink-500: #708187;
    --paper-050: #fbfcfb;
    --paper-100: #f3f6f5;
    --paper-200: #e7edeb;
    --paper-300: #d4dfdc;
    --teal-700: #086878;
    --teal-800: #075563;
    --teal-050: #e8f2f1;
    --copper-600: #aa6b2d;
    --copper-050: #fbf1e7;
    --line: #d7e1df;
    --soft-shadow: 0 7px 22px rgba(20, 45, 49, .07);
    --hard-shadow: 0 12px 30px rgba(20, 45, 49, .11);
    --radius-sm: 5px;
    --radius-md: 9px;
    --radius-lg: 14px;
}

html { background: var(--paper-100); }
body {
    background: var(--paper-100);
    color: var(--ink-800);
    font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
body::selection { background: #b9d9d5; color: var(--ink-950); }
a { color: var(--teal-700); }
a:hover { color: var(--teal-800); }
button, input, select, textarea { font: inherit; }

.wrapper { max-width: 1440px; padding-left: 24px; padding-right: 24px; }
.discreet-top-banner { background: var(--ink-950); border-bottom: 0; padding: 8px 24px; }
.banner-inner { max-width: 1440px; }
.banner-badge { background: var(--teal-700); border-radius: 3px; letter-spacing: .7px; }
.banner-text { color: #dbe8e5; }
.banner-close:hover { background: rgba(255,255,255,.1); }

.top-utility-bar { background: var(--paper-050); border-bottom: 1px solid var(--line); color: var(--ink-650); }
.utility-inner { max-width: 1440px; padding: 8px 24px; }
.utility-left, .utility-right { gap: 9px; }
.utility-link, .utility-hotline, .utility-email { color: var(--ink-650); }
.utility-link:hover, .utility-email:hover { color: var(--teal-700); }
.utility-divider { color: #bac8c5; }
.utility-cur-selector { background: var(--teal-050); color: var(--teal-800); border: 1px solid #c8dedb; border-radius: 4px; }

.site-header { background: rgba(251,252,251,.97); border-bottom: 1px solid var(--line); box-shadow: 0 2px 10px rgba(21, 48, 52, .05); }
.header-inner { max-width: 1440px; padding: 17px 24px; gap: 28px; }
.site-logo { gap: 13px; }
.lgc-brand-emblem { width: 48px; height: 48px; border-radius: 10px; background: var(--teal-700); border: 1px solid var(--teal-800); }
.emblem-text { font-size: 20px; letter-spacing: -.7px; }
.logo-title { color: var(--ink-950); font-size: 22px; letter-spacing: -.35px; }
.logo-sub { color: var(--ink-500); letter-spacing: 1.1px; }
.header-search { max-width: 660px; }
.header-search-form { height: 46px; background: var(--paper-100); border: 1px solid var(--paper-300); border-radius: var(--radius-md); padding-left: 16px; }
.header-search-form:focus-within { background: #fff; border-color: var(--teal-700); box-shadow: 0 0 0 3px rgba(8,104,120,.1); }
.header-search-form input { font-size: 14px; color: var(--ink-950); }
.search-submit-btn { color: var(--teal-800); border-radius: 6px; }
.search-submit-btn:hover { background: var(--teal-050); color: var(--teal-800); }
.header-actions { gap: 9px; }
.quick-order-btn { border: 1px solid var(--paper-300); border-radius: var(--radius-sm); color: var(--ink-800); padding: 9px 14px; background: #fff; }
.quick-order-btn:hover { color: var(--teal-800); border-color: #9cc6c1; background: var(--teal-050); }
.header-icon-action { color: var(--ink-650); border-radius: var(--radius-sm); }
.header-icon-action:hover { color: var(--teal-800); background: var(--teal-050); }
.cart-badge-pill { background: var(--copper-600); border-color: var(--paper-050); }
.mobile-nav-toggle { border-color: var(--paper-300); color: var(--ink-800); border-radius: var(--radius-sm); }

.catalog-nav-bar { background: var(--paper-050); border-top: 1px solid #edf2f0; border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 1440px; padding: 0 24px; }
.nav-links { gap: 2px; }
.nav-tab { color: var(--ink-650); padding: 13px 15px 12px; border-bottom-width: 2px; font-size: 12.5px; letter-spacing: .01em; }
.nav-tab:hover, .nav-tab.tab-active { color: var(--teal-800); background: var(--teal-050); border-bottom-color: var(--teal-700); }
.mega-menu-dropdown { border-top: 2px solid var(--teal-700); border-bottom: 1px solid var(--line); box-shadow: var(--hard-shadow); }
.mega-menu-body { padding: 26px 30px 30px; }
.mega-cat-link:hover { color: var(--teal-800); background: var(--teal-050); transform: none; }

.search-suggestions { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--hard-shadow); }
.search-suggestion { padding: 11px 13px; border-bottom-color: var(--paper-200); }
.search-suggestion:hover { background: var(--teal-050); }
.search-suggestion span { color: var(--teal-700); }

.home-hero { padding: 34px 24px 30px; background: #e9f1f0; border-bottom: 1px solid var(--line); }
.home-hero-inner { max-width: 1440px; grid-template-columns: minmax(0, 1.55fr) minmax(290px, .72fr); gap: 20px; }
.home-hero-copy { min-height: 288px; padding: 34px 38px; border: 1px solid #c5d8d5; border-radius: var(--radius-lg); background: #f8fbfa; }
.home-hero-copy::after { right: -104px; bottom: -126px; width: 300px; height: 300px; border-color: rgba(8,104,120,.13); box-shadow: 0 0 0 24px rgba(8,104,120,.035), 0 0 0 48px rgba(8,104,120,.02); }
.home-hero-kicker, .home-section-kicker { color: var(--teal-700); letter-spacing: 1.35px; }
.home-hero-copy h1 { color: var(--ink-950); font-size: clamp(32px, 4vw, 55px); letter-spacing: -.055em; }
.home-hero-copy p { color: var(--ink-650); }
.home-hero-primary { background: var(--teal-700); border-color: var(--teal-700); border-radius: var(--radius-sm); }
.home-hero-primary:hover { background: var(--teal-800); }
.home-hero-secondary { color: var(--teal-800); background: #fff; border-color: #b8d0cc; border-radius: var(--radius-sm); }
.home-hero-aside { border-radius: var(--radius-lg); background: var(--ink-950); border-color: #1f4d57; box-shadow: 7px 7px 0 rgba(8,104,120,.1); }
.home-collection-strip { max-width: 1440px; padding: 27px 24px 30px; }
.home-collection-heading h2 { color: var(--ink-950); }
.home-collection-card { min-height: 112px; border-color: var(--line); border-radius: var(--radius-md); }
.home-collection-card:hover { border-color: #92beb9; box-shadow: var(--soft-shadow); transform: translateY(-1px); }
.home-collection-icon { border-radius: var(--radius-sm); color: var(--teal-800); background: var(--teal-050); border-color: #c7dcd9; }
.shop-wrap { background: #f1f5f4; border-top: 1px solid var(--line); padding: 22px 0 52px; }
.shop-shell { max-width: 1440px; padding: 0 24px; grid-template-columns: 220px minmax(0,1fr) 250px; gap: 22px; }
.shop-sidebar-left, .shop-sidebar-right { top: 88px; padding-top: 0; }
.sidebar-panel { border-radius: var(--radius-md); box-shadow: 0 1px 0 rgba(18,46,50,.03); }
.sidebar-panel-head { padding: 13px 14px; background: var(--paper-100); }
.sidebar-panel-head h3 { color: var(--ink-800); letter-spacing: .75px; }
.sidebar-cat-item a { padding: 9px 14px; color: var(--ink-650); border-left-width: 2px; }
.sidebar-cat-item a:hover { background: var(--teal-050); border-left-color: var(--teal-700); color: var(--teal-800); }
.sidebar-cat-count { background: var(--teal-050); color: var(--teal-800); border-radius: 4px; }
.sidebar-recent-item:hover { background: var(--teal-050); }
.sidebar-recent-img, .sidebar-recent-img-placeholder { border-radius: var(--radius-sm); background: var(--paper-100); border-color: var(--paper-300); }
.sidebar-recent-name { color: var(--ink-800); }
.sidebar-recent-price { color: var(--teal-700); }
.shop-bar { padding: 13px 0 14px; border-bottom-color: var(--line); margin-bottom: 20px; }
.shop-bar-label { color: var(--ink-650); letter-spacing: .04em; }
.shop-bar-label strong { color: var(--ink-950); }
.cat-section { margin-bottom: 38px; }
.cat-section-head { border-bottom-color: var(--line); }
.cat-section-title { color: var(--ink-950); letter-spacing: .04em; }
.cat-see-all { color: var(--teal-700); }
.hp-announcement-card { background: var(--copper-050); border-color: #ecd9c4; border-left-color: var(--copper-600); border-radius: var(--radius-sm); }
.hp-announcement-title { color: #8a531f; }
.hp-announcement-body { color: #70533b; }

.products-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.product-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: 0 2px 0 rgba(17, 44, 48, .025); overflow: hidden; }
.product-card:hover, .product-card.card-hover-lift { border-color: #a1c5c0; box-shadow: var(--soft-shadow); transform: translateY(-3px); }
.card-top-bar { min-height: 39px; padding: 9px 12px; background: var(--paper-050); border-bottom: 1px solid var(--paper-200); }
.card-cat-id { color: var(--ink-500); font-size: 10px; letter-spacing: .07em; }
.card-purity-badge { background: var(--teal-050); color: var(--teal-800); border: 1px solid #cae1dd; border-radius: 4px; padding: 3px 7px; }
.product-card-img-link { height: 182px; background: #edf3f2; border-bottom: 1px solid var(--paper-200); }
.product-card-img-el { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 18px; }
.product-card-img-el.placeholder-img { opacity: .72; padding: 24px; }
.card-view-overlay { background: rgba(16,37,45,.82); border-radius: 4px; padding: 8px 11px; }
.product-card-body { padding: 14px 14px 13px; }
.product-card-name { height: 40px; font-size: 15px; line-height: 1.35; margin-bottom: 8px; }
.product-card-name a { color: var(--ink-950); }
.product-card-name a:hover { color: var(--teal-700); }
.card-format-summary { align-items: flex-start; gap: 5px; min-height: 44px; margin: 0 0 10px; }
.card-format-label { flex-basis: 100%; color: var(--ink-500); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.card-format-tag, .card-format-standard { color: var(--ink-800); background: var(--paper-100); border: 1px solid var(--paper-300); border-radius: 4px; padding: 4px 7px; font-size: 10px; line-height: 1.25; }
.card-format-unavailable { color: #8e6f69; background: #fbf5f2; border-color: #ecdcd6; }
.card-meta-row { min-height: 21px; margin-bottom: 10px; }
.card-rating-num, .card-rating-count, .card-grade-tag { color: var(--ink-500); }
.star-disp-on { color: var(--copper-600); }
.stock-status { font-size: 10.5px; }
.stock-status.stock-in { color: #2d704f; }
.stock-status.stock-low { color: #a66b2d; }
.stock-status.stock-out { color: #a94a42; }
.card-price-row { align-items: flex-end; margin-bottom: 8px; }
.card-fiat-price { color: var(--teal-800); font-size: 20px; letter-spacing: -.025em; }
.card-fiat-price .cur-label { color: var(--ink-500); }
.card-crypto-pill { color: var(--ink-650); background: var(--paper-100); border: 1px solid var(--paper-200); border-radius: 4px; }
.card-bulk-badge { color: #8a531f; background: var(--copper-050); border-color: #ecd9c4; border-radius: 4px; }
.product-card-foot { min-height: 61px; padding: 10px 12px; background: var(--paper-050); border-top-color: var(--paper-200); }
.card-purchase-controls { gap: 5px; }
.card-option-label { color: var(--ink-500); }
.qty-choice { color: var(--ink-800); background: #fff; border-color: var(--paper-300); border-radius: 4px; }
.qty-choice:focus { outline: 2px solid rgba(8,104,120,.18); border-color: var(--teal-700); }
.card-add-button, .btn-primary-action { background: var(--teal-700); border-color: var(--teal-700); border-radius: var(--radius-sm); }
.card-add-button:hover, .btn-primary-action:hover { background: var(--teal-800); }
.btn-view-specs { color: var(--teal-800); border-color: #9cc6c1; background: #fff; border-radius: var(--radius-sm); }
.btn-view-specs:hover { color: var(--teal-800); background: var(--teal-050); }

.catalog-quicknav { padding: 18px; background: #f8fbfa; border-color: var(--line); border-radius: var(--radius-md); }
.catalog-quicknav-card { border-color: var(--line); border-radius: var(--radius-sm); background: #fff; }
.catalog-quicknav-card:hover { border-color: #92beb9; background: var(--teal-050); }
.catalog-quicknav-icon { border-radius: 4px; color: var(--teal-800); background: var(--teal-050); }

.modal-backdrop { background: rgba(16,37,45,.52); backdrop-filter: blur(2px); }
.quick-order-dialog { border-radius: var(--radius-lg); border-color: var(--line); box-shadow: var(--hard-shadow); }
.modal-header { padding: 20px 24px; border-bottom-color: var(--paper-200); }
.modal-title { color: var(--ink-950); }
.modal-subtitle { color: var(--ink-650); }
.modal-body { padding: 24px; }
.qo-input { border-color: var(--paper-300); border-radius: var(--radius-sm); }
.qo-input:focus { border-color: var(--teal-700); box-shadow: 0 0 0 3px rgba(8,104,120,.1); }
.qo-submit { background: var(--teal-700); border-radius: var(--radius-sm); }
.qo-submit:hover { background: var(--teal-800); }

.product-page, .inner-page { max-width: 1280px; }
.product-img-wrap, .product-img .no-img-lg, .product-gallery-thumb { background: var(--paper-100); border-color: var(--line); border-radius: var(--radius-md); }
.product-img-thumb { object-fit: contain; }
.product-info-title, .product-info-price { color: var(--ink-950); }
.product-info-stock { color: #2d704f; }
.product-desc { color: var(--ink-650); }
.product-tabs { border-color: var(--line); }
.product-tab-label { color: var(--ink-650); }
.product-tab-label:hover { color: var(--teal-800); }
.product-tab-panel { background: #fff; border-color: var(--line); }
.molecule-explorer, .knowledgebase-note { background: #f8fbfa; border-color: var(--line); border-radius: var(--radius-md); }

.float-menu-launch { background: var(--ink-950); border-color: var(--ink-950); box-shadow: 0 7px 18px rgba(16,37,45,.2); }
.float-menu-launch:hover, .float-menu[open] .float-menu-launch { background: var(--teal-700); box-shadow: 0 7px 18px rgba(16,37,45,.22); }
.float-menu-popout { border-color: var(--line); border-radius: var(--radius-lg); box-shadow: var(--hard-shadow); }
.float-chip, .float-lang-opt { color: var(--ink-800); background: var(--paper-100); border-color: var(--paper-300); border-radius: var(--radius-sm); }
.float-chip:hover, .float-chip.is-active, .float-lang-opt:hover, .float-lang-on { color: var(--teal-800); background: var(--teal-050); border-color: #9cc6c1; }
.float-support-btn { background: var(--teal-700); border-radius: var(--radius-sm); }
.float-support-btn:hover { background: var(--teal-800); }

.site-footer { background: var(--ink-950); border-top: 0; color: #c9d8d6; }
.site-footer a { color: #b6d9d5; }
.site-footer a:hover { color: #fff; }
.footer-compliance-box { background: #17343d; border-color: #2e5660; border-radius: var(--radius-md); }
.footer-brand-title, .footer-col-head { color: #fff; }
.footer-brand-tag, .footer-compliance-box p { color: #b4c9c7; }
.footer-bottom-strip { border-top-color: #2a4a52; }

@media (max-width: 1180px) {
    .shop-shell { grid-template-columns: 205px minmax(0,1fr) 220px; gap: 16px; }
    .products-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 980px) {
    .wrapper, .nav-inner, .home-collection-strip, .shop-shell { padding-left: 18px; padding-right: 18px; }
    .header-inner { padding-left: 18px; padding-right: 18px; gap: 16px; }
    .shop-shell { grid-template-columns: minmax(0,1fr) 230px; grid-template-areas: "main right"; }
    .shop-sidebar-left { display: none; }
    .products-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
    .wrapper { padding-left: 14px; padding-right: 14px; }
    .utility-inner { padding: 7px 14px; }
    .utility-left { display: none; }
    .utility-right { width: 100%; justify-content: center; }
    .header-inner { padding: 12px 14px; }
    .header-actions { gap: 5px; }
    .action-text, .quick-order-btn span { display: none; }
    .quick-order-btn, .header-icon-action, .mobile-nav-toggle { width: 38px; height: 38px; justify-content: center; padding: 0; }
    .header-search-form { height: 44px; }
    .catalog-nav-bar { display: none; }
    .catalog-nav-bar.mobile-open { display: block; }
    .nav-inner { padding: 0 14px; }
    .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); padding: 6px 0; }
    .nav-tab { justify-content: flex-start; border: 0; border-radius: 4px; padding: 11px 12px; }
    .mega-tab-wrapper { grid-column: span 2; }
    .mega-menu-dropdown { position: static; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: none; }
    .mega-menu-body { padding: 14px; display: block; }
    .mega-menu-close { top: 5px; right: 5px; }
    .home-hero { padding: 20px 14px 24px; }
    .home-hero-inner { grid-template-columns: 1fr; gap: 14px; }
    .home-hero-copy { min-height: 0; padding: 27px 24px 30px; }
    .home-hero-copy h1 { font-size: 35px; }
    .home-hero-aside { box-shadow: 4px 4px 0 rgba(8,104,120,.1); }
    .home-collection-strip { padding: 22px 14px 24px; }
    .home-collection-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
    .shop-wrap { padding-top: 14px; }
    .shop-shell { grid-template-columns: 1fr; grid-template-areas: "main"; padding-left: 14px; padding-right: 14px; }
    .shop-sidebar-right { display: none; }
    .shop-bar { align-items: flex-start; flex-wrap: wrap; }
    .shop-bar-right { width: 100%; justify-content: flex-start; }
    .products-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
    .product-card { border-radius: var(--radius-md); }
    .product-card-img-link { height: 145px; }
    .product-card-img-el { padding: 12px; }
    .product-card-body { padding: 11px 11px 10px; }
    .product-card-name { font-size: 13px; height: 36px; }
    .card-meta-row { display: block; }
    .stock-status { display: block; margin-top: 4px; }
    .card-price-row { display: block; }
    .card-fiat-price { font-size: 17px; }
    .card-crypto-pill { margin-top: 6px; }
    .product-card-foot { display: block; padding: 9px 10px; }
    .card-cart-form { display: grid; grid-template-columns: minmax(0,1fr); gap: 7px; }
    .card-add-button, .btn-view-specs { width: 100%; min-height: 35px; }
    .quick-order-dialog { max-height: calc(100dvh - 22px); }
    .modal-header, .modal-body { padding-left: 18px; padding-right: 18px; }
}
@media (max-width: 430px) {
    .logo-title { font-size: 18px; }
    .lgc-brand-emblem { width: 40px; height: 40px; }
    .logo-sub { display: none; }
    .products-grid { grid-template-columns: 1fr; }
    .product-card { display: grid; grid-template-columns: 112px minmax(0,1fr); grid-template-areas: "top top" "image body" "foot foot"; }
    .card-top-bar { grid-area: top; }
    .product-card-img-link { grid-area: image; height: 100%; min-height: 154px; border-right: 1px solid var(--paper-200); border-bottom: 0; }
    .product-card-body { grid-area: body; min-width: 0; }
    .product-card-foot { grid-area: foot; }
    .home-hero-copy h1 { font-size: 31px; }
    .home-collection-card { min-height: 98px; padding: 11px; }
}
.knowledgebase-page article { max-width:860px; margin:0 auto 48px; }
.knowledgebase-lead { color:#425a54; font-size:17px; line-height:1.7; margin:12px 0 18px; }
.knowledgebase-note { padding:14px 16px; background:#f4f8f6; border:1px solid #dbe7e2; border-left:3px solid #1f5a5a; color:#3e5951; line-height:1.55; font-size:13px; }
.knowledgebase-page h2 { color:#173f3d; font-size:18px; margin:28px 0 12px; }
.knowledgebase-catalog-links > div { display:flex; flex-wrap:wrap; gap:8px; }
.knowledgebase-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:10px; }
.knowledgebase-grid a { display:flex; justify-content:space-between; gap:10px; padding:14px; color:#173f3d; font-weight:700; text-decoration:none; background:#fff; border:1px solid #dbe7e2; border-radius:6px; }
.knowledgebase-grid a:hover { border-color:#1f5a5a; }.knowledgebase-grid span { color:#55736b; font-size:12px; font-weight:600; }

/* First-party support chat */
.livechat-widget { position:fixed; right:18px; bottom:18px; z-index:85; font-family:inherit; }
.livechat-launch {
    display:none;
    min-height:42px; padding:0 16px; border:1px solid #145e59; border-radius:6px;
    color:#fff; background:#176d66; box-shadow:0 3px 12px rgba(19,57,53,.18);
    font:700 13px/1 inherit; cursor:pointer;
}
.livechat-launch:hover { background:#105c56; }
.livechat-panel { width:min(350px, calc(100vw - 24px)); border:1px solid #c9d8d4; border-radius:8px; overflow:hidden; background:#fff; box-shadow:0 10px 30px rgba(24,49,45,.18); }
.livechat-head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 14px; color:#fff; background:#173f3d; cursor:move; touch-action:none; }
.livechat-head strong,.livechat-head span { display:block; }.livechat-head strong { font-size:14px; }.livechat-head span { margin-top:2px; color:#c5d9d5; font-size:11px; }
.livechat-minimize { width:28px; height:28px; border:0; border-radius:4px; color:#fff; background:transparent; font-size:20px; line-height:1; cursor:pointer; }
.livechat-minimize:hover { background:rgba(255,255,255,.12); }
.livechat-messages { height:260px; overflow-y:auto; padding:13px; background:#f6f9f8; }
.livechat-message { width:fit-content; max-width:85%; margin:0 0 9px; padding:8px 10px; border-radius:6px; font-size:13px; line-height:1.4; overflow-wrap:anywhere; }
.livechat-visitor { margin-left:auto; color:#fff; background:#176d66; border-bottom-right-radius:1px; }
.livechat-admin { color:#263f3a; background:#fff; border:1px solid #dce7e3; border-bottom-left-radius:1px; }
.livechat-form { display:grid; grid-template-columns:1fr auto; gap:8px; padding:10px; border-top:1px solid #dce7e3; background:#fff; }
.livechat-form textarea { min-width:0; min-height:38px; max-height:100px; padding:8px; resize:vertical; border:1px solid #c5d4d0; border-radius:4px; color:#263f3a; background:#fff; font:13px/1.35 inherit; }
.livechat-form button { align-self:end; min-height:38px; padding:0 13px; border:0; border-radius:4px; color:#fff; background:#176d66; font:700 12px inherit; cursor:pointer; }
.livechat-form button:hover { background:#105c56; }
@media (max-width:520px) {
    .livechat-widget { right:12px; bottom:12px; }
    .livechat-panel { width:calc(100vw - 24px); }
    .livechat-messages { height:min(42vh,300px); }
}

@media (min-width: 561px) {
    .card-purchase-controls { flex:1; min-width:0; }
    .card-option-label { display:none; }
    .card-qty-choice { width:100%; }
    .card-add-button { white-space:nowrap; }
}

/* Keep tablet card controls inside the footer. */
@media (min-width: 561px) and (max-width: 900px) {
    .product-card-foot {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: stretch;
        gap: 8px;
    }
    .card-cart-form {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(76px, auto);
        align-items: end;
        gap: 7px;
        width: 100%;
    }
    .card-purchase-controls {
        display: flex;
        flex-direction: column;
        gap: 5px;
        min-width: 0;
    }
    .card-option-label {
        display: block;
        margin: 0 0 2px;
        color: #66757a;
        font-size: 9px;
        font-weight: 700;
        letter-spacing: .07em;
        line-height: 1.1;
        text-transform: uppercase;
    }
    .card-qty-choice {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: 34px;
        padding: 5px 7px;
        font-size: 11px;
    }
    .card-add-button {
        width: 100%;
        min-height: 34px;
        padding: 7px 9px;
        white-space: nowrap;
    }
    .btn-view-specs {
        grid-column: 1;
        width: max-content;
        min-height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .card-admin-bar {
        grid-column: 2;
        justify-self: end;
    }
}

/* ==========================================================================
   SCIENTIFIC FOOTER & COMPLIANCE STYLING
   ========================================================================== */
.site-footer {
    background: #0d1a17;
    color: #94a3b8;
    border-top: 1px solid #1e3a34;
    padding: 40px 0 24px;
    font-size: 0.85rem;
}
.footer-compliance-box {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-left: 4px solid #ef4444;
    border-radius: 6px;
    padding: 18px 22px;
    margin-bottom: 36px;
}
.compliance-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #fca5a5;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.compliance-icon {
    font-size: 1.1rem;
    color: #f87171;
}
.compliance-text {
    color: #e2e8f0;
    font-size: 0.82rem;
    line-height: 1.6;
    margin: 0;
}
.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.2fr;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-col-brand .footer-brand-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.footer-col-brand .footer-brand-tag {
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 16px;
}
.footer-pay-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.footer-pay-badges .f-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}
.footer-pay-badges .f-btc { color: #f59e0b; }
.footer-pay-badges .f-xmr { color: #f97316; }
.footer-col-head {
    font-size: 0.8rem;
    font-weight: 700;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 14px;
}
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-links-list a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s ease;
}
.footer-links-list a:hover {
    color: #38bdf8;
    text-decoration: underline;
}
.footer-bottom-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 24px;
    font-size: 0.78rem;
    color: #64748b;
}
.footer-sec-tags {
    display: flex;
    gap: 14px;
}
.sec-tag {
    color: #94a3b8;
}

@media (max-width: 768px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-bottom-strip {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================================
   NEW UI ELEMENTS — added 2026-10
   ============================================================ */

/* --- CoA badge on product cards --- */
.card-coa-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.card-coa-badge a { color: inherit; text-decoration: none; }
.card-coa-badge a:hover { text-decoration: underline; }
.card-coa-published {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}
.card-coa-awaiting {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

/* --- Product page CoA section --- */
.product-coa-block {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 8px;
    padding: 16px 20px;
    margin-top: 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.product-coa-icon {
    font-size: 28px;
    color: #16a34a;
    flex-shrink: 0;
}
.product-coa-title {
    font-weight: 700;
    color: #15803d;
    font-size: 14px;
    margin-bottom: 4px;
}
.product-coa-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #16a34a;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 8px;
}
.product-coa-link:hover { background: #15803d; }
.product-coa-awaiting-block {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 12px;
    color: #92400e;
    font-size: 13px;
    display: flex;
    gap: 10px;
    align-items: center;
}

/* --- NEW badge on product cards --- */
.card-new-badge {
    background: #0ea5e9;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: .6px;
    text-transform: uppercase;
    vertical-align: middle;
}

/* --- Homepage info strip (bottom of catalog) --- */
.hp-info-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0 24px;
    padding: 28px 24px;
    background: var(--surface, #fff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 10px;
}
.hp-info-col {
    text-align: center;
    padding: 8px 12px;
}
.hp-info-icon {
    font-size: 28px;
    color: var(--accent, #0ea5e9);
    margin-bottom: 10px;
}
.hp-info-title {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-main, #1e293b);
    margin-bottom: 6px;
}
.hp-info-desc {
    font-size: 13px;
    color: var(--text-muted, #64748b);
    line-height: 1.5;
}
.hp-browse-all-cta {
    text-align: center;
    padding: 8px 0 40px;
}
@media (max-width: 640px) {
    .hp-info-strip { grid-template-columns: 1fr; }
}

/* --- Footer version label --- */
.footer-version {
    font-size: 11px;
    color: #64748b;
    opacity: .65;
    margin-left: auto;
}

/* --- CoA header badge on product page --- */
.product-coa-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-left: 10px;
    vertical-align: middle;
}

/* --- Multi-category breadcrumb tags --- */
.product-cat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}
.product-cat-tag {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    text-decoration: none;
}
.product-cat-tag:hover { background: #e2e8f0; }

/* Homepage masthead and collection rail */
.home-hero {
    margin: 0 auto;
    padding: 42px 18px 34px;
    background: #edf4f3;
    border-bottom: 1px solid #d9e5e3;
}
.home-hero-inner {
    max-width: 1340px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
    gap: 26px;
    align-items: stretch;
}
.home-hero-copy {
    min-height: 300px;
    padding: 34px 38px 36px;
    border: 1px solid #c9dcd8;
    border-radius: 2px;
    background:
        linear-gradient(135deg, rgba(0,95,115,.08), transparent 48%),
        linear-gradient(90deg, rgba(255,255,255,.82), rgba(255,255,255,.4));
    position: relative;
    overflow: hidden;
}
.home-hero-copy::after {
    content: '';
    position: absolute;
    right: -68px;
    bottom: -96px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(0,95,115,.18);
    border-radius: 50%;
    box-shadow: 0 0 0 22px rgba(0,95,115,.045), 0 0 0 44px rgba(0,95,115,.035);
}
.home-hero-kicker,
.home-section-kicker {
    color: #006b7f;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.55px;
    text-transform: uppercase;
}
.home-hero-copy h1 {
    max-width: 720px;
    margin: 15px 0 12px;
    color: #102b3b;
    font-size: clamp(30px, 4vw, 54px);
    font-weight: 760;
    letter-spacing: -.045em;
    line-height: 1.04;
}
.home-hero-copy p {
    max-width: 650px;
    margin: 0;
    color: #526b72;
    font-size: 15px;
    line-height: 1.7;
}
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; position: relative; z-index: 1; }
.home-hero-primary,
.home-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}
.home-hero-primary { color: #fff; background: #006b7f; border: 1px solid #006b7f; }
.home-hero-primary:hover { color: #fff; background: #004f60; text-decoration: none; }
.home-hero-secondary { color: #155566; background: rgba(255,255,255,.72); border: 1px solid #b8d0cc; }
.home-hero-secondary:hover { color: #004f60; background: #fff; text-decoration: none; }
.home-hero-aside {
    padding: 20px 22px;
    border: 1px solid #0b5667;
    border-radius: 2px;
    background: #0d2734;
    color: #f2f8f8;
    box-shadow: 12px 12px 0 rgba(0,95,115,.12);
}
.home-hero-aside-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid rgba(210,238,237,.16); color: #bad9d7; font-size: 11px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; }
.home-hero-aside-top i { color: #77c8c3; }
.home-hero-stat { display: flex; align-items: baseline; gap: 9px; padding: 20px 0 14px; }
.home-hero-stat strong { color: #fff; font-size: 42px; font-weight: 760; letter-spacing: -.06em; line-height: 1; }
.home-hero-stat span, .home-hero-stat-row span { color: #9fc0bf; font-size: 12px; }
.home-hero-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: 18px; }
.home-hero-stat-row div { padding: 11px 0; border-top: 1px solid rgba(210,238,237,.16); }
.home-hero-stat-row strong { display: block; color: #e9f7f6; font-size: 21px; line-height: 1.2; }
.home-hero-note { padding: 13px 14px; border-left: 3px solid #67bdb7; background: rgba(255,255,255,.06); }
.home-hero-note span { display: block; margin-bottom: 4px; color: #9fc0bf; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.home-hero-note strong { display: block; color: #fff; font-size: 13px; }
.home-hero-note p { margin: 4px 0 0; color: #c5dcda; font-size: 12px; line-height: 1.5; }
.home-hero-note-muted { border-left-color: #789aa0; }
.home-collection-strip { max-width: 1340px; margin: 0 auto; padding: 28px 18px 32px; }
.home-collection-heading { display: flex; align-items: end; gap: 14px; margin-bottom: 14px; }
.home-collection-heading h2 { margin: 0; color: #102b3b; font-size: 21px; letter-spacing: -.02em; }
.home-collection-heading a { margin-left: auto; color: #006b7f; font-size: 12px; font-weight: 700; }
.home-collection-heading a:hover { color: #004f60; }
.home-collection-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; }
.home-collection-card { min-height: 106px; display: flex; flex-direction: column; justify-content: space-between; padding: 13px 14px; border: 1px solid #d8e4e2; border-radius: 2px; background: #fff; color: #163b46; text-decoration: none; transition: border-color .16s, transform .16s, box-shadow .16s; }
.home-collection-card:hover { border-color: #4b9a9b; box-shadow: 0 8px 22px rgba(16,43,59,.08); color: #004f60; text-decoration: none; transform: translateY(-2px); }
.home-collection-icon { display: grid; place-items: center; width: 30px; height: 30px; color: #006b7f; background: #e9f3f2; border: 1px solid #cce0dd; border-radius: 2px; }
.home-collection-name { margin-top: 12px; font-size: 12px; font-weight: 750; line-height: 1.25; }
.home-collection-meta { color: #70848a; font-size: 10px; }
.home-collection-meta i { margin-left: 4px; font-size: 9px; }
.shop-wrap { background: #f7f9fa; border-top: 1px solid #e1e9e8; padding-top: 14px; }

@media (max-width: 1080px) {
    .home-collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-hero-inner { grid-template-columns: minmax(0, 1.2fr) minmax(270px, .8fr); }
}
@media (max-width: 700px) {
    .home-hero { padding: 20px 10px 22px; }
    .home-hero-inner { grid-template-columns: 1fr; gap: 12px; }
    .home-hero-copy { min-height: 0; padding: 26px 22px 28px; }
    .home-hero-copy h1 { font-size: 34px; }
    .home-hero-copy p { font-size: 13px; }
    .home-hero-aside { box-shadow: 6px 6px 0 rgba(0,95,115,.1); }
    .home-collection-strip { padding: 22px 10px 24px; }
    .home-collection-heading { align-items: start; flex-wrap: wrap; gap: 5px 10px; }
    .home-collection-heading a { width: 100%; margin-left: 0; }
    .home-collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .home-collection-card { min-height: 96px; padding: 11px; }
}

/* storefront overrides */
:root { --ink-950:#10252d; --ink-800:#203940; --ink-650:#52656a; --ink-500:#708187; --paper-050:#fbfcfb; --paper-100:#f3f6f5; --paper-200:#e7edeb; --paper-300:#d4dfdc; --teal-700:#086878; --teal-800:#075563; --teal-050:#e8f2f1; --copper-600:#aa6b2d; --copper-050:#fbf1e7; --line:#d7e1df; --soft-shadow:0 7px 22px rgba(20,45,49,.07); --hard-shadow:0 12px 30px rgba(20,45,49,.11); }
html { background:#f3f6f5; }
body { background:#f3f6f5; color:#203940; font-family:"Avenir Next","Segoe UI",Arial,sans-serif; -webkit-font-smoothing:antialiased; }
a { color:#086878; }
.wrapper { max-width:1440px; padding-left:24px; padding-right:24px; }
.discreet-top-banner { background:#10252d; border-bottom:0; padding:8px 24px; }
.top-utility-bar { background:#fbfcfb; border-bottom:1px solid #d7e1df; }
.utility-inner { max-width:1440px; padding:8px 24px; }
.utility-link,.utility-hotline,.utility-email { color:#52656a; }
.utility-link:hover,.utility-email:hover { color:#086878; }
.utility-cur-selector { background:#e8f2f1; color:#075563; border:1px solid #c8dedb; border-radius:4px; }
.site-header { background:rgba(251,252,251,.97); border-bottom:1px solid #d7e1df; box-shadow:0 2px 10px rgba(21,48,52,.05); }
.header-inner { max-width:1440px; padding:17px 24px; gap:28px; }
.lgc-brand-emblem { width:48px; height:48px; border-radius:10px; background:#086878; border-color:#075563; }
.logo-title { color:#10252d; font-size:22px; }
.logo-sub { color:#708187; }
.header-search { max-width:660px; }
.header-search-form { height:46px; background:#f3f6f5; border:1px solid #d4dfdc; border-radius:9px; }
.header-search-form:focus-within { background:#fff; border-color:#086878; box-shadow:0 0 0 3px rgba(8,104,120,.1); }
.search-submit-btn:hover { background:#e8f2f1; color:#075563; }
.quick-order-btn { background:#fff; color:#203940; border-color:#d4dfdc; border-radius:5px; }
.quick-order-btn:hover,.header-icon-action:hover { color:#075563; background:#e8f2f1; }
.cart-badge-pill { background:#aa6b2d; border-color:#fbfcfb; }
.catalog-nav-bar { background:#fbfcfb; border-color:#d7e1df; }
.nav-inner { max-width:1440px; padding:0 24px; }
.nav-tab { color:#52656a; border-bottom-width:2px; }
.nav-tab:hover,.nav-tab.tab-active { color:#075563; background:#e8f2f1; border-bottom-color:#086878; }
.mega-menu-dropdown { border-top-color:#086878; border-bottom-color:#d7e1df; box-shadow:0 12px 30px rgba(20,45,49,.11); }
.mega-cat-link:hover { color:#075563; background:#e8f2f1; transform:none; }
.search-suggestions { border-color:#d7e1df; border-radius:9px; box-shadow:0 12px 30px rgba(20,45,49,.11); }
.search-suggestion { border-bottom-color:#e7edeb; }
.search-suggestion:hover { background:#e8f2f1; }
.home-hero { padding:34px 24px 30px; background:#e9f1f0; border-bottom-color:#d7e1df; }
.home-hero-inner { max-width:1440px; grid-template-columns:minmax(0,1.55fr) minmax(290px,.72fr); gap:20px; }
.home-hero-copy { min-height:288px; padding:34px 38px; border:1px solid #c5d8d5; border-radius:14px; background:#f8fbfa; }
.home-hero-copy::after { right:-104px; bottom:-126px; width:300px; height:300px; border-color:rgba(8,104,120,.13); box-shadow:0 0 0 24px rgba(8,104,120,.035),0 0 0 48px rgba(8,104,120,.02); }
.home-hero-kicker,.home-section-kicker { color:#086878; }
.home-hero-copy h1 { color:#10252d; }
.home-hero-copy p { color:#52656a; }
.home-hero-primary { background:#086878; border-color:#086878; border-radius:5px; }
.home-hero-primary:hover { background:#075563; }
.home-hero-secondary { color:#075563; background:#fff; border-color:#b8d0cc; border-radius:5px; }
.home-hero-aside { border-radius:14px; background:#10252d; border-color:#1f4d57; box-shadow:7px 7px 0 rgba(8,104,120,.1); }
.home-collection-strip { max-width:1440px; padding:27px 24px 30px; }
.home-collection-heading h2 { color:#10252d; }
.home-collection-card { min-height:112px; border-color:#d7e1df; border-radius:9px; }
.home-collection-card:hover { border-color:#92beb9; box-shadow:0 7px 22px rgba(20,45,49,.07); transform:translateY(-1px); }
.home-collection-icon { border-radius:5px; color:#075563; background:#e8f2f1; border-color:#c7dcd9; }
.shop-wrap { background:#f1f5f4; border-top-color:#d7e1df; padding-top:22px; }
.shop-shell { max-width:1440px; padding:0 24px; grid-template-columns:220px minmax(0,1fr) 250px; gap:22px; }
.shop-sidebar-left,.shop-sidebar-right { top:88px; padding-top:0; }
.sidebar-panel { border-color:#d7e1df; border-radius:9px; }
.sidebar-panel-head { padding:13px 14px; background:#f3f6f5; border-bottom-color:#d7e1df; }
.sidebar-panel-head h3 { color:#203940; }
.sidebar-cat-item a { color:#52656a; }
.sidebar-cat-item a:hover { background:#e8f2f1; border-left-color:#086878; color:#075563; }
.sidebar-cat-count { background:#e8f2f1; color:#075563; border-radius:4px; }
.sidebar-recent-item:hover { background:#e8f2f1; }
.sidebar-recent-img,.sidebar-recent-img-placeholder { border-radius:5px; background:#f3f6f5; border-color:#d4dfdc; }
.sidebar-recent-name { color:#203940; }
.sidebar-recent-price { color:#086878; }
.shop-bar { border-bottom-color:#d7e1df; }
.shop-bar-label { color:#52656a; }
.shop-bar-label strong { color:#10252d; }
.cat-section-head { border-bottom-color:#d7e1df; }
.cat-section-title { color:#10252d; }
.cat-see-all { color:#086878; }
.hp-announcement-card { background:#fbf1e7; border-color:#ecd9c4; border-left-color:#aa6b2d; border-radius:5px; }
.hp-announcement-title { color:#8a531f; }
.hp-announcement-body { color:#70533b; }
.products-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.product-card { border-color:#d7e1df; border-radius:9px; background:#fff; box-shadow:0 2px 0 rgba(17,44,48,.025); }
.product-card:hover,.product-card.card-hover-lift { border-color:#a1c5c0; box-shadow:0 7px 22px rgba(20,45,49,.07); transform:translateY(-3px); }
.card-top-bar { background:#fbfcfb; border-bottom-color:#e7edeb; }
.card-cat-id { color:#708187; }
.card-purity-badge { color:#075563; background:#e8f2f1; border-color:#cae1dd; border-radius:4px; }
.product-card-img-link { height:182px; background:#edf3f2; border-bottom-color:#e7edeb; }
.product-card-img-el { object-fit:contain; object-position:center; padding:18px; }
.product-card-img-el.placeholder-img { opacity:.72; padding:24px; }
.product-card-body { padding:14px 14px 13px; }
.product-card-name { font-size:15px; }
.product-card-name a { color:#10252d; }
.product-card-name a:hover { color:#086878; }
.card-format-label { color:#708187; }
.card-format-tag,.card-format-standard { color:#203940; background:#f3f6f5; border-color:#d4dfdc; border-radius:4px; }
.card-meta-row { margin-bottom:10px; }
.card-rating-num,.card-rating-count,.card-grade-tag { color:#708187; }
.star-disp-on { color:#aa6b2d; }
.stock-status.stock-in { color:#2d704f; }
.stock-status.stock-low { color:#a66b2d; }
.stock-status.stock-out { color:#a94a42; }
.card-fiat-price { color:#075563; font-size:20px; }
.card-fiat-price .cur-label { color:#708187; }
.card-crypto-pill { color:#52656a; background:#f3f6f5; border-color:#e7edeb; border-radius:4px; }
.card-bulk-badge { color:#8a531f; background:#fbf1e7; border-color:#ecd9c4; border-radius:4px; }
.product-card-foot { background:#fbfcfb; border-top-color:#e7edeb; }
.qty-choice { color:#203940; background:#fff; border-color:#d4dfdc; border-radius:4px; }
.card-add-button,.btn-primary-action { background:#086878; border-color:#086878; border-radius:5px; }
.card-add-button:hover,.btn-primary-action:hover { background:#075563; }
.btn-view-specs { color:#075563; border-color:#9cc6c1; background:#fff; border-radius:5px; }
.btn-view-specs:hover { color:#075563; background:#e8f2f1; }
.catalog-quicknav { background:#f8fbfa; border-color:#d7e1df; border-radius:9px; }
.catalog-quicknav-card { border-color:#d7e1df; border-radius:5px; }
.catalog-quicknav-card:hover { border-color:#92beb9; background:#e8f2f1; }
.catalog-quicknav-icon { color:#075563; background:#e8f2f1; border-color:#c7dcd9; border-radius:4px; }
.modal-backdrop { background:rgba(16,37,45,.52); }
.quick-order-dialog { border-color:#d7e1df; border-radius:14px; box-shadow:0 12px 30px rgba(20,45,49,.11); }
.modal-header { border-bottom-color:#e7edeb; }
.modal-title { color:#10252d; }
.modal-subtitle { color:#52656a; }
.qo-input { border-color:#d4dfdc; border-radius:5px; }
.qo-input:focus { border-color:#086878; box-shadow:0 0 0 3px rgba(8,104,120,.1); }
.qo-submit { background:#086878; border-radius:5px; }
.product-img-wrap,.product-img .no-img-lg,.product-gallery-thumb { background:#f3f6f5; border-color:#d7e1df; border-radius:9px; }
.product-info-title,.product-info-price { color:#10252d; }
.product-desc { color:#52656a; }
.molecule-explorer,.knowledgebase-note { background:#f8fbfa; border-color:#d7e1df; border-radius:9px; }
.float-menu-launch { background:#10252d; border-color:#10252d; box-shadow:0 7px 18px rgba(16,37,45,.2); }
.float-menu-launch:hover,.float-menu[open] .float-menu-launch { background:#086878; }
.float-menu-popout { border-color:#d7e1df; border-radius:14px; box-shadow:0 12px 30px rgba(20,45,49,.11); }
.float-chip,.float-lang-opt { color:#203940; background:#f3f6f5; border-color:#d4dfdc; border-radius:5px; }
.float-chip:hover,.float-chip.is-active,.float-lang-opt:hover,.float-lang-on { color:#075563; background:#e8f2f1; border-color:#9cc6c1; }
.float-support-btn { background:#086878; border-radius:5px; }
.site-footer { background:#10252d; color:#c9d8d6; }
.site-footer a { color:#b6d9d5; }
.footer-compliance-box { background:#17343d; border-color:#2e5660; border-radius:9px; }
.footer-brand-title,.footer-col-head { color:#fff; }
.footer-brand-tag,.footer-compliance-box p { color:#b4c9c7; }
.footer-bottom-strip { border-top-color:#2a4a52; }
@media (max-width:1180px) { .shop-shell { grid-template-columns:205px minmax(0,1fr) 220px; gap:16px; } .products-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:980px) { .header-inner,.nav-inner,.home-collection-strip,.shop-shell { padding-left:18px; padding-right:18px; } .shop-shell { grid-template-columns:minmax(0,1fr) 230px; grid-template-areas:"main right"; } .shop-sidebar-left { display:none; } .products-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:760px) {
    .wrapper { padding-left:14px; padding-right:14px; }
    .utility-left { display:none; }
    .utility-right { width:100%; justify-content:center; }
    .header-inner { padding:12px 14px; }
    .action-text,.quick-order-btn span { display:none; }
    .quick-order-btn,.header-icon-action,.mobile-nav-toggle { width:38px; height:38px; justify-content:center; padding:0; }
    .catalog-nav-bar { display:none; }
    .catalog-nav-bar.mobile-open { display:block; }
    .nav-inner { padding:0 14px; }
    .nav-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); padding:6px 0; }
    .nav-tab { border:0; border-radius:4px; padding:11px 12px; }
    .mega-tab-wrapper { grid-column:span 2; }
    .mega-menu-dropdown { position:static; border:1px solid #d7e1df; border-radius:5px; box-shadow:none; }
    .home-hero { padding:20px 14px 24px; }
    .home-hero-inner { grid-template-columns:1fr; gap:14px; }
    .home-hero-copy { min-height:0; padding:27px 24px 30px; }
    .home-hero-copy h1 { font-size:35px; }
    .home-hero-aside { box-shadow:4px 4px 0 rgba(8,104,120,.1); }
    .home-collection-strip { padding:22px 14px 24px; }
    .home-collection-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
    .shop-wrap { padding-top:14px; }
    .shop-shell { grid-template-columns:1fr; grid-template-areas:"main"; padding-left:14px; padding-right:14px; }
    .shop-sidebar-right { display:none; }
    .shop-bar { align-items:flex-start; flex-wrap:wrap; }
    .shop-bar-right { width:100%; justify-content:flex-start; }
    .products-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }
    .product-card-img-link { height:145px; }
    .product-card-img-el { padding:12px; }
    .product-card-body { padding:11px; }
    .product-card-name { font-size:13px; height:36px; }
    .card-meta-row { display:block; }
    .stock-status { display:block; margin-top:4px; }
    .card-price-row { display:block; }
    .card-fiat-price { font-size:17px; }
    .card-crypto-pill { margin-top:6px; }
    .product-card-foot { display:block; padding:9px 10px; }
    .card-cart-form { display:grid; grid-template-columns:minmax(0,1fr); gap:7px; }
    .card-add-button,.btn-view-specs { width:100%; min-height:35px; }
    .quick-order-dialog { max-height:calc(100dvh - 22px); }
}
@media (max-width:430px) {
    .logo-title { font-size:18px; }
    .lgc-brand-emblem { width:40px; height:40px; }
    .products-grid { grid-template-columns:1fr; }
    .product-card { display:grid; grid-template-columns:112px minmax(0,1fr); grid-template-areas:"top top" "image body" "foot foot"; }
    .card-top-bar { grid-area:top; }
    .product-card-img-link { grid-area:image; height:100%; min-height:154px; border-right:1px solid #e7edeb; border-bottom:0; }
    .product-card-body { grid-area:body; min-width:0; }
    .product-card-foot { grid-area:foot; }
    .home-hero-copy h1 { font-size:31px; }
}
