/* =====================================================================
   GetAll — modern, responsive layer for the public site
   Loaded on every public page by view/js/site_search.js.
   - system font stack, comfortable line-height, consistent radii & shadows
   - visible keyboard focus (WCAG 2.2), 44 px touch targets on touch screens
   - phone/tablet header: sticky search bar + categories drawer
   - respects reduced-motion preferences
   ===================================================================== */
:root {
    --ga-orange: var(--ga-accent, #FF6600);
    --ga-orange-600: var(--ga-primary, #e65c00);
    --ga-ink: #1f2430;
    --ga-muted: #6b7280;
    --ga-line: #ececec;
    --ga-radius: 14px;
    --ga-shadow: 0 2px 14px rgba(17, 24, 39, .07);
    --ga-shadow-lg: 0 12px 34px rgba(17, 24, 39, .14);
}
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; color: var(--ga-ink); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid rgba(255, 102, 0, .55) !important; outline-offset: 2px; border-radius: 6px; }
a { text-underline-offset: 2px; }
::selection { background: #ffe0c7; }

/* header search */
form.ga-search { background: #fff; transition: box-shadow .15s, border-color .15s; }
form.ga-search:focus-within { box-shadow: 0 0 0 4px rgba(255, 102, 0, .14); border-color: #ffb27a !important; }
form.ga-search input[type=search]::-webkit-search-cancel-button { cursor: pointer; }

/* cards everywhere get the same softness */
.product-card-shop, .product-card-modern, .package-card, .ld-card, .ld-sim, .category-item-box { border-radius: var(--ga-radius); }
.product-card-shop:hover, .product-card-modern:hover, .ld-sim:hover { box-shadow: var(--ga-shadow-lg); }
.btn, .btn-package, .ld-btn { transition: transform .08s ease, box-shadow .15s ease, background-color .15s ease; }
.btn:active, .btn-package:active, .ld-btn:active { transform: translateY(1px); }

/* phones & tablets: sticky search bar + categories drawer */
.ga-mbar { position: sticky; top: 0; z-index: 1020; display: flex; gap: 8px; align-items: center; padding: 10px 12px; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.ga-mbar form.ga-search { flex: 1; min-width: 0; }
.ga-mbar form.ga-search select { display: none; }
.ga-mbar form.ga-search input { font-size: 16px; /* no iOS zoom */ padding-left: 14px; }
.ga-mbar form.ga-search .btn { padding-left: 16px !important; padding-right: 16px !important; }
.ga-mbar-cat { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--ga-line); background: #fff7f0; color: var(--ga-orange); font-size: 18px; }
.ga-drawer { position: fixed; inset: 0; z-index: 10060; background: rgba(15, 18, 25, .45); display: none; }
.ga-drawer.open { display: block; }
.ga-drawer-panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(86vw, 360px); background: #fff; display: flex; flex-direction: column; box-shadow: var(--ga-shadow-lg); animation: gaSlide .2s ease-out; }
@keyframes gaSlide { from { transform: translateX(-100%); } to { transform: none; } }
.ga-drawer-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--ga-line); font-size: 16px; }
.ga-drawer-x { border: 0; background: none; font-size: 26px; line-height: 1; color: #666; width: 44px; height: 44px; }
.ga-drawer-b { overflow-y: auto; flex: 1; padding: 6px 0; }
.ga-drawer-b ul { margin: 0; padding: 0; list-style: none; }
.ga-drawer-b .categories-bars-item { display: flex; justify-content: space-between; align-items: center; padding: 11px 18px; border-bottom: 1px solid #f5f5f5; }
.ga-drawer-b .categories-bars-item a { color: var(--ga-ink); text-decoration: none; flex: 1; }
.ga-drawer-b .ga-cat-head .categories-bars-item { background: #fff7f0; }
.ga-drawer-b span { color: var(--ga-muted); font-size: 13px; }

@media (max-width: 991.98px) {
    /* readable logo on the orange bar */
    .navbar-brand.d-lg-none h1, .navbar-brand-mobile h1 { color: #fff !important; font-size: 1.6rem !important; }
    .container-fluid.px-5 { padding-left: 16px !important; padding-right: 16px !important; }
    .ld-title { font-size: 21px; }
    .ld-price { font-size: 25px; }
    .back-to-top { width: 44px !important; height: 44px !important; right: 14px !important; bottom: 14px !important; }
    .promo-section-title h2 { font-size: 1.5rem; }
}
@media (max-width: 575.98px) {
    .ld-card { padding: 16px; }
    .ld-similar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .ld-sim div { padding: 8px 10px; font-size: 13px; }
    .package-card { padding: 22px 18px !important; }
    h1.display-1, h1.display-2, .display-3 { font-size: 2rem !important; }
}
@media (hover: none) and (pointer: coarse) {
    .btn, .ld-btn, .ld-icon-btn, .btn-package, .nav-link, .sr-types a { min-height: 44px; }
    .ld-quick button { padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* catalogue grids: 2 columns on phones, denser on tablets */
@media (max-width: 991.98px) { .shop-product-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)) !important; } }
@media (max-width: 575.98px) { .shop-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; } }

/* v6 colour pass (WCAG AA): filled buttons use var(--ga-primary, #D9480F) (white text), text links var(--ga-primary, #C2410C);
   the bright brand orange stays for the navigation bar, icons and accents. */
.btn-primary, .btn.btn-primary { background-color: var(--ga-primary, #D9480F) !important; border-color: var(--ga-primary, #D9480F) !important; color: #fff !important; }
.btn-primary:hover, .btn-primary:focus { background-color: var(--ga-primary, #C2410C) !important; border-color: var(--ga-primary, #C2410C) !important; }
.btn-outline-primary { color: var(--ga-primary, #C2410C) !important; border-color: var(--ga-primary, #D9480F) !important; }
.btn-outline-primary:hover { background: var(--ga-primary, #D9480F) !important; color: #fff !important; }
.text-primary:not(.navbar *):not(.footer *) { color: var(--ga-primary, #C2410C) !important; }
main a:not(.btn):not(.nav-link), .container a.link, .privacy-card a, .cms-content a { color: var(--ga-primary, #C2410C); }
.product-card-shop, .ga-card, .card { border-radius: var(--ga-radius); }
.badge.bg-primary { background: var(--ga-primary, #C2410C) !important; }
.price, .product-price, .ga-price { color: #1F2937; font-weight: 800; }

/* v7 — typography & colour system for guest pages (HCI: readable 16px body, 1.6 line height,
   clear heading scale, AA contrast, consistent radii and focus rings) */
:root { --ga-font: "Inter", "Segoe UI", system-ui, -apple-system, "Roboto", "Noto Sans", "Noto Sans Ethiopic", "Helvetica Neue", Arial, sans-serif; }
body { font-family: var(--ga-font) !important; color: #1F2937; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, h5, .display-4, .display-5 { font-family: var(--ga-font) !important; color: #1E2A3B; letter-spacing: -.015em; }
p, li { line-height: 1.6; }
.text-muted { color: #4B5563 !important; }
a { text-underline-offset: 2px; }
.btn { border-radius: 10px; font-weight: 600; min-height: 42px; }
.btn.rounded-pill { border-radius: 999px; }
.form-control, .form-select { border-radius: 10px; border-color: #D1D5DB; min-height: 44px; font-size: 15px; }
.form-control:focus, .form-select:focus { border-color: var(--ga-primary, #D9480F); box-shadow: 0 0 0 3px rgba(217, 72, 15, .18); }
label, .form-label { font-weight: 600; color: #1F2937; font-size: 14px; }
:focus-visible { outline: 3px solid var(--ga-primary-line, #FDBA8C); outline-offset: 2px; }
/* listing cards */
.product-item, .product-card, .ga-card { border-radius: 14px !important; border: 1px solid #EEF0F3 !important; transition: box-shadow .18s, transform .18s; background: #fff; }
.product-item:hover, .product-card:hover, .ga-card:hover { box-shadow: 0 10px 28px rgba(15,23,42,.10); transform: translateY(-2px); }
/* section headings */
.section-title, .featured-header h2, .ga-section-h { font-weight: 800; color: #1E2A3B; }
/* footer + copyright */
.copyright { background: #0F172A !important; }
/* back-to-top */
.back-to-top { background: var(--ga-primary, #D9480F) !important; border-color: var(--ga-primary, #D9480F) !important; border-radius: 50% !important; }
/* images: never overflow their card on any screen */
img { max-width: 100%; height: auto; }
@media (max-width: 575.98px) { body { font-size: 15px; } .display-4 { font-size: 2rem !important; } .display-5 { font-size: 1.6rem !important; } .container, .container-fluid { padding-left: 14px !important; padding-right: 14px !important; } }
.btn-sm { min-height: 34px; } .btn-lg { min-height: 50px; }
