@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
    --primary: #5E1A20; /* Luxury Maroon */
    --primary-dark: #3F1015;
    --primary-light: #F7EFEF;
    --accent: #C59B27; /* Antique Gold */
    --accent-dark: #A57E1E;
    --bg-warm: #FAF5EE; /* Warm Sand Beige */
    --bg-card: #FFFFFF;
    --text-dark: #211C1A; /* Charcoal Brown-Black */
    --text-muted: #7C6C67;
    --border-color: #E6DDD3;
    --border-gold: #C59B27;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(94, 26, 32, 0.06);
    --shadow-lg: 0 16px 40px rgba(94, 26, 32, 0.1);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

html[data-theme="dark"] {
    --bg-warm: #171413;
    --bg-card: #211C1A;
    --text-dark: #FAF8F7;
    --text-muted: #A39692;
    --border-color: #38312E;
    --primary-light: #2D1416;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.4);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-warm);
}
::-webkit-scrollbar-thumb {
    background: var(--border-gold);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Glassmorphism Utilities */
.glassmorphic {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}
html[data-theme="dark"] .glassmorphic {
    background: rgba(26, 22, 21, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Skeleton Screens */
.skeleton {
    background: linear-gradient(90deg, var(--border-color) 25%, var(--bg-warm) 50%, var(--border-color) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite linear;
}
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Transitions and animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-fade-in {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Theme Toggle Button Style */
.theme-toggle-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: inherit;
    padding: 6px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}
.theme-toggle-btn:hover {
    background: var(--primary-light);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-warm);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button, input, select, textarea {
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

/* Toast Notification System */
#toast-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background-color: var(--bg-card);
    color: var(--text-dark);
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    min-width: 300px;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-success {
    border-left-color: #2e7d32;
}

.toast-error {
    border-left-color: #c62828;
}

.toast-info {
    border-left-color: #1565c0;
}

.toast-warning {
    border-left-color: #ef6c00;
}

.toast-icon {
    font-weight: bold;
    font-size: 1.2rem;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 40px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    margin: 12px auto 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 4px 10px rgba(114, 47, 55, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-accent {
    background-color: var(--accent);
    color: white;
}

.btn-accent:hover {
    background-color: var(--accent-dark);
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.3);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

/* Header & Navigation */
.top-banner {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.main-header {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1300px;
    width: 92%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo-img {
    height: 52px;
    width: 52px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border-gold);
    background-color: var(--bg-warm);
    padding: 2px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.brand-tagline {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-dark);
    margin-top: -4px;
    font-weight: 600;
}

.footer-logo-area {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-logo-img {
    height: 60px;
    width: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border-gold);
    background-color: #FDFBF7;
    padding: 2px;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.nav-menu {
    display: flex;
    gap: 24px;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 6px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-menu a:hover::after, .nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--primary);
    font-weight: 600;
}

.admin-link {
    color: var(--primary) !important;
    font-weight: 600 !important;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 4px 12px;
    background-color: var(--bg-warm);
}

.search-box input {
    border: none;
    background: transparent;
    padding: 4px;
    outline: none;
    font-size: 0.85rem;
    width: 150px;
    transition: var(--transition);
}

.search-box input:focus {
    width: 220px;
}

.search-box button {
    border: none;
    background: transparent;
    cursor: pointer;
}

.action-icon-btn {
    position: relative;
    font-size: 1.4rem;
    cursor: pointer;
}

.action-icon-btn .badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-profile-menu {
    position: relative;
}

.profile-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-dark);
}

.profile-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: var(--bg-card);
    min-width: 160px;
    box-shadow: var(--shadow-lg);
    border-radius: 4px;
    z-index: 100;
    border: 1px solid var(--border-color);
    margin-top: 8px;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 16px;
    display: block;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
    background: transparent;
}

.profile-dropdown:hover .dropdown-content {
    display: block;
}

.login-nav-btn {
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(26, 17, 16, 0.8) 0%, rgba(26, 17, 16, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-left: 8%;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 16px;
    color: #FFFFFF;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #F2EFE9;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.category-card {
    position: relative;
    height: 320px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.category-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(transparent, rgba(26, 17, 16, 0.9));
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition);
}

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

.category-card:hover img {
    transform: scale(1.05);
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.category-card p {
    font-size: 0.85rem;
    color: #EFEBE4;
}

/* Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

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

.product-img-wrapper {
    position: relative;
    height: 340px;
    overflow: hidden;
}

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

.product-card:hover .product-img-wrapper img:not(.img-front):not(.img-back) {
    transform: scale(1.03);
}

.product-card:hover .product-img-wrapper .image-flip-container .img-front {
    transform: rotateY(0deg) scale(1.03);
}

.product-card:hover .product-img-wrapper .image-flip-container .img-back {
    transform: rotateY(180deg) scale(1.03);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--primary);
    color: white;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    z-index: 2;
}

.discount-badge {
    background-color: #B22222;
}

.bestseller-badge {
    background-color: var(--accent-dark);
}

.wishlist-toggle {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    z-index: 2;
    transition: var(--transition);
}

.wishlist-toggle:hover {
    background-color: white;
    color: var(--primary);
    transform: scale(1.1);
}

.wishlist-toggle.active {
    color: var(--primary);
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.product-title {
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    line-height: 1.4;
    height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    color: #FFA500;
    margin-bottom: 12px;
}

.product-rating .count {
    color: var(--text-muted);
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 16px;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.original-price {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.discount-text {
    font-size: 0.8rem;
    color: #B22222;
    font-weight: 600;
}

/* Tabs for Products on Home Page */
.tabs-header {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 8px 24px;
    cursor: pointer;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Customer Reviews */
.reviews-section {
    background-color: var(--primary-light);
    padding: 60px 0;
}

.reviews-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.review-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.review-stars {
    color: #FFA500;
    margin-bottom: 12px;
}

.review-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.reviewer-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

.reviewer-status {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Instagram Gallery */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.insta-card {
    position: relative;
    height: 200px;
    border-radius: 4px;
    overflow: hidden;
}

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

.insta-card:hover img {
    transform: scale(1.05);
}

.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(114, 47, 55, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    opacity: 0;
    transition: var(--transition);
    cursor: pointer;
}

.insta-card:hover .insta-overlay {
    opacity: 1;
}

/* Shop Page Layout */
.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    align-items: start;
}

.shop-sidebar {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 14px;
    color: var(--primary);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    cursor: pointer;
}

.size-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.size-box-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.size-box-btn.selected, .size-box-btn:hover {
    border-color: var(--primary);
    background-color: var(--primary);
    color: white;
}

.shop-content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    background-color: var(--bg-card);
    padding: 16px 24px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.results-count {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.sort-dropdown select {
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    font-size: 0.9rem;
    outline: none;
}

/* Product Detail Page Redesign */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* 55% gallery column, 45% info column */
    gap: 40px;
    align-items: start;
    margin-bottom: 60px;
}

.gallery-container {
    display: flex;
    gap: 16px;
    flex-direction: row; /* Thumbnails on left, viewport on right */
}

.vertical-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 80px;
    flex-shrink: 0;
}

.vertical-thumb-btn {
    width: 80px;
    height: 106px; /* aspect ratio 3/4 */
    border-radius: 6px;
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-card);
    padding: 0;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.vertical-thumb-btn.active, .vertical-thumb-btn:hover {
    border-color: var(--primary);
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}

.vertical-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-image-viewport {
    flex-grow: 1;
    height: 600px; /* Tall portrait viewport height */
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    box-shadow: var(--shadow-md);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-viewport img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* cover so it fills tall viewport */
    object-position: top center; /* show model head and body! */
    transition: opacity 0.3s ease;
}

.product-detail-info {
    position: sticky;
    top: 110px; /* Sticky scroll on desktop! */
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.brand-tagline-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent-dark);
    font-weight: 700;
    margin-bottom: -4px;
    display: block;
}

.product-detail-info h1 {
    font-size: 2.2rem;
    color: var(--primary);
    margin: 0;
    line-height: 1.25;
}

.detail-rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    background-color: var(--bg-card);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    width: fit-content;
    margin: 4px 0;
}

.detail-rating-stars {
    color: var(--accent-dark);
    font-weight: 700;
}

.detail-rating-count {
    color: var(--text-muted);
    border-left: 1px solid var(--border-color);
    padding-left: 10px;
    font-weight: 500;
}

.premium-price-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 8px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.premium-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.premium-price-row .price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-body);
}

.premium-price-row .original-price-mrp {
    font-size: 1.25rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.premium-price-row .discount-badge-pill {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.tax-inclusive-label {
    font-size: 0.75rem;
    color: #2e7d32;
    font-weight: 600;
}

.detail-attributes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 10px 0;
}

.attr-pill-badge {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-shadow: var(--shadow-sm);
}

.attr-pill-badge .label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.attr-pill-badge .value {
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 700;
}

.size-selector-row {
    margin-top: 10px;
    margin-bottom: 16px;
}

.size-selector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.size-chart-trigger {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.premium-action-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 12px;
    margin-bottom: 12px;
}

.premium-wishlist-btn {
    grid-column: span 2;
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.premium-wishlist-btn:hover {
    background-color: var(--primary-light);
}

/* Accordion Drawer CSS */
.accordion-container {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-top: 15px;
    overflow: hidden;
    background-color: var(--bg-card);
    box-shadow: var(--shadow-sm);
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    text-align: left;
}

.accordion-header:hover {
    background-color: var(--bg-warm);
    color: var(--primary);
}

.accordion-header-icon {
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: white;
}

.accordion-content-inner {
    padding: 16px 20px 20px 20px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-dark);
    border-top: 1px solid var(--border-color);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--bg-card);
    width: 90%;
    max-width: 600px;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-gold);
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-muted);
}

.modal-close:hover {
    color: var(--primary);
}

.size-chart-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.9rem;
}

.size-chart-table th, .size-chart-table td {
    border: 1px solid var(--border-color);
    padding: 10px;
    text-align: center;
}

.size-chart-table th {
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

/* Cart Page Layout */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 20px;
}

.cart-item-img {
    width: 90px;
    height: 110px;
    border-radius: 4px;
    overflow: hidden;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.cart-item-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.cart-item-qty-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.qty-btn {
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
}

.qty-btn:hover {
    background-color: var(--border-color);
}

.qty-val {
    width: 40px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.cart-item-actions {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    margin-top: 8px;
}

.cart-action-btn {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-weight: 500;
}

.cart-action-btn:hover {
    text-decoration: underline;
}

.cart-summary-panel {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.summary-row.total-row {
    border-top: 1px dashed var(--border-color);
    padding-top: 14px;
    margin-top: 14px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

/* Coupon Box */
.coupon-box {
    display: flex;
    gap: 8px;
    margin: 20px 0;
}

.coupon-box input {
    flex-grow: 1;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.9rem;
    outline: none;
}

/* Checkout Page */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.checkout-section {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 24px;
}

.checkout-section h3 {
    color: var(--primary);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-grid .full-width {
    grid-column: span 2;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input, .form-group select {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--primary);
}

/* Payment Option Selector & Subforms */
.payment-selector {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-option {
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: var(--transition);
}

.payment-option.selected {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.payment-option input {
    margin-top: 4px;
}

.payment-option-details h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.payment-option-details p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.payment-subform {
    background-color: var(--bg-warm);
    border-top: 1px solid var(--border-color);
    padding: 20px;
    margin-top: 10px;
    display: none;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-top: -12px;
    margin-bottom: 12px;
    animation: slideDown 0.25s ease-out forwards;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.payment-option.selected + .payment-subform {
    display: block;
}

/* Digital Credit Card Mockup */
.card-preview-wrapper {
    margin-bottom: 20px;
    perspective: 1000px;
    display: flex;
    justify-content: center;
}

.card-graphic {
    width: 100%;
    max-width: 320px;
    height: 180px;
    background: linear-gradient(135deg, #722F37 0%, #301014 100%);
    color: white;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    box-shadow: 0 8px 20px rgba(114, 47, 55, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: monospace;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

.card-graphic.visa {
    background: linear-gradient(135deg, #1a1f71 0%, #06092b 100%);
    box-shadow: 0 8px 20px rgba(26, 31, 113, 0.25);
}

.card-graphic.mastercard {
    background: linear-gradient(135deg, #cc0000 0%, #ff9900 100%);
    box-shadow: 0 8px 20px rgba(204, 0, 0, 0.25);
}

.card-graphic.rupay {
    background: linear-gradient(135deg, #00704a 0%, #002244 100%);
    box-shadow: 0 8px 20px rgba(0, 112, 74, 0.25);
}

.card-chip {
    width: 40px;
    height: 28px;
    background: linear-gradient(135deg, #f0d060 0%, #c0a030 100%);
    border-radius: 4px;
    margin-bottom: 10px;
}

.card-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    font-weight: bold;
    font-size: 1.1rem;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.card-number-display {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin: 8px 0;
    text-align: center;
    word-spacing: 4px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.card-lower {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 0.75rem;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}

.card-holder-display {
    text-transform: uppercase;
    letter-spacing: 1px;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-expiry-display {
    letter-spacing: 1px;
}

/* Netbanking Selector */
.bank-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.bank-btn {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.bank-btn:hover, .bank-btn.active {
    border-color: var(--primary);
    background-color: var(--primary-light);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.bank-btn .bank-logo-icon {
    font-size: 1.5rem;
}

/* UPI QR Code elements */
.upi-qr-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.qr-code-box {
    padding: 10px;
    border: 2px dashed var(--border-gold);
    border-radius: 6px;
    background: #fff;
    margin-bottom: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
}

.qr-code-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-timer-text {
    font-size: 0.8rem;
    font-weight: bold;
    color: #c62828;
    margin-top: 5px;
    background-color: #ffebee;
    padding: 4px 10px;
    border-radius: 12px;
}

.upi-input-row {
    display: flex;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
}

/* COD Alert Boxes */
.cod-alert-box {
    background-color: #fff8e1;
    border-left: 4px solid #ffb300;
    color: #b78103;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Pincode validation alerts */
.pincode-feedback-msg {
    font-size: 0.8rem;
    margin-top: 6px;
    font-weight: 600;
    display: block;
}

.pincode-feedback-msg.success {
    color: #2e7d32;
}

.pincode-feedback-msg.error {
    color: #c62828;
}

/* Detailed Checkout Product Cards */
.checkout-product-list-card {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition);
}

.checkout-product-list-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-gold);
}

.checkout-product-main-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.checkout-product-img-wrapper {
    width: 70px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

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

.checkout-product-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.checkout-product-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.checkout-product-sku {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
}

.checkout-product-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.checkout-spec-badge {
    background-color: var(--bg-warm);
    border: 1px solid var(--border-color);
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.7rem;
    color: var(--text-dark);
}

.checkout-thumb-gallery {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    border-top: 1px dashed var(--border-color);
    padding-top: 8px;
}

.checkout-thumb-img {
    width: 32px;
    height: 42px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.checkout-thumb-img:hover, .checkout-thumb-img.active {
    border-color: var(--primary);
    transform: scale(1.08);
}

/* Savings Congratulations Banner */
.savings-congrats-banner {
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(197, 160, 89, 0.15) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

/* Order Confirmation & Success */
.success-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    max-width: 650px;
    margin: 40px auto;
    box-shadow: var(--shadow-md);
}

.success-icon {
    font-size: 4rem;
    color: #2e7d32;
    margin-bottom: 20px;
}

.success-invoice-table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.success-invoice-table th, .success-invoice-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.success-invoice-table th {
    font-weight: 700;
    background-color: var(--bg-warm);
    color: var(--primary);
}

/* Auth Pages (Login/Register) */
.auth-wrapper {
    max-width: 440px;
    width: 90%;
    margin: 60px auto;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.auth-wrapper h2 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 30px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

.otp-box-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
}

.otp-digit-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    outline: none;
}

.otp-digit-input:focus {
    border-color: var(--primary);
}

/* Order Tracking Page */
.tracking-input-panel {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    max-width: 600px;
    margin: 0 auto 40px auto;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.tracking-input-box {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.tracking-input-box input {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    outline: none;
}

.tracking-result-panel {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    margin-top: 30px;
}

.tracking-header-details {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 16px;
}

.tracking-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    padding: 0 20px;
}

.tracking-timeline::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--border-color);
    z-index: 1;
}

.timeline-progress-bar {
    position: absolute;
    top: 15px;
    left: 0;
    height: 4px;
    background-color: #2e7d32;
    z-index: 2;
    width: 0%;
    transition: width 1s ease;
}

.timeline-step {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 120px;
}

.step-node {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--bg-warm);
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--text-muted);
    transition: var(--transition);
}

.step-label {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 8px;
    color: var(--text-muted);
}

.timeline-step.active .step-node {
    border-color: #2e7d32;
    background-color: #2e7d32;
    color: white;
}

.timeline-step.active .step-label {
    color: #2e7d32;
}

.timeline-step.completed .step-node {
    border-color: #2e7d32;
    background-color: #e8f5e9;
    color: #2e7d32;
}

.timeline-step.completed .step-label {
    color: var(--text-dark);
}

/* Admin Dashboard CSS */
.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    align-items: start;
}

.admin-sidebar {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px 0;
}

.admin-menu-item {
    display: block;
    padding: 12px 24px;
    font-weight: 500;
    color: var(--text-dark);
    border-left: 4px solid transparent;
}

.admin-menu-item.active, .admin-menu-item:hover {
    background-color: var(--primary-light);
    color: var(--primary);
    border-left-color: var(--primary);
}

.admin-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
}

.admin-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 14px;
}

.admin-cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.admin-card {
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 6px;
    background-color: var(--bg-warm);
}

.admin-card-val {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
    margin-top: 8px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 0.9rem;
}

.admin-table th, .admin-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background-color: var(--bg-warm);
    font-weight: 600;
}

.admin-table tbody tr:hover {
    background-color: rgba(252, 249, 245, 0.5);
}

.badge-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}

.status-pending { background-color: #fff3cd; color: #856404; }
.status-confirmed { background-color: #d1ecf1; color: #0c5460; }
.status-packed { background-color: #cce5ff; color: #004085; }
.status-shipped { background-color: #d4edda; color: #155724; }
.status-out { background-color: #e2e3e5; color: #383d41; }
.status-delivered { background-color: #d4edda; color: #155724; border: 1px solid #155724; }

/* Footer Styles */
/* Footer Styles */
.main-footer {
    background-color: #230F11; /* Deep premium wine color */
    color: #F2EFE9; /* Elegant cream-white text */
    padding: 60px 0 0 0;
    font-family: var(--font-body);
    border-top: 4px solid var(--accent);
    margin-top: auto; /* Ensures footer sticks to bottom if page content is short */
}

.footer-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    align-items: start;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #C85C66; /* Elegant premium Maroon heading */
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-col .tagline {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--accent); /* Golden/Beige Tagline */
    margin: 2px 0 0 0;
    font-weight: 600;
}

.footer-col .description {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #C7B8B5; /* Soft beige description */
    margin: 0;
    max-width: 280px;
}

/* Social Media Icons Styling */
.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 8px;
}

.footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #F2EFE9;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-icons a:hover {
    color: #230F11 !important; /* Force color shift on hover to override global overrides */
    background-color: var(--accent); /* Turn background Golden */
    border-color: var(--accent);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.3);
}

.footer-social-icons a i {
    transition: color 0.3s ease;
}

/* Heading Styling */
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: #C85C66; /* Elegant premium Maroon heading */
    margin: 0 0 8px 0;
    position: relative;
    padding-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent); /* Gold line */
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li {
    margin: 0;
}

.footer-col ul li a {
    color: #C7B8B5; /* Beige links */
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--accent) !important; /* Golden Hover Effect */
    transform: translateX(6px);
}

/* Contact Column Styling */
.footer-col.contact-col .contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col.contact-col .contact-item {
    color: #C7B8B5;
    font-size: 0.88rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.5;
}

.footer-col.contact-col .contact-item i {
    color: var(--accent); /* Golden icons */
    font-size: 0.95rem;
    width: 16px;
    text-align: center;
}

.footer-col.contact-col .contact-item span {
    flex: 1;
}

/* Payment Methods Styling */
.payment-methods {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.payment-methods .payment-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #A6918E;
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.payment-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-badge {
    font-size: 0.75rem;
    color: var(--accent);
    background-color: rgba(197, 160, 89, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.2);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Footer Bottom Styles */
.footer-bottom {
    background-color: #1A0A0C; /* Darker wine background for bottom bar */
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: #A6918E;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Responsive Media Queries */
@media(max-width: 992px) {
    .shop-layout, .product-detail-layout, .cart-layout, .checkout-layout, .admin-layout {
        grid-template-columns: 1fr;
    }
    
    .shop-sidebar {
        position: static;
        margin-bottom: 24px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
}

@media(max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 16px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 20px;
    }
    
    .header-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .search-box input {
        width: 100px;
    }
    .search-box input:focus {
        width: 130px;
    }
    
    .tracking-timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding-left: 40px;
    }
    
    .tracking-timeline::before {
        left: 20px;
        top: 0;
        width: 4px;
        height: 100%;
    }
    
    .timeline-progress-bar {
        left: 20px;
        top: 0;
        width: 4px;
        height: 0%;
        transition: height 1s ease;
    }
    
    .timeline-step {
        flex-direction: row;
        text-align: left;
        width: 100%;
        gap: 16px;
    }
    
    .step-label {
        margin-top: 0;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid .full-width {
        grid-column: span 1;
    }

    /* Footer Responsiveness (Tablet) */
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding-bottom: 30px;
    }
}

/* Drag and Drop Image Dropzone & Preview Styles */
.hero-image-upload-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
    margin-top: 6px;
    width: 100%;
}

@media (max-width: 768px) {
    .hero-image-upload-container {
        grid-template-columns: 1fr;
    }
    
    /* Footer Mobile Responsiveness */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-col.contact-col .contact-item {
        justify-content: center;
    }
    
    .footer-social-icons {
        justify-content: center;
    }
    
    .payment-badges {
        justify-content: center;
    }
    
    .footer-col ul li a:hover {
        transform: translateY(-3px);
    }
}

.image-dropzone {
    border: 2px dashed var(--border-gold);
    border-radius: 8px;
    background-color: var(--bg-warm);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    min-height: 180px;
    height: 100%;
}

.image-dropzone:hover, .image-dropzone.dragover {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.image-dropzone-icon {
    font-size: 2rem;
    color: var(--primary);
}

.image-dropzone-text {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.image-dropzone-subtext {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
    margin-top: 12px;
    width: 100%;
}

.preview-thumbnail {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    background-color: #fff;
    transition: var(--transition);
}

.preview-thumbnail:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}

.preview-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-thumbnail .remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: rgba(114, 47, 55, 0.9); /* primary alpha */
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.preview-thumbnail .remove-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.single-preview-container {
    width: 100%;
    height: 100%;
    min-height: 180px;
    max-height: 250px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    position: relative;
    background-color: #fff;
}

.single-preview-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-preview-container .remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(114, 47, 55, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.single-preview-container .remove-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* Google Sign-In Styles */
.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dadce0;
    border-radius: 6px;
    background-color: white;
    color: #3c4043;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.google-btn:hover {
    background-color: #f8f9fa;
    border-color: #d2e3fc;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);
}

.google-btn svg {
    width: 18px;
    height: 18px;
    display: block;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
    margin: 20px 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.auth-divider:not(:empty)::before {
    margin-right: 12px;
}

.auth-divider:not(:empty)::after {
    margin-left: 12px;
}

/* Google Account Selection Modal inside Desi Sutras */
.google-account-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.google-account-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    background-color: var(--bg-warm);
    text-align: left;
}

.google-account-item:hover {
    border-color: var(--primary);
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.google-account-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
}

.google-account-info {
    display: flex;
    flex-direction: column;
}

.google-account-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.google-account-email {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.google-custom-login-form {
    border-top: 1px dashed var(--border-color);
    padding-top: 16px;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: slideDown 0.3s ease-out;
}

/* Dedicated Admin Secure Portal */
.admin-login-barrier {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    width: 100%;
    background: linear-gradient(135deg, #260e11 0%, #170507 100%);
    border-radius: 12px;
    padding: 40px 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.admin-login-card {
    background-color: #2e1518;
    border: 2px solid var(--border-gold);
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg);
    color: #fcebe6;
    text-align: center;
}

.admin-login-shield {
    font-size: 4.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    animation: pulseGold 2s infinite ease-in-out;
}

@keyframes pulseGold {
    0% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(197, 160, 89, 0.4)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 15px rgba(197, 160, 89, 0.8)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(197, 160, 89, 0.4)); }
}

.admin-login-card h2 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 8px;
    letter-spacing: 1.5px;
}

.admin-login-card p {
    color: #c7b8b5;
    font-size: 0.85rem;
    margin-bottom: 28px;
    line-height: 1.5;
}

.admin-input-group {
    margin-bottom: 20px;
    text-align: left;
}

.admin-input-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.admin-input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #4a1d22;
    border-radius: 6px;
    background-color: #1a0a0c;
    color: white;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.admin-input-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 8px rgba(197, 160, 89, 0.25);
}

/* ==========================================================================
   WhatsApp Support Widget
   ========================================================================== */
.wa-widget-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9990;
    font-family: var(--font-body);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Floating Button */
.wa-float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    color: #ffffff;
    border: none;
    outline: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, background-color 0.3s ease;
    z-index: 9992;
    position: relative;
    padding: 0;
}

.wa-float-btn:hover {
    background-color: #20ba59;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.wa-float-btn:active {
    transform: scale(0.95);
}

/* Pulse animation on the button ring */
.wa-float-btn::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid #25D366;
    border-radius: 50%;
    opacity: 0;
    animation: wa-pulse 2s infinite;
    pointer-events: none;
}

@keyframes wa-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Support Popup Window */
.wa-popup {
    position: absolute;
    bottom: 76px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 48px);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(114, 47, 55, 0.15);
    overflow: hidden;
    z-index: 9991;
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-sizing: border-box;
}

.wa-popup.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
}

/* Popup Header */
.wa-popup-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wa-admin-info {
    display: flex;
    align-items: center;
}

.wa-avatar-container {
    position: relative;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.wa-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background-color: var(--primary-light);
}

.wa-status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 11px;
    height: 11px;
    background-color: #4CAF50;
    border: 2px solid var(--primary-dark);
    border-radius: 50%;
}

.wa-status-dot::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 1px solid #4CAF50;
    border-radius: 50%;
    animation: wa-status-pulse 1.8s infinite;
}

@keyframes wa-status-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.wa-header-text {
    margin-left: 12px;
    display: flex;
    flex-direction: column;
}

.wa-title {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.wa-subtitle {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 2px;
}

.wa-close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    line-height: 1;
}

.wa-close-btn:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.15);
}

/* Popup Body */
.wa-popup-body {
    padding: 24px;
    background: rgba(255, 255, 255, 0.6);
}

.wa-welcome-msg {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* Chat Button inside Popup */
.wa-chat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background-color: #25D366;
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 30px;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    text-decoration: none;
    box-sizing: border-box;
}

.wa-chat-btn:hover {
    background-color: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
    color: #ffffff;
}

.wa-chat-btn:active {
    transform: translateY(0);
}

.wa-chat-btn i {
    font-size: 1.15rem;
}

/* Responsive adjustment for Mobile */
@media (max-width: 480px) {
    .wa-widget-container {
        bottom: 16px;
        right: 16px;
    }
    
    .wa-popup {
        bottom: 72px;
        right: 0;
        width: calc(100vw - 32px);
    }
    
    .wa-float-btn {
        width: 54px;
        height: 54px;
        font-size: 24px;
    }
}
/* Product image hover 3D flip effect */
.product-card {
    overflow: visible; /* Ensure perspective card rotation isn't cut off */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-img-wrapper {
    position: relative;
    overflow: hidden;
    perspective: 1000px;
    background-color: var(--bg-card);
}

/* 3D Flip Container */
.product-img-wrapper .image-flip-container {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Trigger flip on card hover */
.product-card:hover .product-img-wrapper .image-flip-container {
    transform: rotateY(180deg);
}

/* Front & Back Images placement */
.product-img-wrapper .image-flip-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

/* Front image sits naturally */
.product-img-wrapper .image-flip-container .img-front {
    position: relative;
    z-index: 2;
    transform: rotateY(0deg);
}

/* Back image is pre-rotated Y=180 so when card rotates Y=180, it becomes visible */
.product-img-wrapper .image-flip-container .img-back {
    transform: rotateY(180deg);
    z-index: 1;
}

/* --- REVIEWS SYSTEM CUSTOM STYLES --- */

/* Rating Stars Selector in Form */
.rating-select-container {
    display: flex;
    gap: 8px;
    margin: 8px 0 16px 0;
}
.star-rating-option {
    font-size: 1.8rem;
    color: #cccccc;
    cursor: pointer;
    transition: color 0.15s ease-in-out, transform 0.1s ease;
}
.star-rating-option:hover {
    transform: scale(1.2);
}
.star-rating-option.active {
    color: #FFA500;
}

/* Reviews List Layout */
.product-reviews-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}
.reviews-grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}
@media (max-width: 900px) {
    .reviews-grid-layout {
        grid-template-columns: 1fr;
    }
}
.reviews-list-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.reviews-summary-card {
    background-color: var(--bg-warm);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 20px;
}
.reviews-summary-card .avg-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
    line-height: 1;
}
.reviews-summary-card .stars-row {
    color: #FFA500;
    font-size: 1.2rem;
    margin: 8px 0;
}
.reviews-summary-card .total-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.review-item-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}
.review-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}
.review-item-user {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
}
.review-item-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.review-item-stars {
    color: #FFA500;
    font-size: 0.9rem;
    margin-bottom: 8px;
}
.review-item-comment {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-dark);
}
.review-badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: #2e7d32;
    background-color: #e8f5e9;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    margin-left: 8px;
}
.review-form-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    position: sticky;
    top: 20px;
}
.review-form-card h3 {
    margin-bottom: 16px;
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.3rem;
}
.review-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.review-form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
}
.review-form-group textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.9rem;
    min-height: 100px;
    resize: vertical;
    outline: none;
}
.review-form-group textarea:focus {
    border-color: var(--primary);
}
.review-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 8px;
    line-height: 1.4;
}

/* User Dashboard Reviews */
.profile-reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}
.profile-review-card {
    background-color: var(--bg-warm);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media (max-width: 600px) {
    .profile-review-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
.badge-review-status {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}
.badge-review-status.pending {
    background-color: #fff3e0;
    color: #e65100;
}
.badge-review-status.approved {
    background-color: #e8f5e9;
    color: #2e7d32;
}


