*, *::before, *::after { box-sizing: border-box; }

:root {
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.5;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #1a1a1a;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }

.hero-banner-wrap {
  min-height: 260px;
  position: relative;
}

.hero-slide-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
  pointer-events: none;
}

.hero-slide-item.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.28) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 5rem;
  z-index: 2;
}

.hero-prev-btn,
.hero-next-btn {
  z-index: 10;
}

#na-track {
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-dot.active-dot {
  background: rgba(255,255,255,0.95) !important;
  transform: scale(1.3);
}

.hero-right-card {
  border-radius: 0;
}

.hero-right-cards .hero-right-card:first-child {
  border-radius: 8px 8px 0 0;
}

.hero-right-cards .hero-right-card:last-child {
  border-radius: 0 0 8px 8px;
}
.cat-flyout {
  top: 0;
  left: 100%;
  margin-left: 1px;
}

.cat-item:hover {
    > a {
        color: #e63027;
        background: #fef2f2;
    }
    .cat-flyout {
        display: block !important;
        width: 600px;
        h4 {font-size: 15px;}
        a {font-size: 13px; padding: 6px 0;}
    }
}

.blog-slide {
  width: calc((100% - 2 * 1rem) / 3);
  min-width: 220px;
}

#blog-track {
  will-change: transform;
}

.blog-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.blog-dot.active {
  background: #E63027;
  transform: scale(1.25);
}

#products-dropdown {
  min-width: 260px;
  animation: fadeSlideDown 0.15s ease-out;
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cookie-consent {
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent.visible {
  transform: translateY(0);
}

html { scroll-behavior: smooth; }

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bg-navy        { background-color: #1a3c6e; }
.bg-navy-dark   { background-color: #0f2444; }
.bg-primary     { background-color: #E63027; }
.bg-primary-dark{ background-color: #c4241b; }
.text-primary   { color: #E63027; }
.text-navy      { color: #1a3c6e; }
.border-primary { border-color: #E63027; }
.border-navy    { border-color: #1a3c6e; }

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 400ms;
}

@media (max-width: 1024px) {
  .hero-banner-wrap { height: 260px; }
  .hero-right-cards { height: 260px; }
}

@media (max-width: 640px) {
  .hero-banner-wrap { height: 200px; }
  .blog-slide { width: calc(100% - 1rem); }
}


/* --===== Blog =====-- */
.hero-bg {
  background: linear-gradient(135deg, #0b1f3a 0%, #1a3c6e 55%, #1e4f8c 100%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(230, 48, 39, 0.14) 0%, transparent 55%);
  pointer-events: none;
}

.img-zoom img {
  transition: transform 0.45s ease;
}

.img-zoom:hover img {
  transform: scale(1.06);
}

.clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nav-main > ul > li > a > span.text-xs {
    font-size: 13px;
}

/* -- Tabs -- */
.tab-btn {
    position: relative;
    font-size: 0.9rem;
    font-weight: 500;
    color: #4b5563;
    padding: 0.75rem 0.25rem;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    cursor: pointer;
}
.tab-btn:hover { color: #e87722; }
.tab-btn.active {
    color: #e87722;
    border-bottom-color: #e87722;
    font-weight: 600;
}

/* -- Tab panels -- */
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.3s ease; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

#app {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    margin: auto;
}

.thumbnail-flip {
    overflow: hidden;
    width: 100%;
    display: flex;
    img {
        width: 100%;
        max-width: 50%;
    }
}

.flipbook-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: .35s;
}

.flipbook-modal.active {
    visibility: visible;
    opacity: 1;
}

.flipbook-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(1px);
}

.flipbook-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.flipbook-close {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 30px;
    cursor: pointer;
    z-index: 20;
    transition: .25s;
}

.flipbook-close:hover {
    transform: rotate(90deg);
}

#loading {
    color: #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    letter-spacing: .02em;
}

.spinner {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid #ffffff22;
    border-top-color: var(--accent);
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- book area ---------- */
#book-stage {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 1400px;
    gap: 14px;
}
#book-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
}
#book {
    box-shadow: 0 30px 60px -15px rgba(0,0,0,.65), 0 10px 25px rgba(0,0,0,.45);
    border-radius: 4px;
}
.page {
    background: #f6f1e7;
    overflow: hidden;
}
.page-content {
    width: 100%;
    height: 100%;
    position: relative;
    background: #f6f1e7;
}
.page-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

.page-number {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 11px;
    color: #8a8478;
    font-family: Georgia,serif;
    pointer-events: none;
}
.page.--left .page-content::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 14px;
    background: linear-gradient(to left, rgba(0,0,0,.14), transparent);
    pointer-events: none;
}
.page.--right .page-content::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 14px;
    background: linear-gradient(to right, rgba(0,0,0,.14), transparent);
    pointer-events: none;
}
#controls {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 0 0 auto;
    padding: 6px 10px;
}
#firstBtn, #lastBtn {
    font-size: 16px;
}
.nav-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #ffffff22;
    background: #1c1f27cc;
    color: #eee;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform .15s ease, background .15s ease, opacity .15s ease;
    backdrop-filter: blur(6px);
}

.nav-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    background: #2a2e3aee;
}

.nav-btn:active:not(:disabled) {
    transform: translateY(0) scale(.94);
}

.nav-btn:disabled {
    opacity: .3;
    cursor: default;
}

#page-indicator {
    color: #eee;
    min-width: 92px;
    text-align: center;
    font-size: 13px;
    letter-spacing: .05em;
    font-variant-numeric: tabular-nums;
    background: #1c1f27cc;
    border: 1px solid #ffffff22;
    border-radius: 20px;
    padding: 9px 16px;
    backdrop-filter: blur(6px);
}

#error-box {
    display: none;
    color: #f3d6d6;
    background: #3a1f1fdd;
    border: 1px solid #ff6b6b55;
    padding: 16px 20px;
    border-radius: 10px;
    max-width: 480px;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    #page-indicator {
        font-size: 12px;
        padding: 7px 12px;
        min-width: 76px;
    }

    #controls {
        gap: 12px;
    }
}

/* -- FAQ accordion -- */
.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-body.open { max-height: 500px; }
.faq-icon { transition: transform 0.25s; font-size: 1.25rem; line-height: 1; }
.faq-icon.open { transform: rotate(45deg); }
.sidebar-link.active {
    color: #E63027;
    background: #fef2f2;
    border-left-color: #E63027;
    font-weight: 600;
}
.faq-section { scroll-margin-top: 88px; }
.read-more-text { display: none; }
.read-more-text.shown { display: inline; }

.prod-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.prod-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    border-color: #e87722;
}

.enq-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.section-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    position: relative;
    overflow: hidden;
}
.section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e87722, #ff9a44, #e87722);
    opacity: 0;
    transition: opacity 0.3s;
}
.section-card:hover::before { opacity: 1; }

.gradient-accent {
background: linear-gradient(135deg, #1a3c6e 0%, #2a4c7e 100%);
}

.trust-badge {
    background: linear-gradient(135deg, #fef3e2 0%, #fff7ed 100%);
    border: 1px solid #fed7aa;
}

.star-rating { color: #fbbf24; }

.stat-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
}

.cta-gradient {
    background: #333;
}

.dot-pattern {
    background-image: radial-gradient(circle, #e5e7eb 1px, transparent 1px);
    background-size: 20px 20px;
}

/* --===== Privacy Policy =====-- */
.toc-sidebar {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}
.toc-sidebar::-webkit-scrollbar { width: 4px; }
.toc-sidebar::-webkit-scrollbar-track { background: transparent; }
.toc-sidebar::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 4px; }

.toc-link {
    display: block;
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    color: #4b5563;
    border-left: 2px solid transparent;
    transition: all 0.2s;
    border-radius: 0 4px 4px 0;
    line-height: 1.4;
}
.toc-link:hover { color: #e87722; border-left-color: #e87722; background: #fff7ed; }
.toc-link.active { color: #e87722; border-left-color: #e87722; background: #fff7ed; font-weight: 600; }

[id] { scroll-margin-top: 80px; }

.faq-body {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
}
.faq-body.open { max-height: 400px; }
.faq-icon { transition: transform 0.25s; }
.faq-icon.open { transform: rotate(45deg); }

.policy-section {
position: relative;
transition: box-shadow 0.2s;
}
.policy-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(90deg, #e87722, #1a3c6e);
    opacity: 0;
    transition: opacity 0.3s;
}
.policy-section:hover::before { opacity: 1; }

.highlight-link {
    color: #1a3c6e;
    font-weight: 500;
    border-bottom: 1px dotted #1a3c6e;
}
.highlight-link:hover { color: #e87722; border-bottom-color: #e87722; }

.cookie-item {
    border-left: 3px solid #e87722;
    padding-left: 1rem;
    margin-bottom: 1rem;
}
.disclosure-list { counter-reset: item; }
.disclosure-list li {
    counter-increment: item;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 0.875rem;
    color: #374151;
}
.disclosure-list li::before {
    content: counter(item);
    min-width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(135deg, #e87722, #d06b1a);
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #1a3c6e, #2a4c7e);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(26,60,110,0.4);
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s, transform 0.3s;
    border: none;
    z-index: 50;
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { box-shadow: 0 6px 18px rgba(26,60,110,0.55); }

.pkg-card {
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
    display: block;
}
.pkg-card:hover { transform: translateY(-8px); box-shadow: 0 24px 52px rgba(0,0,0,0.13); }
.pkg-card.featured { transform: translateY(-6px); box-shadow: 0 24px 52px rgba(232,119,34,0.22); }
.pkg-card.featured:hover { transform: translateY(-14px); box-shadow: 0 32px 64px rgba(232,119,34,0.3); }
.feat-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.10); border-color: #e87722; }
.tbl-row:hover td { background-color: #fafafa; }
.pill-yes { color: #16a34a; font-weight: 600; }
.pill-no  { color: #dc2626; font-weight: 600; }
.pill-val { color: #1a3c6e; font-weight: 600; }
.sticky-th { position: sticky; top: 0; z-index: 10; }

/* -- Buy Leads Styling -- */
.lead-card { transition: box-shadow 0.2s, border-color 0.2s; }
.lead-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

.pagination-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; border-radius: 6px;
    font-size: 0.8125rem; font-weight: 500;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    border: 1px solid #e5e7eb;
    background: #fff; color: #374151; cursor: pointer;
}
.pagination-btn:hover { background: #f3f4f6; border-color: #9ca3af; }
.pagination-btn.active { background: #1a3c6e; color: #fff; border-color: #1a3c6e; }
.pagination-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.contact-btn {
    background: #1a3c6e; color: #fff;
    border: none; border-radius: 6px;
    font-size: 0.8rem; font-weight: 600;
    padding: 7px 18px; cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}
.contact-btn:hover { background: #0f2444; }

.tag-new {
    background: #dcfce7; color: #15803d;
    font-size: 0.65rem; font-weight: 600;
    padding: 2px 8px; border-radius: 99px;
}

.filter-chip {
    display: inline-flex; align-items: center; gap: 4px;
    background: #fff; border: 1px solid #e5e7eb;
    border-radius: 6px; padding: 5px 12px;
    font-size: 0.75rem; font-weight: 500; color: #374151;
    cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.filter-chip:hover, .filter-chip.active { border-color: #1a3c6e; background: #eff6ff; color: #1a3c6e; }

.blurred { filter: blur(4px); user-select: none; pointer-events: none; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.lead-card { animation: fadeIn 0.25s ease both; }

footer {
    .bg-navy {
        h3 {font-size: 20px;}
    }
}
textarea {resize: none !important;}

.category-link:hover { color: #E63027; }
.card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.10); transform: translateY(-2px); }
.card { transition: box-shadow 0.2s, transform 0.2s; }

.product-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.09); transform: translateY(-1px); }
.product-card { transition: box-shadow 0.2s, transform 0.2s; background: #f9f9f9;}
.section-card { transition: box-shadow 0.2s; }
.section-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.08); }
.slider-track { scrollbar-width: none; -ms-overflow-style: none; }
.slider-track::-webkit-scrollbar { display: none; }
.get-price { color: #E63027; }
.get-price:hover { text-decoration: underline; }
.slider-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* ---- category card ---- */
.cat-card { transition: box-shadow 0.18s, transform 0.18s; }
.cat-card:hover { box-shadow: 0 6px 22px rgba(230,48,39,.13); transform: translateY(-2px); }
.cat-card:hover .cat-img { transform: scale(1.05); }
.cat-img { transition: transform 0.3s ease; }

/* ---- product card ---- */
.prod-card { transition: box-shadow 0.18s, transform 0.18s; }
.prod-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.1); transform: translateY(-2px); }
.prod-card:hover .prod-img { transform: scale(1.04); }
.prod-img { transition: transform 0.3s ease; }

/* ---- slider ---- */
.slider-track { scrollbar-width: none; -ms-overflow-style: none; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.slider-btn { transition: background 0.15s, color 0.15s, border-color 0.15s; }

/* ---- badge ---- */
.badge-hot { background: linear-gradient(90deg,#E63027,#ff6b35); }

/* ---- ask-price btn ---- */
.ask-btn { transition: background 0.15s, color 0.15s; }
.ask-btn:hover { background: #E63027; color: #fff; border-color: #E63027; }

/* ---- section heading underline ---- */
.heading-line::after {
    content: '';
    display: block;
    width: 42px;
    height: 3px;
    border-radius: 99px;
    background: #E63027;
    margin-top: 6px;
}

/* --===== Detail Page =====-- */
.spec-row:nth-child(even) { background: #f9fafb; }
.spec-row:hover { background: #fef2f2; }
.spec-row { transition: background 0.15s; }
.thumb-img { transition: border-color 0.15s, opacity 0.15s; }
.thumb-img:hover { border-color: #E63027; opacity: 1; }
.similar-track { scrollbar-width: none; -ms-overflow-style: none; }
.similar-track::-webkit-scrollbar { display: none; }
.sim-card { transition: box-shadow 0.18s, transform 0.18s; }
.sim-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.1); transform: translateY(-2px); }
.sim-card:hover .sim-img { transform: scale(1.04); }
.sim-img { transition: transform 0.3s; }
.ask-btn { transition: background 0.15s, color 0.15s, border-color 0.15s; }
.ask-btn:hover { background: #E63027; color: #fff; border-color: #E63027; }
.send-btn { background: #E63027; transition: background 0.15s; }
.send-btn:hover { background: #c4261e; }
.star-filled { color: #f59e0b; }
.verified-badge { background: linear-gradient(90deg,#10b981,#059669); }
.get-quote-btn { background: #E63027; transition: background 0.15s; }
.get-quote-btn:hover { background: #c4261e; }
/* image zoom on hover */
.main-img-wrap { overflow: hidden; }
.main-img-wrap img { transition: transform 0.4s ease; }
.main-img-wrap:hover img { transform: scale(1.04); }
/* tab underline */
.tab-active { border-bottom: 2px solid #E63027; color: #E63027; font-weight: 600; }

/* -- Slideout Responsive Menu -- */
/* Slide-out panel */
#mobile-menu-panel {
transform: translateX(100%);
transition: transform 0.3s ease-in-out;
}
#mobile-menu-panel.open {
transform: translateX(0);
}
#mobile-menu-overlay {
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease-in-out;
}
#mobile-menu-overlay.open {
opacity: 1;
pointer-events: auto;
}

/* Hamburger icon animation */
#hamburger-btn span {
transition: transform 0.25s ease, opacity 0.25s ease;
}
#hamburger-btn.open span:nth-child(1) {
transform: translateY(7px) rotate(45deg);
}
#hamburger-btn.open span:nth-child(2) {
opacity: 0;
}
#hamburger-btn.open span:nth-child(3) {
transform: translateY(-7px) rotate(-45deg);
}

/* mobile products accordion */
#mobile-products-panel {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
}
#mobile-products-panel.open {
max-height: 500px;
}

/* Products dropdown (desktop) - open/close animation */
#products-dropdown {
opacity: 0;
transform: translateY(-6px);
transition: opacity 0.15s ease, transform 0.15s ease;
max-height: 420px;
overflow-y: auto;
}
#products-dropdown:not(.hidden) {
opacity: 1;
transform: translateY(0);
}
#products-dropdown a[data-category].is-selected {
background-color: #fef2f2;
color: #dc2626;
font-weight: 600;
}
#products-dropdown a[data-category].is-selected svg {
color: #dc2626;
}
#products-dropdown-btn #products-selected-text {
max-width: 110px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
#products-dropdown-btn.has-selection {
background-color: #fff1f1;
color: #b91c1c;
}

/* Search input + autosuggest */
#search-input {
background-color: transparent;
}
#search-suggestions {
opacity: 0;
transform: translateY(-6px);
transition: opacity 0.15s ease, transform 0.15s ease;
pointer-events: none;
}
#search-suggestions:not(.hidden) {
opacity: 1;
transform: translateY(0);
pointer-events: auto;
}
#search-suggestions .suggestion-item {
cursor: pointer;
transition: background-color 0.12s ease;
}
#search-suggestions .suggestion-item:hover,
#search-suggestions .suggestion-item.is-active {
background-color: #fef2f2;
color: #dc2626;
}
#search-suggestions .suggestion-item mark {
background-color: transparent;
color: #dc2626;
font-weight: 600;
}


  /* --===== RESPONSIVE STYLING =====-- */
  @media (max-width: 767px) {
    .hero-slide-overlay {padding: 0 2.5rem;}
  }