/* Harmony BG – public site theme (on top of Bootstrap 5.3) */
:root {
    --hb-navy: #1c3c64;
    --hb-navy-dark: #12294a;
    --hb-teal: #0f9b8e;
    --hb-teal-dark: #0b7c72;
    --hb-sky: #e9f1f8;
    --hb-text: #1f2933;
    --bs-primary: #1c3c64;
    --bs-primary-rgb: 28, 60, 100;
    --bs-link-color: #1c5a96;
    --bs-link-color-rgb: 28, 90, 150;
    --bs-link-hover-color: #0f9b8e;
    --bs-body-color: #1f2933;
    --bs-body-bg: #f6f8fb;
    --bs-border-radius: .6rem;
}

body { font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif; line-height: 1.6; }
img { max-width: 100%; height: auto; }
.skip-link { position: absolute; left: 1rem; top: .5rem; z-index: 2000; background: #fff; padding: .5rem 1rem; }

/* Buttons */
.btn-primary { --bs-btn-bg: var(--hb-navy); --bs-btn-border-color: var(--hb-navy); --bs-btn-hover-bg: var(--hb-navy-dark); --bs-btn-hover-border-color: var(--hb-navy-dark); --bs-btn-active-bg: var(--hb-navy-dark); }
.btn-outline-primary { --bs-btn-color: var(--hb-navy); --bs-btn-border-color: var(--hb-navy); --bs-btn-hover-bg: var(--hb-navy); --bs-btn-hover-border-color: var(--hb-navy); --bs-btn-active-bg: var(--hb-navy); --bs-btn-active-border-color: var(--hb-navy); }
.btn-accent { --bs-btn-color: #fff; --bs-btn-bg: var(--hb-teal); --bs-btn-border-color: var(--hb-teal); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--hb-teal-dark); --bs-btn-hover-border-color: var(--hb-teal-dark); --bs-btn-active-bg: var(--hb-teal-dark); --bs-btn-active-color: #fff; }
.bg-accent { background: var(--hb-teal) !important; }
.text-primary { color: var(--hb-navy) !important; }

/* Header */
.site-header { background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid #e3e9f0; }
.navbar-brand .brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.navbar-brand .brand-name { font-weight: 700; color: var(--hb-navy); }
.navbar-brand small { font-size: .72rem; color: #6b7b8c; letter-spacing: .04em; text-transform: uppercase; }
.navbar .nav-link { color: var(--hb-navy); font-weight: 500; border-radius: .4rem; padding: .5rem .8rem !important; }
.navbar .nav-link:hover, .navbar .nav-link.active { background: var(--hb-sky); color: var(--hb-navy); }
.nav-icon { font-size: 1.35rem; color: var(--hb-navy); text-decoration: none; }
.cart-badge { position: absolute; top: 0; right: -2px; font-size: .65rem; }
.lang-switch { font-weight: 600; min-width: 2.6rem; }
@media (max-width: 991.98px) {
    .navbar-collapse { padding: .5rem 0 1rem; }
    .navbar .nav-link { padding: .7rem .8rem !important; }
    .navbar .dropdown-menu { border: 0; box-shadow: none; padding-left: 1rem; background: transparent; }
}

/* Hero & sections */
.hero { background: radial-gradient(1200px 400px at 80% 10%, rgba(15,155,142,.35), transparent), linear-gradient(135deg, var(--hb-navy) 0%, #0e2440 100%); color: #fff; }
.hero .lead { color: rgba(255,255,255,.85); }
.hero .eyebrow { color: #8fd8cf; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 600; }
.hero-img { filter: drop-shadow(10px 18px 22px rgba(0,0,0,.45)); max-height: 340px; }
.section-title { font-size: 1.6rem; font-weight: 700; color: var(--hb-navy); margin-bottom: 1.25rem; }
.bg-soft { background: var(--hb-sky); }
.page-head { background: linear-gradient(135deg, var(--hb-navy) 0%, #23507f 100%); color: #fff; }
.page-head .breadcrumb a { color: #cfe2f3; }
.page-head .breadcrumb-item.active, .page-head .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.7); }

.feature { background: #fff; border-radius: var(--bs-border-radius); padding: 1.25rem; box-shadow: 0 2px 10px rgba(28,60,100,.06); }
.feature .bi { font-size: 1.8rem; color: var(--hb-teal); }

/* Cards */
.card { border-color: #e3e9f0; }
.category-card, .product-card { transition: transform .15s ease, box-shadow .15s ease; box-shadow: 0 2px 10px rgba(28,60,100,.06); }
.category-card:hover, .product-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(28,60,100,.12); }
.category-card { color: inherit; }
.category-card-img, .product-card-img { display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #fff, var(--hb-sky)); height: 200px; border-radius: var(--bs-border-radius) var(--bs-border-radius) 0 0; overflow: hidden; }
.category-card-img img, .product-card-img img { max-height: 170px; width: auto; object-fit: contain; filter: drop-shadow(6px 8px 10px rgba(0,0,0,.18)); }
.product-card .card-title a { color: var(--hb-navy); }
.price { font-weight: 700; color: var(--hb-teal-dark); font-size: 1.15rem; }
.category-pills { display: flex; flex-wrap: wrap; gap: .5rem; }

/* Product page */
.product-hero-img { background: linear-gradient(180deg, #fff, var(--hb-sky)); border-radius: 1rem; padding: 2rem; text-align: center; box-shadow: 0 2px 14px rgba(28,60,100,.08); }
.product-hero-img img { max-height: 380px; filter: drop-shadow(10px 14px 16px rgba(0,0,0,.22)); }
.highlights .bi { color: var(--hb-teal); }
.buy-box { border: 2px solid var(--hb-sky); }
.spec-table th { width: 40%; font-weight: 600; color: #42566b; background: #fafcfe; }
.nav-tabs .nav-link { color: var(--hb-navy); }
.nav-tabs .nav-link.active { font-weight: 600; }
.rich-text h3, .rich-text h4 { color: var(--hb-navy); margin-top: 1.25rem; font-size: 1.1rem; }
.rich-text ul { padding-left: 1.2rem; }
.rich-text img { border-radius: .5rem; }
.gallery-item img { width: 100%; height: 210px; object-fit: contain; background: #fff; border: 1px solid #e3e9f0; border-radius: .5rem; padding: .5rem; }

/* Shipping notice (explicit: paid by customer) */
.shipping-notice { background: #fff8e6; border: 1px solid #f3d48a; color: #5c4400; }
.shipping-notice .bi { color: #c58a00; }

/* Testimonials */
.testimonial { position: relative; box-shadow: 0 2px 10px rgba(28,60,100,.06); }
.testimonial .quote-icon { position: absolute; right: 1rem; top: .2rem; font-size: 3rem; color: var(--hb-sky); }
.testimonial blockquote { font-style: italic; }
.testimonial .avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--hb-navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex: 0 0 48px; }
.stars { color: #f0b400; }
.masonry { column-count: 1; column-gap: 1.5rem; }
.masonry-item { break-inside: avoid; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .masonry { column-count: 2; } }
@media (min-width: 1200px) { .masonry { column-count: 3; } }

/* FAQ */
.faq-toc { top: 90px; border-left: 3px solid var(--hb-sky); padding-left: 1rem; font-size: .92rem; }
.accordion-button:not(.collapsed) { background: var(--hb-sky); color: var(--hb-navy); font-weight: 600; }

/* Forms */
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.step { display: inline-flex; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--hb-navy); color: #fff; align-items: center; justify-content: center; font-size: .9rem; margin-right: .5rem; }
.method-option { border: 2px solid #dbe4ee; background: #fff; border-radius: .7rem; padding: .9rem; }
.btn-check:checked + .method-option { border-color: var(--hb-teal); background: #effaf8; box-shadow: 0 0 0 .2rem rgba(15,155,142,.15); }
.method-option .bi { color: var(--hb-navy); }
.courier-btn { min-width: 8rem; font-weight: 600; }
.office-list { position: absolute; z-index: 20; left: 0; right: 0; max-height: 300px; overflow-y: auto; }
.office-list .list-group-item { cursor: pointer; }
.office-list .list-group-item.active, .office-list .list-group-item:hover { background: var(--hb-sky); color: var(--hb-text); border-color: #dbe4ee; }
.order-summary { top: 90px; }
.cart-thumb { object-fit: contain; background: #fff; border: 1px solid #e3e9f0; border-radius: .4rem; }
.was-validated .form-control:invalid, .form-control.is-invalid { background-image: none; }

/* Footer */
.site-footer { background: #0e2440; color: #dbe6f1; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #8fd8cf; }

/* Cookie banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1080; background: #0e2440; color: #fff; }
.cookie-banner a { color: #8fd8cf; }

@media (max-width: 991.98px) { .hero-img { max-height: 220px; } }
@media (max-width: 575.98px) {
    .display-5 { font-size: 2rem; }
    .section-title { font-size: 1.35rem; }
    .product-hero-img { padding: 1rem; }
    .cart-table td, .cart-table th { font-size: .9rem; }
}
