﻿/* GroupBuyChina - Custom Stylesheet */

/* ===== CSS Custom Properties (Brand Colors) ===== */
:root {
    --gbc-primary: #e63946;
    --gbc-secondary: #1d3557;
    --gbc-accent: #ff5000;
    --gbc-success: #2a9d8f;
    --gbc-warning: #e9c46a;
    --gbc-danger: #e63946;
    --gbc-info: #457b9d;
    --gbc-light: #f8f9fa;
    --gbc-dark: #1d3557;
    --gbc-text: #333333;
    --gbc-text-muted: #6c757d;
    --gbc-border: #dee2e6;
    --gbc-bg: #ffffff;
    --gbc-bg-light: #f5f6fa;
}

/* ===== Global ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--gbc-text);
    background-color: var(--gbc-bg);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--gbc-dark);
    font-weight: 600;
}

.card-img-top {
    border-radius: 14px 14px 0 0;
}

a {
    color: var(--gbc-primary);
    text-decoration: none;
}
a:hover {
    color: #c22e3a;
}

/* ===== Category Card ===== */
 
.category-section {
    background: linear-gradient(180deg, #f6f8fb 0%, #eef2f7 100%);
    position: relative;
    overflow: hidden;
}

/* subtle background pattern (optional) */
.category-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: min(400px, 80vw);
    height: min(400px, 80vw);
    background: radial-gradient(circle, rgba(230, 57, 70, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}
.category-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: min(350px, 70vw);
    height: min(350px, 70vw);
    background: radial-gradient(circle, rgba(29, 53, 87, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.category-section .container {
    position: relative;
    z-index: 2;
}

.category-section .text-gradient {
    background: linear-gradient(135deg, var(--gbc-primary, #E63946), var(--gbc-secondary, #1D3557));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.category-card {
    background: #ffffff;
    border: 1px solid rgba(29, 53, 87, 0.14);
    border-radius: 16px;
    padding: 1.6rem 0.6rem;
    transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e63946, #1d3557);
    opacity: 0;
    transform: scaleX(0.35);
    transform-origin: center;
    transition: opacity 0.22s ease, transform 0.22s ease;
    pointer-events: none;
}

.category-card:hover {
    transform: translateY(-2px);
    background: #ffffff;
    border-color: rgba(230, 57, 70, 0.45);
}

.category-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.icon-wrapper {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #f3f6fb;
    border: 1px solid rgba(29, 53, 87, 0.14);
    transition: transform 0.28s ease, background-color 0.28s ease, border-color 0.28s ease;
}

.category-card:hover .icon-wrapper {
    background: #fff5f6;
    transform: scale(1.03);
    border-color: rgba(230, 57, 70, 0.34);
}

.category-icon {
    color: var(--gbc-secondary, #1D3557);
    transition: color 0.3s ease, transform 0.3s ease;
}

.category-card:hover .category-icon {
    color: var(--gbc-primary, #E63946);
    transform: scale(1.06);
}

.category-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gbc-secondary, #1D3557);
    transition: color 0.3s ease;
    letter-spacing: 0.01em;
}

.category-card:hover .category-title {
    color: var(--gbc-primary, #E63946);
}

.category-link:focus-visible .category-card {
    outline: 2px solid rgba(230, 57, 70, 0.45);
    outline-offset: 2px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .category-card {
        padding: 1.25rem 0.35rem;
    }
    .icon-wrapper {
        width: 60px;
        height: 60px;
        border-radius: 14px;
    }
    .category-icon {
        font-size: 1.8rem;
    }
    .category-title {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .category-card {
        padding: 1.1rem 0.25rem;
        border-radius: 14px;
    }
    .icon-wrapper {
        width: 52px;
        height: 52px;
        border-radius: 12px;
    }
    .category-icon {
        font-size: 1.35rem;
    }
    .category-title {
        font-size: 0.84rem;
    }
}

/* ===== Deal Card ===== */
.deal-card {
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}
.deal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.12) !important;
}
.deal-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* ===== Navbar ===== */
.navbar {
    transition: box-shadow 0.3s;
    padding: 0.75rem 0;
}
.navbar.scrolled {
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--gbc-primary) !important;
}
.navbar .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s;
}
.navbar .nav-link:hover {
    color: var(--gbc-primary) !important;
}

/* ===== Top Utility Bar ===== */
.gbc-topbar {
    background: linear-gradient(90deg, #0f1f3d 0%, #152847 50%, #1a2f52 100%);
    padding: 0.4rem 0;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    letter-spacing: 0.01em;
}
.gbc-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s;
}
.gbc-topbar-item:hover { color: var(--gbc-accent, #ff5000); }
.gbc-topbar-item a { color: inherit; text-decoration: none; }
.gbc-topbar-item a:hover { color: var(--gbc-accent, #ff5000); }
.gbc-topbar-item i { font-size: 0.72rem; opacity: 0.8; }
.gbc-topbar-sep {
    display: inline-block;
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,0.15);
    margin: 0 0.75rem;
    vertical-align: middle;
}

/* ===== Navbar Base ===== */
.gbc-navbar {
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(ellipse at 10% -40%, rgba(244, 162, 97, 0.18), transparent 50%),
        radial-gradient(ellipse at 90% 120%, rgba(69, 123, 157, 0.12), transparent 50%),
        linear-gradient(90deg, #152847 0%, #1d3557 50%, #1f3c62 100%);
    padding-block: 0.55rem;
    z-index: 1040;
}

.gbc-navbar--scrolled {
    padding-block: 0.3rem;
    box-shadow: 0 4px 30px rgba(0,0,0,0.25);
    background:
        linear-gradient(90deg, rgba(21,40,71,0.97) 0%, rgba(29,53,87,0.97) 50%, rgba(31,60,98,0.97) 100%);
}

.gbc-navbar .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.25s ease, transform 0.2s ease;
    border-radius: 8px;
}

.gbc-navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2.5px;
    background: linear-gradient(90deg, var(--gbc-accent, #ff5000), var(--gbc-primary, #E63946));
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gbc-navbar .navbar-nav .nav-link:hover {
    color: #fff !important;
    transform: translateY(-1px);
}

.gbc-navbar .navbar-nav .nav-link:hover::after,
.gbc-navbar .navbar-nav .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.gbc-navbar .navbar-nav .nav-link.active {
    color: #fff !important;
}

.gbc-navbar-brand {
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    max-height: 38px;
}

.gbc-brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gbc-accent, #ff5000), #cc4000);
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 4px 14px rgba(255, 80, 0, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.gbc-navbar-brand:hover .gbc-brand-icon {
    transform: rotate(-8deg) scale(1.08);
    box-shadow: 0 6px 20px rgba(255, 80, 0, 0.45);
}

.gbc-brand-text {
    font-size: 1.3rem;
    line-height: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}

.gbc-brand-highlight {
    color: var(--gbc-primary, #E63946);
}

.gbc-navbar .navbar-nav {
    gap: 0.15rem;
    flex-wrap: nowrap;
}

.gbc-navbar .navbar-collapse {
    flex-wrap: nowrap;
    min-width: 0;
}

.gbc-menu-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
    line-height: 1.12;
}

.gbc-menu-icon {
    font-size: 0.96rem;
    display: inline-flex;
    width: 1.05rem;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.gbc-menu-link:hover .gbc-menu-icon {
    transform: scale(1.15);
}

.gbc-menu-label {
    display: inline-block;
}

.gbc-menu-link.active .gbc-menu-icon {
    color: var(--gbc-accent, #ff5000);
}

/* ===== Mobile Controls (Profile + Hamburger in header bar) ===== */
.gbc-mobile-controls {
    order: 3;
}

.gbc-mobile-avatar-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.gbc-mobile-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.gbc-mobile-avatar-link:hover .gbc-mobile-avatar {
    border-color: var(--gbc-accent, #ff5000);
    transform: scale(1.05);
}

.gbc-mobile-avatar-placeholder {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: background 0.2s ease;
}

.gbc-mobile-avatar-link:hover .gbc-mobile-avatar-placeholder {
    background: rgba(255, 255, 255, 0.25);
}

/* ===== Hamburger Button ===== */
.gbc-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.gbc-hamburger:hover,
.gbc-hamburger:focus-visible {
    background: rgba(255, 255, 255, 0.2);
    outline: none;
}

.gbc-hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ===== Desktop Nav Actions ===== */
.gbc-nav-actions {
    position: relative;
    row-gap: 0.6rem;
}

.gbc-nav-search {
    position: relative;
    width: min(280px, 22vw);
    flex-shrink: 1;
}

.gbc-nav-search .input-group {
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    min-height: 38px;
    transition: background-color 0.25s ease;
}

.gbc-nav-search .input-group:focus-within {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: none;
}

.gbc-nav-search-input {
    min-width: 0;
    width: 100%;
    border: 0;
    color: #fff;
    background: transparent;
    font-size: 0.87rem;
    padding-inline: 0.85rem;
}

.gbc-nav-search-input::placeholder {
    color: rgba(255, 255, 255, 0.66);
}

.gbc-nav-search-input:focus {
    background: transparent;
    color: #fff;
    box-shadow: none;
    outline: none;
    border: none;
}

.gbc-nav-search-btn {
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    width: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gbc-nav-search-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.gbc-search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 1200;
    background: #fff;
    border: 1px solid rgba(29, 53, 87, 0.16);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 30px -24px rgba(29, 53, 87, 0.55);
    max-height: 480px;
    overflow-y: auto;
}

.gbc-search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 0.95rem;
    color: var(--gbc-secondary);
    border-bottom: 1px solid rgba(29, 53, 87, 0.08);
    text-decoration: none;
    transition: all 0.15s ease;
}

.gbc-search-suggestion-thumb {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(29, 53, 87, 0.12);
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f8 100%);
    flex-shrink: 0;
    display: block;
}

.gbc-search-suggestion-thumb:not([src]),
.gbc-search-suggestion-thumb[src=""] {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f8 100%);
}

.gbc-search-suggestion-content {
    min-width: 0;
    flex: 1;
}

.gbc-search-suggestion-item:last-child {
    border-bottom: 0;
}

.gbc-search-suggestion-item:hover,
.gbc-search-suggestion-item.active {
    background: rgba(230, 57, 70, 0.06);
    color: var(--gbc-primary);
}

.gbc-search-suggestion-item:hover .gbc-search-suggestion-thumb {
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.25);
}

.gbc-search-suggestion-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.2rem 0;
    line-height: 1.4;
    word-break: break-word;
    max-height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.gbc-search-suggestion-meta {
    font-size: 0.73rem;
    color: var(--gbc-text-muted);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gbc-search-suggestion-empty {
    padding: 1.5rem 1rem;
    font-size: 0.82rem;
    color: #8b92a3;
    background: #fbfdff;
    text-align: center;
    min-width: 250px;
}

.gbc-search-suggestion-empty i {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    opacity: 0.4;
}

.gbc-search-suggestion-loading {
    padding: 1rem;
    font-size: 0.82rem;
    color: #475569;
    background: #fbfdff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-width: 250px;
}

.gbc-search-hit {
    background: rgba(244, 162, 97, 0.35);
    color: inherit;
    padding: 0.1em 0.25em;
    border-radius: 3px;
    font-weight: 600;
}

/* ===== Desktop Auth Buttons ===== */
.gbc-auth-btn {
    border-radius: 999px;
    font-weight: 700;
    min-height: 38px;
    padding-inline: 1rem;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.gbc-auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 20px -15px rgba(10, 20, 35, 0.8);
}

.gbc-login-btn {
    color: #ffffff;
    border-width: 1px;
    background: rgba(255, 255, 255, 0.07);
}

.gbc-register-btn {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    background: linear-gradient(135deg, #e63946 0%, #f08a5d 100%);
}

.gbc-register-btn:hover {
    color: #fff;
    background: linear-gradient(135deg, #d83340 0%, #ee7b45 100%);
}

.gbc-nav-auth-links {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.gbc-user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.gbc-user-name {
    display: inline-block;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}

.gbc-nav-actions .dropdown-toggle {
    white-space: nowrap;
}

/* ===== Mobile Search Toggle ===== */
.gbc-mobile-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.gbc-mobile-search-toggle:hover { background: rgba(255,255,255,0.2); transform: scale(1.05); }

/* ===== Mobile Search Bar (slide-down) ===== */
.gbc-mobile-search-bar {
    max-height: 0;
    overflow: hidden;
    background: rgba(21,40,71,0.95);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
}
.gbc-mobile-search-bar.open { 
    max-height: 80px; 
    width: 100%;
}
.gbc-mobile-search-input {
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 10px 0 0 10px !important;
    color: #fff !important;
    font-size: 0.9rem;
}
.gbc-mobile-search-input::placeholder { color: rgba(255,255,255,0.5); }
.gbc-mobile-search-input:focus { box-shadow: none !important; border-color: rgba(255,255,255,0.25) !important; outline: none !important; }
.gbc-mobile-search-bar .container { max-width: 100%; padding-inline: 0.75rem; }
.gbc-mobile-search-bar .input-group { width: 100%; }
.gbc-mobile-search-submit {
    background: var(--gbc-primary, #E63946) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 10px 10px 0 !important;
    padding-inline: 1rem;
}

/* ===== User Dropdown (Redesigned) ===== */
.gbc-user-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    color: #fff;
    padding: 0.3rem 0.75rem 0.3rem 0.35rem;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.25s ease;
}
.gbc-user-btn:hover,
.gbc-user-btn:focus { background: rgba(255,255,255,0.16); color: #fff; border-color: rgba(255,255,255,0.3); }
.gbc-user-btn .gbc-user-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.4); }
.gbc-user-avatar-placeholder {
    width: 30px; height: 30px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(244,162,97,0.3), rgba(230,57,70,0.3));
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.85rem;
}

.gbc-admin-btn {
    display: flex; align-items: center; gap: 0.4rem;
    background: rgba(233,196,106,0.15); border: 1px solid rgba(233,196,106,0.3);
    border-radius: 999px; color: #e9c46a; padding: 0.35rem 0.85rem;
    font-size: 0.85rem; font-weight: 700; transition: all 0.25s;
}
.gbc-admin-btn:hover { background: rgba(233,196,106,0.25); color: #f5d76e; }

/* ===== Dropdown Menu ===== */
.gbc-dropdown-menu {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    padding: 0;
    min-width: 240px;
    animation: gbcDropIn 0.25s cubic-bezier(0.16,1,0.3,1);
}
@keyframes gbcDropIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.96); }
    to   { opacity: 1; transform: none; }
}
.gbc-dropdown-header {
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #152847 0%, #1d3557 100%);
    color: #fff;
}
.gbc-dropdown-greeting { display: block; font-weight: 700; font-size: 0.9rem; }
.gbc-dropdown-email { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.6); margin-top: 0.15rem; }
.gbc-dropdown-item {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.6rem 1rem; font-size: 0.88rem; font-weight: 500;
    transition: background 0.2s, padding-left 0.2s;
}
.gbc-dropdown-item i { width: 1.1rem; text-align: center; color: var(--gbc-secondary); opacity: 0.7; }
.gbc-dropdown-item:hover { background: rgba(230,57,70,0.06); padding-left: 1.15rem; }
.gbc-dropdown-item:hover i { color: var(--gbc-primary); opacity: 1; }
.gbc-dropdown-logout { color: var(--gbc-primary, #E63946) !important; }
.gbc-dropdown-logout:hover { background: rgba(230,57,70,0.08) !important; }

/* ===== Offcanvas Drawer ===== */
.gbc-drawer {
    max-width: 320px;
    width: 85vw;
    border-left: none;
    background: linear-gradient(180deg, #152847 0%, #1a2f52 40%, #1d3557 100%);
    color: #fff;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.3);
}

.gbc-drawer-header {
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gbc-drawer-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.gbc-drawer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gbc-accent, #ff5000);
    flex-shrink: 0;
}

.gbc-drawer-avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(244, 162, 97, 0.2), rgba(230, 57, 70, 0.2));
    border: 2px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.gbc-drawer-avatar-admin {
    background: linear-gradient(135deg, rgba(233, 196, 106, 0.3), rgba(244, 162, 97, 0.2));
    border-color: rgba(233, 196, 106, 0.5);
}

.gbc-drawer-user-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gbc-drawer-user-name {
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gbc-drawer-user-role {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.gbc-drawer-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.gbc-drawer-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.gbc-drawer-body {
    padding: 1rem 0;
    overflow-y: auto;
}

/* ===== Drawer Search ===== */
.gbc-drawer-search {
    padding: 0 1.25rem 0.75rem;
}

.gbc-drawer-search .input-group {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s ease;
}

.gbc-drawer-search .input-group:focus-within {
    border-color: rgba(244, 162, 97, 0.6);
}

.gbc-drawer-search-icon {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.5rem 0.75rem;
}

.gbc-drawer-search-input {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 0.88rem;
    padding: 0.55rem 0.75rem 0.55rem 0;
}

.gbc-drawer-search-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.gbc-drawer-search-input:focus {
    box-shadow: none !important;
}

/* ===== Drawer Navigation Links ===== */
.gbc-drawer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gbc-drawer-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.72rem 1.25rem;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 0.93rem;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    border-left: 3px solid transparent;
}

.gbc-drawer-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-left-color: rgba(244, 162, 97, 0.4);
}

.gbc-drawer-link.active {
    color: #fff;
    background: rgba(244, 162, 97, 0.12);
    border-left-color: var(--gbc-accent, #ff5000);
    font-weight: 700;
}

.gbc-drawer-link i {
    font-size: 1.1rem;
    width: 1.3rem;
    text-align: center;
    flex-shrink: 0;
}

.gbc-drawer-active-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gbc-accent, #ff5000);
    margin-left: auto;
    flex-shrink: 0;
}

.gbc-drawer-badge {
    margin-left: auto;
    background: var(--gbc-primary, #E63946);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    line-height: 1.3;
}

.gbc-drawer-divider {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 0.5rem 1.25rem;
}

.gbc-drawer-nav-account .gbc-drawer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
}

.gbc-drawer-nav-account .gbc-drawer-link:hover {
    color: #fff;
}

/* ===== Drawer Logout ===== */
.gbc-drawer-logout {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1.25rem;
    color: #ef4444;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.gbc-drawer-logout:hover {
    background: rgba(239, 68, 68, 0.08);
    color: #f87171;
    border-left-color: #ef4444;
}

/* ===== Drawer Auth (Guest) ===== */
.gbc-drawer-auth {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.5rem 1.25rem;
}

.gbc-drawer-login-btn {
    width: 100%;
    border-radius: 12px;
    font-weight: 600;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.gbc-drawer-login-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.gbc-drawer-register-btn {
    width: 100%;
    border-radius: 12px;
    font-weight: 700;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #fff;
    background: linear-gradient(135deg, #e63946 0%, #f08a5d 100%);
    border: none;
    transition: all 0.2s ease;
}

.gbc-drawer-register-btn:hover {
    color: #fff;
    background: linear-gradient(135deg, #d83340 0%, #ee7b45 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

/* ===== Desktop Responsive (lg - xl) ===== */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .gbc-navbar .navbar-nav .nav-link {
        padding: 0.4rem 0.65rem !important;
    }

    .gbc-navbar .navbar-nav {
        gap: 0.05rem;
    }

    .gbc-menu-icon {
        display: none;
    }

    .gbc-menu-label {
        font-size: 0.82rem;
    }

    .gbc-nav-search {
        width: min(160px, 16vw);
    }

    .gbc-nav-search-input {
        font-size: 0.82rem;
        padding-inline: 0.6rem;
    }

    .gbc-nav-search .input-group {
        min-height: 32px;
    }

    .gbc-user-name {
        max-width: 80px;
    }

    .gbc-nav-actions {
        gap: 0.3rem !important;
    }

    .gbc-user-btn, .gbc-admin-btn {
        padding-inline: 0.5rem;
        font-size: 0.8rem;
    }

    .gbc-auth-btn {
        padding-inline: 0.6rem;
        font-size: 0.8rem;
        min-height: 32px;
    }

    .gbc-auth-btn i {
        display: none;
    }

    .gbc-brand-icon { width: 32px; height: 32px; font-size: 1rem; }
    .gbc-brand-text { font-size: 1.1rem; }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .gbc-navbar .navbar-nav .nav-link {
        padding: 0.42rem 0.75rem !important;
    }

    .gbc-navbar .navbar-nav {
        gap: 0.1rem;
    }

    .gbc-nav-search {
        width: min(200px, 17vw);
    }

    .gbc-nav-search-input {
        font-size: 0.83rem;
        padding-inline: 0.65rem;
    }

    .gbc-nav-search .input-group {
        min-height: 34px;
    }

    .gbc-user-name {
        max-width: 90px;
    }

    .gbc-menu-label {
        font-size: 0.84rem;
    }

    .gbc-menu-icon {
        font-size: 0.88rem;
        width: 0.95rem;
    }

    .gbc-nav-actions {
        gap: 0.35rem !important;
    }

    .gbc-user-btn, .gbc-admin-btn {
        padding-inline: 0.55rem;
        font-size: 0.83rem;
    }

    .gbc-auth-btn {
        padding-inline: 0.7rem;
        font-size: 0.82rem;
        min-height: 34px;
    }
}

/* ===== Tablet (sm to lg) ===== */
@media (max-width: 991.98px) {
    .gbc-navbar .container {
        padding-inline: 0.75rem;
    }

    .gbc-navbar {
        padding-block: 0.5rem;
    }

    .gbc-mobile-controls {
        gap: 0.5rem;
    }

    .gbc-brand-icon { width: 34px; height: 34px; font-size: 1.05rem; }
    .gbc-brand-text { font-size: 1.15rem; }
}

/* ===== Tablet portrait (md) ===== */
@media (min-width: 576px) and (max-width: 991.98px) {
    .gbc-drawer {
        max-width: 340px;
        width: 75vw;
    }

    .gbc-drawer-search-input {
        font-size: 0.92rem;
    }

    .gbc-drawer-link {
        padding: 0.82rem 1.4rem;
        font-size: 0.96rem;
    }

    .gbc-drawer-avatar {
        width: 48px;
        height: 48px;
    }
}

/* ===== Small mobile ===== */
@media (max-width: 575.98px) {
    .gbc-navbar-brand span {
        font-size: 0.95rem;
    }

    .gbc-navbar-brand i {
        font-size: 1.25rem !important;
    }

    .gbc-mobile-avatar {
        width: 30px;
        height: 30px;
    }

    .gbc-mobile-avatar-placeholder {
        width: 30px;
        height: 30px;
        font-size: 0.95rem;
    }

    .gbc-hamburger {
        width: 34px;
        height: 34px;
        padding: 5px;
    }

    .gbc-hamburger-line {
        width: 18px;
    }

    .gbc-drawer {
        max-width: 290px;
    }
}

/* ===== Ultra-small screens ===== */
@media (max-width: 374.98px) {
    .gbc-navbar-brand span {
        font-size: 0.85rem;
    }

    .gbc-navbar-brand i {
        font-size: 1.1rem !important;
    }

    .gbc-mobile-controls {
        gap: 0.3rem;
    }

    .gbc-mobile-avatar,
    .gbc-mobile-avatar-placeholder {
        width: 28px;
        height: 28px;
    }

    .gbc-hamburger {
        width: 32px;
        height: 32px;
    }

    .gbc-drawer {
        max-width: 260px;
        width: 88vw;
    }
}

/* ===== Modern Hero Banner Styles ===== */
.hero-carousel {
  --hero-bg-start: var(--gbc-primary, #E63946);
  --hero-bg-end: var(--gbc-secondary, #1D3557);
  position: relative;
  background: linear-gradient(135deg, var(--hero-bg-start), var(--hero-bg-end));
  overflow: hidden;
}

/* Slide base — regular slide (not fade) for reliable transition */
.hero-carousel .carousel-item {
  position: relative;
  min-height: clamp(420px, 65vh, 700px);
  align-items: center;
  background: transparent;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Apply flex only while the item is in-view or entering/leaving */
.hero-carousel .carousel-item.active,
.hero-carousel .carousel-item.carousel-item-next,
.hero-carousel .carousel-item.carousel-item-prev {
  display: flex;
}

.slide-content {
  position: relative;
  width: 100%;
  padding: 4rem 0;
  background: radial-gradient(circle at 10% 30%, rgba(255,255,255,0.1) 0%, transparent 30%),
              linear-gradient(135deg, var(--hero-bg-start), var(--hero-bg-end));
  z-index: 1;
}
.slide-content::before,
.slide-content::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
}
.slide-content::before {
  top: -10%;
  right: -5%;
  background: rgba(255, 215, 0, 0.15);
}
.slide-content::after {
  bottom: -10%;
  left: -5%;
  width: 250px;
  height: 250px;
  background: rgba(69, 123, 157, 0.2);
  filter: blur(70px);
}

/* Typography (unchanged) */
.hero-carousel h1 {
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.text-gradient {
  background: linear-gradient(135deg, #FFD166, #FFB347);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hero-carousel .lead {
  color: rgba(255,255,255,0.9);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  max-width: 600px;
}

/* Buttons (unchanged) */
.btn.hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px -8px rgba(0,0,0,0.3) !important;
}
.btn-outline-light:hover {
  background-color: rgba(255,255,255,0.1);
  color: #fff;
}

/* === REFINED PREMIUM PRODUCT CARD === */
.deal-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 1.4rem;
  
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  max-width: 380px;
  margin: 0 auto;
  text-align: left;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.deal-card::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.deal-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.3),
              inset 0 1px 2px rgba(255, 255, 255, 0.15);
}
.deal-card:hover::before {
  opacity: 1;
}
.deal-card-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.2rem;
  aspect-ratio: 4/3;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.deal-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.deal-card:hover .deal-card-image img {
  transform: scale(1.05);
}
.card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(230, 57, 70, 0.9);
  backdrop-filter: blur(4px);
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.3rem 1.2rem;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 12px -6px rgba(0,0,0,0.2);
}
.deal-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}
.deal-prices {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}
.original-price {
  color: rgba(255,255,255,0.5);
  text-decoration: line-through;
  font-size: 1rem;
  font-weight: 400;
}
.deal-price {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FFD166, #FFB347);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.group-progress {
  margin: 1.2rem 0;
}
.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.progress-bar-modern {
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FFD166, #FFB347);
  border-radius: 20px;
  width: 0%;
  transition: width 0.3s ease;
  box-shadow: 0 0 8px rgba(255, 209, 102, 0.5);
}
.deal-card .btn-light {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
  border: none;
  color: #1D3557;
  font-weight: 600;
  padding: 0.75rem;
  border-radius: 40px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.deal-card .btn-light:hover {
  background: #fff;
  color: #E63946;
  transform: scale(1.02);
}

/* Avatar group (unchanged) */
.avatar-group {
  display: flex;
  align-items: center;
}
.avatar-group img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-right: -10px;
  object-fit: cover;
}
.avatar-group .avatar-initial {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-right: -10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.08));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
}
.avatar-more {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 2px solid #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
}

/* Carousel controls (unchanged) */
.carousel-control-prev,
.carousel-control-next {
  width: 3.5rem;
  height: 3.5rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
  opacity: 1;
}
.control-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  font-size: 1.3rem;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.2s;
}
.control-icon:hover {
  background: rgba(255,255,255,0.3);
}

/* Indicators (unchanged) */
.carousel-indicators {
  margin-bottom: 2rem;
}
.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.5;
  border: none;
  margin: 0 6px;
  transition: all 0.2s;
}
.carousel-indicators .active {
  opacity: 1;
  width: 30px;
  border-radius: 10px;
  background: #FFD166;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-carousel .carousel-item {
    min-height: 550px;
    text-align: center;
  }
  .slide-content {
    padding: 3rem 0;
  }
  .deal-card {
    margin-top: 2rem;
    max-width: 90%;
  }
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
}
@media (max-width: 576px) {
  .hero-carousel h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
  .deal-price {
    font-size: 1.6rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .floating,
  .floating.delay,
  .hover-lift,
  .carousel-item,
  .deal-card,
  .deal-card-image img {
    animation: none !important;
    transition: none !important;
  }
}

/* ===== Progress Bar ===== */
.progress {
    border-radius: 50px;
    height: 8px;
    background-color: #e9ecef;
}
.progress-bar {
    background: linear-gradient(90deg, var(--gbc-primary), var(--gbc-accent));
    border-radius: 50px;
    transition: width 0.6s ease;
}

/* ===== Buttons ===== */
.btn-primary,
.btn[style*="gbc-primary"] {
    transition: opacity 0.2s, transform 0.1s;
}
.btn:active {
    transform: scale(0.98);
}

/* ===== Footer ===== */
.site-footer {
    background: var(--gbc-secondary, #1D3557);
    color: rgba(255,255,255,.65);
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gbc-primary), var(--gbc-accent), var(--gbc-primary));
}
.footer-main {
    padding: 3.5rem 0 2.5rem;
}

/* Footer Logo */
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: opacity .2s;
}
.footer-logo:hover { opacity: .85; color: #fff; }
.footer-logo i { color: var(--gbc-accent); font-size: 1.35rem; }
.footer-logo span { color: var(--gbc-primary); }

/* Footer Headings */
.footer-heading {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: .65rem;
    position: relative;
    letter-spacing: .02em;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: var(--gbc-accent);
    border-radius: 2px;
}

/* Footer Text */
.footer-text {
    font-size: .88rem;
    line-height: 1.65;
    color: rgba(255,255,255,.55);
    margin-bottom: .75rem;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: .6rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}
.footer-social-link {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.7);
    font-size: .95rem;
    text-decoration: none;
    transition: all .25s;
    border: 1px solid rgba(255,255,255,.08);
}
.footer-social-link:hover {
    background: var(--gbc-primary);
    color: #fff;
    border-color: var(--gbc-primary);
    transform: translateY(-2px);
}

/* Footer Quick Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-link-item {
    margin-bottom: .1rem;
}
.footer-link-item a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem 0;
    font-size: .88rem;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: all .2s;
    position: relative;
}
.footer-link-item a i {
    color: var(--gbc-accent);
    font-size: .65rem;
    transition: transform .2s;
}
.footer-link-item a:hover {
    color: #fff;
    padding-left: .35rem;
}
.footer-link-item a:hover i {
    transform: translateX(3px);
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: 1rem;
    font-size: .88rem;
    line-height: 1.5;
}
.footer-contact-item a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .2s;
}
.footer-contact-item a:hover { color: #fff; }
.footer-contact-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(244,162,97,.12);
    color: var(--gbc-accent);
    font-size: .82rem;
    flex-shrink: 0;
    margin-top: .05rem;
}

/* Footer Newsletter */
.footer-newsletter {
    margin-top: .75rem;
}
.footer-newsletter-group {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    transition: border-color .2s;
}
.footer-newsletter-group:focus-within {
    border-color: var(--gbc-accent);
    background: rgba(255,255,255,.1);
}
.footer-newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: .65rem .85rem;
    color: #fff;
    font-size: .88rem;
    outline: none;
    min-width: 0;
}
.footer-newsletter-input::placeholder {
    color: rgba(255,255,255,.35);
}
.footer-newsletter-btn {
    background: var(--gbc-primary);
    color: #fff;
    border: none;
    padding: .65rem 1rem;
    font-size: .92rem;
    cursor: pointer;
    transition: background .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
}
.footer-newsletter-btn:hover {
    background: #c42d39;
}
.footer-newsletter-msg {
    min-height: 1.3em;
    font-size: .8rem;
    margin-top: .35rem;
}

/* Footer Payment Methods */
.footer-payments {
    margin-top: 1.5rem;
}
.footer-payments-heading {
    color: rgba(255,255,255,.7);
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: .65rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.footer-payments-heading i {
    color: var(--gbc-accent);
    font-size: .85rem;
}
.footer-payments-list {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}
.footer-payment-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .35rem .7rem;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 6px;
    color: rgba(255,255,255,.75);
    font-size: .78rem;
    font-weight: 500;
    transition: background .2s;
}
.footer-payment-badge:hover {
    background: rgba(255,255,255,.13);
}
.footer-payment-badge i {
    color: #34d399;
    font-size: .7rem;
}

/* Footer Bottom / Copyright Bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1.1rem 0;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
}
.footer-copyright {
    font-size: .82rem;
    color: rgba(255,255,255,.45);
}
.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}
.footer-bottom-link {
    font-size: .82rem;
    color: rgba(255,255,255,.45);
    text-decoration: none;
    padding: .2rem .65rem;
    border-right: 1px solid rgba(255,255,255,.12);
    transition: color .2s;
}
.footer-bottom-link:last-child { border-right: none; }
.footer-bottom-link:first-child { padding-left: 0; }
.footer-bottom-link:hover { color: #fff; }

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #adb5bd;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6c757d;
}

/* ===== Responsive ===== */
@media (max-width: 767.98px) {
    .deal-card .card-img-top {
        height: 160px;
    }
    .display-4 {
        font-size: 2rem;
    }
    .display-5 {
        font-size: 1.75rem;
    }
    .display-6 {
        font-size: 1.5rem;
    }
}

/* ===== Dashboard ===== */
.dashboard-shell {
    min-height: 80vh;
    background-color: var(--gbc-background);
}

.dashboard-mobile-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.dashboard-mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(29, 53, 87, 0.12);
    background: #fff;
    color: var(--gbc-secondary);
    border-radius: 999px;
    padding: 0.75rem 1rem;
    font-weight: 600;
    box-shadow: 0 8px 24px -22px rgba(29, 53, 87, 0.55);
}

.dashboard-mobile-menu-btn:hover,
.dashboard-mobile-menu-btn:focus {
    color: var(--gbc-primary);
    border-color: rgba(230, 57, 70, 0.2);
    background: rgba(230, 57, 70, 0.04);
}

.dashboard-sidebar-card {
    border-radius: 1rem;
    overflow: hidden;
}

.dashboard-offcanvas {
    width: min(88vw, 340px);
}

.dashboard-offcanvas .offcanvas-header {
    border-bottom: 1px solid rgba(29, 53, 87, 0.08);
}

.dashboard-breadcrumb {
    margin-bottom: 1rem;
}

.dashboard-breadcrumb .breadcrumb {
    margin-bottom: 0;
}

.dashboard-breadcrumb .breadcrumb-item,
.dashboard-breadcrumb .breadcrumb-item.active,
.dashboard-breadcrumb .breadcrumb-item a {
    font-size: 0.88rem;
    color: #64748b;
    text-decoration: none;
}

.dashboard-breadcrumb .breadcrumb-item a:hover {
    color: var(--gbc-primary);
}

.dashboard-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dashboard-page-title {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--gbc-secondary);
}

.dashboard-page-subtitle {
    margin: 0.3rem 0 0;
    color: var(--gbc-text-muted);
}

.dashboard-stat-card {
    border-radius: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 32px -28px rgba(29, 53, 87, 0.55);
}

.dashboard-table th {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.dashboard-table td {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

.dashboard-mobile-card {
    border: 1px solid rgba(29, 53, 87, 0.08);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 14px 28px -26px rgba(29, 53, 87, 0.55);
}

.dashboard-mobile-card + .dashboard-mobile-card {
    margin-top: 0.9rem;
}

.dashboard-mobile-card .status-badge,
.dashboard-mobile-card .badge {
    align-self: flex-start;
}

/* --- Order Status Tabs (Frontend) --- */
.order-status-tabs {
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
    border-bottom: 2px solid rgba(29,53,87,0.08);
    padding-bottom: 0;
    margin-bottom: 0;
}
.order-status-tab {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    font-size: .82rem;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
    white-space: nowrap;
}
.order-status-tab:hover {
    color: #1e293b;
    background: rgba(0,0,0,.02);
    border-radius: 8px 8px 0 0;
}
.order-status-tab.active {
    color: var(--gbc-primary, #E63946);
    border-bottom-color: var(--gbc-primary, #E63946);
    font-weight: 600;
}
.order-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    font-size: .68rem;
    font-weight: 700;
    background: rgba(29,53,87,0.08);
    color: #64748b;
}
.order-status-tab.active .order-tab-count {
    background: rgba(230,57,70,0.12);
    color: var(--gbc-primary, #E63946);
}
@media (max-width: 575.98px) {
    .order-status-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .order-status-tabs::-webkit-scrollbar { display: none; }
    .order-status-tab { padding: 8px 10px; font-size: .76rem; gap: 4px; }
    .order-tab-count { min-width: 17px; height: 16px; font-size: .62rem; padding: 0 4px; }
}

/* Action-needed highlight for orders requiring user attention */
.order-row-action { background: rgba(230,57,70,0.04); }
.order-row-action:hover { background: rgba(230,57,70,0.08) !important; }
.order-card-action { border-left: 3px solid var(--gbc-primary, #E63946); }

.dashboard-empty-state {
    padding: 3rem 1.5rem;
    text-align: center;
}

.dashboard-empty-state-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(244, 162, 97, 0.18), rgba(42, 157, 143, 0.14));
    color: var(--gbc-primary);
    font-size: 2rem;
}

.dashboard-empty-state h5 {
    margin-bottom: 0.5rem;
    color: var(--gbc-secondary);
}

.dashboard-empty-state p {
    max-width: 34rem;
    margin: 0 auto 1rem;
    color: var(--gbc-text-muted);
}

.dashboard-cta-card {
    border: 1px solid rgba(244, 162, 97, 0.35);
    background: linear-gradient(180deg, rgba(244, 162, 97, 0.14), rgba(255, 255, 255, 0.96));
}

.dashboard-cta-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
}

.dashboard-cta-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(244, 162, 97, 0.18);
    color: #b45309;
    font-size: 1.5rem;
}

.dashboard-form-panel .form-control,
.dashboard-form-panel .form-select,
.dashboard-form-panel textarea {
    border-radius: 0.85rem;
    min-height: 48px;
}

.dashboard-form-panel textarea {
    min-height: 110px;
}

.dashboard-form-panel .form-control:focus,
.dashboard-form-panel .form-select:focus,
.dashboard-form-panel textarea:focus {
    border-color: rgba(244, 162, 97, 0.6);
    box-shadow: 0 0 0 0.25rem rgba(244, 162, 97, 0.16);
}

.dashboard-form-panel .valid-feedback,
.dashboard-form-panel .invalid-feedback {
    font-size: 0.82rem;
}

.dashboard-support-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.avatar-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gbc-primary), var(--gbc-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
}
.dashboard-nav .nav-link {
    color: var(--gbc-text);
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.925rem;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}
.dashboard-nav .nav-link:hover {
    background-color: rgba(230, 57, 70, 0.08);
    color: var(--gbc-primary);
}
.dashboard-nav .nav-link.active {
    background-color: var(--gbc-primary);
    color: #fff;
    font-weight: 600;
}
.dashboard-nav .nav-link.active i {
    color: #fff;
}
.dashboard-content .card {
    border: 0;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
}
.dashboard-content .card-header {
    background: #fff;
    border-bottom: 2px solid var(--gbc-primary);
    font-weight: 600;
}

/* ===== Dashboard — Global Responsive ===== */

/* -- Page header layout -- */
.dashboard-page-header {
    flex-wrap: wrap;
}

/* -- Cards border-radius consistency -- */
.dashboard-content .card {
    border-radius: 1rem;
    overflow: hidden;
}
.dashboard-content .card-header {
    border-radius: 0;
}

/* -- Notification items -- */
.notification-icon {
    flex-shrink: 0;
    min-width: 40px;
    text-align: center;
}

/* -- Stat card icon utility classes -- */
.stat-icon-primary { color: var(--gbc-primary); }
.stat-icon-secondary { color: var(--gbc-secondary); }
.stat-icon-accent { color: var(--gbc-accent); }
.stat-icon-success { color: #198754; }
.text-purple { color: #6f42c1; }

/* -- Hover lift effect (Quick Actions etc.) -- */
.hover-lift { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.hover-lift:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.1); }

/* -- Quick Actions Grid -- */
.qa-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .65rem;
}
.qa-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .55rem;
    padding: .85rem .5rem;
    border-radius: 12px;
    text-decoration: none;
    background: #f8f9fb;
    border: 1px solid rgba(29,53,87,.06);
    transition: all .22s ease;
    text-align: center;
    min-height: 0;
}
.qa-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(29,53,87,.1);
    border-color: rgba(29,53,87,.12);
    background: #fff;
}
.qa-item:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(29,53,87,.08);
}
.qa-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: transform .2s;
}
.qa-item:hover .qa-icon {
    transform: scale(1.08);
}
.qa-label {
    font-size: .78rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.25;
}

/* Icon color variants */
.qa-icon-primary   { background: rgba(230,57,70,.1);  color: var(--gbc-primary); }
.qa-icon-secondary { background: rgba(29,53,87,.08);  color: var(--gbc-secondary); }
.qa-icon-accent    { background: rgba(244,162,97,.12); color: #b45309; }
.qa-icon-blue      { background: rgba(13,110,253,.08); color: #0d6efd; }
.qa-icon-orange    { background: rgba(253,126,20,.1);  color: #d97706; }
.qa-icon-success   { background: rgba(25,135,84,.08);  color: #198754; }
.qa-icon-purple    { background: rgba(111,66,193,.08); color: #6f42c1; }

/* QA responsive: tablet — 3 cols, wider items */
@media (min-width: 768px) {
    .qa-grid { grid-template-columns: repeat(3, 1fr); gap: .85rem; }
    .qa-item { padding: 1rem .75rem; border-radius: 14px; }
    .qa-icon { width: 50px; height: 50px; font-size: 1.25rem; border-radius: 15px; }
    .qa-label { font-size: .82rem; }
}
/* QA responsive: desktop ≥ 1200px — 4 cols */
@media (min-width: 1200px) {
    .qa-grid { grid-template-columns: repeat(4, 1fr); }
}
/* QA responsive: small mobile ≤ 374px — 2 cols */
@media (max-width: 374px) {
    .qa-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
    .qa-item { padding: .65rem .35rem; gap: .4rem; }
    .qa-icon { width: 38px; height: 38px; font-size: 1rem; border-radius: 11px; }
    .qa-label { font-size: .7rem; }
}

/* -- Inline text truncation utility -- */
.truncate-line {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* -- Notification unread styling -- */
.notification-unread {
    background-color: rgba(230, 57, 70, 0.05);
    border-left: 3px solid var(--gbc-primary) !important;
}

/* -- Sticky table header -- */
.dashboard-table thead.table-light th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f8f9fa;
}

/* -- Primary action button utility -- */
.btn-gbc-primary {
    background-color: var(--gbc-primary);
    color: #fff;
    border: none;
}
.btn-gbc-primary:hover {
    background-color: #cf2f3c;
    color: #fff;
}
.btn-gbc-secondary {
    background-color: var(--gbc-secondary);
    color: #fff;
    border: none;
}
.btn-gbc-secondary:hover {
    background-color: #162b47;
    color: #fff;
}

/* -- Price color utility -- */
.text-gbc-primary { color: var(--gbc-primary); }
.bg-gbc-secondary { background-color: var(--gbc-secondary); color: #fff; }

/* -- Sidebar section label -- */
.dashboard-nav .nav-section-label,
.nav-section-label {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94a3b8;
    padding: 0.25rem 1rem;
    margin: 0;
}

/* -- Sidebar avatar -- */
.sidebar-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* -- Tablet (768–991px) -- */
@media (min-width: 768px) and (max-width: 991.98px) {
    .dashboard-page-title { font-size: 1.35rem; }
    .dashboard-page-subtitle { font-size: .85rem; }
    .dashboard-stat-card { padding: .75rem !important; }
    .dashboard-stat-card h3 { font-size: 1.4rem; }
    .dashboard-stat-card .fs-2 { font-size: 1.5rem !important; }
    .dashboard-table th { font-size: .72rem; }
    .dashboard-table td { font-size: .84rem; padding-top: .7rem; padding-bottom: .7rem; }
    .dashboard-empty-state { padding: 2rem 1rem; }
    .dashboard-empty-state-icon { width: 60px; height: 60px; font-size: 1.6rem; }
}

/* -- Mobile (< 768px) -- */
@media (max-width: 767.98px) {
    .dashboard-shell { padding-top: .5rem !important; padding-bottom: .5rem !important; }
    .dashboard-shell > .container { padding-left: 12px; padding-right: 12px; }
    .dashboard-breadcrumb { margin-bottom: .6rem; }
    .dashboard-breadcrumb .breadcrumb-item,
    .dashboard-breadcrumb .breadcrumb-item a { font-size: .8rem; }
    .dashboard-page-header { gap: .65rem; margin-bottom: 1rem; }
    .dashboard-page-title { font-size: 1.15rem; }
    .dashboard-page-subtitle { font-size: .8rem; margin-top: .15rem; }
    .dashboard-support-actions { gap: .5rem; }
    .dashboard-support-actions .btn { font-size: .78rem; padding: .4rem .65rem; }

    /* Stat cards */
    .dashboard-stat-card { padding: .65rem !important; border-radius: .75rem; }
    .dashboard-stat-card h3 { font-size: 1.25rem; margin-bottom: .15rem !important; }
    .dashboard-stat-card .fs-2 { font-size: 1.3rem !important; }
    .dashboard-stat-card small { font-size: .72rem; }

    /* Cards global */
    .dashboard-content .card { border-radius: .85rem; }
    .dashboard-content .card-header { font-size: .84rem; padding: .65rem .85rem; }
    .dashboard-content .card-body { padding: .85rem; }

    /* Empty state */
    .dashboard-empty-state { padding: 1.5rem 1rem; }
    .dashboard-empty-state-icon { width: 56px; height: 56px; font-size: 1.4rem; margin-bottom: .65rem; }
    .dashboard-empty-state h5 { font-size: 1rem; }
    .dashboard-empty-state p { font-size: .82rem; }

    /* Form panel */
    .dashboard-form-panel .form-control,
    .dashboard-form-panel .form-select,
    .dashboard-form-panel textarea { min-height: 42px; font-size: .86rem; border-radius: .65rem; }
    .dashboard-form-panel .form-label { font-size: .84rem; }
    .dashboard-form-panel .form-text { font-size: .74rem; }

    /* CTA card */
    .dashboard-cta-card .card-body { padding: .85rem !important; }
    .dashboard-cta-icon { width: 40px; height: 40px; font-size: 1.1rem; border-radius: 10px; }

    /* Tables */
    .dashboard-table th { font-size: .68rem; padding: .45rem .5rem; }
    .dashboard-table td { font-size: .82rem; padding: .55rem .5rem; }

    /* Mobile cards */
    .dashboard-mobile-card { border-radius: .85rem; padding: .85rem !important; }
    .dashboard-mobile-card h6 { font-size: .88rem; }
    .dashboard-mobile-card .small { font-size: .78rem; }
    .dashboard-mobile-card .btn-sm { font-size: .74rem; padding: .3rem .55rem; }

    /* Notifications list */
    .list-group-item .d-flex.align-items-start { gap: .5rem; }
    .notification-icon { margin-right: .35rem !important; }
    .notification-icon .fs-4 { font-size: 1.1rem !important; }
    .list-group-item h6 { font-size: .86rem; }
    .list-group-item p.small { font-size: .78rem; }
    .list-group-item .btn-sm { font-size: .7rem; padding: .25rem .45rem; }

    /* Profile avatar */
    #avatarPreview { width: 80px !important; height: 80px !important; }
    .avatar-circle { width: 52px; height: 52px; }

    /* Address cards */
    .dashboard-content .col-md-6 .card .card-body { padding: .75rem; }
    .dashboard-content .col-md-6 .card h6 { font-size: .88rem; }
    .dashboard-content .btn-group-sm .btn { font-size: .7rem; padding: .28rem .45rem; }

    /* Sidebar (desktop hidden < lg, this is for offcanvas) */
    .dashboard-sidebar-card .card-body { padding: .65rem !important; }
    .dashboard-nav .nav-link { font-size: .86rem; padding: .5rem .75rem; }
    .dashboard-sidebar .avatar-circle { width: 48px; height: 48px; }

    /* Truncation */
    .truncate-line { max-width: 160px; }
}

/* -- Small phones (< 576px) -- */
@media (max-width: 575.98px) {
    .dashboard-shell > .container { padding-left: 10px; padding-right: 10px; }
    .dashboard-page-title { font-size: 1.05rem; }
    .dashboard-page-subtitle { font-size: .75rem; }
    .dashboard-support-actions .btn { font-size: .72rem; padding: .35rem .55rem; }
    .dashboard-stat-card { padding: .5rem !important; }
    .dashboard-stat-card h3 { font-size: 1.1rem; }
    .dashboard-stat-card .fs-2 { font-size: 1.15rem !important; }
    .dashboard-stat-card small { font-size: .68rem; }
    .dashboard-content .card-header { font-size: .78rem; padding: .55rem .7rem; }
    .dashboard-content .card-body { padding: .65rem; }
    .dashboard-mobile-card { padding: .7rem !important; border-radius: .75rem; }
    .dashboard-mobile-card .btn-sm { font-size: .68rem; padding: .25rem .45rem; }
    .list-group-item .d-flex.flex-wrap.gap-2.mt-2 { gap: .35rem !important; }
    .list-group-item .btn-sm { font-size: .66rem; padding: .22rem .4rem; }
    .dashboard-form-panel .form-control,
    .dashboard-form-panel .form-select { min-height: 38px; font-size: .82rem; }
    .dashboard-empty-state { padding: 1.25rem .75rem; }
    .dashboard-empty-state-icon { width: 48px; height: 48px; font-size: 1.2rem; }
    .dashboard-empty-state h5 { font-size: .92rem; }
    .dashboard-empty-state p { font-size: .78rem; }
    .truncate-line { max-width: 140px; }

    /* Pagination */
    .pagination-sm .page-link { font-size: .7rem; padding: .25rem .5rem; }
}
/* ===== END Dashboard Responsive ===== */

/* ===== Order Detail Page ===== */

/* ─── Tab Navigation ─── */
.od-tabs-wrap {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    padding: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.od-tabs-wrap::-webkit-scrollbar { display: none; }
.od-nav-tabs {
    display: flex;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: nowrap;
    min-width: max-content;
    border: none;
}
.od-nav-tabs .nav-item { flex-shrink: 0; }
.od-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    transition: all .25s;
    position: relative;
    cursor: pointer;
}
.od-tab:hover {
    background: rgba(29,53,87,.05);
    color: #1e293b;
}
.od-tab:focus-visible {
    outline: 2px solid var(--gbc-primary);
    outline-offset: 2px;
}
.od-tab.active {
    background: var(--gbc-primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(230,57,70,.25);
}
.od-tab i { font-size: 1rem; }
.od-tab-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.od-tab-badge {
    font-size: .6rem; font-weight: 700;
    background: var(--gbc-primary); color: #fff;
    padding: 1px 6px; border-radius: 99px; line-height: 1.4;
}
.od-tab.active .od-tab-badge {
    background: rgba(255,255,255,.25); color: #fff;
}
.od-tab.active .od-tab-dot { background-color: #fff !important; }
#orderDetailTabContent > .tab-pane { padding-top: 0; }
.od-tab-action {
    padding: .85rem 1rem;
    border-radius: 10px;
    background: rgba(230,57,70,.04);
    border: 1px dashed rgba(230,57,70,.2);
}

/* Summary card accent borders */
.od-summary-card { border-left: 4px solid transparent; overflow: hidden; }
.od-accent-warning  { border-left-color: #ffc107; }
.od-accent-info     { border-left-color: #0dcaf0; }
.od-accent-success  { border-left-color: #198754; }
.od-accent-danger   { border-left-color: #dc3545; }
.od-accent-primary  { border-left-color: #0d6efd; }
.od-accent-secondary { border-left-color: #6c757d; }

.od-order-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, rgba(230,57,70,.1), rgba(29,53,87,.08));
    display: flex; align-items: center; justify-content: center;
    color: var(--gbc-primary); font-size: 1.2rem; flex-shrink: 0;
}
.od-stat {
    display: flex; align-items: flex-start; gap: .65rem;
    padding: .65rem .75rem; border-radius: 10px;
    background: rgba(29,53,87,.02); border: 1px solid rgba(29,53,87,.05);
    height: 100%; transition: background .2s;
}
.od-stat:hover { background: rgba(29,53,87,.04); }
.od-stat-icon {
    width: 32px; height: 32px; border-radius: 8px;
    background: rgba(29,53,87,.06); color: #64748b;
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem; flex-shrink: 0;
}

/* ─── Horizontal Timeline ─── */
.od-timeline { position: relative; padding: 0 10px; }
.od-timeline-track {
    position: absolute; top: 23px; left: 40px; right: 40px;
    height: 4px; background: #e9ecef; border-radius: 2px; z-index: 0;
}
.od-timeline-fill {
    height: 100%; border-radius: 2px;
    background: linear-gradient(90deg, var(--gbc-primary), #e85d04);
    transition: width .6s ease;
}
.od-timeline-steps {
    display: flex; justify-content: space-between; position: relative; z-index: 1;
}
.od-step {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    flex: 1; text-align: center;
}
.od-step-icon {
    width: 48px; height: 48px; border-radius: 50%;
    background: #e9ecef; color: #94a3b8;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; transition: all .3s; position: relative;
    border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.od-step.is-done .od-step-icon {
    background: var(--gbc-primary); color: #fff;
}
.od-step.is-current .od-step-icon {
    background: var(--gbc-primary); color: #fff;
    box-shadow: 0 0 0 5px rgba(230,57,70,.2);
    animation: odPulse 2s ease-in-out infinite;
}
.od-step.is-upcoming .od-step-icon {
    background: #f1f5f9; color: #cbd5e1;
}
.od-step-label {
    font-size: .76rem; font-weight: 600; color: #64748b;
}
.od-step.is-done .od-step-label,
.od-step.is-current .od-step-label { color: #1e293b; }
.od-step.is-upcoming .od-step-label { color: #94a3b8; }
.od-step-badge {
    font-size: .55rem; font-weight: 700; text-transform: uppercase;
    padding: 2px 8px; border-radius: 99px; letter-spacing: .04em;
    background: rgba(230,57,70,.1); color: var(--gbc-primary);
}
.od-step-sub { font-size: .65rem; color: #64748b; }

@keyframes odPulse {
    0%, 100% { box-shadow: 0 0 0 5px rgba(230,57,70,.2); }
    50% { box-shadow: 0 0 0 10px rgba(230,57,70,.05); }
}

/* ─── Vertical Timeline (Mobile) ─── */
.od-timeline-v { padding-left: 4px; }
.od-v-step {
    display: flex; gap: 14px; min-height: 56px;
}
.od-v-line-wrap {
    display: flex; flex-direction: column; align-items: center; flex-shrink: 0;
}
.od-v-icon {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem; flex-shrink: 0; transition: all .3s;
    background: #e9ecef; color: #94a3b8;
    border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
.od-v-step.is-done .od-v-icon { background: var(--gbc-primary); color: #fff; }
.od-v-step.is-current .od-v-icon {
    background: var(--gbc-primary); color: #fff;
    box-shadow: 0 0 0 4px rgba(230,57,70,.18);
    animation: odPulse 2s ease-in-out infinite;
}
.od-v-connector {
    width: 2px; flex: 1; min-height: 16px; margin: 4px 0;
    background: #e9ecef; border-radius: 1px;
}
.od-v-connector.is-done { background: var(--gbc-primary); }
.od-v-content {
    padding-bottom: 12px; display: flex; flex-wrap: wrap;
    align-items: center; gap: 6px; padding-top: 6px;
}
.od-v-label {
    font-size: .82rem; color: #64748b;
}
.od-v-step.is-done .od-v-label,
.od-v-step.is-current .od-v-label { color: #1e293b; }

/* ─── Payment Method Cards ─── */
.od-pay-method {
    display: flex; align-items: center; gap: .75rem;
    padding: .65rem .85rem; border-radius: 10px;
    border: 1px solid rgba(29,53,87,.08);
    background: #fff; transition: all .2s;
}
.od-pay-method:hover {
    border-color: rgba(230,57,70,.2);
    box-shadow: 0 2px 8px rgba(230,57,70,.06);
}
.od-pay-method-icon {
    width: 38px; height: 38px; border-radius: 10px;
    background: linear-gradient(135deg, rgba(230,57,70,.08), rgba(29,53,87,.06));
    display: flex; align-items: center; justify-content: center;
    color: var(--gbc-primary); font-size: 1rem; flex-shrink: 0;
}
.od-pay-method-info { flex: 1; min-width: 0; }
.od-pay-method-info strong {
    font-size: .82rem; display: block; line-height: 1.3;
}
.od-pay-method-num {
    font-size: .78rem; color: #475569; font-family: 'SFMono-Regular', monospace;
    display: block; letter-spacing: .02em;
}
.od-pay-copy {
    width: 32px; height: 32px; border-radius: 8px; border: 1px solid #e2e8f0;
    background: #fff; color: #64748b; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: .8rem; transition: all .2s; flex-shrink: 0;
}
.od-pay-copy:hover { background: #f1f5f9; border-color: #cbd5e1; color: var(--gbc-primary); }
.od-pay-copy.copied { background: #dcfce7; border-color: #86efac; color: #16a34a; }

/* ─── Address Card ─── */
.od-address-card {
    display: flex; align-items: flex-start; gap: .85rem;
    padding: .75rem; border-radius: 10px;
    background: rgba(29,53,87,.02); border: 1px solid rgba(29,53,87,.05);
}
.od-address-icon {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(13,110,253,.08); color: #0d6efd;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; flex-shrink: 0;
}

/* ─── Drag & Drop Zone ─── */
.od-dropzone {
    position: relative; border: 2px dashed #d1d5db; border-radius: 12px;
    background: #fafbfc; padding: 1.5rem; text-align: center;
    transition: all .25s; cursor: pointer; min-height: 120px;
    display: flex; align-items: center; justify-content: center;
}
.od-dropzone:hover, .od-dropzone.is-dragover {
    border-color: var(--gbc-primary); background: rgba(230,57,70,.03);
}
.od-dropzone-input {
    position: absolute; inset: 0; width: 100%; height: 100%;
    opacity: 0; cursor: pointer; z-index: 2;
}
.od-dropzone-content {
    pointer-events: none; color: #64748b;
}
.od-dropzone-content i {
    font-size: 2rem; color: #94a3b8; display: block; margin-bottom: 4px;
}
.od-dropzone-content p { font-size: .85rem; margin-bottom: 0; }
.od-dropzone-content span { font-size: .8rem; }
.od-dropzone-content small { font-size: .72rem; }

.od-dropzone-preview {
    display: flex; align-items: center; gap: .85rem;
    width: 100%; text-align: left; pointer-events: none; position: relative; z-index: 1;
}
.od-dropzone-thumb {
    width: 64px; height: 64px; border-radius: 8px;
    object-fit: cover; border: 1px solid #e2e8f0; flex-shrink: 0;
}
.od-dropzone-pdf-icon {
    font-size: 2.5rem; color: #dc3545; flex-shrink: 0;
}
.od-dropzone-remove {
    position: absolute; top: -8px; right: -8px; z-index: 3;
    width: 26px; height: 26px; border-radius: 50%; border: 1px solid #e2e8f0;
    background: #fff; color: #64748b; cursor: pointer; pointer-events: auto;
    display: flex; align-items: center; justify-content: center;
    font-size: .65rem; transition: all .2s;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.od-dropzone-remove:hover { background: #fef2f2; color: #dc3545; border-color: #fca5a5; }

/* ─── Review Section ─── */
.od-review-display { padding: .5rem 0; }
.od-review-comment {
    padding: .75rem 1rem; border-radius: 10px;
    background: #f8f9fa; border-left: 3px solid #ffc107;
}
.od-review-emoji {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(230,57,70,.08); color: var(--gbc-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
}
.od-star-group {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.od-star-label {
    font-size: .82rem; color: #64748b; font-weight: 500;
    transition: color .2s;
}
.star-rating-star:hover,
.star-rating-star.active { color: #ffc107 !important; }
.star-rating-star.hovered { color: #ffc107 !important; }
.star-rating-star { transition: transform .15s, color .15s; }
.star-rating-star:hover { transform: scale(1.15); }

/* ─── Order Detail Responsive ─── */
@media (max-width: 767.98px) {
    .od-tabs-wrap { padding: 4px; border-radius: 10px; }
    .od-tab { padding: 9px 12px; font-size: .76rem; gap: 5px; }
    .od-tab i { font-size: .9rem; }
    .od-tab span:not(.od-tab-dot):not(.od-tab-badge) { display: none; }
    .od-tab i + .od-tab-dot,
    .od-tab i + .od-tab-badge { margin-left: -2px; }
    .od-summary-card .card-body { padding: .85rem !important; }
    .od-summary-card .od-stat { padding: .45rem .55rem; gap: .45rem; }
    .od-summary-card .od-stat-icon { width: 26px; height: 26px; font-size: .72rem; border-radius: 6px; }
    .od-summary-card .od-stat strong { font-size: .78rem; }
    .od-summary-card .od-stat small { font-size: .68rem; }
    .od-summary-card .fs-5 { font-size: .95rem !important; }
    .od-summary-card .od-order-icon { width: 36px; height: 36px; font-size: 1rem; border-radius: 10px; }
    .od-summary-card h4 { font-size: 1rem; }
    .od-pay-method { padding: .55rem .65rem; }
    .od-pay-method-icon { width: 32px; height: 32px; font-size: .85rem; }
    .od-pay-method-info strong { font-size: .78rem; }
    .od-pay-method-num { font-size: .74rem; }
    .od-pay-copy { width: 28px; height: 28px; font-size: .72rem; }
    .od-address-card { padding: .6rem; gap: .65rem; }
    .od-address-icon { width: 32px; height: 32px; font-size: .85rem; }
    .od-dropzone { padding: 1rem; min-height: 100px; }
    .od-dropzone-content i { font-size: 1.5rem; }
    .od-dropzone-content p { font-size: .78rem; }
    .od-dropzone-thumb { width: 48px; height: 48px; }
    .od-tab-action { padding: .65rem .75rem; }
    .od-tab-action .small, .od-tab-action small { font-size: .74rem !important; }
    .od-review-emoji { width: 34px; height: 34px; font-size: .95rem; }
    .star-rating-star { font-size: 1.5rem !important; }
    .od-review-comment { padding: .6rem .8rem; }
    .dashboard-cta-header { gap: .65rem !important; }
    .dashboard-cta-icon { width: 40px; height: 40px; font-size: 1rem; flex-shrink: 0; }
    .dashboard-cta-header h2 { font-size: 1rem !important; }
    .dashboard-cta-header p { font-size: .78rem !important; }
    #pane-history .card-body.p-0 .table th,
    #pane-history .card-body.p-0 .table td { font-size: .74rem; padding: .45rem .55rem; }
}
@media (max-width: 575.98px) {
    .od-tab { padding: 8px 10px; font-size: .74rem; gap: 3px; }
    .od-tab i { font-size: .84rem; }
    .od-summary-card .row.g-3 { --bs-gutter-y: .5rem; --bs-gutter-x: .5rem; }
    .od-summary-card .od-stat { padding: .35rem .45rem; gap: .35rem; border-radius: 8px; }
    .od-summary-card .od-stat-icon { width: 22px; height: 22px; font-size: .65rem; }
    .od-summary-card .od-stat strong { font-size: .74rem; }
    .od-dropzone { padding: .75rem; min-height: 85px; border-radius: 10px; }
    .od-dropzone-content i { font-size: 1.2rem; margin-bottom: 2px; }
    .od-dropzone-content p { font-size: .74rem; }
    .od-dropzone-content span { font-size: .7rem; }
    .od-dropzone-content small { font-size: .65rem; }
    .star-rating-star { font-size: 1.3rem !important; }
    .od-star-label { font-size: .74rem; }
}
/* ===== END Order Detail Page ===== */

/* ===== Status Badges ===== */
.badge-pending { background-color: #ffc107; color: #333; }
.badge-payment_submitted { background-color: #17a2b8; color: #fff; }
.badge-payment_verified { background-color: #20c997; color: #fff; }
.badge-payment_rejected { background-color: #dc3545; color: #fff; }
.badge-confirmed { background-color: #0d6efd; color: #fff; }
.badge-processing { background-color: #6f42c1; color: #fff; }
.badge-shipped { background-color: #0dcaf0; color: #333; }
.badge-delivered { background-color: #198754; color: #fff; }
.badge-cancelled { background-color: #6c757d; color: #fff; }
.badge-active { background-color: #198754; color: #fff; }
.badge-blocked { background-color: #dc3545; color: #fff; }
.badge-draft { background-color: #adb5bd; color: #333; }
.badge-completed { background-color: #198754; color: #fff; }
.badge-failed { background-color: #dc3545; color: #fff; }
.badge-closed { background-color: #6c757d; color: #fff; }
.badge-approved { background-color: #198754; color: #fff; }
.badge-rejected { background-color: #dc3545; color: #fff; }

/* ===== Auth Pages ===== */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gbc-bg-light);
}
.auth-card {
    width: 100%;
    max-width: 460px;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 2rem rgba(0,0,0,0.08);
}
.auth-card .card-header {
    background: linear-gradient(135deg, var(--gbc-primary), var(--gbc-secondary));
    color: #fff;
    text-align: center;
    border-radius: 1rem 1rem 0 0 !important;
    padding: 1.5rem;
}
.auth-card .card-header h4 {
    color: #fff;
    margin: 0;
}

/* ===== Scroll to Top Button ===== */
#scrollTopBtn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--gbc-primary);
    color: #fff;
    border: none;
    font-size: 1.2rem;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 1050;
    transition: opacity 0.3s;
}
#scrollTopBtn:hover {
    opacity: 0.85;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 2.5rem 0;
    }

    .dashboard-page-header {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-nav {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .auth-card {
        margin: 1rem;
        max-width: 100%;
    }

    .dashboard-empty-state {
        padding: 2.4rem 1rem;
    }

    .dashboard-mobile-menu-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== Login page Design ===== */
 
    /* Login card styles */
    .gbc-login-section {
        min-height: 70vh;
        display: flex;
        align-items: center;
        padding: 2rem 0;
    }
    .gbc-login-card {
        border: 1px solid rgba(0,0,0,0.05);
        border-radius: 2rem;
        background-color: white;
        transition: transform 0.2s ease;
    }
    .gbc-login-card:hover {
        transform: translateY(-2px);
    }
    .gbc-icon-circle {
        width: 80px;
        height: 80px;
        background: linear-gradient(145deg, var(--gbc-primary), #ff8a8a);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
    }
    .gbc-icon-circle i {
        font-size: 2.5rem;
        color: white;
    }
    h3 {
        font-weight: 700;
        background: linear-gradient(135deg, var(--gbc-secondary), #2a4b8a);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .gbc-input-group {
        border: 2px solid #eef2f6;
        border-radius: 60px;
        background-color: white;
        transition: border-color 0.2s;
        display: flex;
        align-items: stretch;
    }
    .gbc-input-group:focus-within {
        border-color: var(--gbc-primary);
    }
    .gbc-input-group .input-group-text {
        background: transparent;
        border: none;
        color: var(--gbc-primary);
        font-size: 1.2rem;
        padding-left: 1.5rem;
        display: flex;
        align-items: center;
    }
    .gbc-input-group .form-control {
        border: none;
        background: transparent;
        padding: 0.75rem 0.75rem 0.75rem 0;
        font-size: 1rem;
        flex: 1;
    }
    .gbc-input-group .form-control:focus {
        outline: none;
        box-shadow: none;
    }
    .gbc-password-toggle {
        background: transparent;
        border: none;
        color: #6c757d;
        padding-right: 1.2rem;
        font-size: 1.1rem;
        cursor: pointer;
    }
    .gbc-password-toggle:hover {
        color: var(--gbc-primary);
    }
    .gbc-btn-login {
        background: linear-gradient(145deg, var(--gbc-primary), #ff6b6b);
        border: none;
        border-radius: 60px;
        padding: 14px 20px;
        font-weight: 600;
        letter-spacing: 0.3px;
        transition: opacity 0.2s;
        width: 100%;
        color: white;
    }
    .gbc-btn-login:hover {
        opacity: 0.9;
        background: linear-gradient(145deg, #d62f3f, #ff5252);
    }
    .form-check-input:checked {
        background-color: var(--gbc-primary);
        border-color: var(--gbc-primary);
    }
    .gbc-forgot-link, .gbc-register-link {
        color: var(--gbc-secondary);
        font-weight: 500;
        text-decoration: none;
        transition: color 0.2s;
    }
    .gbc-forgot-link:hover, .gbc-register-link:hover {
        color: var(--gbc-primary);
        text-decoration: underline;
    }

    /* Toast styles (from register page) */
    .gbc-toast-container {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 9999;
        display: flex;
        flex-direction: column;
        gap: 10px;
        max-width: 350px;
        width: 100%;
        pointer-events: none;
    }
    .gbc-toast {
        pointer-events: auto;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.6);
        border-radius: 16px;
        padding: 16px 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        display: flex;
        align-items: center;
        gap: 12px;
        transform: translateX(120%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .gbc-toast.show {
        transform: translateX(0);
        opacity: 1;
    }
    .gbc-toast-icon {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
    }
    .gbc-toast-icon.success {
        background: rgba(40, 167, 69, 0.2);
        color: #28a745;
    }
    .gbc-toast-icon.error {
        background: rgba(220, 53, 69, 0.2);
        color: #dc3545;
    }
    .gbc-toast-content {
        flex: 1;
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--gbc-secondary);
    }
    .gbc-toast-close {
        background: transparent;
        border: none;
        color: #adb5bd;
        cursor: pointer;
        padding: 0 4px;
        font-size: 18px;
        line-height: 1;
        transition: color 0.2s;
    }
    .gbc-toast-close:hover {
        color: var(--gbc-secondary);
    }
 
 
/* ======Register page Design */

 

    .gbc-register-section {
        min-height: 80vh;
        display: flex;
        align-items: center;
        padding: 2rem 0;
    }
    /* Premium glass card â€“ no shadow */
    .gbc-glass-card {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.6);
        border-radius: 32px;
        box-shadow: none;
        transition: border-color 0.2s;
    }
    .gbc-glass-card:hover {
        border-color: rgba(230, 57, 70, 0.2);
    }
    /* Premium input fields */
    .form-control, .input-group-text {
        border: 1px solid var(--gbc-border);
        border-radius: 16px;
        background-color: white;
        transition: all 0.2s ease;
        box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
    }
    .form-control:focus {
        border-color: var(--gbc-primary);
        box-shadow: 0 0 0 4px var(--gbc-focus-ring), inset 0 2px 4px rgba(0,0,0,0.02);
    }
    .input-group-text {
        background: white;
        border-right: none;
        border-radius: 16px 0 0 16px;
        color: var(--gbc-secondary);
        box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
    }
    .input-group .form-control {
        border-left: none;
        border-radius: 0 16px 16px 0;
    }
    .input-group:focus-within .input-group-text {
        border-color: var(--gbc-primary);
        box-shadow: 0 0 0 4px var(--gbc-focus-ring), inset 0 2px 4px rgba(0,0,0,0.02);
    }
    /* Password toggle button */
    .input-group .btn-outline-secondary {
        border: 1px solid var(--gbc-border);
        border-left: none;
        border-radius: 0 16px 16px 0;
        background: white;
        color: var(--gbc-secondary);
        box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
        transition: all 0.2s;
    }
    .input-group .btn-outline-secondary:hover {
        background: #f8f9fa;
        border-color: var(--gbc-border);
        color: var(--gbc-primary);
    }
    /* Premium button */
    .gbc-btn-primary {
        background: linear-gradient(135deg, var(--gbc-primary) 0%, #ff6b7b 100%);
        border: none;
        border-radius: 40px;
        padding: 14px 28px;
        font-weight: 600;
        letter-spacing: 0.3px;
        transition: transform 0.2s, box-shadow 0.2s;
        box-shadow: 0 8px 20px rgba(230,57,70,0.2);
    }
    .gbc-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(230,57,70,0.3);
    }
    .gbc-btn-primary:active {
        transform: translateY(0);
        box-shadow: 0 4px 12px rgba(230,57,70,0.2);
    }
    .gbc-icon-circle {
        width: 80px;
        height: 80px;
        background: rgba(230,57,70,0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
    }
    .gbc-password-strength-meter {
        height: 4px;
        background: #e9ecef;
        border-radius: 4px;
        margin-top: 8px;
        overflow: hidden;
    }
    .gbc-password-strength-fill {
        height: 100%;
        width: 0%;
        background: linear-gradient(90deg, #e63946, #ff5000);
        transition: width 0.3s ease;
    }
    .form-text {
        font-size: 0.85rem;
        color: #6c757d;
        margin-top: 4px;
    }
    .form-check-input:checked {
        background-color: var(--gbc-primary);
        border-color: var(--gbc-primary);
    }
    a {
        color: var(--gbc-primary);
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s;
    }
    a:hover {
        color: #b71c2c;
        text-decoration: underline;
    }
    /* Toast Container */
    .gbc-toast-container {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 9999;
        display: flex;
        flex-direction: column;
        gap: 10px;
        max-width: 350px;
        width: 100%;
        pointer-events: none;
    }
    .gbc-toast {
        pointer-events: auto;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.6);
        border-radius: 16px;
        padding: 16px 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        display: flex;
        align-items: center;
        gap: 12px;
        transform: translateX(120%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .gbc-toast.show {
        transform: translateX(0);
        opacity: 1;
    }
    .gbc-toast-icon {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
    }
    .gbc-toast-icon.success {
        background: rgba(40, 167, 69, 0.2);
        color: #28a745;
    }
    .gbc-toast-icon.error {
        background: rgba(220, 53, 69, 0.2);
        color: #dc3545;
    }
    .gbc-toast-content {
        flex: 1;
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--gbc-secondary);
    }
    .gbc-toast-close {
        background: transparent;
        border: none;
        color: #adb5bd;
        cursor: pointer;
        padding: 0 4px;
        font-size: 18px;
        line-height: 1;
        transition: color 0.2s;
    }
    .gbc-toast-close:hover {
        color: var(--gbc-secondary);
    }
    /* Responsive */
    @media (max-width: 768px) {
        .row.g-3 .col-md-6 {
            margin-bottom: 1rem;
        }
    }
 
    /* ===== About Us page style (professional, no-shadows) ===== */
    .about-page {
        background: linear-gradient(180deg, #f8fafc 0%, #f3f6fb 54%, #eef3f9 100%);
    }

    /* Hard stop for inherited Bootstrap/global shadows on About page only */
    .about-page .shadow,
    .about-page [class*='shadow'],
    .about-page .btn,
    .about-page .btn:hover,
    .about-page .btn:focus,
    .about-page .btn:focus-visible,
    .about-page .btn:active,
    .about-page .card,
    .about-page .badge,
    .about-page .rounded-circle,
    .about-page .image-placeholder,
    .about-page .stat-card,
    .about-page .mission-vision-card,
    .about-page .core-value-card,
    .about-page .feature-card,
    .about-page .mission-vision-icon,
    .about-page .core-value-icon,
    .about-page .feature-icon,
    .about-page .cta-section {
        box-shadow: none !important;
        text-shadow: none;
    }

    .about-page .btn:focus-visible {
        outline: 2px solid rgba(230, 57, 70, 0.45);
        outline-offset: 2px;
    }

    .about-page .about-header {
        background: linear-gradient(135deg, var(--gbc-secondary), #2a4b8a);
        position: relative;
        overflow: hidden;
        padding: 6rem 0;
    }

    .about-page .about-header h1 {
        color: #fff;
        letter-spacing: -0.01em;
    }

    .about-page .about-header::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 600px;
        height: 600px;
        background: rgba(255,255,255,0.05);
        border-radius: 50%;
        transform: rotate(25deg);
    }

    .about-page .about-header::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -5%;
        width: 400px;
        height: 400px;
        background: rgba(255,255,255,0.03);
        border-radius: 50%;
    }

    .about-page .breadcrumb-item + .breadcrumb-item::before {
        color: rgba(255,255,255,0.5);
    }

    .about-page .image-placeholder {
        background: linear-gradient(145deg, var(--gbc-primary), #ff8a8a);
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.22);
        transition: transform 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .about-page .image-placeholder::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: rgba(255,255,255,0.09);
        transform: rotate(30deg);
        transition: transform 0.6s;
    }

    .about-page .image-placeholder:hover::after {
        transform: rotate(30deg) translate(10%, 10%);
    }

    .about-page .image-placeholder:hover {
        transform: translateY(-4px);
    }

    .about-page .stat-card,
    .about-page .mission-vision-card,
    .about-page .core-value-card,
    .about-page .feature-card {
        background: #fff;
        border: 1px solid rgba(29, 53, 87, 0.12);
        border-radius: 18px;
        transition: border-color 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
        box-shadow: none;
    }

    .about-page .stat-card {
        padding: 1.2rem;
    }

    .about-page .stat-card:hover,
    .about-page .mission-vision-card:hover,
    .about-page .core-value-card:hover,
    .about-page .feature-card:hover {
        border-color: rgba(230, 57, 70, 0.38);
        background-color: #fffdfd;
        transform: translateY(-2px);
        box-shadow: none;
    }

    .about-page .mission-vision-card {
        overflow: hidden;
        border-radius: 22px;
        height: 100%;
    }

    .about-page .mission-vision-icon,
    .about-page .core-value-icon,
    .about-page .feature-icon {
        box-shadow: none;
    }

    .about-page .mission-vision-icon {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(145deg, var(--gbc-primary), #ff8a8a);
        color: #fff;
        font-size: 2rem;
        border: 1px solid rgba(255, 255, 255, 0.25);
    }

    .about-page .core-value-card {
        padding: 2rem 1.5rem;
        height: 100%;
    }

    .about-page .core-value-icon {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
        font-size: 2rem;
        transition: transform 0.3s;
    }

    .about-page .core-value-card:hover .core-value-icon {
        transform: rotateY(360deg);
    }

    .about-page .feature-card {
        border-radius: 20px;
        padding: 2rem 1.5rem;
        height: 100%;
        text-align: center;
    }

    .about-page .feature-icon {
        width: 80px;
        height: 80px;
        background: rgba(230,57,70,0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
        font-size: 2.5rem;
        color: var(--gbc-primary);
        transition: all 0.3s;
    }

    .about-page .feature-card:hover .feature-icon {
        background: var(--gbc-primary);
        color: #fff;
        transform: scale(1.07);
    }

    .about-page .feature-title {
        font-size: 1.35rem;
        font-weight: 700;
        margin-bottom: 0.85rem;
        color: var(--gbc-secondary);
    }

    .about-page .feature-text {
        color: #6c757d;
        line-height: 1.65;
    }

    .about-page .cta-section {
        background: linear-gradient(145deg, var(--gbc-primary), var(--gbc-secondary));
         }

    .about-page .cta-section::before {
        content: '';
        position: absolute;
        top: -30px;
        left: 0;
        width: 100%;
        height: 60px;
        background: white;
        border-radius: 50% 50% 0 0;
    }

    .about-page .btn-outline-light:hover {
        background: white;
        color: var(--gbc-primary);
        border-color: white;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .about-page .display-4 { font-size: 2.5rem; }
        .about-page .display-6 { font-size: 1.8rem; }
    }
 
    /* ======Contact Us page Design */


    /* Page Header */
    .gbc-contact-header {
        background: linear-gradient(135deg, var(--gbc-secondary), #2a4b8a);
        position: relative;
        overflow: hidden;
        padding: 5rem 0;
    }
    .gbc-contact-header h1 {
        color: #fff;
    }
    .gbc-contact-header::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 600px;
        height: 600px;
        background: rgba(255,255,255,0.05);
        border-radius: 50%;
        transform: rotate(25deg);
    }
    .gbc-contact-header::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -5%;
        width: 400px;
        height: 400px;
        background: rgba(255,255,255,0.03);
        border-radius: 50%;
    }
    .breadcrumb-item + .breadcrumb-item::before {
        color: rgba(255,255,255,0.5);
    }

    /* Premium Card */
    .gbc-card {
        border: none;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
       transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
     

    /* Form inputs */
    .gbc-input-group {
        border: 1px solid var(--gbc-border);
        border-radius: 16px;
        background-color: white;
        transition: all 0.2s ease;
        box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
        display: flex;
        align-items: stretch;
    }
    .gbc-input-group:focus-within {
        border-color: var(--gbc-primary);
        box-shadow: 0 0 0 4px var(--gbc-focus-ring), inset 0 2px 4px rgba(0,0,0,0.02);
    }
    .gbc-input-group .input-group-text {
        background: white;
        border: none;
        border-right: 1px solid var(--gbc-border);
        border-radius: 16px 0 0 16px;
        color: var(--gbc-primary);
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }
    .gbc-input-group .form-control,
    .gbc-input-group .form-select {
        border: none;
        background: transparent;
        border-radius: 0 16px 16px 0;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    .gbc-input-group .form-control:focus,
    .gbc-input-group .form-select:focus {
        outline: none;
        box-shadow: none;
    }
    textarea.form-control {
        border: 1px solid var(--gbc-border);
        border-radius: 20px;
        padding: 1rem;
        transition: all 0.2s;
    }
    textarea.form-control:focus {
        border-color: var(--gbc-primary);
        box-shadow: 0 0 0 4px var(--gbc-focus-ring);
    }

    /* Premium button */
    .gbc-btn-primary {
        background: linear-gradient(135deg, var(--gbc-primary) 0%, #ff6b7b 100%);
        border: none;
        border-radius: 40px;
        padding: 14px 32px;
        font-weight: 600;
        letter-spacing: 0.3px;
        transition: transform 0.2s, box-shadow 0.2s;
        box-shadow: 0 8px 20px rgba(230,57,70,0.2);
        color: white;
    }
    .gbc-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(230,57,70,0.3);
    }
    .gbc-btn-primary:active {
        transform: translateY(0);
        box-shadow: 0 4px 12px rgba(230,57,70,0.2);
    }

    /* Contact info items */
    .gbc-info-item {
        display: flex;
        align-items: flex-start;
        padding: 1.2rem;
        border-radius: 10px;
        transition: background 0.2s, transform 0.2s;
    }
    .gbc-info-item:hover {
        background: rgba(230,57,70,0.03);
        transform: translateX(5px);
    }
    .gbc-info-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        border-radius: 50%;
        background: rgba(230,57,70,0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--gbc-primary);
        font-size: 1.2rem;
        margin-right: 1rem;
        transition: all 0.2s;
    }
    .gbc-info-item:hover .gbc-info-icon {
        background: var(--gbc-primary);
        color: white;
    }

    /* Social buttons */
    .gbc-social-btn {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(230,57,70,0.1);
        color: var(--gbc-primary);
        transition: all 0.2s;
        margin-right: 0.5rem;
    }
    .gbc-social-btn:hover {
        background: var(--gbc-primary);
        color: white;
        transform: translateY(-3px);
    }

    /* Map placeholder */
    .gbc-map-placeholder {
        background: linear-gradient(145deg, #e9ecef, #dee2e6);
        border-radius: 20px;
        height: 220px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--gbc-secondary);
        font-size: 1.2rem;
        position: relative;
        overflow: hidden;
    }
    .gbc-map-placeholder::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
        animation: rotate 10s linear infinite;
    }
    @keyframes rotate {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

    /* Toast styles (same as register page) */
    .gbc-toast-container {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 9999;
        display: flex;
        flex-direction: column;
        gap: 10px;
        max-width: 350px;
        width: 100%;
        pointer-events: none;
    }
    .gbc-toast {
        pointer-events: auto;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.6);
        border-radius: 16px;
        padding: 16px 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        display: flex;
        align-items: center;
        gap: 12px;
        transform: translateX(120%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .gbc-toast.show {
        transform: translateX(0);
        opacity: 1;
    }
    .gbc-toast-icon {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
    }
    .gbc-toast-icon.success {
        background: rgba(40, 167, 69, 0.2);
        color: #28a745;
    }
    .gbc-toast-icon.error {
        background: rgba(220, 53, 69, 0.2);
        color: #dc3545;
    }
    .gbc-toast-content {
        flex: 1;
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--gbc-secondary);
    }
    .gbc-toast-close {
        background: transparent;
        border: none;
        color: #adb5bd;
        cursor: pointer;
        padding: 0 4px;
        font-size: 18px;
        line-height: 1;
        transition: color 0.2s;
    }
    .gbc-toast-close:hover {
        color: var(--gbc-secondary);
    }

    /* Responsive */
    @media (max-width: 768px) {
        .gbc-contact-header {
            padding: 3rem 0;
        }
        .display-5 {
            font-size: 2rem;
        }
    }

/* ===== Homepage Deals Section Polish (Pattern-Preserving) ===== */
.home-deals-section {
    position: relative;
}

.home-deals-section .row > [class*='col-'] {
    display: flex;
}

.home-deals-section .deal-card {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.home-deals-section .deal-card .card-body {
    display: flex;
    flex-direction: column;
}

.home-deals-section .section-head-row {
    padding: 0.2rem 0 0.4rem;
      
}

.home-deals-section .section-title {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
    
    
}

.home-deals-section .section-link-btn {
    font-weight: 600;
    padding-inline: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-deals-section .section-link-btn:hover {
    transform: translateY(-1px);
}

.home-hot-deals {
    background-image: linear-gradient(180deg, rgba(230, 57, 70, 0.04) 0%, rgba(230, 57, 70, 0) 40%);
}

.home-hot-deals .hot-deal-card {
    border-radius: 18px;
    border: 1px solid rgba(29, 53, 87, 0.08);
    box-shadow: 0 12px 24px -18px rgba(29, 53, 87, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

.home-hot-deals .hot-deal-card:hover {
    transform: translateY(-6px);
    border-color: rgba(230, 57, 70, 0.22);
    box-shadow: 0 20px 36px -20px rgba(29, 53, 87, 0.45);
}

.home-hot-deals .hot-deal-card .card-img-top {
    height: 210px;
}

.home-hot-deals .hot-deal-card .deal-media-wrap::after,
.home-ending-soon .ending-deal-card .deal-media-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0));
    pointer-events: none;
}

.home-deals-section .deal-badge-savings {
    border-radius: 999px;
    padding: 0.45rem 0.6rem;
    font-weight: 700;
    background-color: var(--gbc-primary);
    color: #fff;
}

.home-deals-section .deal-badge-status {
    border-radius: 999px;
    font-weight: 700;
    padding: 0.38rem 0.58rem;
}

.home-deals-section .deal-title {
    color: var(--gbc-secondary);
    font-weight: 700;
    line-height: 1.35;
    min-height: 2.7rem;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
    margin-bottom: 0.55rem;
}

.home-deals-section .deal-price {
    line-height: 1;
}

.home-deals-section .deal-mini-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.home-deals-section .deal-mini-meta span {
    display: inline-flex;
    align-items: center;
    font-size: 0.76rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
}

.home-hot-deals .deal-mini-meta span {
    background: rgba(230, 57, 70, 0.09);
    color: var(--gbc-secondary);
}

.home-ending-soon .deal-mini-meta span {
    background: rgba(244, 162, 97, 0.2);
    color: #5f3500;
}

.home-hot-deals .hot-deal-card .badge {
    border-radius: 999px;
    padding: 0.45rem 0.6rem;
    font-weight: 700;
}

.home-hot-deals .hot-deal-card .progress {
    height: 0.55rem !important;
    background: rgba(230, 57, 70, 0.14);
}

.home-hot-deals .hot-deal-card .progress-bar {
    background: linear-gradient(90deg, #e63946, #f28482) !important;
}

.home-hot-deals .hot-deal-card .deal-countdown {
    font-weight: 600;
    color: var(--gbc-secondary);
}

.home-hot-deals .hot-deal-card .deal-countdown-wrap {
    padding-top: 0.1rem;
    margin-top: auto;
}

.home-hot-deals .hot-deal-card .card-footer {
    padding-top: 0;
}

.home-hot-deals .hot-deal-card .card-footer .btn {
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 20px -14px rgba(230, 57, 70, 0.8);
    min-height: 42px;
}

.home-hot-deals .hot-deal-card .deal-cta-btn:hover {
    opacity: 0.94;
}

.home-ending-soon {
    background-image: linear-gradient(180deg, rgba(244, 162, 97, 0.08) 0%, rgba(244, 162, 97, 0) 42%);
}

.home-ending-soon .ending-deal-card {
    border-radius: 18px;
    border: 1px solid rgba(244, 162, 97, 0.28);
    box-shadow: 0 12px 24px -20px rgba(122, 70, 0, 0.55);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

.home-ending-soon .ending-deal-card:hover {
    transform: translateY(-6px);
    border-color: rgba(244, 162, 97, 0.5);
    box-shadow: 0 20px 34px -22px rgba(122, 70, 0, 0.55);
}

.home-ending-soon .ending-deal-card .card-img-top {
    height: 210px;
}

.home-ending-soon .ending-deal-card .badge {
    border-radius: 999px;
    padding: 0.45rem 0.65rem;
    font-weight: 700;
}

.home-ending-soon .ending-deal-card .progress {
    height: 0.55rem !important;
    background: rgba(244, 162, 97, 0.24);
}

.home-ending-soon .ending-deal-card .progress-bar {
    background: linear-gradient(90deg, #ff5000, #e9c46a) !important;
}

.home-ending-soon .ending-deal-card .deal-countdown {
    background: rgba(244, 162, 97, 0.18);
    border-radius: 999px;
    padding: 0.15rem 0.5rem;
}

.home-ending-soon .ending-deal-card .deal-countdown-wrap {
    color: #8a5000 !important;
    padding-top: 0.1rem;
    margin-top: auto;
}

.home-ending-soon .ending-deal-card .card-footer {
    padding-top: 0;
}

.home-ending-soon .ending-deal-card .card-footer .btn {
    font-weight: 700;
    color: #5f3500;
    box-shadow: 0 10px 20px -14px rgba(244, 162, 97, 0.8);
    min-height: 42px;
}

.home-ending-soon .ending-deal-card .deal-cta-btn:hover {
    filter: brightness(1.03);
}

@media (max-width: 767.98px) {
    .home-deals-section .section-head-row {
        gap: 0.8rem;
        align-items: flex-start !important;
    }

    .home-hot-deals .hot-deal-card .card-img-top,
    .home-ending-soon .ending-deal-card .card-img-top {
        height: 190px;
    }

    .home-deals-section .deal-title {
        min-height: auto;
    }
}

/* ===== Homepage Testimonials + Newsletter Polish ===== */
.home-how-it-works {
    background:
        radial-gradient(circle at 12% 18%, rgba(244, 162, 97, 0.24) 0%, rgba(244, 162, 97, 0) 38%),
        radial-gradient(circle at 92% 82%, rgba(230, 57, 70, 0.22) 0%, rgba(230, 57, 70, 0) 40%),
        linear-gradient(130deg, #1a2f4f 0%, #214a70 48%, #2a6a89 100%);
    position: relative;
    overflow: hidden;
}

.home-how-it-works::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.35;
    pointer-events: none;
}

.home-how-it-works::after {
    content: '';
    position: absolute;
    left: 8%;
    right: 8%;
    top: 46%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.home-how-it-works .container {
    position: relative;
    z-index: 1;
}

.home-how-it-works .how-kicker {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 0.34rem 0.78rem;
}

.home-how-it-works .how-subtitle {
    max-width: 58ch;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.02rem;
}

.home-how-it-works .how-step-card {
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 20px;
    padding: 1.35rem 1.25rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.24s ease, background-color 0.24s ease, border-color 0.24s ease;
    position: relative;
}

.home-how-it-works .how-step-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.17);
    border-color: rgba(255, 255, 255, 0.42);
}

.home-how-it-works .how-step-card::before {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(244, 162, 97, 0.9), rgba(230, 57, 70, 0.9));
    opacity: 0.9;
}

.home-how-it-works .how-step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.home-how-it-works .how-step-number {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.home-how-it-works .how-step-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
    background: linear-gradient(135deg, #e63946, #ff5000);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.home-how-it-works .col-md-4:nth-child(2) .how-step-icon {
    background: linear-gradient(135deg, #2a9d8f, #4db6ac);
}

.home-how-it-works .col-md-4:nth-child(3) .how-step-icon {
    background: linear-gradient(135deg, #457b9d, #5b8db1);
}

.home-how-it-works .how-step-card p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
}

.home-how-it-works .how-cta-btn {
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #1a2f4f;
    background: #fff;
    min-height: 44px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.home-how-it-works .how-cta-btn:hover {
    transform: translateY(-2px);
    background: #f8fbff;
    box-shadow: 0 14px 22px -18px rgba(7, 20, 34, 0.85);
}

@media (max-width: 767.98px) {
    .home-how-it-works::after {
        display: none;
    }

    .home-how-it-works .how-subtitle {
        font-size: 0.95rem;
    }
}

.home-testimonials {
    background:
        radial-gradient(circle at 85% 18%, rgba(230, 57, 70, 0.1) 0%, rgba(230, 57, 70, 0) 42%),
        radial-gradient(circle at 10% 88%, rgba(69, 123, 157, 0.12) 0%, rgba(69, 123, 157, 0) 40%),
        linear-gradient(180deg, #f7fbff 0%, #edf3fa 100%);
    position: relative;
    overflow: hidden;
}

.home-testimonials::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(29, 53, 87, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(29, 53, 87, 0.035) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.34;
    pointer-events: none;
}

.home-testimonials .container {
    position: relative;
    z-index: 1;
}

.home-testimonials .testimonials-title {
    color: var(--gbc-secondary);
    letter-spacing: -0.015em;
}

.home-testimonials .testimonials-subtitle {
    max-width: 58ch;
    margin-inline: auto;
}

.home-testimonials .testimonials-kicker {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(29, 53, 87, 0.08);
    color: var(--gbc-secondary);
    border: 1px solid rgba(29, 53, 87, 0.15);
    font-weight: 700;
    letter-spacing: 0.01em;
    font-size: 0.82rem;
    padding: 0.35rem 0.75rem;
    text-transform: uppercase;
}

.home-testimonials .testimonial-proof-row span {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    border-radius: 999px;
    padding: 0.28rem 0.72rem;
    background: #fff;
    border: 1px solid rgba(29, 53, 87, 0.12);
    color: #2f4f71;
    font-size: 0.8rem;
    font-weight: 600;
}

.home-testimonials #reviewsCarousel {
    position: relative;
}

.home-testimonials .testimonial-card {
    border-radius: 22px;
    border: 1px solid rgba(29, 53, 87, 0.15);
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    box-shadow: 0 18px 42px -30px rgba(18, 40, 62, 0.38);
    position: relative;
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.home-testimonials .testimonial-card:hover {
    transform: translateY(-3px);
    border-color: rgba(230, 57, 70, 0.35);
    box-shadow: 0 22px 44px -32px rgba(18, 40, 62, 0.48);
}

.home-testimonials .testimonial-card .quote-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin: 0 auto 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.16), rgba(244, 162, 97, 0.18));
    color: var(--gbc-primary);
    font-size: 1rem;
}

.home-testimonials .testimonial-avatar {
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
    background: linear-gradient(135deg, #2c486d, #1d3557) !important;
}

.home-testimonials .testimonial-rating {
    letter-spacing: 0.04em;
}

.home-testimonials .testimonial-copy {
    color: #2a3f57;
    line-height: 1.72;
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

.home-testimonials .testimonial-name {
    color: var(--gbc-secondary);
    font-weight: 700;
}

.home-testimonials .testimonial-verified {
    font-size: 0.76rem;
}

.home-testimonials .testimonial-control {
    width: 46px;
    height: 46px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 14px;
    opacity: 1;
    background: rgba(29, 53, 87, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.home-testimonials .carousel-control-prev.testimonial-control {
    left: -10px;
}

.home-testimonials .carousel-control-next.testimonial-control {
    right: -10px;
}

.home-testimonials .testimonial-control .carousel-control-prev-icon,
.home-testimonials .testimonial-control .carousel-control-next-icon {
    width: 1rem;
    height: 1rem;
}

.home-testimonials .carousel-indicators [data-bs-target] {
    background-color: rgba(29, 53, 87, 0.32);
    width: 26px;
    height: 5px;
    border-radius: 999px;
}

.home-testimonials .carousel-indicators .active {
    background-color: var(--gbc-primary);
}

@media (max-width: 767.98px) {
    .home-testimonials .testimonial-control {
        display: none;
    }

    .home-testimonials .testimonial-card {
        border-radius: 18px;
    }

    .home-testimonials .testimonial-copy {
        font-size: 1rem;
    }
}

.home-newsletter {
    background: linear-gradient(140deg, #e63946 0%, #d93745 36%, #1d3557 100%);
    margin-bottom: 0;
}

.home-newsletter .newsletter-wrap {
    border-radius: 24px;
    padding: clamp(1.2rem, 2.3vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.home-newsletter .newsletter-kicker {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    padding: 0.35rem 0.75rem;
}

.home-newsletter .newsletter-subtext {
    color: rgba(255, 255, 255, 0.9);
    max-width: 48ch;
}

.home-newsletter .newsletter-benefits span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.24rem 0.62rem;
}

.home-newsletter .newsletter-form .form-control {
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.97);
    color: var(--gbc-secondary);
    border-radius: 999px;
    min-height: 52px;
}

.home-newsletter .newsletter-form .form-control::placeholder {
    color: #6f7d90;
}

.home-newsletter .newsletter-form .form-control:focus {
    border-color: rgba(255, 255, 255, 0.78);
    box-shadow: 0 0 0 0.22rem rgba(255, 255, 255, 0.22);
}

.home-newsletter .newsletter-input-row {
    display: flex;
    gap: 0.6rem;
}

.home-newsletter .newsletter-form .btn {
    border-radius: 999px;
    min-height: 52px;
    font-weight: 700;
}

.home-newsletter .newsletter-note {
    font-size: 0.83rem;
}

/* ── Newsletter inline feedback message ── */
.newsletter-inline-msg {
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.55rem 0.9rem;
    margin-top: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    line-height: 1.4;
    border: 1px solid transparent;
}

.newsletter-msg-success {
    background: rgba(40, 167, 69, 0.18);
    border-color: rgba(40, 167, 69, 0.45);
    color: #d4f5de;
}

.newsletter-msg-error {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 100, 100, 0.55);
    color: #ffe4e4;
}

@media (max-width: 991.98px) {
    .home-testimonials .testimonial-control {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .home-newsletter .newsletter-input-row {
        flex-direction: column;
    }

    .home-newsletter .newsletter-form .btn {
        width: 100%;
    }
}

/* ===== Homepage UX Refinement Layer ===== */
.home-deals-section {
    padding-block: clamp(2.6rem, 4vw, 4.2rem);
}

.home-deals-section .section-head-row {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(29, 53, 87, 0.1);
    border-radius: 14px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem !important;
}

.home-deals-section .section-head-row p {
    font-size: 0.95rem;
}

.home-deals-section .section-link-btn {
    min-height: 40px;
    border-width: 1px;
    font-weight: 700;
}

.home-deals-section .section-link-btn:focus-visible,
.home-how-it-works .how-cta-btn:focus-visible,
.home-newsletter .newsletter-form .btn:focus-visible {
    outline: 2px solid rgba(230, 57, 70, 0.45);
    outline-offset: 2px;
}

.home-hot-deals .hot-deal-card .card-body,
.home-ending-soon .ending-deal-card .card-body {
    padding: 1rem 0.95rem 0.85rem;
}

.home-hot-deals .hot-deal-card .card-footer,
.home-ending-soon .ending-deal-card .card-footer {
    padding-inline: 0.95rem;
    padding-bottom: 0.9rem !important;
}

.home-deals-section .deal-title {
    line-height: 1.42;
}

.home-deals-section .deal-mini-meta span {
    letter-spacing: 0.01em;
}

.home-how-it-works .how-step-card {
    min-height: 100%;
}

.home-how-it-works .how-step-card h4 {
    font-size: 1.15rem;
    letter-spacing: 0.01em;
}

.home-testimonials {
    padding-block: clamp(2.8rem, 4vw, 4.6rem);
}

.home-testimonials .testimonial-card {
    padding-inline: clamp(1.1rem, 2.2vw, 2.5rem) !important;
}

.home-testimonials .testimonial-card p {
    color: #2e4764;
    line-height: 1.75;
}

.home-testimonials .testimonial-proof-row span {
    min-height: 32px;
}

.home-newsletter {
    padding-block: clamp(2.7rem, 4vw, 4rem);
}

.home-newsletter .newsletter-wrap {
    position: relative;
    overflow: hidden;
}

.home-newsletter .newsletter-wrap::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    right: -100px;
    top: -150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .home-deals-section .section-head-row {
        gap: 0.7rem;
    }
}

@media (max-width: 767.98px) {
    .home-deals-section .section-head-row {
        border-radius: 12px;
        padding: 0.7rem 0.8rem;
    }

    .home-deals-section .section-head-row p {
        font-size: 0.88rem;
    }

    .home-testimonials .testimonial-card p {
        font-size: 1rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-deals-section .section-link-btn,
    .home-how-it-works .how-step-card,
    .home-how-it-works .how-cta-btn,
    .home-testimonials .testimonial-card,
    .home-newsletter .newsletter-form .btn {
        transition: none !important;
    }
}

/* ===== Homepage Modern Signature Layer ===== */
.hero-carousel {
    background:
        radial-gradient(circle at 84% 18%, rgba(244, 162, 97, 0.24) 0%, rgba(244, 162, 97, 0) 42%),
        radial-gradient(circle at 14% 82%, rgba(69, 123, 157, 0.28) 0%, rgba(69, 123, 157, 0) 44%),
        linear-gradient(128deg, #e63946 0%, #bc3040 24%, #1d3557 72%, #2f5d86 100%);
}

.hero-carousel::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.22;
    pointer-events: none;
}

.hero-carousel .slide-content {
    position: relative;
}

.hero-carousel .slide-content::after {
    content: '';
    position: absolute;
    right: -120px;
    top: -90px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.hero-carousel .badge {
    border: 1px solid rgba(255, 255, 255, 0.3);
    letter-spacing: 0.02em;
}

.home-deals-section .section-title {
    position: relative;
}

.home-deals-section .section-title::after {
    content: '';
    display: block;
    margin-top: 0.35rem;
    width: 62px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gbc-primary), var(--gbc-accent));
}

.home-hot-deals .hot-deal-card,
.home-ending-soon .ending-deal-card,
.home-testimonials .testimonial-card {
    position: relative;
}

.home-hot-deals .hot-deal-card::before,
.home-ending-soon .ending-deal-card::before,
.home-testimonials .testimonial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.3), rgba(29, 53, 87, 0.15));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.home-hot-deals .hot-deal-card:hover::before,
.home-ending-soon .ending-deal-card:hover::before,
.home-testimonials .testimonial-card:hover::before {
    opacity: 1;
}

.home-testimonials .testimonial-card {
    transform-origin: center top;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.home-testimonials .testimonial-card:hover {
    transform: translateY(-4px) scale(1.01);
}

.home-newsletter .newsletter-wrap {
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 36%),
        rgba(255, 255, 255, 0.09);
}

.home-newsletter .newsletter-form .btn {
    background: linear-gradient(135deg, #111827, #1f2937);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.home-newsletter .newsletter-form .btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.category-section .category-card {
    isolation: isolate;
}

.category-section .category-card::after {
    content: '';
    position: absolute;
    left: -15%;
    top: -40%;
    width: 130%;
    height: 80%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
    transform: translateX(-120%) rotate(8deg);
    transition: transform 0.55s ease;
    pointer-events: none;
    z-index: 1;
}

.category-section .category-card:hover::after {
    transform: translateX(120%) rotate(8deg);
}

@media (max-width: 991.98px) {
    .hero-carousel .slide-content::after {
        right: -160px;
        top: -120px;
    }

    .home-deals-section .section-title::after {
        width: 48px;
    }
}

@media (max-width: 767.98px) {
    .hero-carousel::after {
        opacity: 0.14;
    }

    .home-testimonials .testimonial-card:hover {
        transform: none;
    }
}

/* ===== 2026 UX System: Content, Search, Auth, Tracking ===== */
.gbc-surface {
    background: linear-gradient(180deg, #f4f7fb 0%, #eef3f9 100%);
}

.gbc-page-head {
    background: linear-gradient(135deg, var(--gbc-secondary), #2d5d8b);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.gbc-page-head h1,
.gbc-page-head h2,
.gbc-page-head h3,
.gbc-page-head h4,
.gbc-page-head h5,
.gbc-page-head h6,
.gbc-page-head .breadcrumb-item,
.gbc-page-head .breadcrumb-item.active,
.gbc-page-head .breadcrumb-item a {
    color: #fff !important;
}

.gbc-page-head .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.68);
}

.gbc-page-head::after {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    top: -120px;
    right: -80px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0));
}

.gbc-panel {
    background: #fff;
    border: 1px solid rgba(29, 53, 87, 0.12);
    border-radius: 16px;
}

.gbc-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gbc-info);
    font-weight: 700;
}

.gbc-section-title {
    font-size: clamp(1.2rem, 2.1vw, 1.6rem);
    margin-bottom: 0.8rem;
}

.gbc-legal-nav {
    position: sticky;
    top: 92px;
}

.gbc-legal-nav .nav-link {
    color: var(--gbc-secondary);
    border-radius: 10px;
    font-weight: 600;
    padding: 0.48rem 0.72rem;
}

.gbc-legal-nav .nav-link:hover,
.gbc-legal-nav .nav-link:focus-visible {
    background: rgba(230, 57, 70, 0.1);
    color: var(--gbc-primary);
}

.gbc-legal-content section + section {
    margin-top: 1.5rem;
}

.gbc-legal-content p,
.gbc-legal-content li {
    color: #425466;
}

.gbc-legal-content ul {
    padding-left: 1.1rem;
}

.gbc-search-wrap {
    position: relative;
    margin-top: -2rem;
}

.gbc-search-box {
    background: #f8fafc;
    border: 1px solid rgba(29, 53, 87, 0.12);
    border-radius: 18px;
    padding: 0.8rem;
}

.gbc-search-box .form-control:focus {
    background: #f0f4f9;
    border-color: rgba(244, 162, 97, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(244, 162, 97, 0.15);
    color: var(--gbc-secondary);
}

.gbc-search-box .form-control {
    border-radius: 12px;
    min-height: 46px;
}

.gbc-search-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.gbc-kpi {
    border: 1px solid rgba(29, 53, 87, 0.12);
    border-radius: 14px;
    background: #fff;
    padding: 0.85rem;
}

.gbc-search-card {
    border: 1px solid rgba(29, 53, 87, 0.12);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gbc-search-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px -26px rgba(29, 53, 87, 0.85);
}

.gbc-auth-shell {
    min-height: 72vh;
    display: grid;
    align-items: center;
    padding: 2.2rem 0;
}

.gbc-auth-card {
    border: 1px solid rgba(29, 53, 87, 0.12);
    border-radius: 18px;
    background: #fff;
}

.gbc-icon-token {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gbc-order-track-hero {
    border: 1px solid rgba(29, 53, 87, 0.12);
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff, #f6f9fd);
}

.gbc-order-timeline {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
}

.gbc-order-step {
    border: 1px solid rgba(29, 53, 87, 0.12);
    border-radius: 14px;
    padding: 0.75rem 0.5rem;
    text-align: center;
    background: #fff;
}

.gbc-order-step.is-done {
    border-color: rgba(42, 157, 143, 0.42);
    background: #f2fbf8;
}

.gbc-order-step.is-current {
    border-color: rgba(230, 57, 70, 0.45);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.12);
}

.gbc-order-step-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e9edf2;
    color: #5a6775;
    margin-bottom: 0.55rem;
}

.gbc-order-step.is-done .gbc-order-step-icon,
.gbc-order-step.is-current .gbc-order-step-icon {
    background: var(--gbc-primary);
    color: #fff;
}

.gbc-focus-ring:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 2px solid rgba(230, 57, 70, 0.45);
    outline-offset: 2px;
}

@media (max-width: 991.98px) {
    .gbc-legal-nav {
        position: static;
        margin-bottom: 1rem;
    }

    .gbc-order-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .gbc-search-kpis {
        grid-template-columns: 1fr;
    }

    .gbc-order-timeline {
        grid-template-columns: 1fr;
    }

    .gbc-auth-shell {
        min-height: 0;
        padding: 1.5rem 0;
    }
}

/* ===== Homepage Shadowless Mode (All Sections) ===== */
.hero-carousel,
.category-section,
.home-deals-section,
.home-how-it-works,
.home-testimonials,
.home-newsletter {
    text-shadow: none !important;
}

.hero-carousel *,
.category-section *,
.home-deals-section *,
.home-how-it-works *,
.home-testimonials *,
.home-newsletter * {
    box-shadow: none !important;
}

.category-section .category-card,
.home-hot-deals .hot-deal-card,
.home-ending-soon .ending-deal-card,
.home-testimonials .testimonial-card,
.home-how-it-works .how-step-card,
.home-newsletter .newsletter-wrap,
.home-newsletter .newsletter-form .btn,
.home-deals-section .deal-cta-btn,
.home-deals-section .section-head-row,
.home-deals-section .section-link-btn,
.hero-carousel .deal-card,
.hero-carousel .control-icon,
.hero-carousel .hero-copy-col::before,
.hero-carousel .hero-kicker,
.hero-carousel .avatar-group img,
.hero-carousel .avatar-group .avatar-more {
    box-shadow: none !important;
}

.home-hot-deals .hot-deal-card,
.home-ending-soon .ending-deal-card,
.home-testimonials .testimonial-card,
.category-section .category-card,
.home-how-it-works .how-step-card,
.hero-carousel .deal-card {
    border-width: 1px;
}

/* ===== Quick Register / Checkout Modal ===== */
#authModal .modal-dialog {
    max-width: min(95vw, 640px);
}

#authModal .quick-register-modal {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 24px 48px rgba(19, 34, 56, 0.22);
}

#authModal .quick-register-header {
    border: none;
    color: #ffffff;
    padding: 1.15rem 1.25rem;
    background: linear-gradient(135deg, #1d3557 0%, #274a78 60%, #e63946 130%);
}

#authModal .quick-register-subtitle {
    margin-top: 0.2rem;
    font-size: 0.84rem;
    opacity: 0.88;
}

#authModal .quick-register-body {
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#authModal .quick-order-panel {
    border: 1px solid rgba(29, 53, 87, 0.1);
    border-radius: 14px;
    background: linear-gradient(170deg, #f5f9ff 0%, #fff8f8 100%);
    padding: 1rem;
}

#authModal .qrp-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

#authModal .qrp-title {
    margin: 0;
    color: #1d3557;
    font-size: 0.92rem;
    font-weight: 700;
}

#authModal .qrp-badge {
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: rgba(230, 57, 70, 0.12);
    color: #b32633;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

#authModal .qrp-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0.75rem;
    align-items: center;
    padding: 0.65rem;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(29, 53, 87, 0.08);
}

#authModal .qrp-item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
}

#authModal .qrp-name {
    color: #1d3557;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    line-height: 1.35;
}

#authModal .qrp-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #4f5d75;
    font-size: 0.8rem;
    flex-wrap: wrap;
}

#authModal .qrp-dot-sep {
    color: #a0aec0;
    font-weight: 700;
}

#authModal .qrp-savings {
    display: inline-block;
    margin-top: 0.2rem;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    background: rgba(40, 167, 69, 0.1);
    color: #198754;
    font-size: 0.72rem;
    font-weight: 600;
}

#authModal .qrp-controls-row {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(29, 53, 87, 0.06);
}

#authModal .qrp-qty-block {
    flex: 0 0 auto;
}

#authModal .qrp-pkg-block {
    flex: 1 1 0%;
    min-width: 0;
}

#authModal .qrp-inline-label {
    display: block;
    margin-bottom: 0.35rem;
    color: #1d3557;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

#authModal .qty-control {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

#authModal .qty-btn {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(29, 53, 87, 0.18);
    border-radius: 8px;
    background: #f7f9fc;
    color: #1d3557;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

#authModal .qty-btn:hover {
    background: #eef2f9;
    border-color: rgba(29, 53, 87, 0.3);
}

#authModal .qty-input {
    width: 58px;
    height: 34px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid rgba(29, 53, 87, 0.18);
    font-weight: 600;
    font-size: 0.88rem;
}

#authModal .quick-register-form-wrap {
    border: 1px solid rgba(29, 53, 87, 0.08);
    border-radius: 14px;
    background: linear-gradient(170deg, #ffffff 0%, #f8fbff 100%);
    padding: 1rem;
}

/* Guest intro card */
#authModal .qr-guest-intro {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #f8fbff 0%, #f0f6ff 100%);
    border: 1px solid rgba(29, 53, 87, 0.08);
}

#authModal .qr-guest-intro__icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #1d3557, #325c90);
    color: #fff;
    font-size: 1rem;
}

/* Profile card for logged-in users */
#authModal .checkout-profile-card {
    border: 1px solid rgba(29, 53, 87, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

#authModal .checkout-profile-card__header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.75rem 0.85rem;
    background: linear-gradient(135deg, #f5f9ff 0%, #f0f6ff 100%);
    border-bottom: 1px solid rgba(29, 53, 87, 0.06);
}

#authModal .checkout-profile-card__avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #1d3557, #325c90);
    color: #fff;
    font-size: 1rem;
}

#authModal .checkout-profile-card__identity {
    flex: 1;
    min-width: 0;
}

#authModal .checkout-profile-card__name {
    font-weight: 700;
    color: #1d3557;
    font-size: 0.9rem;
}

#authModal .checkout-profile-card__email {
    font-size: 0.78rem;
    color: #5a6a80;
}

#authModal .checkout-profile-card__badge {
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

#authModal .checkout-profile-card__details {
    padding: 0.6rem 0.85rem;
}

#authModal .checkout-profile-card__row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0;
    font-size: 0.82rem;
}

#authModal .checkout-profile-card__row + .checkout-profile-card__row {
    border-top: 1px solid rgba(29, 53, 87, 0.04);
}

#authModal .checkout-profile-card__row-icon {
    color: #607187;
    font-size: 0.82rem;
    width: 20px;
    text-align: center;
}

#authModal .checkout-profile-card__row-label {
    color: #607187;
    font-size: 0.78rem;
    min-width: 55px;
}

#authModal .checkout-profile-card__row-value {
    flex: 1;
    color: #1d3557;
    font-weight: 600;
}

#authModal .checkout-profile-card__row-value--address {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#authModal .checkout-profile-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.85rem;
    background: #fafbfd;
    border-top: 1px solid rgba(29, 53, 87, 0.04);
    font-size: 0.76rem;
}

#authModal .checkout-profile-card__footer-text {
    color: #607187;
}

#authModal .checkout-profile-card__edit-btn {
    color: var(--gbc-primary, #E63946);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.78rem;
}

/* Form styles */
#authModal .quick-register-form {
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

#authModal .quick-register-form .form-label {
    color: #1d3557;
    font-size: 0.97rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 0.35rem;
}

#authModal .quick-register-form .form-control,
#authModal .quick-register-form .form-select,
#authModal .quick-register-form .input-group-text {
    border-color: #dbe2ef;
}

#authModal .quick-register-form .input-group {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(29,53,87,0.03);
}

#authModal .quick-register-form .input-group-text {
    background: linear-gradient(180deg, #f7faff 0%, #eef4fb 100%);
    color: #48627f;
    border-right: 0;
    font-size: 1.15rem;
    border-radius: 12px 0 0 12px;
    box-shadow: none;
}

#authModal .quick-register-form .form-control,
#authModal .quick-register-form .form-select,
#authModal .quick-register-form textarea.form-control {
    min-height: 48px;
    border-radius: 12px;
    background: #f8fbff;
    font-size: 1rem;
    border: 1.5px solid #dbe2ef;
    box-shadow: 0 2px 8px rgba(29,53,87,0.04);
    transition: border-color 0.18s, box-shadow 0.18s;
    padding-left: 1rem;
    padding-right: 1rem;
}

#authModal .quick-register-form textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

#authModal .quick-register-form .form-control:focus,
#authModal .quick-register-form .form-select:focus {
    border-color: #e63946;
    box-shadow: 0 0 0 0.18rem rgba(230, 57, 70, 0.13), 0 2px 12px rgba(230,57,70,0.07);
    background: #fff;
}

#authModal .quick-register-form .form-control.is-invalid,
#authModal .quick-register-form .form-select.is-invalid,
#authModal .quick-register-form textarea.form-control.is-invalid {
    border-color: rgba(220, 53, 69, 0.6);
    background-image: none;
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.1);
}

#authModal .quick-register-form .invalid-feedback {
    display: none;
    margin-top: 0.3rem;
    font-size: 0.76rem;
}

#authModal .quick-register-form .form-control.is-invalid + .invalid-feedback,
#authModal .quick-register-form .form-select.is-invalid + .invalid-feedback,
#authModal .quick-register-form textarea.form-control.is-invalid + .invalid-feedback,
#authModal .quick-register-form .form-check-input.is-invalid ~ .invalid-feedback,
#authModal .quick-register-form.was-validated .form-control:invalid + .invalid-feedback,
#authModal .quick-register-form.was-validated .form-select:invalid + .invalid-feedback,
#authModal .quick-register-form.was-validated textarea.form-control:invalid + .invalid-feedback,
#authModal .quick-register-form.was-validated .form-check-input:invalid ~ .invalid-feedback,
#authModal .quick-register-form .input-group:has(.form-control.is-invalid) + .invalid-feedback,
#authModal .quick-register-form.was-validated .input-group:has(.form-control:invalid) + .invalid-feedback {
    display: block;
}

/* Coupon */
#authModal .quick-register-coupon-shell {
    position: relative;
}

#authModal .coupon-toggle-link {
    display: inline-flex;
    align-items: center;
    color: #48627f;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
}

#authModal .coupon-toggle-link span {
    color: var(--gbc-primary, #E63946);
    text-decoration: underline;
    margin-left: 0.25rem;
}

#authModal .quick-register-coupon-input-row {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px -14px rgba(29, 53, 87, 0.4);
}

#authModal .quick-register-coupon-input-row .input-group-text {
    background: linear-gradient(180deg, #fff6f7 0%, #ffeef0 100%);
    color: #c13241;
}

#authModal .quick-register-coupon-input-row .form-control {
    background: #ffffff;
    font-weight: 700;
    letter-spacing: 0.04em;
}

#authModal .quick-register-coupon-btn {
    min-width: 90px;
    border: 0;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.01em;
    border-radius: 0;
}

#authModal .quick-register-coupon-btn--apply {
    color: #fff;
    background: linear-gradient(135deg, #1d3557 0%, #274a78 100%);
}

#authModal .quick-register-coupon-btn--apply:hover {
    color: #fff;
    background: linear-gradient(135deg, #18304f 0%, #213f67 100%);
}

#authModal .quick-register-coupon-btn--remove {
    color: #55657c;
    background: #edf2f8;
    border-left: 1px solid rgba(29, 53, 87, 0.1);
}

#authModal .quick-register-coupon-btn--remove:hover {
    color: #20344f;
    background: #e2eaf3;
}

#authModal .quick-register-coupon-btn:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.18), 0 0 0 0.18rem rgba(29, 53, 87, 0.14);
}

/* Totals card */
#authModal .quick-register-totals-card {
    border: 1px solid rgba(29, 53, 87, 0.1);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    background: linear-gradient(180deg, #fbfcff 0%, #f4f8fd 100%);
}

#authModal .quick-register-totals-card .text-muted {
    color: #607187 !important;
}

#authModal .qr-delivery-type {
    font-size: 0.78rem;
    color: #8899aa;
}

#authModal .qr-grand-total {
    color: var(--gbc-primary, #E63946);
    font-size: 1.05rem;
}

/* Submit button */
#authModal .quick-register-submit {
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #e63946 0%, #cf2f3f 48%, #b82735 100%);
    box-shadow: 0 10px 22px rgba(230, 57, 70, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-size: 0.95rem;
}

#authModal .quick-register-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(230, 57, 70, 0.3);
}

#authModal .quick-register-submit:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 575.98px) {
    #authModal .modal-dialog {
        margin: 0.4rem;
    }

    #authModal .quick-register-modal {
        border-radius: 14px;
    }

    #authModal .quick-register-body {
        padding: 0.85rem;
        gap: 0.85rem;
    }

    #authModal .qrp-item {
        grid-template-columns: 56px 1fr;
    }

    #authModal .qrp-item img {
        width: 56px;
        height: 56px;
    }

    #authModal .qrp-controls-row {
        flex-direction: column;
        gap: 0.6rem;
    }

    #authModal .quick-register-coupon-btn {
        min-width: 78px;
        font-size: 0.75rem;
    }

    #authModal .checkout-profile-card__row-value--address {
        white-space: normal;
    }

    #authModal .quick-register-form .col-md-6 {
        width: 100%;
    }
}

/* ===== Hero Slide-Specific Moods ===== */
.hero-carousel .carousel-item.hero-slide-hot .slide-content {
    background:
        radial-gradient(52% 68% at 18% 20%, rgba(255, 204, 124, 0.22), transparent 72%),
        radial-gradient(48% 64% at 80% 75%, rgba(255, 146, 116, 0.18), transparent 74%);
}

.hero-carousel .carousel-item.hero-slide-hot .hero-kicker {
    background: #ffd166 !important;
    color: #4d2b00 !important;
    border-color: rgba(77, 43, 0, 0.2) !important;
}

.hero-carousel .carousel-item.hero-slide-flash .slide-content {
    background:
        radial-gradient(56% 72% at 82% 18%, rgba(255, 255, 255, 0.2), transparent 70%),
        radial-gradient(46% 62% at 14% 80%, rgba(255, 118, 158, 0.19), transparent 72%);
}

.hero-carousel .carousel-item.hero-slide-flash .hero-kicker {
    background: #e63946 !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.24) !important;
}

.hero-carousel .carousel-item.hero-slide-fresh .slide-content {
    background:
        radial-gradient(58% 72% at 16% 24%, rgba(109, 229, 178, 0.2), transparent 72%),
        radial-gradient(44% 60% at 84% 78%, rgba(162, 233, 255, 0.18), transparent 70%);
}

.hero-carousel .carousel-item.hero-slide-fresh .hero-kicker {
    background: #2a9d8f !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.24) !important;
}

/* ===== Public Track Order ===== */
.gbc-track-hero {
    position: relative;
    overflow: hidden;
    padding: 5.5rem 0 4.25rem;
    background: linear-gradient(122deg, #1d3557 0%, #254f72 58%, #2a9d8f 100%);
}

.gbc-track-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 22%, rgba(244, 162, 97, 0.32), transparent 34%),
        radial-gradient(circle at 90% 14%, rgba(230, 57, 70, 0.26), transparent 36%),
        radial-gradient(circle at 50% 115%, rgba(255, 255, 255, 0.2), transparent 48%);
    pointer-events: none;
}

.gbc-track-badge {
    width: 74px;
    height: 74px;
    border-radius: 20px;
    margin-inline: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #1d3557;
    background: linear-gradient(135deg, #ff5000, #ffd7a8);
    box-shadow: 0 24px 38px -24px rgba(10, 20, 35, 0.8);
}

.gbc-track-title {
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: clamp(2rem, 3.3vw, 2.9rem);
}

.gbc-track-sub {
    color: rgba(255, 255, 255, 0.85);
    max-width: 580px;
    margin-inline: auto;
}

.gbc-track-form {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 24px;
    padding: 1.25rem;
    backdrop-filter: blur(10px);
}

.gbc-track-input-wrap {
    position: relative;
}

.gbc-track-input-icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: rgba(29, 53, 87, 0.7);
    font-size: 1.1rem;
}

.gbc-track-input {
    width: 100%;
    min-height: 56px;
    border-radius: 14px;
    border: 0;
    background: #fff;
    padding: 0.8rem 1rem 0.8rem 2.75rem;
    font-weight: 600;
    color: var(--gbc-secondary);
}

.gbc-track-input:focus {
    outline: 2px solid rgba(244, 162, 97, 0.7);
    outline-offset: 1px;
}

.gbc-track-hint,
.gbc-track-demo-hint {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9rem;
}

.gbc-track-btn {
    width: 100%;
    border: 0;
    border-radius: 14px;
    min-height: 52px;
    margin-top: 0.85rem;
    background: linear-gradient(130deg, #e63946, #ff5000);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gbc-track-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 20px -16px rgba(14, 21, 36, 0.8);
}

.gbc-track-result-card,
.gbc-panel,
.gbc-track-order-row,
.gbc-track-cta {
    border: 1px solid rgba(29, 53, 87, 0.12);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 34px -30px rgba(29, 53, 87, 0.58);
}

.gbc-track-result-card,
.gbc-track-cta {
    padding: 1.4rem;
}

.gbc-track-order-row-inner {
    padding: 0.95rem 1rem;
    display: grid;
    grid-template-columns: 1.1fr 1fr auto auto auto;
    align-items: center;
    gap: 0.75rem;
}

.gbc-track-order-deal {
    color: var(--gbc-text-muted);
}

.gbc-track-order-total {
    color: var(--gbc-secondary);
}

.gbc-track-order-btn {
    border-radius: 999px;
    min-width: 96px;
}

.letter-spacing {
    letter-spacing: 0.08em;
}

.gbc-pub-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.gbc-pub-step {
    flex: 1;
    text-align: center;
    min-width: 0;
}

.gbc-pub-step-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gbc-pub-step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef2f7;
    color: #5c6f83;
    border: 1px solid rgba(29, 53, 87, 0.14);
    position: relative;
    z-index: 2;
}

/* ===== Homepage Deals Cards v2 ===== */
.home-deals-section {
    position: relative;
}

.home-hot-deals {
    background:
        radial-gradient(36% 48% at 8% 8%, rgba(230, 57, 70, 0.1), transparent 72%),
        radial-gradient(42% 44% at 90% 92%, rgba(244, 162, 97, 0.12), transparent 74%),
        linear-gradient(180deg, #f8fafc 0%, #f3f7fb 100%);
}

.home-ending-soon {
    background:
        radial-gradient(30% 42% at 88% 4%, rgba(245, 158, 11, 0.14), transparent 72%),
        radial-gradient(30% 42% at 10% 95%, rgba(29, 53, 87, 0.1), transparent 72%),
        linear-gradient(180deg, #fffdf8 0%, #f9fafc 100%);
}

.home-deals-section .section-head-row {
    padding: 0.5rem 0 0.2rem;
    border-bottom: 1px solid rgba(29, 53, 87, 0.1);
}

.home-deals-section .section-title {
    letter-spacing: -0.02em;
    font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.home-deals-section .section-link-btn {
    border-width: 1px;
    font-weight: 700;
    padding: 0.5rem 1rem;
}

.home-hot-deals .hot-deal-card,
.home-ending-soon .ending-deal-card {
    border: 1px solid rgba(29, 53, 87, 0.12) !important;
    border-radius: 20px !important;
    overflow: hidden;
    background: linear-gradient(165deg, #ffffff 0%, #f9fcff 100%);
    transition: transform 0.28s ease, border-color 0.25s ease;
    box-shadow: none !important;
}

.home-hot-deals .hot-deal-card:hover,
.home-ending-soon .ending-deal-card:hover {
    transform: translateY(-7px);
    border-color: rgba(230, 57, 70, 0.3) !important;
    box-shadow: none !important;
}

.home-hot-deals .deal-media-wrap,
.home-ending-soon .deal-media-wrap {
    overflow: hidden;
    border-bottom: 1px solid rgba(29, 53, 87, 0.1);
}

.home-hot-deals .hot-deal-card .card-img-top,
.home-ending-soon .ending-deal-card .card-img-top {
    height: 210px;
    object-fit: cover;
    transition: transform 0.42s ease;
}

.home-hot-deals .hot-deal-card:hover .card-img-top,
.home-ending-soon .ending-deal-card:hover .card-img-top {
    transform: scale(1.045);
}

.home-deals-section .deal-badge-savings {
    background: linear-gradient(135deg, #e63946 0%, #cc2c3b 100%);
    color: #fff;
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    padding: 0.4rem 0.62rem;
}

.home-deals-section .deal-badge-status {
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.34rem 0.62rem;
    backdrop-filter: blur(4px);
}

/* ========================================================================
   COMPREHENSIVE RESPONSIVE FIXES — All Devices (320px → 2560px)
   ======================================================================== */

/* --- Global Image Constraint --- */
img {
    max-width: 100%;
    height: auto;
}

/* --- Global Table Responsive --- */
table {
    max-width: 100%;
}

/* --- Global Overflow Prevention --- */
body {
    overflow-x: hidden;
}

.container, .container-fluid {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* --- Input Zoom Prevention on iOS (font-size < 16px causes zoom) --- */
@media (max-width: 767.98px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="tel"],
    input[type="search"],
    input[type="url"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* ===== 320px — Ultra-Small Mobile (iPhone SE, Galaxy S) ===== */
@media (max-width: 374.98px) {
    /* Hero */
    .hero-carousel .carousel-item {
        min-height: 420px;
    }
    .hero-carousel h1 {
        font-size: clamp(1.6rem, 7vw, 2.2rem) !important;
    }
    .hero-carousel .lead {
        font-size: 0.92rem !important;
    }
    .slide-content {
        padding: 2rem 0;
    }

    /* Deal Card in Hero */
    .deal-card {
        max-width: 100%;
        padding: 1rem;
        border-radius: 18px;
    }
    .deal-card-image img {
        border-radius: 12px;
    }

    /* Category Cards */
    .category-card {
        padding: 0.8rem 0.2rem;
        border-radius: 12px;
    }
    .icon-wrapper {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        margin-bottom: 0.6rem;
    }
    .category-icon {
        font-size: 1.4rem !important;
    }
    .category-title {
        font-size: 0.82rem;
    }

    /* Deal Cards (Homepage) */
    .home-hot-deals .hot-deal-card .card-img-top,
    .home-ending-soon .ending-deal-card .card-img-top {
        height: 160px;
    }
    .home-hot-deals .hot-deal-card .card-body,
    .home-ending-soon .ending-deal-card .card-body {
        padding: 0.75rem 0.7rem 0.6rem;
    }
    .home-deals-section .deal-title {
        font-size: 0.88rem;
    }
    .home-deals-section .deal-price {
        font-size: 1.3rem;
    }

    /* Section Headers */
    .home-deals-section .section-head-row {
        padding: 0.5rem 0.6rem;
    }
    .home-deals-section .section-title {
        font-size: 1.15rem !important;
    }
    .home-deals-section .section-link-btn {
        padding: 0.35rem 0.7rem;
        font-size: 0.78rem;
        min-height: 36px;
    }

    /* How It Works */
    .home-how-it-works .how-step-card {
        padding: 1rem 0.9rem;
        border-radius: 14px;
    }
    .home-how-it-works .how-step-icon {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    /* Testimonials */
    .home-testimonials .testimonial-card {
        padding: 1rem !important;
    }
    .home-testimonials .testimonial-card .quote-mark {
        width: 38px;
        height: 38px;
    }

    /* Newsletter */
    .home-newsletter .newsletter-form .form-control {
        min-height: 44px;
        font-size: 0.88rem;
    }

    /* Auth Pages */
    .gbc-login-card, .gbc-glass-card {
        border-radius: 1.25rem;
        margin: 0.5rem !important;
    }
    .gbc-icon-circle {
        width: 64px;
        height: 64px;
    }
    .gbc-icon-circle i {
        font-size: 2rem;
    }
    .gbc-btn-login, .gbc-btn-primary {
        padding: 12px 18px;
        font-size: 0.95rem;
    }

    /* About Page */
    .about-page .about-header {
        padding: 3rem 0 !important;
    }
    .about-page .image-placeholder {
        min-height: 200px !important;
    }
    .about-page .display-4 {
        font-size: 1.8rem !important;
    }
    .about-page .display-6 {
        font-size: 1.35rem !important;
    }
    .about-page .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    .about-page .core-value-card {
        padding: 1.25rem 1rem;
    }
    .about-page .core-value-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    /* Contact Page */
    .gbc-contact-header {
        padding: 3rem 0 !important;
    }
    .gbc-info-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1rem;
    }
    .gbc-social-btn {
        width: 40px;
        height: 40px;
    }

    /* Track Order */
    .gbc-track-hero {
        padding: 3rem 0 2.5rem;
    }
    .gbc-track-badge {
        width: 58px;
        height: 58px;
        border-radius: 16px;
        font-size: 1.5rem;
    }
    .gbc-track-title {
        font-size: 1.6rem !important;
    }
    .gbc-track-form {
        padding: 0.85rem;
        border-radius: 16px;
    }
    .gbc-track-input {
        min-height: 48px;
        padding-left: 2.25rem;
        font-size: 0.88rem;
    }
    .gbc-track-btn {
        min-height: 46px;
        font-size: 0.95rem;
    }

    /* Track Order Timeline */
    .gbc-track-order-row-inner {
        grid-template-columns: 1fr;
        gap: 0.4rem;
        text-align: center;
        padding: 0.75rem;
    }

    /* Public Timeline */
    .gbc-pub-timeline {
        flex-direction: column;
        gap: 0.5rem;
    }
    .gbc-pub-step-icon {
        width: 40px;
        height: 40px;
    }

    /* Quick Register Modal */
    #authModal .qrp-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    #authModal .qrp-item img {
        width: 70px;
        height: 70px;
        margin: 0 auto;
    }
    #authModal .qrp-remove-order {
        margin: 0 auto;
    }

    /* Dashboard */
    .dashboard-page-title {
        font-size: 1.25rem;
    }
    .avatar-circle {
        width: 50px;
        height: 50px;
    }
    .dashboard-empty-state {
        padding: 1.8rem 0.75rem;
    }
    .dashboard-empty-state-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    /* Scroll to top */
    #scrollTopBtn {
        width: 38px;
        height: 38px;
        bottom: 1rem;
        right: 1rem;
        font-size: 1rem;
    }

    /* Toast */
    .gbc-toast-container {
        max-width: calc(100vw - 1rem);
        right: 0.5rem;
        top: 0.5rem;
    }

    /* Search Page */
    .gbc-search-wrap {
        margin-top: -1rem;
    }
    .gbc-search-box {
        padding: 0.55rem;
    }
    .gbc-search-box .form-control {
        min-height: 40px;
    }

    /* Footer */
    .footer-main { padding: 2rem 0 1.5rem; }
    .footer-heading { font-size: .88rem; margin-bottom: .85rem; padding-bottom: .5rem; }
    .footer-heading::after { width: 24px; height: 2px; }
    .footer-logo { font-size: 1.1rem; margin-bottom: .75rem; }
    .footer-text { font-size: .82rem; }
    .footer-link-item a { font-size: .82rem; padding: .3rem 0; }
    .footer-contact-item { font-size: .82rem; gap: .6rem; margin-bottom: .75rem; }
    .footer-contact-icon { width: 30px; height: 30px; font-size: .75rem; border-radius: 8px; }
    .footer-social-link { width: 34px; height: 34px; font-size: .85rem; border-radius: 8px; }
    .footer-newsletter-input { padding: .55rem .7rem; font-size: .82rem; }
    .footer-newsletter-btn { padding: .55rem .85rem; font-size: .85rem; }
    .footer-payment-badge { font-size: .72rem; padding: .3rem .55rem; }
    .footer-bottom-inner { flex-direction: column; text-align: center; gap: .5rem; }
    .footer-bottom-links { justify-content: center; }
    .footer-copyright { font-size: .78rem; }
    .footer-bottom-link { font-size: .78rem; padding: .15rem .5rem; }

    /* Display headings global */
    .display-4 { font-size: 1.75rem !important; }
    .display-5 { font-size: 1.5rem !important; }
    .display-6 { font-size: 1.25rem !important; }
}

/* ===== 375px — Standard Mobile (iPhone 6/7/8/X/12/13/14, Pixel) ===== */
@media (min-width: 375px) and (max-width: 575.98px) {
    /* Hero */
    .hero-carousel .carousel-item {
        min-height: 480px;
    }
    .slide-content {
        padding: 2.5rem 0;
    }

    /* Category Cards */
    .category-card {
        padding: 1rem 0.25rem;
    }

    /* Deal Card Images */
    .home-hot-deals .hot-deal-card .card-img-top,
    .home-ending-soon .ending-deal-card .card-img-top {
        height: 175px;
    }

    /* Auth Pages */
    .gbc-login-card, .gbc-glass-card {
        margin: 0.75rem !important;
    }

    /* About Page */
    .about-page .image-placeholder {
        min-height: 240px !important;
    }

    /* Track Order */
    .gbc-track-hero {
        padding: 3.5rem 0 3rem;
    }
    .gbc-track-order-row-inner {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    /* Quick Register Modal */
    #authModal .qrp-item {
        grid-template-columns: 60px 1fr auto;
    }
}

/* ===== 576px — Small Tablet / Large Phone (Landscape) — ENHANCED ===== */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-carousel .carousel-item {
        min-height: 520px;
    }

    .home-hot-deals .hot-deal-card .card-img-top,
    .home-ending-soon .ending-deal-card .card-img-top {
        height: 195px;
    }

    /* Section spacing */
    section, .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    /* Category Cards — 3 per row */
    .category-card {
        padding: 1.1rem 0.4rem;
    }
    .icon-wrapper {
        width: 54px;
        height: 54px;
    }

    /* Section headers */
    .home-deals-section .section-title {
        font-size: 1.3rem;
    }

    /* How It Works */
    .home-how-it-works .how-step-card {
        padding: 1.2rem 0.8rem;
    }

    /* Newsletter */
    .home-newsletter .newsletter-wrap {
        padding: 1.5rem;
        border-radius: 18px;
    }
    .newsletter-input-row {
        flex-direction: column;
        gap: 0.6rem;
    }
    .newsletter-input-row .form-control,
    .newsletter-input-row .btn {
        width: 100%;
    }

    /* Auth pages */
    .gbc-login-card, .gbc-glass-card {
        padding: 2rem 1.5rem !important;
        border-radius: 1.5rem;
    }

    /* About */
    .about-page .image-placeholder {
        min-height: 280px !important;
    }
    .about-page .feature-card {
        padding: 1.3rem 1rem;
    }
    .about-page .feature-icon {
        width: 56px;
        height: 56px;
    }

    /* Contact */
    .gbc-contact-header {
        padding: 3.5rem 0;
    }

    /* Track Order */
    .gbc-track-order-row-inner {
        grid-template-columns: 1fr 1fr auto;
    }
    .gbc-track-hero {
        padding: 3.5rem 0 2.5rem;
    }
    .gbc-track-title {
        font-size: 1.75rem;
    }

    /* Dashboard */
    .dashboard-page-title {
        font-size: 1.3rem;
    }

    /* Deal page detail */
    .deal-detail-section .card {
        border-radius: 1rem;
    }

    /* Footer */
    .footer-main { padding: 2.25rem 0 1.75rem; }

    /* Display headings */
    .display-4 { font-size: 2rem; }
    .display-5 { font-size: 1.65rem; }
    .display-6 { font-size: 1.4rem; }
}

/* ===== 768px — Tablet Portrait (iPad, Tab) — PREMIUM TABLET UX ===== */
@media (min-width: 768px) and (max-width: 991.98px) {

    /* ═══ Global tablet rhythm ═══ */
    .container {
        max-width: 720px;
    }
    section.py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    .card {
        border-radius: 1rem;
    }

    /* ═══ Hero ═══ */
    .hero-carousel .carousel-item {
        min-height: 520px;
    }
    .hero-carousel .slide-content {
        padding: 2rem 0;
    }
    .hero-carousel .hero-copy-col {
        text-align: center !important;
    }
    .hero-carousel .hero-copy-col::before {
        inset: -0.3rem;
        border-radius: 16px;
    }
    .hero-carousel .deal-card {
        max-width: 380px;
        margin: 1.5rem auto 0;
    }
    .hero-carousel .lead {
        margin-inline: auto;
        font-size: 1rem;
    }

    /* ═══ Category Cards ═══ */
    .category-card {
        padding: 1.2rem 0.5rem;
    }
    .icon-wrapper {
        width: 56px;
        height: 56px;
    }

    /* ═══ Deal cards ═══ */
    .home-hot-deals .hot-deal-card .card-img-top,
    .home-ending-soon .ending-deal-card .card-img-top {
        height: 200px;
    }
    .deal-card .card-body {
        padding: 1rem;
    }
    .deal-card .card-footer {
        padding: 0.75rem 1rem;
    }

    /* ═══ Section headers ═══ */
    .home-deals-section .section-head-row {
        flex-wrap: nowrap;
        align-items: center;
    }
    .home-deals-section .section-title {
        font-size: 1.5rem;
    }
    .section-head-row h2 {
        font-size: 1.5rem;
    }
    .section-head-row .lead,
    .section-head-row p {
        font-size: 0.9rem;
    }

    /* ═══ How It Works ═══ */
    .home-how-it-works .how-step-card {
        padding: 1.3rem 1rem;
    }
    .home-how-it-works .how-step-card h4 {
        font-size: 1.05rem;
    }
    .home-how-it-works .how-step-card p {
        font-size: 0.85rem;
    }

    /* ═══ Testimonials ═══ */
    .home-testimonials .testimonial-card {
        padding: 1.75rem !important;
    }

    /* ═══ Newsletter ═══ */
    .home-newsletter .newsletter-wrap {
        border-radius: 20px;
        padding: 2rem;
    }
    .newsletter-input-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    .newsletter-input-row .form-control,
    .newsletter-input-row .btn {
        width: 100%;
    }

    /* ═══ About Page ═══ */
    .about-page .about-header {
        padding: 4rem 0;
    }
    .about-page .display-4 {
        font-size: 2.4rem;
    }
    .about-page .feature-card {
        padding: 1.4rem 1.1rem;
    }
    .about-page .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.85rem;
    }

    /* ═══ Contact Page ═══ */
    .gbc-contact-header {
        padding: 3.5rem 0;
    }
    .gbc-info-item {
        padding: 1rem;
    }

    /* ═══ Track Order ═══ */
    .gbc-track-hero {
        padding: 4rem 0 3rem;
    }
    .gbc-track-title {
        font-size: 1.85rem;
    }

    /* ═══ Auth pages ═══ */
    .gbc-login-card, .gbc-glass-card {
        border-radius: 1.5rem;
    }

    /* ═══ Search page ═══ */
    .gbc-page-head .display-5,
    .gbc-page-head .display-6 {
        font-size: 1.75rem;
    }
    .search-filter-row {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .search-filter-chips {
        flex: 1 1 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }
    .search-filter-chips::-webkit-scrollbar {
        display: none;
    }
    .search-filter-controls {
        width: 100%;
        justify-content: flex-start;
    }
    .search-sort-select {
        flex: 1;
    }

    /* ═══ Deals page ═══ */
    .deals-grid .card-img-top {
        height: 190px;
    }

    /* ═══ Dashboard ═══ */
    .dashboard-page-title {
        font-size: 1.35rem;
    }
    .dashboard-content .card-header {
        padding: 0.85rem 1rem;
    }
    .dashboard-content .card-body {
        padding: 1rem;
    }
    .dashboard-content .table {
        font-size: 0.85rem;
    }
    .dashboard-content .table th {
        font-size: 0.72rem;
        white-space: nowrap;
    }

    /* ═══ Footer ═══ */
    .footer-main { padding: 2.75rem 0 2rem; }
    .footer-heading { font-size: .95rem; }
    .footer-social { gap: .5rem; }
    .footer-social-link { width: 36px; height: 36px; border-radius: 9px; }
    .footer-contact-icon { width: 32px; height: 32px; }

    /* ═══ Display typography ═══ */
    .display-4 { font-size: 2.4rem; }
    .display-5 { font-size: 1.85rem; }
    .display-6 { font-size: 1.55rem; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    /* ═══ Global spacing polish ═══ */
    .py-5 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
    .mb-5 { margin-bottom: 2.5rem !important; }
    .g-4 { --bs-gutter-y: 1.25rem; --bs-gutter-x: 1.25rem; }
    .g-5 { --bs-gutter-y: 1.75rem; --bs-gutter-x: 1.75rem; }

    /* ═══ Buttons — tablet-friendly touch targets ═══ */
    .btn {
        min-height: 42px;
        font-size: 0.88rem;
    }
    .btn-sm {
        min-height: 36px;
        font-size: 0.82rem;
    }
    .btn-lg {
        min-height: 48px;
    }

    /* ═══ Badges & pills ═══ */
    .badge {
        font-size: 0.72rem;
    }

    /* ═══ Modal ═══ */
    .modal-dialog {
        margin: 1rem;
    }
    .modal-content {
        border-radius: 1.25rem;
    }

    /* ═══ Breadcrumb ═══ */
    .breadcrumb {
        font-size: 0.83rem;
    }
    .breadcrumb-item + .breadcrumb-item::before {
        font-size: 0.7rem;
    }

    /* ═══ Page header sections ═══ */
    .gbc-page-head {
        padding: 2.5rem 0 !important;
    }
    .gbc-page-head h1 {
        font-size: 1.85rem;
    }
    .gbc-page-head .lead {
        font-size: 0.95rem;
    }
}

/* ===== Common Small-Screen Fixes (<= 767.98px) ===== */
@media (max-width: 767.98px) {
    /* Hero */
    .hero-carousel .slide-content::after {
        display: none;
    }
    .hero-carousel .display-4 {
        font-size: 1.75rem;
    }
    .hero-carousel .lead {
        font-size: 0.95rem;
    }

    /* How It Works */
    .home-how-it-works .how-step-card h4 {
        font-size: 1.05rem;
    }
    .home-how-it-works .how-step-card p {
        font-size: 0.88rem;
    }

    /* Deal cards — full-bleed with rounded corners */
    .hot-deal-card,
    .ending-deal-card {
        border-radius: 1rem;
    }
    .hot-deal-card .card-body,
    .ending-deal-card .card-body {
        padding: 1rem;
    }
    .hot-deal-card .card-title,
    .ending-deal-card .card-title {
        font-size: 1rem;
    }

    /* Deal detail page */
    .deal-detail-section .gallery-image {
        border-radius: 1rem;
    }
    
    /* Testimonials */
    .home-testimonials .testimonial-card {
        padding: 1.25rem !important;
    }

    /* Newsletter — full-width fields */
    .home-newsletter .newsletter-wrap {
        border-radius: 16px;
        padding: 1.5rem 1rem;
    }

    /* Footer columns - stack single column */
    .site-footer .col-lg-3, .site-footer .col-md-6 {
        margin-bottom: .75rem;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: .5rem;
    }
    .footer-bottom-links { justify-content: center; }

    /* Page Headers */
    .gbc-page-head {
        padding: 2rem 0 !important;
    }
    .gbc-page-head h1 {
        font-size: 1.6rem !important;
    }
    .gbc-page-head::after {
        width: 200px;
        height: 200px;
        top: -60px;
        right: -40px;
    }

    /* Legal/Static Pages */
    .gbc-legal-content p,
    .gbc-legal-content li {
        font-size: 0.92rem;
    }
    .gbc-legal-content {
        padding: 1.5rem 1rem;
    }

    /* Search KPIs - 2 columns on tablet */
    .gbc-search-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Search Cards */
    .gbc-search-card img {
        height: auto;
        max-height: 180px;
    }

    /* Auth Shell */
    .gbc-auth-shell {
        padding: 1.25rem 0;
        min-height: auto;
    }

    /* Contact Form */
    .gbc-card {
        border-radius: 14px;
    }
    .gbc-input-group {
        border-radius: 12px;
    }
    .gbc-input-group .input-group-text {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
        border-radius: 12px 0 0 12px;
    }
    .gbc-input-group .form-control {
        border-radius: 0 12px 12px 0;
    }
    textarea.form-control {
        border-radius: 14px;
    }

    /* Map placeholder */
    .gbc-map-placeholder {
        height: 160px;
        border-radius: 14px;
    }

    /* Dashboard Tables – ensure wrapping */
    .dashboard-table {
        font-size: 0.82rem;
    }
    .dashboard-table th {
        font-size: 0.7rem;
    }
    .dashboard-sidebar-card {
        border-radius: 1rem;
    }

    /* Order Timeline */
    .gbc-pub-timeline {
        flex-wrap: wrap;
    }
    .gbc-pub-step {
        flex: 0 0 calc(33.33% - 0.5rem);
    }

    /* Quick Register Modal */
    #authModal .quick-register-header {
        padding: 1rem;
    }
    #authModal .quick-register-header h5 {
        font-size: 1.1rem;
    }

    /* Notification dropdown */
    .dropdown-menu[style*="width: 340px"] {
        width: calc(100vw - 2rem) !important;
        max-width: 340px;
    }

    /* Search Suggestions */
    .gbc-search-suggestions {
        max-width: calc(100vw - 2rem);
    }
    .gbc-search-suggestion-thumb {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    /* FAQ */
    .accordion-body {
        font-size: 0.9rem;
        padding: 0.85rem 1rem;
    }

    /* Badges & pills */
    .badge {
        font-size: 0.72rem;
        padding: 0.3em 0.55em;
    }
}

/* ===== Common Medium-Screen Fixes (<= 991.98px) ===== */
@media (max-width: 991.98px) {
    /* Dashboard Sidebar */
    .dashboard-sidebar-card {
        margin-bottom: 1rem;
    }

    /* Section spacing — compact for mid screens */
    .container {
        padding-inline: clamp(1rem, 3vw, 1.5rem);
    }

    /* Cards — balanced radius on tablet/phone */
    .card {
        border-radius: clamp(0.75rem, 2vw, 1.25rem);
    }

    /* Tables — horizontal scroll with shadow hint */
    .table-responsive {
        -webkit-overflow-scrolling: touch;
        border-radius: 0.75rem;
    }
    .table-responsive table {
        margin-bottom: 0;
    }

    /* Forms — tap-friendly */
    .form-control, .form-select {
        min-height: 44px;
        font-size: 0.9rem;
    }
    .btn {
        min-height: 44px;
        padding: 0.5rem 1.25rem;
    }
    .form-label {
        font-size: 0.88rem;
        font-weight: 600;
    }
    .form-text {
        font-size: 0.78rem;
    }

    /* About Header */
    .about-page .about-header::before {
        width: 300px;
        height: 300px;
    }
    .about-page .about-header::after {
        width: 200px;
        height: 200px;
    }

    /* Contact Header */
    .gbc-contact-header::before {
        width: 300px;
        height: 300px;
    }
    .gbc-contact-header::after {
        width: 200px;
        height: 200px;
    }

    /* Timeline */
    .gbc-order-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Deal detail page */
    .deal-detail-section {
        padding: 2rem 0;
    }

    /* FAQ */
    .accordion-button {
        font-size: 0.95rem;
        padding: 0.85rem 1rem;
    }

    /* Modal dialogs — better sizing */
    .modal-dialog {
        margin: 0.75rem;
    }
    .modal-content {
        border-radius: 1.25rem;
    }

    /* Breadcrumb */
    .breadcrumb {
        font-size: 0.85rem;
    }

    /* Dashboard content — full-width polish */
    .dashboard-content {
        padding-top: 0;
    }
    .dashboard-page-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    .dashboard-page-header .btn-group,
    .dashboard-page-header .d-flex {
        width: 100%;
    }

    /* Dashboard stat cards — 2-col on tablet */
    .dashboard-content .row.g-3 > [class*="col-md-3"] {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Dashboard tables — compact & scrollable */
    .dashboard-content .table {
        font-size: 0.85rem;
    }
    .dashboard-content .table th {
        font-size: 0.73rem;
        white-space: nowrap;
        padding: 0.5rem 0.6rem;
    }
    .dashboard-content .table td {
        padding: 0.55rem 0.6rem;
    }

    /* Alert/notification spacing */
    .alert {
        font-size: 0.88rem;
        padding: 0.75rem 1rem;
        border-radius: 0.75rem;
    }

    /* Pagination */
    .pagination .page-link {
        min-width: 38px;
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.85rem;
    }
}

/* ===== Very Small Screen (<= 360px) — edge case ===== */
@media (max-width: 360px) {
    .gbc-pub-step {
        flex: 0 0 calc(50% - 0.35rem);
    }

    .gbc-track-order-row-inner {
        grid-template-columns: 1fr;
    }

    /* How It Works step cards */
    .home-how-it-works .how-step-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ===== Very Large Screens (>= 1400px) ===== */
@media (min-width: 1400px) {
    .hero-carousel .carousel-item {
        min-height: 700px;
    }

    /* spacious sections */
    .home-deals-section {
        padding: 4.5rem 0;
    }
    .home-how-it-works {
        padding: 4rem 0;
    }

    /* Wider containers */
    .container-xxl {
        max-width: 1440px;
    }

    /* Deal cards — keep proportional */
    .home-hot-deals .hot-deal-card .card-img-top,
    .home-ending-soon .ending-deal-card .card-img-top {
        height: 220px;
    }

    /* Footer */
    .footer-main { padding: 3rem 0 2.25rem; }
}

/* ===== Ultra Wide Screens (>= 1920px) ===== */
@media (min-width: 1920px) {
    .hero-carousel .carousel-item {
        min-height: 760px;
    }

    .home-hot-deals .hot-deal-card .card-img-top,
    .home-ending-soon .ending-deal-card .card-img-top {
        height: 240px;
    }

    /* Prevent overwide layout */
    .container {
        max-width: 1320px;
    }
}

/* ===== Desktop Narrow (992px – 1199px) — 1200-ish squeeze fix ===== */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Hero — tighter padding */
    .hero-carousel .slide-content {
        padding: 2rem 0;
    }
    .hero-carousel .display-4 {
        font-size: 2.2rem;
    }
    .hero-carousel .lead {
        font-size: 1rem;
    }

    /* Deal cards — slightly smaller images */
    .home-hot-deals .hot-deal-card .card-img-top,
    .home-ending-soon .ending-deal-card .card-img-top {
        height: 175px;
    }

    /* Category cards — ensure 4-across works */
    .category-card {
        padding: 1rem 0.4rem;
    }
    .category-card h6 {
        font-size: 0.8rem;
    }

    /* About / Contact */
    .about-page .display-4 {
        font-size: 2.4rem;
    }
    .gbc-contact-header .display-6 {
        font-size: 1.6rem;
    }

    /* Dashboard sidebar — tighter */
    .dashboard-sidebar-card .nav-link {
        font-size: 0.88rem;
        padding: 0.55rem 0.85rem;
    }

    /* Footer — tighter columns */
    .footer-heading { font-size: .95rem; }
    .footer-link-item a { font-size: .85rem; }
    .footer-text { font-size: .85rem; }
}

.home-deals-section .deal-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
}

.home-deals-section .deal-category-chip,
.home-deals-section .deal-left-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.22rem 0.58rem;
    white-space: nowrap;
}

.home-deals-section .deal-category-chip {
    background: rgba(29, 53, 87, 0.08);
    color: #214466;
}

.home-deals-section .deal-left-chip {
    background: rgba(230, 57, 70, 0.12);
    color: #bf2d39;
}

.home-deals-section .deal-left-chip.urgency {
    background: rgba(245, 158, 11, 0.18);
    color: #8a5300;
}

.home-deals-section .deal-title {
    color: #1d3557;
    font-size: 0.99rem;
    font-weight: 750;
    line-height: 1.38;
    min-height: 2.75rem;
    margin-bottom: 0.55rem;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-deals-section .deal-price {
    color: var(--gbc-primary);
    letter-spacing: -0.01em;
}

.home-deals-section .deal-mini-meta {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.home-deals-section .deal-mini-meta span {
    background: rgba(69, 123, 157, 0.08);
    color: #335f80;
    border-radius: 999px;
    padding: 0.22rem 0.52rem;
    font-size: 0.75rem;
    font-weight: 650;
}

.home-deals-section .progress {
    border-radius: 999px;
    background: rgba(29, 53, 87, 0.12);
}

.home-deals-section .progress-bar {
    border-radius: 999px;
}

.home-deals-section .deal-countdown-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.28rem 0.56rem;
    background: rgba(29, 53, 87, 0.06);
}

.home-hot-deals .deal-countdown-wrap {
    color: #49596e !important;
}

.home-ending-soon .deal-countdown-wrap {
    background: rgba(245, 158, 11, 0.15);
    color: #8a5300 !important;
}

.home-hot-deals .hot-deal-card .card-footer,
.home-ending-soon .ending-deal-card .card-footer {
    border-top: 1px solid rgba(29, 53, 87, 0.08) !important;
    background: transparent !important;
    padding-top: 0.2rem;
}

.home-deals-section .deal-cta-btn {
    font-weight: 750;
    letter-spacing: 0.01em;
    min-height: 42px;
    border: none !important;
    transition: transform 0.2s ease, filter 0.2s ease;
}

/* ===== Section Header Redesign v2: Hot Deals & Ending Soon ===== */
.home-deals-section .section-head-row {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    padding: 1rem 1.15rem 1rem 1.55rem !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    margin-bottom: 1.75rem !important;
    background: transparent !important;
}

/* Left accent bar */
.home-deals-section .section-head-row::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 14% !important;
    height: 72% !important;
    width: 5px !important;
    border-radius: 0 5px 5px 0 !important;
    z-index: 1 !important;
}

/* Hot Deals theme */
.section-head-hot {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.08) 0%, rgba(244, 162, 97, 0.05) 100%) !important;
    border: 1.5px solid rgba(230, 57, 70, 0.2) !important;
}
.section-head-hot::before {
    background: linear-gradient(180deg, #e63946, #f28482) !important;
}

/* Ending Soon theme */
.section-head-ending {
    background: linear-gradient(135deg, rgba(244, 162, 97, 0.13) 0%, rgba(233, 196, 106, 0.07) 100%) !important;
    border: 1.5px solid rgba(244, 162, 97, 0.38) !important;
}
.section-head-ending::before {
    background: linear-gradient(180deg, #ff5000, #e9c46a) !important;
}

/* Section head body */
.section-head-body {
    flex: 1 1 0;
    min-width: 0;
}

/* Eyebrow badge */
.section-head-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    padding: 0.22rem 0.72rem;
    border-radius: 999px;
    margin-bottom: 0.38rem;
}
.section-head-hot .section-head-eyebrow {
    color: #b91c1c;
    background: rgba(230, 57, 70, 0.12);
}
.section-head-ending .section-head-eyebrow {
    color: #78350f;
    background: rgba(244, 162, 97, 0.24);
}

/* Icon animations */
.section-head-icon-hot {
    display: inline-block;
    animation: sectionHotPulse 1.6s ease-in-out infinite;
}
@keyframes sectionHotPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.3) rotate(-6deg); }
}

.section-head-icon-ending {
    display: inline-block;
    animation: sectionEndingRock 2.2s ease-in-out infinite;
}
@keyframes sectionEndingRock {
    0%, 40%, 100% { transform: rotate(0deg); }
    55%, 75% { transform: rotate(14deg); }
}

/* Section title inside header row */
.home-deals-section .section-head-row .section-title {
    font-size: clamp(1.18rem, 2.1vw, 1.58rem) !important;
    color: var(--gbc-secondary) !important;
    line-height: 1.18 !important;
    margin-bottom: 0.1rem !important;
}
.home-deals-section .section-head-row .section-title::after {
    display: none !important;
}

/* Subtitle */
.section-head-sub {
    font-size: 0.83rem;
    color: #6b7e96;
    line-height: 1.42;
    margin-top: 0.12rem;
}

/* CTA buttons */
.btn-hot-link {
    flex-shrink: 0 !important;
    font-weight: 700 !important;
    font-size: 0.81rem !important;
    padding: 0.48rem 1.15rem !important;
    border-radius: 999px !important;
    border: 1.5px solid rgba(230, 57, 70, 0.42) !important;
    color: #c0132a !important;
    background: rgba(230, 57, 70, 0.07) !important;
    transition: background 0.22s ease, color 0.22s ease, transform 0.2s ease !important;
    box-shadow: none !important;
}
.btn-hot-link:hover,
.btn-hot-link:focus {
    background: #e63946 !important;
    color: #fff !important;
    border-color: #e63946 !important;
    transform: translateY(-2px) !important;
}

.btn-ending-link {
    flex-shrink: 0 !important;
    font-weight: 700 !important;
    font-size: 0.81rem !important;
    padding: 0.48rem 1.15rem !important;
    border-radius: 999px !important;
    border: 1.5px solid rgba(244, 162, 97, 0.55) !important;
    color: #92400e !important;
    background: rgba(244, 162, 97, 0.1) !important;
    transition: background 0.22s ease, color 0.22s ease, transform 0.2s ease !important;
    box-shadow: none !important;
}
.btn-ending-link:hover,
.btn-ending-link:focus {
    background: #ff5000 !important;
    color: #fff !important;
    border-color: #ff5000 !important;
    transform: translateY(-2px) !important;
}

/* Responsive: xs */
@media (max-width: 575.98px) {
    .home-deals-section .section-head-row {
        padding: 0.82rem 0.9rem 0.82rem 1.25rem !important;
        border-radius: 14px !important;
        gap: 0.7rem !important;
    }
    .home-deals-section .section-head-row .section-title {
        font-size: 1.12rem !important;
    }
    .section-head-eyebrow {
        font-size: 0.66rem !important;
        padding: 0.18rem 0.6rem !important;
    }
    .btn-hot-link,
    .btn-ending-link {
        font-size: 0.77rem !important;
        padding: 0.42rem 0.88rem !important;
    }
}
/* ===== END Section Header Redesign v2 ===== */

.home-hot-deals .deal-cta-btn {
    background: linear-gradient(135deg, #e63946 0%, #cb2d3c 100%) !important;
}

.home-ending-soon .deal-cta-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #e89209 100%) !important;
    color: #fff !important;
}

.home-deals-section .deal-cta-btn:hover {
    transform: translateY(-1px);
    filter: brightness(0.97);
}

@media (max-width: 991.98px) {
    .home-deals-section .section-head-row {
        gap: 0.75rem;
        align-items: flex-start !important;
    }

    .home-hot-deals .hot-deal-card .card-img-top,
    .home-ending-soon .ending-deal-card .card-img-top {
        height: 195px;
    }
}

@media (max-width: 575.98px) {
    .home-hot-deals .hot-deal-card .card-img-top,
    .home-ending-soon .ending-deal-card .card-img-top {
        height: 176px;
    }

    .home-deals-section .deal-title {
        min-height: auto;
    }

    .home-deals-section .deal-topline {
        flex-wrap: wrap;
    }
}

.gbc-pub-step-connector {
    position: absolute;
    left: calc(50% + 24px);
    right: calc(-50% + 24px);
    height: 3px;
    border-radius: 6px;
    background: #dbe3ec;
}

.gbc-pub-step-label {
    margin: 0.7rem 0 0;
    color: var(--gbc-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}

.gbc-pub-step.is-done .gbc-pub-step-icon,
.gbc-pub-step.is-current .gbc-pub-step-icon {
    background: var(--gbc-success);
    color: #fff;
    border-color: rgba(42, 157, 143, 0.6);
}

.gbc-pub-step.is-done .gbc-pub-step-connector {
    background: linear-gradient(90deg, #2a9d8f, #64c3b8);
}

.gbc-pub-step.is-current .gbc-pub-step-icon {
    box-shadow: 0 0 0 5px rgba(42, 157, 143, 0.14);
}

.gbc-pub-step-current-badge {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 999px;
    color: #17574f;
    background: rgba(42, 157, 143, 0.18);
    padding: 0.2rem 0.55rem;
}

.gbc-milestone-list {
    display: grid;
    gap: 0.8rem;
}

.gbc-milestone-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.8rem;
    align-items: center;
    border: 1px solid rgba(29, 53, 87, 0.09);
    border-radius: 12px;
    padding: 0.7rem 0.8rem;
    background: #fbfdff;
}

.gbc-milestone-icon,
.gbc-how-icon,
.gbc-track-result-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.gbc-track-result-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(230, 57, 70, 0.11);
    color: var(--gbc-primary);
    margin-inline: auto;
}

.gbc-track-result-icon--error {
    background: rgba(230, 57, 70, 0.13);
}

.gbc-track-cta {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.gbc-track-cta-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(69, 123, 157, 0.12);
    color: #1d3557;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991.98px) {
    .gbc-track-order-row-inner {
        grid-template-columns: 1fr 1fr;
        gap: 0.35rem 0.8rem;
    }

    .gbc-track-order-total,
    .gbc-track-order-btn {
        justify-self: start;
    }

    .gbc-pub-timeline {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gbc-pub-step-connector {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .gbc-track-hero {
        padding-top: 4.5rem;
    }

    .gbc-track-form {
        padding: 1rem;
        border-radius: 16px;
    }

    .gbc-track-order-row-inner,
    .gbc-pub-timeline,
    .gbc-milestone-item {
        grid-template-columns: 1fr;
    }

    .gbc-milestone-time {
        text-align: left !important;
    }

    .gbc-track-cta {
        flex-wrap: wrap;
    }
}

/* ===== Homepage Hero Polish (Final Override) ===== */
.hero-carousel {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(70% 120% at 90% 8%, rgba(244, 162, 97, 0.32), transparent 52%),
        radial-gradient(55% 100% at 12% 86%, rgba(69, 123, 157, 0.36), transparent 58%),
        linear-gradient(132deg, #e63946 0%, #b62f3d 28%, #1d3557 69%, #244f79 100%);
}

.hero-carousel::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(42% 56% at 14% 22%, rgba(255, 255, 255, 0.15), transparent 70%),
        radial-gradient(36% 52% at 84% 18%, rgba(255, 230, 180, 0.2), transparent 72%),
        radial-gradient(34% 48% at 62% 86%, rgba(125, 202, 255, 0.18), transparent 72%);
    z-index: 0;
    pointer-events: none;
}

.hero-carousel::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        conic-gradient(from 210deg at 18% 74%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 42%),
        conic-gradient(from 10deg at 88% 30%, rgba(255, 193, 132, 0.2), rgba(255, 193, 132, 0) 46%);
    mix-blend-mode: screen;
    opacity: 0.65;
    pointer-events: none;
    z-index: 0;
}

.hero-carousel .carousel-item {
    min-height: clamp(620px, 74vh, 760px);
}

.hero-carousel .slide-content {
    z-index: 1;
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: transparent;
}

.hero-carousel h1 {
    font-family: 'Sora', 'Poppins', 'Trebuchet MS', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.06;
    margin-bottom: 1rem;
}

.hero-carousel .lead {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-carousel .badge {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    letter-spacing: 0.05em;
    font-weight: 700;
}

.hero-carousel .btn-lg {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero-carousel .btn-outline-light {
    border-width: 1.5px;
    background: rgba(255, 255, 255, 0.04);
}

.hero-carousel .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.14);
}

.hero-carousel .deal-card {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 24px;
    box-shadow: 0 28px 40px -18px rgba(8, 14, 27, 0.6);
    max-width: 390px;
}

.hero-carousel .deal-card-image {
    border-radius: 16px;
    margin-bottom: 1rem;
}

.hero-carousel .deal-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

.hero-carousel .deal-price {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.hero-carousel .progress-info {
    font-size: 0.76rem;
    letter-spacing: 0.04em;
}

.hero-carousel .carousel-indicators {
    margin-bottom: 1.2rem;
}

.hero-carousel .carousel-indicators [data-bs-target] {
    height: 8px;
    width: 22px;
    border-radius: 999px;
    opacity: 0.55;
}

.hero-carousel .carousel-indicators .active {
    width: 38px;
    opacity: 1;
    background: linear-gradient(90deg, #ffd166, #ff5000);
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    opacity: 1;
    width: 56px;
    height: 56px;
}

.hero-carousel .carousel-control-prev { left: 1.2rem; }
.hero-carousel .carousel-control-next { right: 1.2rem; }

.hero-carousel .control-icon {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow: 0 12px 22px -14px rgba(0, 0, 0, 0.7);
}

@media (max-width: 991.98px) {
    .hero-carousel .carousel-item {
        min-height: auto;
    }

    .hero-carousel .slide-content {
        padding: 2.8rem 0 2.3rem;
    }

    .hero-carousel .lead {
        margin-inline: auto;
    }

    .hero-carousel .deal-card {
        max-width: 520px;
        margin-top: 1.3rem;
    }
}

@media (max-width: 575.98px) {
    .hero-carousel h1 {
        font-size: clamp(1.85rem, 8.3vw, 2.4rem);
    }

    .hero-carousel .lead {
        font-size: 0.98rem;
    }

    .hero-carousel .btn-lg {
        width: 100%;
        padding-inline: 1rem !important;
    }

    .hero-carousel .deal-card {
        border-radius: 18px;
        padding: 1rem;
    }

    .hero-carousel .deal-title {
        font-size: 1rem;
    }

    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        display: none;
    }
}

/* ===== Premium Hero Layout Upgrade ===== */
.hero-carousel .hero-copy-col {
    position: relative;
}

.hero-carousel .hero-copy-col::before {
    content: '';
    position: absolute;
    inset: -0.7rem -0.7rem -0.7rem -0.7rem;
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 22px 40px -28px rgba(5, 10, 20, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: -1;
}

.hero-carousel .hero-kicker {
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    font-weight: 800;
    border-radius: 999px;
    box-shadow: 0 8px 16px -12px rgba(0, 0, 0, 0.55);
}

.hero-carousel .hero-chip-row .badge {
    border-radius: 999px;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.23);
    background: rgba(15, 23, 42, 0.36) !important;
    font-weight: 600;
}

.hero-carousel .hero-trust-row {
    align-items: center;
}

.hero-carousel .hero-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    border-radius: 999px;
    padding: 0.36rem 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
}

.hero-carousel .hero-trust-pill i {
    color: #ffd166;
    font-size: 0.74rem;
}

.hero-carousel .avatar-group img,
.hero-carousel .avatar-group .avatar-more {
    box-shadow: 0 8px 18px -14px rgba(0, 0, 0, 0.9);
}

/* Floating animation — only plays once the slide is fully active so it
   doesn't restart visibly during the slide-in transition */
.hero-carousel .deal-card.floating {
    animation: heroFloat 6.2s ease-in-out infinite;
    animation-play-state: paused;
}

.hero-carousel .carousel-item.active .deal-card.floating {
    animation-play-state: running;
}

.hero-carousel .deal-card.floating.delay {
    animation-delay: 1.1s;
}

@keyframes heroFloat {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 991.98px) {
    .hero-carousel .hero-copy-col::before {
        inset: -0.35rem -0.35rem;
        border-radius: 18px;
    }
}

@media (max-width: 575.98px) {
    .hero-carousel .hero-copy-col::before {
        display: none;
    }

    .hero-carousel .hero-chip-row .badge {
        margin-bottom: 0.35rem;
    }

    .hero-carousel .hero-trust-pill {
        font-size: 0.72rem;
        padding: 0.32rem 0.62rem;
    }
}

/* ===== Hero Shadowless Mode ===== */
.hero-carousel h1 {
    text-shadow: none !important;
}

.hero-carousel .hero-copy-col::before,
.hero-carousel .hero-kicker,
.hero-carousel .deal-card,
.hero-carousel .deal-card:hover,
.hero-carousel .deal-card::before,
.hero-carousel .deal-card-image,
.hero-carousel .card-badge,
.hero-carousel .control-icon,
.hero-carousel .avatar-group img,
.hero-carousel .avatar-group .avatar-more,
.hero-carousel .btn,
.hero-carousel .btn:hover,
.hero-carousel .btn.hover-lift:hover {
    box-shadow: none !important;
}

.hero-carousel .deal-card {
    border-width: 1px;
}

/* ===== Search Page: Filter Bar ===== */
.search-filter-bar {
    background: #fff;
    border: 1px solid rgba(29, 53, 87, 0.12);
    border-radius: 16px;
    padding: 0.75rem 1rem;
}

.search-filter-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}

/* Category chips */
.search-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    flex: 1 1 0;
    min-width: 0;
}

.search-chip {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    border: 1.5px solid rgba(29, 53, 87, 0.18);
    background: transparent;
    color: var(--gbc-secondary);
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    white-space: nowrap;
}
.search-chip:hover {
    border-color: var(--gbc-primary);
    color: var(--gbc-primary);
    background: rgba(230, 57, 70, 0.05);
}
.search-chip.active {
    background: var(--gbc-primary);
    border-color: var(--gbc-primary);
    color: #fff;
}

/* Sort + price controls */
.search-filter-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.search-sort-select {
    min-width: 155px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1.5px solid rgba(29, 53, 87, 0.18);
    color: var(--gbc-secondary);
    padding-right: 1.8rem;
}

.search-price-toggle {
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1.5px solid rgba(29, 53, 87, 0.18);
    color: var(--gbc-secondary);
    background: transparent;
    padding: 0.3rem 0.85rem;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.search-price-toggle:hover,
.search-price-toggle.active {
    background: rgba(29, 53, 87, 0.07);
    border-color: var(--gbc-secondary);
}

/* Price range (collapsible) */
.search-price-range {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding-top: 0.7rem;
    margin-top: 0.65rem;
    border-top: 1px solid rgba(29, 53, 87, 0.08);
}
.search-price-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gbc-secondary);
    white-space: nowrap;
}
.search-price-inputs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.search-price-inputs .form-control {
    width: 100px;
    border-radius: 999px;
    font-size: 0.8rem;
}
.search-price-sep {
    color: #9aa5b4;
    font-size: 0.8rem;
}

/* Count bar */
.search-count-bar {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.search-count-text {
    font-size: 0.88rem;
    color: #6b7e96;
}
.search-count-text #searchCountBadge {
    font-weight: 700;
    color: var(--gbc-secondary);
}
.search-loading-spinner {
    font-size: 0.82rem;
    color: var(--gbc-primary);
}

/* Skeleton shimmer */
.skeleton {
    background: linear-gradient(90deg, #f0f4f8 25%, #e4ecf4 50%, #f0f4f8 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.4s ease infinite;
    border-radius: 6px;
}
@keyframes skeletonShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (max-width: 767.98px) {
    .search-filter-chips {
        order: 2;
    }
    .search-filter-controls {
        order: 1;
        width: 100%;
    }
    .search-sort-select {
        flex: 1;
    }
}

/* ===== Contact Form: Dynamic Enhancements ===== */
#contactForm .is-invalid {
    border-color: #e63946 !important;
    box-shadow: 0 0 0 0.18rem rgba(230, 57, 70, 0.18) !important;
}
#contactForm .is-valid {
    border-color: #2dc653 !important;
    box-shadow: 0 0 0 0.18rem rgba(45, 198, 83, 0.14) !important;
}
#contactForm .is-invalid ~ .invalid-feedback,
#contactForm .is-invalid + .invalid-feedback {
    display: block;
}
#contactForm textarea.is-invalid,
#contactForm textarea.is-valid {
    padding-right: 0.75rem;
}
#msgCharCount {
    font-size: 0.73rem;
    transition: color 0.2s ease;
}
#contactSubmitBtn .spinner-border-sm {
    vertical-align: -0.1em;
}
/* ===== END Search + Contact Dynamic CSS ===== */

