/* Main Stylesheet for Jayesh Dabhi Website */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4f46e5;
    --secondary-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f3f4f6;
    --border-color: #e5e7eb;
    --text-color: #374151;
    --text-light: #6b7280;
    --font-family: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1, .logo h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo img {
    max-height: 50px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.cart-link {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
    line-height: 1.4;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border: 2px solid #fff;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    min-width: 220px;
    padding: 0.5rem 0;
    display: none;
    list-style: none;
    margin-top: 0.5rem;
    z-index: 1001;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
    margin: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a i {
    width: 18px;
    text-align: center;
}

.dropdown-menu a:hover {
    background: var(--light-color);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 1.75rem;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Footer Styles */
.main-footer {
    background: var(--dark-color);
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: #4338ca;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary-color);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-danger {
    background: var(--danger-color);
    color: #fff;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-link {
    background: none;
    color: var(--primary-color);
    padding: 0;
    text-decoration: underline;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(101deg, #ff6f31 0%, #7f7787 50%, #1d751c 100%);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

/* Hero section bottom overlay - will be set via inline style if image exists */

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 1.375rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.2s both;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 2px solid transparent;
}

.hero-buttons .btn-primary {
    background: #fff;
    color: var(--primary-color);
}

.hero-buttons .btn-primary:hover {
    background: rgba(255,255,255,0.95);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.hero-buttons .btn-secondary {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border-color: rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
.featured-products-section, .recent-blogs-section {
    padding: 4rem 0;
}

.featured-products-section {
    background: linear-gradient(to bottom, #f9fafb, #ffffff);
}

.recent-blogs-section {
    background: #ffffff;
}

.related-products-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #ffffff, #f9fafb);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title i {
    color: var(--primary-color);
    margin-right: 0.75rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* Product Grid */
.products-grid, .blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.product-card, .blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

.product-card:hover, .blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.product-image, .blog-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--light-color);
    position: relative;
}

.product-image img, .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Modern Discount Badge Styles - Ribbon Design */
.discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 50%, #ff4757 100%);
    color: #ffffff;
    padding: 0.5rem 0.875rem;
    border-radius: 0 0 0 12px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 
        0 4px 15px rgba(255, 71, 87, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    animation: badge-float 3s ease-in-out infinite;
    transform-origin: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.discount-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: badge-shine 2.5s infinite;
    z-index: 1;
}

.discount-badge > * {
    position: relative;
    z-index: 2;
}

.discount-badge-large {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 50%, #ff4757 100%);
    color: #ffffff;
    padding: 0.875rem 1.5rem;
    border-radius: 0 0 0 16px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 
        0 6px 25px rgba(255, 71, 87, 0.5),
        0 3px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    animation: badge-float 3s ease-in-out infinite;
    transform-origin: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.discount-badge-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: badge-shine 2.5s infinite;
    z-index: 1;
}

.discount-badge-large > * {
    position: relative;
    z-index: 2;
}

/* Ribbon corner effect */
.discount-badge::after,
.discount-badge-large::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 20px 20px 0;
    border-color: transparent rgba(0, 0, 0, 0.1) transparent transparent;
    z-index: 0;
}

@keyframes badge-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        box-shadow: 
            0 4px 15px rgba(255, 71, 87, 0.4),
            0 2px 8px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: translateY(-4px) rotate(1.5deg);
        box-shadow: 
            0 8px 25px rgba(255, 71, 87, 0.6),
            0 4px 15px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

@keyframes badge-shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}


.product-card:hover .product-image img,
.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.product-info, .blog-info {
    padding: 2rem;
}

.product-info h3, .blog-info h3 {
    margin-bottom: 0.5rem;
}

.product-info a, .blog-info a {
    color: var(--text-color);
    text-decoration: none;
}

.product-info a:hover, .blog-info a:hover {
    color: var(--primary-color);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.5rem 0;
}

.product-price .original-price {
    font-size: 1.125rem;
    color: #9ca3af;
    font-weight: 500;
}

.product-price .original-price del {
    text-decoration: line-through;
}

.product-price .actual-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-category {
    color: var(--text-light);
    font-size: 0.875rem;
}

.blog-date {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0.5rem 0;
}

.blog-excerpt {
    margin: 1rem 0;
    color: var(--text-light);
    line-height: 1.7;
}

/* Products Page & Blog Page */
.products-page, .blog-page {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
}

.products-page {
    background: linear-gradient(to bottom, #f9fafb, #ffffff);
}

.blog-page {
    background: #ffffff;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.page-header h1 i {
    color: var(--primary-color);
    margin-right: 1rem;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Products Layout */
.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

.products-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-section {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
}

.sidebar-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-section h3 i {
    color: var(--primary-color);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-list a:hover {
    background: var(--light-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

.category-list a.active {
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    color: #fff;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.products-main, .blog-main {
    min-width: 0;
}

.products-header, .blog-header {
    margin-bottom: 2.5rem;
}

.search-form {
    display: flex;
    gap: 0;
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.search-form:focus-within {
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.2);
}

.search-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    outline: none;
    font-size: 1rem;
    background: transparent;
}

.search-form input::placeholder {
    color: var(--text-light);
}

.search-form button {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
}

.search-form button:hover {
    background: linear-gradient(135deg, #4338ca, #6d28d9);
    transform: scale(1.05);
}

.search-form button i {
    font-size: 1.125rem;
}

.pagination-wrapper {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Product Detail Page */
.product-detail-page {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
    background: linear-gradient(to bottom, #f9fafb, #ffffff);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    background: #fff;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-image-section {
    position: relative;
}

.product-image-section.sticky {
    position: sticky;
    top: 100px;
}

.product-image-section img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}

.product-image-section img:hover {
    transform: scale(1.02);
}

.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-info-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.2;
    margin: 0;
}

.product-info-section .product-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--text-light);
    background: var(--light-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    width: fit-content;
}

.product-info-section .product-category i {
    color: var(--primary-color);
}

.product-info-section .product-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.5rem 0;
}

.product-info-section .product-price .original-price {
    font-size: 1.75rem;
    color: #9ca3af;
    font-weight: 500;
}

.product-info-section .product-price .original-price del {
    text-decoration: line-through;
}

.product-info-section .product-price .actual-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-break: break-word;
    line-height: 1.2;
}

.product-description {
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.product-description h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-description h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.product-description div {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-color);
}

.add-to-cart-form {
    margin-top: 2rem;
}

.add-to-cart-form .btn,
.product-info-section .btn {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.add-to-cart-form .btn:hover,
.product-info-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

/* Auth Pages */
.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.auth-box {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 450px;
}

.auth-box h2 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.auth-links {
    margin-top: 1.5rem;
    text-align: center;
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
    display: block;
    margin-top: 0.5rem;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* Cart Page */
.cart-page {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
    background: linear-gradient(to bottom, #f9fafb, #ffffff);
}

.cart-page h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-page h1 i {
    color: var(--primary-color);
}

.cart-items {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.cart-table th,
.cart-table td {
    padding: 1.5rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cart-table th {
    background: transparent;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-table tbody tr {
    transition: background-color 0.3s ease;
}

.cart-table tbody tr:hover {
    background: var(--light-color);
}

.cart-table tfoot {
    border-top: 2px solid var(--border-color);
}

.cart-table tfoot td {
    padding-top: 1.5rem;
    font-size: 1.25rem;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-item-info img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cart-item-info span {
    font-weight: 500;
    font-size: 1.125rem;
    color: var(--dark-color);
}

.quantity-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--light-color);
    border-radius: 8px;
    padding: 0.5rem;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: #fff;
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.qty-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.qty-value {
    min-width: 40px;
    text-align: center;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--dark-color);
}

.item-subtotal {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--dark-color);
}

.cart-total {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 2rem;
}

.cart-actions .btn {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.cart-actions .btn-primary {
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.cart-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.cart-actions .btn-outline:hover {
    transform: translateY(-2px);
}

/* Checkout Page */
.checkout-page {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
    background: linear-gradient(to bottom, #f9fafb, #ffffff);
}

.checkout-page h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.checkout-page h1 i {
    color: var(--primary-color);
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.checkout-form-section {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.checkout-form-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.checkout-summary {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: sticky;
    top: 100px;
}

.checkout-summary h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.summary-items {
    margin-bottom: 2rem;
}

.summary-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item .item-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.summary-item .item-info span:first-child {
    font-weight: 500;
    color: var(--dark-color);
}

.summary-item .item-info span:last-child {
    color: var(--text-light);
    font-size: 0.9375rem;
}

.coupon-section {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.coupon-input-group {
    display: flex;
    gap: 0.5rem;
}

.coupon-input-group input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.coupon-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.coupon-input-group .btn {
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
}

.summary-breakdown {
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: var(--text-color);
}

.summary-row.discount-row {
    color: #10b981;
    font-weight: 600;
}

.summary-total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
}

/* Payment Page */
.payment-page {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
    background: linear-gradient(to bottom, #f9fafb, #ffffff);
}

.payment-page h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-page h1 i {
    color: var(--primary-color);
}

.payment-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.payment-instructions {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.payment-instructions h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.payment-methods {
    margin-bottom: 2rem;
}

.qr-code {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 12px;
}

.qr-code img {
    max-width: 250px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.upi-info {
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    color: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
}

.upi-info p {
    margin: 0;
    font-size: 1.125rem;
}

.upi-info strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.9;
}

.payment-steps {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.payment-steps ol {
    margin: 0;
    padding-left: 1.5rem;
}

.payment-steps li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: var(--text-color);
}

.payment-steps li:last-child {
    margin-bottom: 0;
}

.payment-form {
    margin-top: 2rem;
}

.payment-summary {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: sticky;
    top: 100px;
}

.payment-summary h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

/* Status Badges */
.status-pending {
    background: #fef3c7;
    color: #92400e;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-complete {
    background: #d1fae5;
    color: #065f46;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-draft {
    background: #e5e7eb;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-published {
    background: #dbeafe;
    color: #1e40af;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.page-link {
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--border-color);
    background: #fff;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 44px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.page-link:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.page-link.active {
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* Empty States */
.empty-state, .empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.empty-state i, .empty-cart i {
    font-size: 5rem;
    color: var(--border-color);
    margin-bottom: 1.5rem;
    display: block;
}

.empty-cart h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.empty-cart p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.no-results::before {
    content: '\f07b';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 4rem;
    color: var(--border-color);
    display: block;
    margin-bottom: 1.5rem;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        display: none;
        flex-direction: column;
        padding: 1rem 0;
        z-index: 999;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .main-nav li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-nav a {
        display: block;
        padding: 1rem 1.5rem;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        border-radius: 0;
        margin: 0;
        opacity: 1;
        transform: none;
        background: var(--light-color);
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: block;
        cursor: pointer;
        padding: 0.5rem;
        color: var(--text-color);
        transition: color 0.3s;
    }
    
    .mobile-menu-toggle:hover {
        color: var(--primary-color);
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-content p {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .products-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .products-sidebar {
        position: static;
        order: 2;
    }
    
    .products-main {
        order: 1;
    }
    
    .products-header, .blog-header {
        margin-bottom: 2rem;
    }
    
    .search-form {
        max-width: 100%;
    }
    
    .page-header h1 {
        font-size: 2.25rem;
    }
    
    .page-header {
        margin-bottom: 2rem;
        padding: 1.5rem 0;
    }
    
    .products-grid, .blogs-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .checkout-layout,
    .payment-layout {
        grid-template-columns: 1fr;
    }
    
    .checkout-summary,
    .payment-summary {
        position: static;
        order: 2;
    }
    
    .checkout-form-section,
    .payment-instructions {
        order: 1;
    }
    
    .cart-items {
        padding: 1.5rem;
        overflow-x: auto;
    }
    
    .cart-table {
        min-width: 600px;
    }
    
    .cart-item-info img {
        width: 60px;
        height: 60px;
    }
    
    .cart-actions {
        flex-direction: column;
    }
    
    .cart-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .checkout-form-section,
    .checkout-summary,
    .payment-instructions,
    .payment-summary {
        padding: 1.5rem;
    }
    
    .qr-code img {
        max-width: 200px;
    }
    
    .featured-products-section, .recent-blogs-section {
        padding: 3rem 0;
    }
    
    .products-page, .blog-page {
        padding: 2rem 0;
    }
    
    .product-detail-page {
        padding: 2rem 0;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .product-image-section {
        position: static;
    }
    
    .product-info-section h1 {
        font-size: 2rem;
    }
    
    .product-info-section .product-price .original-price {
        font-size: 1.125rem;
    }
    
    .product-info-section .product-price .actual-price {
        font-size: 1.75rem;
        word-break: break-word;
        line-height: 1.2;
    }
    
    .pagination-wrapper {
        margin-top: 3rem;
        padding-top: 1.5rem;
    }
}
a.btn.btn-primary.btn-sm {
    color: white;
}

/* Order Confirmation Page */
.order-confirmation-page {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
    background: linear-gradient(to bottom, #f9fafb, #ffffff);
}

.confirmation-box {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.success-icon {
    text-align: center;
    margin-bottom: 2rem;
}

.success-icon i {
    font-size: 5rem;
    color: #10b981;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.confirmation-box h1 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.order-number {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.order-number strong {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.confirmation-header-actions {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.confirmation-header-actions .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.order-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.order-details, .customer-details {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.order-details h2, .customer-details h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.order-details h2 i, .customer-details h2 i {
    color: var(--primary-color);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row.total-row {
    padding-top: 1.5rem;
    margin-top: 1rem;
    border-top: 2px solid var(--primary-color);
    font-size: 1.125rem;
}

.detail-row span:first-child {
    color: var(--text-light);
    font-weight: 500;
}

.detail-row span:last-child {
    color: var(--text-color);
    font-weight: 600;
    text-align: right;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-complete {
    background: #d1fae5;
    color: #065f46;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-rejected {
    background: #fee2e2;
    color: #991b1b;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.order-items-section {
    margin-bottom: 3rem;
}

.order-items-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.order-items-section h2 i {
    color: var(--primary-color);
}

.order-items-table {
    overflow-x: auto;
}

.order-items-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.order-items-table thead {
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    color: #fff;
}

.order-items-table th {
    padding: 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.order-items-table td {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.order-items-table tbody tr:hover {
    background: #f9fafb;
}

.order-items-table tbody tr:last-child td {
    border-bottom: none;
}

.order-items-table tfoot {
    background: #f3f4f6;
    font-weight: 600;
}

.order-items-table tfoot td {
    padding: 1.5rem 1.25rem;
    font-size: 1.125rem;
    color: var(--dark-color);
    border-top: 2px solid var(--primary-color);
}

.confirmation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.confirmation-actions .btn {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    min-width: 200px;
}

@media (max-width: 768px) {
    .confirmation-box {
        padding: 2rem 1.5rem;
    }
    
    .confirmation-box h1 {
        font-size: 2rem;
    }
    
    .order-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .confirmation-actions {
        flex-direction: column;
    }
    
    .confirmation-actions .btn {
        width: 100%;
    }
    
    .order-items-table {
        font-size: 0.875rem;
    }
    
    .order-items-table th,
    .order-items-table td {
        padding: 0.75rem;
    }
}

