/* ==========================================================================
   Anand Electronics - modern theme (royal blue + yellow)
   Loaded LAST in website/layouts.blade.php so it overrides the old theme.
   ========================================================================== */

:root {
  --ae-blue: #163f94;          /* primary dark blue (buttons, prices, links) */
  --ae-blue-600: #1c4aa8;
  --ae-blue-700: #11337c;
  --ae-blue-800: #0c2763;      /* header / footer navy */
  --ae-blue-50: #edf2fb;
  --ae-blue-100: #d5e0f4;
  --ae-yellow: #ffc20e;
  --ae-yellow-600: #f5b400;
  --ae-ink: #13203b;           /* text */
  --ae-text: #3c4a63;
  --ae-muted: #6b7890;
  --ae-line: #e3e9f3;
  --ae-bg: #f4f7fc;
  --ae-sale: #e8344e;
  --ae-ok: #13985a;
  --ae-radius: 14px;
  --ae-radius-sm: 10px;
  --ae-shadow: 0 1px 2px rgba(19, 32, 59, .05), 0 6px 18px rgba(19, 32, 59, .06);
  --ae-shadow-hover: 0 14px 34px rgba(20, 80, 200, .16);
  --ae-font: 'Inter', 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html, body { overflow-x: clip; }
.boxed_wrapper { overflow: visible !important; overflow-x: clip !important; }
body { font-family: var(--ae-font); color: var(--ae-text); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--ae-font); color: var(--ae-ink); letter-spacing: -0.01em; }
img { max-width: 100%; height: auto; }
a { transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
:focus-visible { outline: 3px solid rgba(255, 194, 14, .7); outline-offset: 2px; }

/* ==========================================================================
   Header (2 compact rows)
   ========================================================================== */
.ae-header { position: sticky; top: 0; z-index: 990; background: transparent; }
.ae-header-main { background: linear-gradient(90deg, #0a2258 0%, var(--ae-blue-800) 50%, #12357f 100%); }
.ae-header-main-inner { display: flex; align-items: center; gap: 28px; height: 74px; }

.ae-logo { flex: 0 0 auto; display: flex; align-items: center; }
.ae-logo img { height: 46px; width: auto; }

.ae-search { flex: 1; display: flex; align-items: center; height: 46px; background: #fff; border-radius: 999px; padding: 4px 4px 4px 20px; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); max-width: 640px; }
.ae-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 14.5px; color: var(--ae-ink); }
.ae-search input::placeholder { color: #8a95aa; }
.ae-search button { flex: 0 0 auto; height: 38px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--ae-yellow); color: var(--ae-ink); font-size: 15px; cursor: pointer; }
.ae-search button:hover { background: var(--ae-yellow-600); }

.ae-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.ae-action {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px;
  color: #fff !important; cursor: pointer; white-space: nowrap;
}
.ae-action:hover { background: rgba(255, 255, 255, .12); }
.ae-action > i { font-size: 20px; color: var(--ae-yellow); }
.ae-action span { display: flex; flex-direction: column; font-size: 14px; font-weight: 700; line-height: 1.15; color: #fff; }
.ae-action small { font-size: 11.5px; font-weight: 500; color: #c9d8ff; }
.ae-cart-count {  position: absolute; top: 0; left: 24px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--ae-yellow); color: var(--ae-ink); font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
}
.ae-account-menu {
  position: absolute; top: calc(100% + 6px); right: 0; min-width: 210px; padding: 8px; margin: 0; list-style: none;
  background: #fff; border-radius: 12px; box-shadow: 0 18px 40px rgba(19, 32, 59, .18);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s ease; z-index: 50;
}
.ae-account:hover .ae-account-menu, .ae-account:focus-within .ae-account-menu { opacity: 1; visibility: visible; transform: none; }
.ae-account-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ae-ink); font-size: 14px; font-weight: 500; }
.ae-account-menu a:hover { background: var(--ae-blue-50); color: var(--ae-blue); }

.ae-burger { display: none; flex: 0 0 auto; width: 42px; height: 42px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .14); padding: 11px 10px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.ae-burger span { display: block; height: 2px; border-radius: 2px; background: #fff; }

/* Row 2 */
.ae-header-nav { background: #fff; border-bottom: 1px solid var(--ae-line); box-shadow: 0 2px 10px rgba(19, 32, 59, .04); }
.ae-header-nav-inner { display: flex; align-items: center; gap: 28px; height: 50px; }
.ae-cat-menu { position: relative; height: 100%; display: flex; align-items: center; }
.ae-cat-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 18px; border-radius: 10px;
  background: var(--ae-yellow); color: var(--ae-ink); font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap;
}
.ae-cat-btn .fa-angle-down { font-size: 13px; }
.ae-cat-dropdown {
  position: absolute; top: 100%; left: 0; width: 270px; max-height: 70vh; overflow-y: auto; padding: 8px; margin: 0; list-style: none;
  background: #fff; border-radius: 0 0 12px 12px; box-shadow: 0 18px 40px rgba(19, 32, 59, .18);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s ease; z-index: 60;
}
.ae-cat-menu:hover .ae-cat-dropdown, .ae-cat-menu:focus-within .ae-cat-dropdown { opacity: 1; visibility: visible; transform: none; }
.ae-cat-dropdown a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ae-ink); font-size: 14px; font-weight: 500; }
.ae-cat-dropdown a:hover { background: var(--ae-blue-50); color: var(--ae-blue); padding-left: 16px; }

.ae-header .menu-area { flex: 1; height: 100%; }
.ae-header .main-menu, .ae-header .main-menu .navigation { height: 100%; margin: 0; padding: 0; display: flex; align-items: center; }
.ae-header .main-menu .navigation { gap: 4px; float: none; }
.ae-header .main-menu .navigation > li { position: relative; float: none; margin: 0; padding: 0; height: 100%; display: flex; align-items: center; }
.ae-header .main-menu .navigation > li > a {
  position: relative; display: flex; align-items: center; height: 100%; padding: 0 14px !important; margin: 0;
  color: var(--ae-ink) !important; font-size: 14.5px; font-weight: 600; text-transform: none; letter-spacing: 0;
}
.ae-header .main-menu .navigation > li > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: var(--ae-blue); transform: scaleX(0); transition: transform .2s ease;
}
.ae-header .main-menu .navigation > li > a:hover,
.ae-header .main-menu .navigation > li > a.active { color: var(--ae-blue) !important; }
.ae-header .main-menu .navigation > li > a:hover::after,
.ae-header .main-menu .navigation > li > a.active::after { transform: scaleX(1); }
.ae-header .main-menu .navigation > li > a::before { display: none !important; }
.ae-header .main-menu .navigation .dropdown-btn { display: none !important; }
.ae-header .ae-only-mobile { display: none !important; }
.ae-nav-note { margin-left: auto; font-size: 13px; color: var(--ae-muted); white-space: nowrap; }
.ae-nav-note i { color: var(--ae-blue); margin-right: 4px; }

/* Collapse row 2 while scrolling (theme JS adds .fixed-header) */
.ae-header.fixed-header .ae-header-nav { display: none; }
.ae-header.fixed-header .ae-header-main { box-shadow: 0 6px 20px rgba(12, 58, 150, .25); }

/* Mobile menu panel */
.mobile-menu .menu-box { background: #fff !important; }
.mobile-menu .navigation li > a { color: var(--ae-ink) !important; border-color: var(--ae-line) !important; font-weight: 600; }
.mobile-menu .navigation li ul li > a { font-weight: 500; color: var(--ae-text) !important; }
.mobile-menu .navigation li.dropdown .dropdown-btn { color: var(--ae-blue) !important; }
.mobile-menu .contact-info h4 { color: var(--ae-ink) !important; }
.mobile-menu .contact-info li, .mobile-menu .contact-info a { color: var(--ae-text) !important; }
.mobile-menu .close-btn { color: var(--ae-ink) !important; }
.mobile-menu .nav-logo { background: var(--ae-blue); padding: 16px 20px !important; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.ae-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; line-height: 1; border: 2px solid transparent; cursor: pointer; white-space: nowrap;
}
.ae-btn-primary { background: var(--ae-yellow); color: var(--ae-ink) !important; }
.ae-btn-primary:hover { background: #fff; transform: translateY(-1px); }
.ae-btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff !important; }
.ae-btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.ae-btn-blue { background: var(--ae-blue); color: #fff !important; }
.ae-btn-blue:hover { background: var(--ae-blue-700); transform: translateY(-1px); }
.ae-btn-dark { background: var(--ae-ink); color: #fff !important; }
.ae-btn-dark:hover { background: var(--ae-blue); transform: translateY(-1px); }

/* ==========================================================================
   Hero
   ========================================================================== */
.ae-hero {
  position: relative; overflow: hidden; color: #e8efff; padding: 64px 0 72px;
  background:
    radial-gradient(700px 380px at 88% 15%, rgba(255, 194, 14, .22), transparent 60%),
    radial-gradient(600px 400px at 5% 110%, rgba(59, 110, 210, .35), transparent 60%),
    linear-gradient(120deg, #0a2258 0%, var(--ae-blue-800) 45%, #17428f 100%);
}
.ae-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 25%, transparent 75%);
}
.ae-hero .auto-container { position: relative; }
.ae-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.ae-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 13px; font-weight: 600; }
.ae-eyebrow i { color: var(--ae-yellow); }
.ae-hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.1; font-weight: 800; margin: 18px 0 16px; }
.ae-hero h1 span { color: var(--ae-yellow); }
.ae-hero p.ae-lead { color: #d6e2ff; font-size: 17px; line-height: 1.65; max-width: 540px; margin-bottom: 28px; }
.ae-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ae-hero-points { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 30px; padding: 0; list-style: none; }
.ae-hero-points li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #e8efff; font-weight: 500; }
.ae-hero-points i { color: var(--ae-yellow); }
.ae-hero-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ae-hero-tile {
  background: #fff; border-radius: 18px; padding: 18px; aspect-ratio: 1 / 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; box-shadow: 0 22px 44px rgba(8, 35, 100, .35); transition: transform .3s ease;
}
.ae-hero-tile:nth-child(2) { transform: translateY(24px); }
.ae-hero-tile:nth-child(3) { transform: translateY(-8px); }
.ae-hero-tile:nth-child(4) { transform: translateY(16px); }
.ae-hero-tile:hover { transform: translateY(-4px) !important; }
.ae-hero-tile img { width: 100%; height: 72%; object-fit: contain; }
.ae-hero-tile span { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--ae-ink); line-height: 1.3; }

/* Trust strip */
.ae-trust { background: #fff; border-bottom: 1px solid var(--ae-line); }
.ae-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ae-trust-item { display: flex; align-items: center; gap: 14px; padding: 22px 18px; }
.ae-trust-item + .ae-trust-item { border-left: 1px solid var(--ae-line); }
.ae-trust-icon { flex: 0 0 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--ae-blue-50); color: var(--ae-blue); font-size: 19px; }
.ae-trust-item h6 { margin: 0 0 2px; font-size: 15px; font-weight: 700; }
.ae-trust-item p { margin: 0; font-size: 13px; color: var(--ae-muted); line-height: 1.4; }

/* ==========================================================================
   Sections, categories, product cards
   ========================================================================== */
.ae-section { padding: 52px 0; }
.ae-section-alt { background: var(--ae-bg); }
.ae-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.ae-section-head h2 { position: relative; font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; margin: 0; padding-left: 14px; }
.ae-section-head h2::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; border-radius: 4px; background: linear-gradient(var(--ae-yellow), var(--ae-blue)); }
.ae-section-head p { margin: 6px 0 0 14px; color: var(--ae-muted); font-size: 15px; }
.ae-link-more {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--ae-blue) !important;
  padding: 9px 16px; border: 1px solid var(--ae-blue-100); border-radius: 999px; background: #fff; white-space: nowrap;
}
.ae-link-more:hover { background: var(--ae-blue); border-color: var(--ae-blue); color: #fff !important; }

.ae-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.ae-cat {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 18px 12px;
  background: #fff; border: 1px solid var(--ae-line); border-radius: var(--ae-radius); color: var(--ae-ink); font-weight: 600; font-size: 14px; line-height: 1.3;
}
.ae-cat:hover { border-color: var(--ae-blue); box-shadow: var(--ae-shadow-hover); transform: translateY(-3px); color: var(--ae-blue); }
.ae-cat-img { width: 68px; height: 68px; border-radius: 50%; background: var(--ae-blue-50); display: grid; place-items: center; overflow: hidden; }
.ae-cat-img img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; }
.ae-cat small { color: var(--ae-muted); font-weight: 500; font-size: 12px; }

.ae-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ae-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ae-line);
  border-radius: var(--ae-radius); overflow: hidden; height: 100%; transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.ae-card:hover { box-shadow: var(--ae-shadow-hover); transform: translateY(-4px); border-color: var(--ae-blue-100); }
.ae-card-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--ae-sale); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.ae-card-media { display: block; aspect-ratio: 1 / 1; background: #fff; padding: 18px; }
.ae-card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.ae-card:hover .ae-card-media img { transform: scale(1.05); }
.ae-card-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; border-top: 1px solid #eef2f8; }
.ae-card-title {
  font-size: 14.5px; font-weight: 600; line-height: 1.4; margin: 0 0 10px; color: var(--ae-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; text-transform: none;
}
.ae-card-title a { color: inherit; }
.ae-card-title a:hover { color: var(--ae-blue); }
.ae-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ae-price { display: flex; flex-direction: column; line-height: 1.2; }
.ae-price strong { font-size: 18px; font-weight: 800; color: var(--ae-blue-700); }
.ae-price del { font-size: 13px; color: var(--ae-muted); }
.ae-card-btn { flex: 0 0 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ae-blue-50); color: var(--ae-blue); font-size: 15px; }
.ae-card:hover .ae-card-btn { background: var(--ae-blue); color: #fff; }

/* Promo tiles */
.ae-promos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ae-promo { position: relative; overflow: hidden; border-radius: 18px; padding: 28px; min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; color: var(--ae-ink); }
.ae-promo h3 { font-size: 26px; font-weight: 800; margin: 6px 0 4px; color: inherit; }
.ae-promo p { margin: 0 0 18px; font-weight: 500; opacity: .85; color: inherit; max-width: 55%; }
.ae-promo .ae-tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.ae-promo img { position: absolute; right: 12px; bottom: 12px; width: 42%; max-width: 170px; object-fit: contain; }
.ae-promo .ae-btn { align-self: flex-start; padding: 10px 18px; font-size: 14px; position: relative; z-index: 1; }
.ae-promo-1 { background: linear-gradient(135deg, #ffe07a, var(--ae-yellow)); }
.ae-promo-2 { background: linear-gradient(135deg, #e3eeff, #c4d9ff); }
.ae-promo-3 { background: linear-gradient(135deg, var(--ae-blue), var(--ae-blue-800)); color: #fff; }
.ae-promo-3 .ae-btn { background: var(--ae-yellow); color: var(--ae-ink) !important; }

/* CTA band (yellow for contrast) */
.ae-cta {
  border-radius: 22px; padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: linear-gradient(120deg, var(--ae-yellow) 0%, #ffd54d 100%); color: var(--ae-ink); position: relative; overflow: hidden;
}
.ae-cta::after { content: ""; position: absolute; right: -90px; top: -90px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .55), transparent 70%); }
.ae-cta h3 { color: var(--ae-ink); font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; margin: 0 0 6px; }
.ae-cta p { margin: 0; font-size: 15px; color: #4a3f12; }
.ae-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.ae-cta .ae-btn-primary { background: var(--ae-blue); color: #fff !important; }
.ae-cta .ae-btn-primary:hover { background: var(--ae-blue-700); }
.ae-cta .ae-btn-ghost { border-color: var(--ae-ink); color: var(--ae-ink) !important; }
.ae-cta .ae-btn-ghost:hover { background: var(--ae-ink); color: #fff !important; }

/* Testimonials (existing markup) */
.testimonial { padding: 56px 0 !important; background: var(--ae-bg); }
.testimonial .testimonial-content { border-radius: var(--ae-radius) !important; background: #fff !important; box-shadow: var(--ae-shadow); }
.testimonial .triangle-border, .testimonial .testimonial-content-border { display: none !important; }
.common-section-title .section-title h4 { font-weight: 800; }

/* ==========================================================================
   Product list page (existing markup)
   ========================================================================== */
.shop-page-section.sec-pad { padding: 40px 0 80px !important; }
.shop-sidebar .search-widget input { border-radius: 999px !important; }
.shop-sidebar .category-list a:hover { color: var(--ae-blue) !important; }
.shop-block-one .inner-box { border: 1px solid var(--ae-line) !important; border-radius: var(--ae-radius) !important; overflow: hidden; background: #fff; transition: box-shadow .25s ease, transform .25s ease; }
.shop-block-one .inner-box:hover { box-shadow: var(--ae-shadow-hover); transform: translateY(-4px); }
.shop-block-one .image-box .image { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 14px; margin: 0; background: #fff; }
.shop-block-one .image-box .image img { width: 100%; height: 100%; object-fit: contain; }
.shop-block-one .image-box .category { background: var(--ae-sale) !important; color: #fff !important; border-radius: 999px !important; font-weight: 700; }
.shop-block-one .lower-content { padding: 14px 16px 16px !important; }
.shop-block-one .lower-content h6 { font-size: 14.5px; font-weight: 600; line-height: 1.4; min-height: 2.8em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shop-block-one .lower-content h6 a { color: var(--ae-ink) !important; }
.shop-block-one .lower-content h6 a:hover { color: var(--ae-blue) !important; }
.shop-block-one .lower-content .price { display: block; font-size: 13px !important; font-weight: 400 !important; color: var(--ae-muted) !important; text-decoration: line-through; margin: 0 !important; }
.shop-block-one .lower-content .price + span { display: block; color: var(--ae-blue-700) !important; font-size: 18px; font-weight: 800 !important; margin-bottom: 12px; }
.shop-block-one .lower-content .view-btn .theme-btn { width: 100%; border-radius: 999px !important; background: var(--ae-blue) !important; color: #fff !important; padding: 10px 16px !important; }
.shop-block-one .lower-content .view-btn .theme-btn:hover { background: var(--ae-yellow) !important; color: var(--ae-ink) !important; }

/* ==========================================================================
   Product details page
   ========================================================================== */
.shop-details.pt_140 { padding-top: 48px !important; }
.shop-details .product-details-content { margin-bottom: 56px !important; }
.shope-details-left-image { border: 1px solid var(--ae-line); border-radius: 18px; padding: 24px; background: #fff; }
.shope-details-left-image .image img { width: 100%; max-height: 520px; object-fit: contain; }
.shope-details-left-image .preview-link a { background: var(--ae-blue-50) !important; color: var(--ae-blue) !important; border-radius: 50%; }
.product-details h2 { font-size: clamp(24px, 2.6vw, 32px) !important; line-height: 1.25 !important; font-weight: 800 !important; margin-bottom: 14px !important; }
.ae-detail-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding: 16px 0; border-top: 1px solid var(--ae-line); border-bottom: 1px solid var(--ae-line); }
.ae-detail-price strong { font-size: 32px; font-weight: 800; color: var(--ae-blue-700); line-height: 1; }
.ae-detail-price del { font-size: 16px; color: var(--ae-muted); }
.ae-detail-price .ae-save { font-size: 13px; font-weight: 700; color: var(--ae-ok); background: #dcfce7; padding: 3px 10px; border-radius: 999px; }
.ae-detail-price small { flex-basis: 100%; font-size: 12px; color: var(--ae-muted); }
.ae-desc { color: var(--ae-text); font-size: 15px; line-height: 1.7; }
.ae-desc ul, .ae-desc ol { padding-left: 20px; margin: 0 0 12px; }
.ae-desc ul li { list-style: disc; margin-bottom: 4px; }
.ae-desc ol li { list-style: decimal; margin-bottom: 4px; }
.ae-desc table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.ae-desc th, .ae-desc td { border: 1px solid var(--ae-line); padding: 8px 10px; text-align: left; }
.product-details .theme-btn-eight, .product-details .theme-btn { background: var(--ae-blue) !important; color: #fff !important; border-radius: 999px !important; font-weight: 700 !important; padding: 14px 32px !important; border: 0 !important; }
.product-details .theme-btn-eight:hover, .product-details .theme-btn:hover { background: var(--ae-yellow) !important; color: var(--ae-ink) !important; }

/* ==========================================================================
   Forms / auth / generic buttons (website only)
   ========================================================================== */
.auth-wrapper { border: 1px solid var(--ae-line); box-shadow: var(--ae-shadow) !important; border-radius: 18px !important; }
.auth-wrapper .form-control { height: 46px; border-radius: 12px !important; }
.btn-primary { background: var(--ae-blue) !important; border-color: var(--ae-blue) !important; color: #fff !important; border-radius: 999px !important; padding: 11px 26px !important; font-weight: 700 !important; }
.btn-primary:hover, .btn-primary:focus { background: var(--ae-blue-700) !important; border-color: var(--ae-blue-700) !important; }
.nav-tabs .nav-link.active, .nav-tabs .nav-link:hover { color: var(--ae-blue) !important; border-bottom-color: var(--ae-blue) !important; }
.form-control:focus { border-color: var(--ae-blue) !important; box-shadow: 0 0 0 3px rgba(20, 80, 200, .18) !important; }

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer-one .lower-box { background: linear-gradient(160deg, #0a2258 0%, var(--ae-blue-800) 100%) !important; padding: 60px 0 36px !important; }
.main-footer-one .lower-box, .main-footer-one .lower-box p, .main-footer-one .lower-box a { color: #cfdcff !important; }
.main-footer-one .lower-box a:hover { color: var(--ae-yellow) !important; }
.main-footer-one .footer-widget-title { color: #fff !important; font-weight: 700; font-size: 16px !important; }
.main-footer-one .footer-contact-widget h4 a { color: var(--ae-yellow) !important; font-size: 22px; font-weight: 800; }
.main-footer-one .social-icon a { border-radius: 10px !important; background: rgba(255, 255, 255, .12) !important; color: #fff !important; }
.main-footer-one .social-icon a:hover { background: var(--ae-yellow) !important; color: var(--ae-ink) !important; }
.footer-bottom-one { background: #071a45 !important; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-one, .footer-bottom-one a, .footer-bottom-one span { color: #a9bdf0 !important; font-size: 13px; }
.footer-bottom-one a:hover { color: var(--ae-yellow) !important; }

.floating1, .floating2 { filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .2)); transition: transform .2s ease; }
.floating1:hover, .floating2:hover { transform: scale(1.08); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
  .ae-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ae-action-phone, .ae-nav-note { display: none; }
  .ae-header-main-inner { gap: 20px; }
}
@media (max-width: 991px) {
  /* header: row1 = burger, logo, account, cart ; row2 = full-width search */
  .ae-header-main-inner { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 12px; gap: 10px 12px; }
  .ae-burger { display: flex; }
  .ae-logo img { height: 38px; }
  .ae-search { order: 5; flex: 1 1 100%; max-width: none; height: 44px; }
  .ae-actions { gap: 2px; }
  .ae-action { padding: 8px; }
  .ae-action span { display: none; }
  .ae-cart-count { left: 22px; top: 0; }
  .ae-header-nav { display: none; }

  .ae-hero { padding: 44px 0 52px; }
  .ae-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .ae-hero-collage { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .ae-hero-tile { padding: 10px; border-radius: 14px; transform: none !important; }
  .ae-hero-tile span { display: none; }
  .ae-hero-tile img { height: 100%; }
  .ae-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .ae-trust-item:nth-child(3) { border-left: 0; }
  .ae-trust-item:nth-child(n+3) { border-top: 1px solid var(--ae-line); }
  .ae-promos { grid-template-columns: 1fr; }
  .ae-cta { flex-direction: column; align-items: flex-start; padding: 30px 24px; }
}
@media (max-width: 767px) {
  .ae-section { padding: 38px 0; }
  .ae-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ae-card-media { padding: 10px; }
  .ae-card-body { padding: 10px 12px 12px; }
  .ae-card-title { font-size: 13px; }
  .ae-price strong { font-size: 16px; }
  .ae-card-btn { flex-basis: 34px; height: 34px; font-size: 13px; }
  .ae-card-badge { top: 8px; left: 8px; font-size: 11px; padding: 3px 8px; }
  .ae-cats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; gap: 10px; }
  .ae-cat { flex: 0 0 118px; scroll-snap-align: start; padding: 14px 8px; font-size: 13px; }
  .ae-section-head { align-items: center; }
  .ae-section-head p { display: none; }
  .ae-promo p { max-width: 60%; }
  .floating1 { width: 46px !important; height: 46px !important; bottom: 14px !important; left: 12px !important; }
  .floating2 { width: 40px !important; height: 42px !important; bottom: 68px !important; left: 15px !important; }
}
@media (max-width: 480px) {
  .ae-hero h1 { font-size: 30px; }
  .ae-hero p.ae-lead { font-size: 15px; }
  .ae-hero-ctas .ae-btn { flex: 1 1 100%; }
  .ae-trust-item { padding: 16px 10px; gap: 10px; }
  .ae-trust-icon { flex-basis: 38px; height: 38px; font-size: 16px; }
  .ae-trust-item p { display: none; }
  .ae-trust-item h6 { font-size: 13px; }
  .ae-logo img { height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.ae-cart > span { margin-left: 6px; }
@media (max-width: 991px) { .ae-cart > span { margin-left: 0; } }
