/* =====================================================
   A2Z Graphics - Main Stylesheet
   ===================================================== */

:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --primary-light: #fee2e5;
    --secondary: #1d3557;
    --secondary-light: #457b9d;
    --accent: #f4a261;
    --accent-dark: #e76f51;
    --success: #2a9d8f;
    --warning: #e9c46a;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================================
   GLOBAL
   ===================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

.display-1, .display-2, .display-3, .display-4 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
}

a { text-decoration: none; color: var(--primary); transition: var(--transition); }
a:hover { color: var(--primary-dark); }

.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.bg-primary { background: var(--primary) !important; }
.bg-secondary { background: var(--secondary) !important; }

/* =====================================================
   TOP BAR
   ===================================================== */
.top-bar {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.82rem;
}

.top-info {
    margin-right: 20px;
    opacity: 0.9;
}

.top-info i {
    margin-right: 5px;
    color: var(--accent);
}

.top-social {
    color: var(--white);
    margin-left: 15px;
    opacity: 0.9;
    transition: var(--transition);
}

.top-social:hover {
    color: var(--accent);
    opacity: 1;
}

/* =====================================================
   NAVBAR
   ===================================================== */
.main-nav {
    padding: 12px 0;
    background: var(--white) !important;
    border-bottom: 2px solid var(--primary);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary) !important;
}

.brand-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--accent-dark));
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.brand-text span {
    color: var(--primary);
}

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    padding: 10px 16px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
    background: var(--primary-light);
}

.mega-menu {
    padding: 25px;
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    min-width: 100%;
}

.mega-menu .dropdown-item {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: var(--transition);
}

.mega-menu .dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary);
    transform: translateX(4px);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white) !important;
    border: none;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: scale(1.05);
    color: var(--white) !important;
}

/* =====================================================
   HERO SLIDER
   ===================================================== */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 600px;
}

@media (max-width: 768px) {
    .hero-slider { height: 400px; }
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero-slide.active { opacity: 1; z-index: 1; }

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29,53,87,0.85) 0%, rgba(230,57,70,0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 700px;
    padding: 0 40px;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

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

.hero-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.hero-dot.active {
    background: var(--white);
    border-color: var(--primary);
    transform: scale(1.2);
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(230,57,70,0.4);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(230,57,70,0.5);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244,162,97,0.4);
    color: var(--white);
}

/* =====================================================
   SECTION STYLES
   ===================================================== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-header .divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 15px auto 0;
    border-radius: 2px;
}

/* =====================================================
   PRODUCT CARDS
   ===================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card-img {
    height: 200px;
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-card-img i {
    font-size: 4rem;
    color: rgba(255,255,255,0.3);
    transition: var(--transition);
}

.product-card:hover .product-card-img i {
    transform: scale(1.2);
    color: rgba(255,255,255,0.5);
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-price {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 14px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
}

.product-card-body {
    padding: 20px;
}

.product-card-body h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--secondary);
}

.product-card-body p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.product-card-footer {
    display: flex;
    gap: 10px;
}

.product-card-footer .btn {
    flex: 1;
    font-size: 0.85rem;
    padding: 8px 12px;
}

/* =====================================================
   CSC SERVICES GRID
   ===================================================== */
.csc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
}

.csc-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 25px 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.csc-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--success);
}

.csc-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--success), #20c997);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.4rem;
    transition: var(--transition);
}

.csc-card:hover .csc-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.csc-card h6 {
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 5px;
}

.csc-card small {
    color: var(--gray);
    font-size: 0.8rem;
}

/* =====================================================
   GALLERY
   ===================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 500;
}

/* =====================================================
   ORDER FORM
   ===================================================== */
.order-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
    margin-bottom: 30px;
}

.order-form-card h3 {
    color: var(--secondary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-light);
}

.form-floating label {
    color: var(--gray);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230,57,70,0.15);
}

.price-summary {
    background: linear-gradient(135deg, var(--secondary), var(--dark));
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.price-row:last-child {
    border-bottom: none;
    padding-top: 15px;
    margin-top: 5px;
    border-top: 2px solid var(--accent);
    font-size: 1.3rem;
    font-weight: 700;
}

.price-row .amount {
    font-weight: 600;
}

/* =====================================================
   PAYMENT PAGE
   ===================================================== */
.payment-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
    text-align: center;
}

.qr-container {
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 25px;
    display: inline-block;
    margin: 20px 0;
}

.qr-container img {
    max-width: 250px;
    width: 100%;
}

.upi-details {
    background: var(--light);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-top: 20px;
}

.upi-id {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 1px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
    background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
    color: var(--white);
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 800;
}

.footer-brand .brand-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.footer-brand span span {
    color: var(--accent);
}

.footer-desc {
    opacity: 0.8;
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.footer-copyright, .footer-gstin {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* =====================================================
   WHATSAPP FLOAT
   ===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6); }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* =====================================================
   INVOICE
   ===================================================== */
.invoice-container {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 40px;
    max-width: 900px;
    margin: 30px auto;
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary);
    margin-bottom: 30px;
}

.invoice-company h2 {
    color: var(--primary);
    font-size: 1.8rem;
}

.invoice-meta {
    text-align: right;
}

.invoice-meta h3 {
    font-size: 2rem;
    color: var(--secondary);
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
}

.invoice-table th {
    background: var(--secondary);
    color: var(--white);
    padding: 12px;
    text-align: left;
    font-weight: 500;
}

.invoice-table td {
    padding: 12px;
    border-bottom: 1px solid var(--gray-light);
}

/* =====================================================
   CUSTOMER DASHBOARD
   ===================================================== */
.dashboard-sidebar {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 20px;
}

.dashboard-sidebar .nav-link {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-sidebar .nav-link:hover,
.dashboard-sidebar .nav-link.active {
    background: var(--primary);
    color: var(--white) !important;
}

.dashboard-sidebar .nav-link i {
    width: 20px;
    text-align: center;
}

.dashboard-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 25px;
}

/* =====================================================
   ADMIN PANEL
   ===================================================== */
.admin-sidebar {
    width: 260px;
    background: linear-gradient(180deg, var(--dark), var(--secondary));
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition);
    overflow-y: auto;
}

.admin-sidebar .brand {
    padding: 15px 25px;
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 800;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 15px;
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.7);
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,0.1);
    border-left: 3px solid var(--primary);
}

.admin-sidebar .nav-link i {
    width: 20px;
    text-align: center;
}

.admin-sidebar .nav-section {
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 25px 5px;
}

.admin-content {
    margin-left: 260px;
    padding: 20px;
    min-height: 100vh;
    background: #f0f2f5;
}

.admin-topbar {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 15px 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.stat-card.red::before { background: var(--primary); }
.stat-card.blue::before { background: var(--secondary); }
.stat-card.green::before { background: var(--success); }
.stat-card.orange::before { background: var(--accent); }

.stat-card h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.stat-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

.stat-card .stat-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    opacity: 0.2;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 992px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    .admin-sidebar.show {
        transform: translateX(0);
    }
    .admin-content {
        margin-left: 0;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .invoice-header {
        flex-direction: column;
        gap: 15px;
    }
    .invoice-meta {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .section { padding: 50px 0; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
    .csc-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .order-form-card { padding: 20px; }
    .top-info { display: none; }
    .top-info:first-child { display: inline; }
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.spinner-overlay.hide {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--gray-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Table Styles */
.table-custom {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table-custom thead th {
    background: var(--secondary);
    color: var(--white);
    font-weight: 500;
    padding: 14px 16px;
    border: none;
    font-size: 0.9rem;
}

.table-custom tbody td {
    padding: 12px 16px;
    vertical-align: middle;
    border-color: var(--gray-light);
}

.table-custom tbody tr:hover {
    background: var(--primary-light);
}

/* Status Badges */
.badge-status {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-pending { background: #fff3cd; color: #856404; }
.badge-confirmed { background: #cce5ff; color: #004085; }
.badge-processing { background: #d4edda; color: #155724; }
.badge-completed { background: #d1ecf1; color: #0c5460; }
.badge-delivered { background: #d4edda; color: #155724; }
.badge-cancelled { background: #f8d7da; color: #721c24; }
.badge-paid { background: #d4edda; color: #155724; }
.badge-failed { background: #f8d7da; color: #721c24; }

/* Page Header (inner pages) */
.page-header {
    background: linear-gradient(135deg, var(--secondary), var(--dark));
    padding: 60px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(230,57,70,0.1);
    border-radius: 50%;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.page-header .breadcrumb-item a {
    color: var(--accent);
}

.page-header .breadcrumb-item.active {
    color: rgba(255,255,255,0.7);
}

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

/* =====================================================
    CART STYLES
    ===================================================== */

/* Cart Icon in Navbar */
.btn-cart-icon {
    background: var(--primary-light);
    color: var(--primary);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
}

.btn-cart-icon:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-dark);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid var(--white);
    animation: badgePop 0.3s ease;
}

@keyframes badgePop {
    0% { transform: scale(0); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Cart Toast Notification */
.cart-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 15px 25px;
    z-index: 9999;
    display: flex;
    align-items: center;
    font-weight: 500;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid var(--success);
    max-width: 350px;
}

.cart-toast.show {
    transform: translateX(0);
}

/* Cart Items on Cart Page */
.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    background: var(--light);
    border-radius: var(--radius-sm);
    padding: 20px;
    transition: var(--transition);
    border-left: 3px solid var(--primary);
}

.cart-item:hover {
    box-shadow: var(--shadow-sm);
}

.qty-control {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 5px 15px;
}

.qty-display {
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 30px;
    text-align: center;
}

/* Product card buttons layout */
.product-card-footer {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.product-card-footer .btn {
    flex: 1;
    font-size: 0.82rem;
    padding: 8px 8px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cart-toast {
        top: auto;
        bottom: 20px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}
