/* =========================================================
   regodget — Clean White E-commerce Theme
   Inspired by PrimeABGB: white background, crisp cards,
   blue + orange used only as accents.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    --brand-blue: #1656c9;
    --brand-blue-dark: #0d3b8a;
    --brand-blue-light: #2e7dff;
    --brand-orange: #ff7a1a;
    --brand-orange-light: #ffa040;

    --primary-color: var(--brand-blue);
    --secondary-color: var(--brand-blue-dark);

    --bg-body: #ffffff;
    --bg-alt: #f6f8fb;
    --bg-card: #ffffff;
    --text-dark: #1b2437;
    --text-muted: #6b7480;
    --border-color: #e8ebf1;

    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;

    --shadow-sm: 0 2px 8px rgba(20, 40, 80, 0.06);
    --shadow-md: 0 8px 22px rgba(20, 40, 80, 0.09);
    --shadow-lg: 0 16px 36px rgba(20, 40, 80, 0.13);

    --transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

* { scroll-behavior: smooth; box-sizing: border-box; }

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
}

a { text-decoration: none; }

::selection { background: var(--brand-orange); color: #fff; }

::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--brand-blue-light), var(--brand-orange));
    border-radius: 10px;
}

.text-primary { color: var(--brand-blue) !important; }

/* =========================================================
   Top announcement bar
   ========================================================= */
.announce-bar {
    background: var(--brand-blue-dark);
    color: #eaf1ff;
    font-size: 0.8rem;
    padding: 6px 0;
    text-align: center;
    letter-spacing: 0.2px;
}

.announce-bar strong { color: var(--brand-orange-light); }

.announce-bar .announce-links a {
    color: #cfe0ff;
    margin-left: 18px;
    transition: var(--transition);
}

.announce-bar .announce-links a:hover { color: #fff; }

/* =========================================================
   Section headings
   ========================================================= */
.section-heading {
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 8px !important;
}

.section-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-orange));
}

.section-heading.text-center::after { left: 50%; transform: translateX(-50%); }

.section-sub { color: var(--text-muted); font-size: 0.98rem; }

/* =========================================================
   Navbar Top Row — logo, search, sign-in, cart
   ========================================================= */
.navbar-top {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

.navbar-brand { display: flex; align-items: center; }

.navbar-brand img {
    height: 52px;
    object-fit: contain;
    transition: var(--transition);
}

.navbar-brand:hover img { transform: scale(1.04); }

.navbar-search {
    background: #fff;
    border: 1.5px solid var(--border-color);
    border-radius: 50px;
    padding: 4px 4px 4px 22px;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 560px;
    flex: 1 1 auto;
    transition: var(--transition);
}

.navbar-search:focus-within { border-color: var(--brand-blue-light); box-shadow: 0 0 0 4px rgba(46, 125, 255, 0.1); }

.navbar-search input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-dark);
    font-size: 0.95rem;
    width: 100%;
}

.navbar-search input::placeholder { color: var(--text-muted); }

.navbar-search button {
    background: transparent;
    border: none;
    color: var(--text-dark);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.navbar-search button:hover { color: var(--brand-blue); }

/* Sign-in link */
.signin-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    white-space: nowrap;
    transition: var(--transition);
}

.signin-link i { font-size: 1.9rem; color: var(--text-dark); }
.signin-link span { display: flex; flex-direction: column; line-height: 1.25; }
.signin-link small { font-size: 0.68rem; color: var(--text-muted); letter-spacing: 0.3px; }
.signin-link strong { font-size: 0.85rem; font-weight: 700; }
.signin-link:hover { color: var(--brand-blue); }
.signin-link:hover i { color: var(--brand-blue); }

/* Cart link (top row) */
.cart-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    white-space: nowrap;
    transition: var(--transition);
}

.cart-icon-wrap {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--brand-blue);
    transition: var(--transition);
}

.cart-link:hover .cart-icon-wrap { background: var(--brand-blue); color: #fff; }

.cart-link span { display: flex; flex-direction: column; line-height: 1.25; }
.cart-link small { font-size: 0.68rem; color: var(--text-muted); }
.cart-link strong { font-size: 0.85rem; font-weight: 700; color: var(--text-dark); }
.cart-link:hover strong { color: var(--brand-blue); }

.cart-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: var(--brand-blue);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px #fff;
    animation: pulseBadge 2.2s infinite;
}

@keyframes pulseBadge {
    0% { box-shadow: 0 0 0 0 rgba(22, 86, 201, 0.5), 0 0 0 2px #fff; }
    70% { box-shadow: 0 0 0 7px rgba(22, 86, 201, 0), 0 0 0 2px #fff; }
    100% { box-shadow: 0 0 0 0 rgba(22, 86, 201, 0), 0 0 0 2px #fff; }
}

/* =========================================================
   Categories Bar — blue "Shop By Categories" + horizontal menu
   ========================================================= */
.categories-bar {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    z-index: 1020;
}

.shop-categories-btn {
    background: var(--brand-blue);
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: var(--transition);
}

.shop-categories-btn:hover { background: var(--brand-blue-dark); }
.shop-categories-btn::after { margin-left: auto; }

.nav-menu {
    list-style: none;
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-menu .nav-link {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 14px 20px;
    color: var(--text-dark) !important;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    position: relative;
    transition: var(--transition);
}

.nav-menu .nav-link:hover, .nav-menu .nav-link.active { color: var(--brand-blue) !important; }

.nav-menu .nav-link::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
    height: 3px;
    background: var(--brand-orange);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-menu .nav-link:hover::after, .nav-menu .nav-link.active::after { transform: scaleX(1); }

@media (min-width: 992px) {
    .navbar-collapse { display: flex !important; }
}

@media (max-width: 991.98px) {
    .navbar-collapse:not(.show) { display: none !important; }
    .navbar-collapse.show { display: block !important; width: 100%; }
    .nav-menu { flex-direction: column; }
    .nav-menu .nav-link { padding: 12px 18px; }
    .shop-categories-btn { padding: 12px 18px; }
    .categories-bar .container { flex-wrap: wrap; }
}

.navbar-toggler {
    border: none;
    padding: 10px 14px;
}
.navbar-toggler:focus { box-shadow: none; }

/* =========================================================
   Mega-menu dropdowns (Shop By Categories / Laptops / Accessories)
   ========================================================= */
.categories-bar .dropdown-toggle::after { vertical-align: 2px; }

.categories-bar .dropdown-menu.mega-dropdown {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 8px;
    margin-top: 0;
    min-width: 240px;
}

.categories-bar .dropdown-menu.mega-dropdown .dropdown-header {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--brand-blue);
    padding: 8px 12px 4px;
}

.categories-bar .dropdown-menu.mega-dropdown .dropdown-item {
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.categories-bar .dropdown-menu.mega-dropdown .dropdown-item i { color: var(--brand-blue); width: 16px; }

.categories-bar .dropdown-menu.mega-dropdown .dropdown-item:hover,
.categories-bar .dropdown-menu.mega-dropdown .dropdown-item:focus {
    background: var(--bg-alt);
    color: var(--brand-blue);
}

@media (min-width: 992px) {
    .categories-bar .dropdown:hover > .dropdown-menu,
    .categories-bar .shop-categories-btn-wrap:hover .dropdown-menu { display: block; }
}

/* =========================================================
   Footer assurance bar
   ========================================================= */
.footer-assurance .assurance-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-assurance .assurance-item i {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--brand-orange-light);
    font-size: 1.1rem;
}

.footer-assurance .assurance-item h6 { color: #fff; margin-bottom: 2px; font-size: 0.9rem; }
.footer-assurance .assurance-item p { color: #a9b3c4; margin-bottom: 0; font-size: 0.78rem; }

/* =========================================================
   Buttons
   ========================================================= */
.btn { font-weight: 600; letter-spacing: 0.2px; border-radius: var(--radius-sm); transition: var(--transition); }

.btn-primary {
    background: linear-gradient(135deg, var(--brand-blue-light), var(--brand-blue));
    border: none;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-light));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(255, 122, 26, 0.28); }
.btn-primary:hover::before { opacity: 1; }

.btn-lg { border-radius: 50px; }

.btn-light {
    background: #fff;
    color: var(--brand-blue) !important;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}
.btn-light:hover { background: var(--brand-blue); color: #fff !important; border-color: var(--brand-blue); transform: translateY(-2px); }

.btn-outline-light {
    color: var(--brand-blue) !important;
    border-color: var(--brand-blue) !important;
}
.btn-outline-light:hover { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff !important; transform: translateY(-2px); }

.btn-outline-primary, .btn-outline-secondary, .btn-outline-danger { transition: var(--transition); }
.btn-outline-primary:hover, .btn-outline-secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* =========================================================
   Hero Banner Grid — PrimeABGB-style: 1 large left + 2 stacked right
   ========================================================= */
.hero-grid {
    width: 100%;
    background: var(--bg-alt);
    padding: 14px 0;
}

.hero-grid-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 14px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    align-items: stretch;
}

.hero-grid-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
}

.hero-banner {
    position: relative;
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: #fff;
}

.hero-banner-main { height: 420px; }
.hero-banner-side { height: 204px; }

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.hero-banner:hover img { transform: scale(1.03); }

.hero-banner-accessories {
    background: linear-gradient(120deg, var(--brand-blue-dark), var(--brand-blue) 60%, var(--brand-blue-light));
}

.hero-banner-warranty {
    background: linear-gradient(120deg, var(--brand-orange), var(--brand-orange-light) 65%, #ffc98a);
}

.hero-banner-caption {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background: linear-gradient(0deg, rgba(10, 20, 40, 0.72) 0%, rgba(10, 20, 40, 0.1) 65%, rgba(10, 20, 40, 0) 100%);
    color: #fff;
}

.hero-banner-side .hero-banner-caption {
    padding: 18px 20px;
    background: none;
    justify-content: center;
}

.hero-slide-tag {
    display: inline-block;
    width: fit-content;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.hero-banner-main .hero-banner-caption h2 {
    color: #fff;
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    line-height: 1.2;
    margin-bottom: 14px;
}

.hero-banner-side .hero-banner-caption h3 {
    color: #fff;
    font-size: 1.15rem;
    line-height: 1.25;
    margin-bottom: 10px;
}

.hero-slide-cta {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    background: #fff;
    color: var(--brand-blue);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 8px 18px;
    border-radius: 50px;
    transition: var(--transition);
}

.hero-banner:hover .hero-slide-cta { transform: translateX(4px); box-shadow: var(--shadow-md); }

@media (max-width: 991.98px) {
    .hero-grid-inner { grid-template-columns: 1fr; }
    .hero-banner-main { height: 260px; }
    .hero-grid-side { grid-template-rows: 1fr 1fr; }
    .hero-banner-side { height: 160px; }
}

@media (max-width: 575.98px) {
    .hero-banner-main { height: 220px; }
    .hero-banner-side { height: 140px; }
    .hero-banner-caption { padding: 16px; }
    .hero-slide-cta { padding: 6px 14px; font-size: 0.76rem; }
}

/* Trust strip below hero */
/* =========================================================
   Page Header — used on sub-pages (e.g. Accessories) as a
   simple banner strip, distinct from the homepage hero grid
   ========================================================= */
.hero-section {
    background: linear-gradient(120deg, #eef4ff 0%, #f7faff 55%, #ffffff 100%);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--brand-blue);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-bottom: 14px;
    box-shadow: var(--shadow-sm);
}

.hero-badge i { color: var(--brand-orange); }

.hero-section h1 { font-weight: 800; color: var(--text-dark); }
.hero-section h1 span { color: var(--brand-blue); }

.hero-section p.lead-text {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

.trust-strip {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 22px 0;
}

.trust-item { display: flex; align-items: center; gap: 12px; }

.trust-item .trust-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    color: var(--brand-blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.trust-item h6 { margin-bottom: 2px; font-size: 0.9rem; }
.trust-item p { margin-bottom: 0; font-size: 0.78rem; color: var(--text-muted); }

/* =========================================================
   Category chips / quick category cards
   ========================================================= */
.category-scroller {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
}

.category-chip {
    flex: 0 0 auto;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition);
    min-width: 175px;
}

.category-chip .cat-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--bg-alt);
    display: flex; align-items: center; justify-content: center;
    color: var(--brand-blue);
    font-size: 1.1rem;
    transition: var(--transition);
}

.category-chip .cat-name { font-weight: 600; font-size: 0.92rem; color: var(--text-dark); }
.category-chip .cat-count { font-size: 0.75rem; color: var(--text-muted); }

.category-chip:hover { border-color: var(--brand-blue-light); transform: translateY(-3px); box-shadow: var(--shadow-sm); }

.category-chip.active {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-md);
}

.category-chip.active .cat-icon { background: rgba(255,255,255,0.18); color: #fff; }
.category-chip.active .cat-name { color: #fff; }
.category-chip.active .cat-count { color: #dce8ff; }

/* =========================================================
   Shop layout: sidebar + toolbar + grid
   ========================================================= */
.shop-sidebar {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px 14px;
    position: sticky;
    top: 90px;
}

.shop-sidebar h6.filter-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.filter-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.clear-filters-btn {
    background: none;
    border: none;
    color: var(--brand-blue);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
    white-space: nowrap;
}

.clear-filters-btn:hover { text-decoration: underline; }

.filter-list { list-style: none; padding: 0; margin: 0 0 20px 0; }
.filter-list li { margin-bottom: 4px; }

.filter-list button {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 8px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
    cursor: pointer;
    line-height: 1.2;
}

.filter-list button:hover { background: var(--bg-alt); color: var(--brand-blue); }

.filter-list button.active {
    background: var(--brand-blue);
    color: #fff;
    font-weight: 600;
}

.filter-list button .count-pill {
    background: var(--bg-alt);
    border-radius: 20px;
    padding: 1px 7px;
    font-size: 0.68rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.filter-list button.active .count-pill { background: rgba(255,255,255,0.22); color: #fff; }

/* Checkbox-style filters: Brand, RAM, Storage */
.filter-checkbox-list { margin-bottom: 22px; }

.filter-check {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    padding: 7px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 0;
}

.filter-check:hover { background: var(--bg-alt); }

.filter-check span:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-check input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--brand-blue);
    cursor: pointer;
    flex-shrink: 0;
}

.filter-check .count-pill {
    background: var(--bg-alt);
    border-radius: 20px;
    padding: 1px 7px;
    font-size: 0.68rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.sidebar-promo {
    background: linear-gradient(135deg, #eef4ff, #fff5ec);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    color: var(--text-dark);
    text-align: center;
}

.sidebar-promo i { font-size: 1.7rem; color: var(--brand-orange); margin-bottom: 10px; }
.sidebar-promo h6 { color: var(--text-dark); margin-bottom: 6px; }
.sidebar-promo p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0; }

/* Toolbar */
.shop-toolbar {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.shop-toolbar .result-count { font-size: 0.9rem; color: var(--text-muted); }
.shop-toolbar .result-count strong { color: var(--text-dark); }

.toolbar-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.sort-select {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 0.85rem;
    background: #fff;
    color: var(--text-dark);
    font-weight: 500;
}

.mini-search {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    background: var(--bg-alt);
}

.mini-search input { border: none; background: transparent; outline: none; font-size: 0.85rem; width: 170px; }
.mini-search i { color: var(--text-muted); margin-right: 8px; }

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border-color);
}

.no-results i { font-size: 2.4rem; color: var(--text-muted); margin-bottom: 14px; }

/* =========================================================
   Product cards
   ========================================================= */
.card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
}

.product-card { display: flex; flex-direction: column; }

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(22, 86, 201, 0.28);
}

/* Image area */
.product-card-media {
    position: relative;
    overflow: hidden;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border-color);
}

.card-img-top {
    height: 190px;
    width: 100%;
    object-fit: contain;
    padding: 18px;
    background: var(--bg-alt);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover .card-img-top { transform: scale(1.08); }

/* Condition pill (top-left) */
.laptop-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-light));
    color: #fff;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(22, 86, 201, 0.35);
    z-index: 2;
}

/* Discount ribbon (top-right) */
.discount-ribbon {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-light));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    padding: 5px 11px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(255, 122, 26, 0.4);
    z-index: 2;
}

/* Legacy badge support (kept in case older markup is cached anywhere) */
.card .badge.bg-danger {
    background: var(--brand-orange) !important;
    font-weight: 700;
    font-size: 0.68rem;
    border-radius: 20px;
    padding: 4px 8px;
}

/* Body */
.card-body { display: flex; flex-direction: column; flex-grow: 1; padding: 16px 16px 8px; }

.product-category-tag {
    align-self: flex-start;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--brand-blue);
    background: rgba(22, 86, 201, 0.08);
    padding: 3px 9px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.card-title {
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.35;
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

/* Price row */
.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.price-current {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--brand-blue);
}

.price-original {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Spec bullet list (laptops) */
.product-spec-list {
    list-style: none;
    padding: 0;
    margin: 0 0 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-spec-list li {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-spec-list li i { color: var(--brand-blue-light); width: 14px; text-align: center; flex-shrink: 0; }

/* Description line (accessories) */
.product-desc-line {
    font-size: 0.78rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}

.card-text.small { font-size: 0.78rem; }

.card-footer { background: #fff !important; border-top: 1px solid var(--border-color) !important; padding: 12px 16px 16px; }
.card-footer .btn-primary {
    font-size: 0.85rem;
    padding: 9px 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
}
.card-footer .btn-outline-secondary {
    padding: 9px 13px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.card-footer .btn-outline-secondary:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
    transform: scale(1.06);
}

/* stagger animation */
#laptopsContainer > div, #accessoriesContainer > div { animation: fadeInUp 0.4s ease both; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   Services section
   ========================================================= */
.services-section {
    background: var(--bg-alt);
    padding: 70px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.service-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(22, 86, 201, 0.2);
}

.service-icon {
    width: 62px; height: 62px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand-blue-light), var(--brand-blue));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 18px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-light));
    transform: rotate(-6deg) scale(1.08);
}

/* =========================================================
   About section
   ========================================================= */
#about img { border-radius: var(--radius-lg); transition: var(--transition); border: 1px solid var(--border-color); }
#about img:hover { transform: scale(1.02); box-shadow: var(--shadow-lg) !important; }

.about-feature { display: flex; gap: 14px; align-items: flex-start; }

.about-feature .icon-box {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    color: var(--brand-blue);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1.15rem;
}

/* =========================================================
   Contact section
   ========================================================= */
#contact .card { border-radius: var(--radius-lg); }

.contact-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    color: var(--brand-blue);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* =========================================================
   Cart Drawer
   ========================================================= */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    height: 100vh;
    background-color: white;
    box-shadow: -10px 0 30px rgba(20, 40, 80, 0.15);
    z-index: 1050;
    transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    padding: 24px;
    overflow-y: auto;
    border-left: 4px solid var(--brand-orange);
}

.cart-drawer.show { right: 0; }

.drawer-backdrop {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(20, 30, 50, 0.45);
    backdrop-filter: blur(2px);
    z-index: 1040;
    display: none;
}

.cart-item {
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    transition: var(--transition);
    animation: fadeInUp 0.4s ease both;
}

.cart-item:hover { background: var(--bg-alt); }
.cart-item img { height: 60px; object-fit: contain; border-radius: 8px; }

/* =========================================================
   Footer — light, clean
   ========================================================= */
footer {
    background: var(--bg-alt);
    color: var(--text-dark);
    padding: 55px 0 0;
    position: relative;
    margin-top: 0;
    border-top: 1px solid var(--border-color);
}

footer::before {
    content: "";
    position: absolute;
    top: -1px; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-orange));
}

footer .footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
footer .footer-brand img { height: 42px; border-radius: 8px; background: #fff; border: 1px solid var(--border-color); padding: 3px; }
footer .footer-brand span { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--text-dark); }
footer .footer-brand span em { color: var(--brand-orange); font-style: normal; }

footer h5 { color: var(--text-dark); position: relative; padding-bottom: 10px; font-size: 1rem; }
footer p { color: var(--text-muted); font-size: 0.92rem; }

footer a.text-white, footer .text-decoration-none {
    color: var(--text-muted) !important;
    transition: var(--transition);
    display: inline-block;
}
footer a.text-white:hover, footer .text-decoration-none:hover { color: var(--brand-blue) !important; padding-left: 4px; }

footer .d-flex a i.fab, footer i.fab { transition: var(--transition); color: var(--brand-blue); }
footer .d-flex a i.fab:hover, footer i.fab:hover { transform: translateY(-4px) scale(1.15); color: var(--brand-orange); }

footer .btn-outline-primary, footer .btn-outline-danger {
    color: var(--brand-blue);
    border-color: var(--border-color);
}

footer .input-group .form-control {
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
}

footer .input-group .form-control::placeholder { color: var(--text-muted); }
footer .input-group .btn-light { font-weight: 700; }

footer hr { border-color: var(--border-color); }

.footer-bottom {
    background: #fff;
    border-top: 1px solid var(--border-color);
    padding: 16px 0;
    margin-top: 40px;
}

.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0; }

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-blue-light), var(--brand-blue));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 900;
    border: none;
}

.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

/* WhatsApp float button */
.whatsapp-float {
    position: fixed;
    bottom: 26px;
    left: 26px;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    z-index: 900;
    transition: var(--transition);
}

.whatsapp-float:hover { transform: scale(1.08); color: #fff; }

/* =========================================================
   Product Detail Modal
   ========================================================= */
.product-detail-container {
    display: none;
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(20, 30, 50, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1060;
    overflow-y: auto;
    padding: 20px 0;
}

.product-detail {
    background-color: white;
    border-radius: var(--radius-lg);
    margin: 40px auto;
    max-width: 1000px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.35s ease both;
    position: relative;
}

/* Close button */
.pd-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(20, 30, 50, 0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: var(--transition);
}
.pd-close-btn:hover { background: var(--brand-orange); transform: rotate(90deg); }

/* Image side */
.pd-media { position: relative; height: 100%; }
.product-detail-img { height: 350px; width: 100%; object-fit: contain; background-color: var(--bg-alt); }
.pd-discount-ribbon { top: 16px; left: 16px; right: auto; }

/* Info side */
.pd-category-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--brand-blue);
    background: rgba(22, 86, 201, 0.08);
    padding: 4px 11px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.pd-title { font-size: 1.4rem; margin-bottom: 10px; padding-right: 30px; }

.pd-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.pd-price-current {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand-blue);
}

.pd-price-original {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.discount-pill {
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-light));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
}

.pd-description { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; margin-bottom: 18px; }

.pd-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.pd-highlight {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    padding: 7px 12px;
    border-radius: 20px;
}
.pd-highlight i { color: var(--brand-blue); }

.pd-qty-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.pd-qty-row .form-label { font-size: 0.85rem; }
.pd-qty-row .form-control { width: 90px; }

.pd-specs-block { margin-top: 24px; }
.pd-specs-heading {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
.pd-specs-heading i { color: var(--brand-blue); }

.product-specs {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.product-spec {
    width: 50%;
    padding: 11px 14px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.86rem;
}
.product-spec:nth-child(odd) { border-right: 1px solid var(--border-color); }
.spec-title { font-weight: 700; color: var(--brand-blue); display: flex; align-items: center; gap: 6px; font-size: 0.78rem; }
.spec-title i { width: 14px; text-align: center; }

/* =========================================================
   Forms
   ========================================================= */
.form-control, .form-select {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--brand-blue-light);
    box-shadow: 0 0 0 4px rgba(46, 125, 255, 0.12);
}

.form-label { font-weight: 600; color: var(--text-dark); }

/* =========================================================
   Checkout / Order Summary
   ========================================================= */
.order-summary {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 22px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.order-summary h6 { color: var(--text-dark); font-weight: 700; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; }
.total-amount { font-size: 1.15rem; padding: 12px 0; border-top: 2px solid var(--brand-orange); margin-top: 10px; }

.terms-section { background: #fefefe; border: 1px solid var(--border-color); border-radius: 12px; padding: 20px; margin: 25px 0; }
.form-check { display: flex; align-items: flex-start; gap: 12px; }
.form-check-input { width: 20px; height: 20px; border: 1px solid var(--border-color); border-radius: 5px; margin: 0; flex-shrink: 0; }
.form-check-input:checked { background-color: var(--brand-blue); border-color: var(--brand-blue); }
.form-check-label { font-size: 0.9rem; line-height: 1.5; color: var(--text-muted); }

.terms-link { color: var(--brand-blue); text-decoration: none; font-weight: 600; }
.terms-link:hover { color: var(--brand-orange); text-decoration: underline; }

/* =========================================================
   Modals
   ========================================================= */
.modal-content { border-radius: var(--radius-lg); border: none; box-shadow: var(--shadow-lg); }
.modal-header { background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-light)); color: #fff; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.modal-header .modal-title { color: #fff; }
.modal-header .btn-close { filter: invert(1) brightness(2); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 991px) {
    .shop-sidebar { position: static; margin-bottom: 24px; }
    .hero-visual { margin-top: 30px; }
    .col-lg-2.mb-4 { flex: 0 0 100%; max-width: 100%; }
    .col-lg-10 { flex: 0 0 100%; max-width: 100%; }
}

@media (max-width: 768px) {
    .hero-section { padding: 46px 0 36px; text-align: center; }
    .hero-section h1 { font-size: 2rem; }
    .hero-section p.lead-text { margin-left: auto; margin-right: auto; }
    .hero-stats { justify-content: center; }
    .navbar-search { display: none !important; }
    .cart-drawer { width: 100%; right: -100%; }
    .product-spec { width: 100%; }
    .product-spec:nth-child(odd) { border-right: none; }
    .shop-toolbar { flex-direction: column; align-items: flex-start; }
    .service-card { padding: 25px 15px; }
    .pd-title { padding-right: 40px; }
    .product-detail-img { height: 260px; }
}

@media (max-width: 480px) {
    .hero-section .btn { display: block; width: 100%; margin: 8px 0 !important; }
    .whatsapp-float, .back-to-top { width: 44px; height: 44px; bottom: 16px; }
    .whatsapp-float { left: 16px; }
    .back-to-top { right: 16px; }
}