/* ============================================
   BELLEGIRL® JEANS - Premium Fashion Store
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800&family=Cormorant+Garamond:wght@400;500;600;700&display=swap');

:root {
    --primary: #1a3a5c;
    --primary-dark: #0f2440;
    --primary-light: #2d5f8a;
    --denim: #1e3a5f;
    --denim-light: #4a7fb5;
    --denim-dark: #0d1f33;
    --gold: #c9a84c;
    --gold-light: #e0c878;
    --gold-dark: #a88a2e;
    --rose: #d4a0a0;
    --cream: #faf6f0;
    --white: #ffffff;
    --black: #0a0a0a;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --radius: 8px;
    --radius-sm: 6px;
    --radius-lg: 16px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', 'Segoe UI', sans-serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--primary); transition: var(--transition); text-decoration: none; }
a:hover { color: var(--gold); }

img { max-width: 100%; height: auto; }

/* ---- ANNOUNCEMENT BAR ---- */
.announcement-bar {
    background: linear-gradient(90deg, var(--denim-dark), var(--primary), var(--denim-dark));
    color: #fff;
    text-align: center;
    padding: 8px 0;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.announcement-bar span { color: var(--gold-light); }

/* ---- NAVBAR ---- */
.navbar {
    background: var(--white) !important;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: none;
    transition: var(--transition);
}
.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--denim-dark) !important;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}
.navbar-brand img {
    height: 45px;
    width: auto;
}
.navbar-brand .brand-sub {
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-top: -4px;
}
.navbar .nav-link {
    color: var(--gray-700) !important;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.5rem 0.9rem !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}
.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}
.navbar .nav-link:hover { color: var(--primary) !important; }
.navbar .nav-link:hover::after { width: 60%; }
.navbar .form-control {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    color: var(--gray-800);
    border-radius: 50px;
    padding: 0.45rem 1.2rem;
    font-size: 0.82rem;
}
.navbar .form-control:focus {
    background: var(--white);
    border-color: var(--denim-light);
    box-shadow: 0 0 0 3px rgba(30,58,95,0.1);
}
.navbar .btn-outline-light {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    border-radius: 50px;
    font-size: 0.82rem;
}
.navbar .btn-outline-light:hover {
    background: var(--primary) !important;
    color: #fff !important;
}
.nav-icons { display: flex; align-items: center; gap: 8px; }
.nav-icon-btn {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: transparent;
    color: var(--gray-700);
    font-size: 1.1rem;
    transition: var(--transition);
    border: none; cursor: pointer;
    text-decoration: none;
    position: relative;
}
.nav-icon-btn:hover { background: var(--gray-100); color: var(--primary); }
.cart-count {
    position: absolute; top: -2px; right: -2px;
    background: var(--gold); color: #fff;
    font-size: 0.6rem; font-weight: 700;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* ---- HERO SLIDER ---- */
.hero-section { position: relative; overflow: hidden; }
.hero-slide {
    min-height: 550px;
    padding: 80px 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,20,35,0.75) 0%, rgba(30,58,95,0.5) 50%, rgba(10,20,35,0.3) 100%);
    z-index: 1;
}
.hero-slide .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
}
.hero-slide .hero-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 12px;
    display: inline-block;
}
.hero-slide h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 3.2rem;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 16px;
}
.hero-slide .lead {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    font-weight: 300;
    margin-bottom: 28px;
}
.hero-slide .btn-hero {
    padding: 14px 40px;
    font-weight: 600;
    border-radius: 0;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--black);
    border: 2px solid var(--gold);
    transition: var(--transition);
}
.hero-slide .btn-hero:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.hero-slide .btn-hero-outline {
    padding: 14px 40px;
    font-weight: 600;
    border-radius: 0;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    margin-left: 12px;
    transition: var(--transition);
}
.hero-slide .btn-hero-outline:hover {
    background: #fff;
    color: var(--black);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.3);
    border-radius: 50%;
    padding: 20px;
    backdrop-filter: blur(4px);
}
.carousel-indicators [data-bs-target] {
    width: 30px; height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.5);
}
.carousel-indicators .active { background: var(--gold); width: 40px; }

/* ---- TRUST BANNER ---- */
.trust-banner {
    background: var(--cream);
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-200);
}
.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 0;
}
.trust-item .trust-icon {
    font-size: 1.5rem;
    color: var(--denim);
}
.trust-item .trust-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.trust-item .trust-sub {
    font-size: 0.7rem;
    color: var(--gray-500);
    font-weight: 400;
    display: block;
    text-transform: none;
    letter-spacing: 0;
}

/* ---- SECTION HEADINGS ---- */
.section-heading {
    text-align: center;
    margin-bottom: 40px;
}
.section-heading .section-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 8px;
}
.section-heading h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--gray-900);
    letter-spacing: -0.5px;
    margin-bottom: 0;
}
.section-heading h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin: 12px auto 0;
}
.section-heading p {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-top: 10px;
}
section h2::after { display: none; }

/* ---- CATEGORY CARDS ---- */
.category-section { padding: 70px 0; background: var(--white); }
.category-card {
    border-radius: var(--radius) !important;
    cursor: pointer;
    background: var(--white);
    border: 1px solid var(--gray-200) !important;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
}
.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg) !important;
    border-color: var(--denim-light) !important;
}
.category-card .card-body { padding: 1.5rem 1rem; }
.category-card h6 {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.82rem;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.category-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--denim-light), var(--denim));
    display: inline-flex;
    align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.5rem !important;
    margin-bottom: 10px;
}

/* ---- PRODUCT CARDS ---- */
.product-card {
    border-radius: var(--radius) !important;
    background: var(--white);
    position: relative;
    border: 1px solid var(--gray-100) !important;
    overflow: hidden;
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg) !important;
}
.product-card .product-img-wrap {
    position: relative;
    overflow: hidden;
    background: var(--gray-50);
}
.product-card .product-img-wrap img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img {
    transform: scale(1.05);
}
.product-card .card-body { padding: 1rem 1.1rem; }
.product-card .product-category {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 4px;
}
.product-card .card-title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-800);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}
.product-card .product-price {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--denim);
}
.product-card .product-price .original {
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--gray-400);
    text-decoration: line-through;
    margin-left: 6px;
}
.product-card .product-price .discount-badge {
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    background: #e53e3e;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 6px;
}
.product-card .btn-add-cart {
    width: 100%;
    padding: 10px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 0;
    background: var(--denim);
    color: #fff;
    border: none;
    transition: var(--transition);
    margin-top: 10px;
}
.product-card .btn-add-cart:hover {
    background: var(--gold);
    color: var(--black);
}
.product-card .wishlist-btn {
    position: absolute;
    top: 12px; right: 12px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    color: var(--gray-400);
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
    backdrop-filter: blur(4px);
}
.product-card .wishlist-btn:hover { color: #e53e3e; background: #fff; }
.product-img-placeholder {
    background: linear-gradient(145deg, #f0f4ff 0%, #e8ecf4 100%);
    border-radius: var(--radius) var(--radius) 0 0;
}
.badge {
    font-weight: 600;
    font-size: 0.7rem;
    padding: 0.35em 0.7em;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

/* ---- WHY CHOOSE US ---- */
.why-section {
    padding: 80px 0;
    background: var(--denim-dark);
    color: #fff;
}
.why-card {
    text-align: center;
    padding: 30px 20px;
}
.why-card .why-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}
.why-card h5 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.why-card p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* ---- INSTAGRAM SECTION ---- */
.insta-section { padding: 70px 0; background: var(--cream); }
.insta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.insta-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 1;
}
.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.insta-item:hover img { transform: scale(1.1); }
.insta-item::after {
    content: '📷';
    position: absolute;
    inset: 0;
    background: rgba(30,58,95,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}
.insta-item:hover::after { opacity: 1; }

/* ---- TESTIMONIALS ---- */
.testimonial-section { padding: 80px 0; background: var(--white); }
.testimonial-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    border: 1px solid var(--gray-200);
}
.testimonial-card .stars { color: var(--gold); font-size: 1rem; margin-bottom: 12px; }
.testimonial-card p {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
}
.testimonial-card .reviewer {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray-800);
}
.testimonial-card .reviewer span {
    font-weight: 400;
    color: var(--gray-500);
}

/* ---- CTA BANNER ---- */
.cta-banner {
    background: linear-gradient(135deg, var(--denim-dark) 0%, var(--primary) 50%, var(--denim-dark) 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}
.cta-banner h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.cta-banner p {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
}
.cta-banner .btn-cta {
    padding: 14px 40px;
    font-weight: 600;
    border-radius: 0;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--black);
    border: 2px solid var(--gold);
    transition: var(--transition);
}
.cta-banner .btn-cta:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

/* ---- BUTTONS ---- */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 0.88rem;
}
.btn-primary {
    background: var(--denim);
    border: none;
    color: #fff;
}
.btn-primary:hover {
    background: var(--denim-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30,58,95,0.3);
}
.btn-outline-primary {
    color: var(--denim);
    border-color: var(--denim);
}
.btn-outline-primary:hover {
    background: var(--denim);
    border-color: var(--denim);
    color: #fff;
}
.btn-gold {
    background: var(--gold);
    color: var(--black);
    border: 2px solid var(--gold);
    border-radius: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.82rem;
}
.btn-gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: #fff;
}
.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
}

/* ---- FORMS ---- */
.form-control, .form-select {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 0.65rem 1rem;
    font-size: 0.88rem;
    transition: var(--transition);
    color: var(--gray-800);
    font-family: var(--font-body);
}
.form-control:focus, .form-select:focus {
    border-color: var(--denim-light);
    box-shadow: 0 0 0 3px rgba(30,58,95,0.1);
}
.form-label {
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--gray-600);
    margin-bottom: 0.3rem;
}
.form-check-input:checked {
    background-color: var(--denim);
    border-color: var(--denim);
}

/* ---- FOOTER ---- */
footer {
    background: var(--denim-dark) !important;
    color: rgba(255,255,255,0.8);
    border-top: none;
}
.footer-top {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
footer .footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 12px;
}
footer .footer-brand img { height: 50px; margin-bottom: 10px; display: block; }
footer .footer-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 20px;
}
footer h5 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
footer ul { list-style: none; padding: 0; }
footer ul li { margin-bottom: 8px; }
footer a {
    color: rgba(255,255,255,0.6) !important;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.85rem;
}
footer a:hover { color: var(--gold-light) !important; padding-left: 4px; }
footer .social-links { display: flex; gap: 10px; margin-top: 16px; }
footer .social-link {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: #fff !important;
    font-size: 1rem;
    transition: var(--transition);
}
footer .social-link:hover { background: var(--gold); color: var(--black) !important; transform: translateY(-2px); }
.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}
.footer-payments {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
}

/* ---- TABLES ---- */
.table { font-size: 0.88rem; }
.table th {
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
    border-bottom: 2px solid var(--gray-200);
    padding: 0.75rem;
}
.table td { padding: 0.75rem; vertical-align: middle; color: var(--gray-700); }

/* ---- ALERTS ---- */
.alert {
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.88rem;
    animation: slideDown 0.3s ease-out;
}
.alert-success { background: #ecfdf5; color: #065f46; border-left: 4px solid #10b981; }
.alert-danger { background: #fef2f2; color: #991b1b; border-left: 4px solid #ef4444; }
.alert-info { background: #ecfeff; color: #155e75; border-left: 4px solid #06b6d4; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- BREADCRUMB ---- */
.breadcrumb { background: transparent; padding: 0; font-size: 0.82rem; }
.breadcrumb-item a { color: var(--denim); text-decoration: none; }
.breadcrumb-item.active { color: var(--gray-500); }

/* ---- PRODUCT DETAIL ---- */
.product-detail-section { padding: 40px 0 60px; }
.product-zoom-container {
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s ease;
}
.accordion-button {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--gray-700);
    font-family: var(--font-body);
}
.accordion-button:not(.collapsed) {
    background: var(--cream);
    color: var(--denim);
}

/* ---- AUTH PAGES ---- */
.auth-section { padding: 60px 0; background: var(--cream); min-height: 70vh; }
.auth-card {
    border: none !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-lg);
}
.auth-card .card-body h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gray-900);
}

/* ---- CHECKOUT ---- */
.form-check-label { font-size: 0.88rem; color: var(--gray-700); }

/* ---- CARDS (Global) ---- */
.card {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}
.card:hover { box-shadow: var(--shadow-md); }

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}
.wa-btn {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    transition: var(--transition);
    text-decoration: none;
    animation: pulse-wa 2s infinite;
}
.wa-btn:hover { transform: scale(1.1); color: #fff; }
.call-btn {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--denim);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(30,58,95,0.3);
    transition: var(--transition);
    text-decoration: none;
}
.call-btn:hover { transform: scale(1.1); color: #fff; background: var(--primary-dark); }

@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---- PAGE HEADERS ---- */
.page-header {
    background: linear-gradient(135deg, var(--denim-dark) 0%, var(--primary) 100%);
    padding: 40px 0;
    text-align: center;
    color: #fff;
}
.page-header h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.page-header p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* ---- STATIC PAGES ---- */
.static-page { padding: 50px 0; }
.static-page h2 { font-family: var(--font-heading); font-weight: 700; color: var(--denim); margin-bottom: 16px; }
.static-page h3 { font-family: var(--font-heading); font-weight: 600; color: var(--gray-800); margin-top: 24px; margin-bottom: 10px; font-size: 1.2rem; }
.static-page p { color: var(--gray-600); line-height: 1.8; margin-bottom: 12px; }

/* ---- DROPDOWN ---- */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
}
.dropdown-item {
    border-radius: 6px;
    font-size: 0.88rem;
    padding: 0.5rem 0.75rem;
}
.dropdown-item:hover { background: var(--gray-100); }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* ============================================
   MOBILE-FIRST RESPONSIVE (Most users on mobile)
   ============================================ */

/* --- Tablet (max 991px) --- */
@media (max-width: 991px) {
    .insta-grid { grid-template-columns: repeat(2, 1fr); }
    .navbar .navbar-collapse {
        background: var(--white);
        padding: 12px 0;
        border-top: 1px solid var(--gray-200);
        margin-top: 8px;
    }
    .navbar .nav-link { padding: 8px 0 !important; font-size: 0.9rem; }
    .navbar .nav-link::after { display: none; }
    .navbar .dropdown-menu {
        box-shadow: none;
        border: none;
        padding-left: 16px;
        background: var(--gray-50);
        border-radius: var(--radius-sm);
    }
    .why-section { padding: 50px 0; }
    .why-card { padding: 20px 10px; }
    .testimonial-section { padding: 50px 0; }
    .category-section { padding: 50px 0; }
    .cta-banner { padding: 40px 0; }
    .cta-banner h2 { font-size: 1.5rem; }
    .footer-top { padding: 40px 0 30px; }
    .page-header { padding: 30px 0; }
    .page-header h1 { font-size: 1.6rem; }
    .product-detail-section { padding: 24px 0 40px; }
    .auth-section { padding: 30px 0; min-height: auto; }
}

/* --- Mobile (max 768px) --- */
@media (max-width: 768px) {
    body { font-size: 14px; }

    /* Navbar */
    .navbar { padding: 0.4rem 0; }
    .navbar-brand { font-size: 1.1rem; gap: 6px; }
    .navbar-brand img { height: 32px; }
    .navbar-brand .brand-sub { font-size: 0.45rem; letter-spacing: 2px; }
    .nav-icon-btn { width: 34px; height: 34px; font-size: 1rem; }

    /* Hero */
    .hero-slide { min-height: 340px; padding: 40px 16px; }
    .hero-slide h1 { font-size: 1.6rem; line-height: 1.2; }
    .hero-slide .hero-label { font-size: 0.65rem; letter-spacing: 2px; margin-bottom: 8px; }
    .hero-slide .lead { font-size: 0.82rem; margin-bottom: 20px; }
    .hero-slide .btn-hero { padding: 10px 24px; font-size: 0.72rem; letter-spacing: 1.5px; }
    .hero-slide .btn-hero-outline { padding: 10px 24px; font-size: 0.72rem; letter-spacing: 1.5px; margin-left: 0; margin-top: 8px; display: inline-block; }

    /* Trust Banner */
    .trust-banner { padding: 12px 0; }
    .trust-item { flex-direction: column; text-align: center; gap: 4px; padding: 6px 0; }
    .trust-item .trust-icon { font-size: 1.2rem; }
    .trust-item .trust-text { font-size: 0.68rem; }
    .trust-item .trust-sub { font-size: 0.6rem; }

    /* Section Headings */
    .section-heading { margin-bottom: 24px; }
    .section-heading h2 { font-size: 1.4rem; }
    .section-heading .section-label { font-size: 0.6rem; }
    .section-heading p { font-size: 0.82rem; }

    /* Product Cards */
    .product-card .product-img-wrap img { height: 180px; }
    .product-card .card-body { padding: 10px; }
    .product-card .product-category { font-size: 0.6rem; margin-bottom: 2px; }
    .product-card .card-title { font-size: 0.78rem; margin-bottom: 4px; }
    .product-card .product-price { font-size: 0.88rem; }
    .product-card .product-price .original { font-size: 0.72rem; }
    .product-card .product-price .discount-badge { font-size: 0.6rem; padding: 1px 5px; }
    .product-card .btn-add-cart { padding: 8px; font-size: 0.7rem; margin-top: 6px; }
    .product-card .wishlist-btn { width: 30px; height: 30px; font-size: 0.85rem; top: 8px; right: 8px; }

    /* Category Cards */
    .category-card .card-body { padding: 1rem 0.5rem; }
    .category-icon { width: 48px; height: 48px; font-size: 1.2rem !important; }
    .category-card h6 { font-size: 0.72rem; }

    /* Why Section */
    .why-section { padding: 40px 0; }
    .why-card { padding: 16px 8px; }
    .why-card .why-icon { font-size: 2rem; margin-bottom: 10px; }
    .why-card h5 { font-size: 0.9rem; }
    .why-card p { font-size: 0.75rem; }

    /* Testimonials */
    .testimonial-section { padding: 40px 0; }
    .testimonial-card { padding: 20px 16px; }
    .testimonial-card p { font-size: 0.95rem; }

    /* CTA */
    .cta-banner { padding: 30px 0; }
    .cta-banner h2 { font-size: 1.3rem; }
    .cta-banner p { font-size: 0.85rem; }

    /* Instagram */
    .insta-section { padding: 40px 0; }
    .insta-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

    /* Product Detail */
    .product-detail-section { padding: 16px 0 40px; }
    .product-zoom-container img,
    .product-zoom-container > div { height: 350px !important; }
    .size-btn { width: 38px; height: 38px; font-size: 0.78rem; }

    /* Cart */
    .cart-item-img { height: 70px !important; }

    /* Footer */
    .footer-top { padding: 30px 0 20px; }
    footer h5 { font-size: 0.88rem; margin-bottom: 12px; }
    footer .footer-brand { font-size: 1.2rem; }
    footer .footer-brand img { height: 36px; }
    footer .footer-desc { font-size: 0.78rem; }
    footer a { font-size: 0.78rem; }
    footer ul li { margin-bottom: 6px; }
    .footer-bottom { font-size: 0.72rem; }

    /* Page Header */
    .page-header { padding: 24px 0; }
    .page-header h1 { font-size: 1.4rem; }
    .page-header p { font-size: 0.8rem; }

    /* Auth */
    .auth-section { padding: 20px 0; }
    .auth-card .card-body { padding: 1.5rem !important; }

    /* Static Pages */
    .static-page { padding: 30px 0; }
    .static-page h2 { font-size: 1.3rem; }

    /* WhatsApp Float - adjust for mobile */
    .whatsapp-float { bottom: 16px; right: 16px; }
    .wa-btn { width: 50px; height: 50px; font-size: 1.4rem; }
    .call-btn { width: 42px; height: 42px; font-size: 1rem; }

    /* Buttons */
    .btn-lg { padding: 0.6rem 1.5rem; font-size: 0.85rem; }
    .btn-gold.btn-lg { padding: 0.6rem 1.5rem; }

    /* Forms on mobile */
    .form-control, .form-select { padding: 0.55rem 0.8rem; font-size: 0.85rem; }

    /* Shop filter - collapsible on mobile */
    .shop-filter-toggle { display: block !important; }
    .shop-filter-content { display: none; }
    .shop-filter-content.show { display: block; }

    /* Account - Order table mobile */
    .table-responsive { margin: 0 -0.5rem; }
    .table-responsive .table { font-size: 0.78rem; }
    .table-responsive .table th { font-size: 0.68rem; padding: 0.5rem 0.4rem; white-space: nowrap; }
    .table-responsive .table td { padding: 0.5rem 0.4rem; vertical-align: middle; }
    .table-responsive .table .btn-sm { padding: 0.2rem 0.5rem; font-size: 0.7rem; }

    /* Account page layout */
    .account-orders-card .card-body { padding: 0.75rem; }
}

/* --- Small Mobile (max 576px) --- */
@media (max-width: 576px) {
    .hero-slide { min-height: 280px; padding: 30px 12px; }
    .hero-slide h1 { font-size: 1.3rem; }
    .hero-slide .lead { font-size: 0.75rem; }
    .announcement-bar { font-size: 0.62rem; letter-spacing: 0.5px; padding: 6px 8px; }
    .product-card .product-img-wrap img { height: 160px; }
    .product-zoom-container img,
    .product-zoom-container > div { height: 280px !important; }
    .navbar-brand { font-size: 0.95rem; }
    .navbar-brand img { height: 28px; }
    .navbar-brand .brand-sub { font-size: 0.4rem; letter-spacing: 1.5px; }
    .section-heading h2 { font-size: 1.2rem; }
    .cod-badge { font-size: 0.7rem; padding: 4px 10px; }
    .badge { font-size: 0.6rem; }

    /* Checkout mobile */
    .col-md-4 .form-label { font-size: 0.78rem; }
}

/* --- Extra Small (max 400px) --- */
@media (max-width: 400px) {
    .hero-slide h1 { font-size: 1.15rem; }
    .hero-slide .btn-hero { padding: 8px 18px; font-size: 0.68rem; }
    .navbar-brand { font-size: 0.85rem; }
    .product-card .card-title { font-size: 0.72rem; }
    .product-card .product-price { font-size: 0.8rem; }
}

/* --- Touch-friendly improvements --- */
@media (hover: none) and (pointer: coarse) {
    .product-card:hover { transform: none; }
    .category-card:hover { transform: none; }
    .product-card .wishlist-btn { opacity: 1; }
    .insta-item::after { display: none; }
    .product-zoom-container { cursor: default !important; }
}

/* --- Landscape phone --- */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-slide { min-height: 250px; padding: 20px 16px; }
    .hero-slide h1 { font-size: 1.3rem; }
}

/* ---- LOADING ANIMATION ---- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- SIZE GUIDE ---- */
.size-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
    background: transparent;
}
.size-btn:hover, .size-btn.active {
    border-color: var(--denim);
    background: var(--denim);
    color: #fff;
}

/* ---- COD BADGE ---- */
.cod-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    color: #065f46;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
}
