/* CSS Variables */
:root {
    --primary: #8B0000;
    --primary-dark: #600000;
    --secondary: #DC143C;
    --accent: #B22222;
    --dark: #1a0a0a;
    --light: #FFF8E7;
    --cream: #F5E6D3;
    --gray: #8B7355;
    --success: #228B22;
    --gradient: linear-gradient(135deg, #8B0000 0%, #DC143C 50%, #B22222 100%);
}

/* Prevent Flash of Unstyled Content */
html {
    visibility: hidden;
    opacity: 0;
}

html.loaded {
    visibility: visible;
    opacity: 1;
}

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

html {
    scroll-behavior: smooth;
    visibility: visible !important;
    opacity: 1 !important;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 248, 231, 0.1);
}

.navbar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo i {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.wishlist-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.3rem;
    transition: transform 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 248, 231, 0.1);
}

.wishlist-icon:hover {
    transform: scale(1.1);
    background: rgba(220, 20, 60, 0.3);
}

.wishlist-icon i {
    color: var(--secondary);
}

.wishlist-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.user-icon {
    cursor: pointer;
    font-size: 1.3rem;
    transition: transform 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 248, 231, 0.1);
}

.user-icon:hover {
    transform: scale(1.1);
    background: var(--primary);
}

.user-icon.logged-in {
    background: var(--gradient);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.3rem;
    transition: transform 0.3s;
}

.cart-icon:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem 2rem;
}

.hero-content {
    text-align: center;
    z-index: 10;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.cta-btn {
    background: var(--gradient);
    border: none;
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.4);
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: -100px;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: -50px;
    right: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

/* Products Section */
.products {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: rgba(255, 248, 231, 0.05);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 248, 231, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(26, 10, 10, 0.5);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.2), rgba(220, 20, 60, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary);
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-desc {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.add-to-cart {
    background: var(--gradient);
    border: none;
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s;
}

.add-to-cart:hover {
    transform: scale(1.05);
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: rgba(255, 248, 231, 0.02);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 248, 231, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 248, 231, 0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--gray);
}

/* About Section */
.about {
    padding: 6rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background: rgba(255, 248, 231, 0.02);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem 1.5rem;
    background: rgba(255, 248, 231, 0.05);
    border: 1px solid rgba(255, 248, 231, 0.1);
    border-radius: 10px;
    color: var(--light);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form textarea {
    resize: vertical;
}

/* Footer */
.footer {
    padding: 4rem 2rem 2rem;
    background: rgba(26, 10, 10, 0.5);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section h3 {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 248, 231, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
}

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

.newsletter {
    display: flex;
    gap: 0.5rem;
}

.newsletter input {
    flex: 1;
    padding: 0.8rem 1rem;
    background: rgba(255, 248, 231, 0.1);
    border: none;
    border-radius: 10px;
    color: var(--light);
}

.newsletter button {
    padding: 0.8rem 1rem;
    background: var(--gradient);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s;
}

.newsletter button:hover {
    transform: scale(1.05);
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 248, 231, 0.1);
    text-align: center;
    color: var(--gray);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--dark);
    z-index: 2000;
    transition: right 0.3s;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 248, 231, 0.1);
    max-height: 100vh;
    overflow: hidden;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 248, 231, 0.1);
    flex-shrink: 0;
}

.close-cart {
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--dark);
}

.cart-items::-webkit-scrollbar {
    width: 8px;
}

.cart-items::-webkit-scrollbar-track {
    background: var(--dark);
}

.cart-items::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.empty-cart {
    text-align: center;
    color: var(--gray);
    padding: 3rem 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 248, 231, 0.05);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.2), rgba(220, 20, 60, 0.2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.cart-item-price {
    color: var(--primary);
    font-weight: 600;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--secondary);
    cursor: pointer;
    padding: 0.5rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 248, 231, 0.1);
    flex-shrink: 0;
    background: var(--dark);
    max-height: 50vh;
    overflow-y: auto;
}

.shipping-options {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 248, 231, 0.1);
}

.shipping-options h4 {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    color: var(--cream);
}

.shipping-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 248, 231, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.shipping-option:hover {
    background: rgba(255, 248, 231, 0.1);
}

.shipping-option input[type="radio"] {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.shipping-option span:first-child {
    flex: 1;
    font-size: 0.85rem;
    color: var(--light);
}

.shipping-price {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

.invoice-delivery {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(255, 248, 231, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 248, 231, 0.1);
}

.invoice-delivery h4 {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    color: var(--cream);
}

.delivery-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 248, 231, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.delivery-option:hover {
    background: rgba(255, 248, 231, 0.1);
}

.delivery-option input[type="radio"] {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.delivery-option span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--light);
}

.delivery-option span i {
    font-size: 1rem;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.cart-total-final {
    font-size: 1.3rem;
    font-weight: 700;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 248, 231, 0.1);
}

#cartTotal {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.checkout-btn {
    width: 100%;
    background: var(--gradient);
    border: none;
    color: white;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.3s;
}

.checkout-btn:hover {
    transform: scale(1.02);
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 10, 10, 0.8);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Product Modal */
.product-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    background: var(--dark);
    border-radius: 20px;
    z-index: 3000;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    border: 1px solid rgba(255, 248, 231, 0.1);
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 10, 10, 0.9);
    z-index: 2999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 248, 231, 0.1);
    border: none;
    color: var(--light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.modal-body {
    overflow-y: auto;
    max-height: 90vh;
    padding: 2rem;
}

.modal-content {
    background: var(--dark);
    border-radius: 20px;
    border: 1px solid rgba(255, 248, 231, 0.1);
    position: relative;
}

.modal-product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.2), rgba(220, 20, 60, 0.2));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    margin-bottom: 1.5rem;
}

.modal-product-name {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-product-sku {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.modal-product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.modal-product-description h3,
.modal-product-specs h3,
.modal-product-tags h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
    color: var(--cream);
}

.modal-product-description p {
    color: var(--light);
    line-height: 1.8;
}

.specs-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
}

.specs-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light);
}

.specs-list li i {
    color: var(--success);
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(139, 0, 0, 0.3);
    color: var(--light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(139, 0, 0, 0.5);
}

.modal-product-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-add-to-cart-modal {
    flex: 1;
    min-width: 200px;
    background: var(--gradient);
    border: none;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-add-to-cart-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.4);
}

.btn-add-to-wishlist {
    flex: 1;
    min-width: 200px;
    background: rgba(255, 248, 231, 0.1);
    border: 1px solid rgba(220, 20, 60, 0.5);
    color: var(--light);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-add-to-wishlist:hover,
.btn-add-to-wishlist.active {
    background: var(--secondary);
    border-color: var(--secondary);
}

/* Reviews Section */
.modal-reviews-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 248, 231, 0.1);
}

.modal-reviews-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--cream);
}

.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.review-card {
    background: rgba(255, 248, 231, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 248, 231, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-weight: 600;
    color: var(--light);
}

.review-date {
    font-size: 0.8rem;
    color: var(--gray);
}

.review-rating {
    color: #FFD700;
    font-size: 1.2rem;
}

.review-comment {
    color: var(--light);
    line-height: 1.6;
}

.no-reviews {
    color: var(--gray);
    text-align: center;
    padding: 2rem;
}

/* Review Form */
.review-form-container {
    background: rgba(255, 248, 231, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 248, 231, 0.1);
}

.review-form-container h4 {
    margin-bottom: 1rem;
    color: var(--cream);
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-form input,
.review-form textarea {
    padding: 1rem;
    background: rgba(255, 248, 231, 0.05);
    border: 1px solid rgba(255, 248, 231, 0.1);
    border-radius: 10px;
    color: var(--light);
    font-family: inherit;
    font-size: 1rem;
}

.review-form input:focus,
.review-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.rating-input {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rating-input label:first-child {
    color: var(--light);
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    gap: 0.3rem;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 2rem;
    color: var(--gray);
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #FFD700;
}

.btn-submit-review {
    background: var(--gradient);
    border: none;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-submit-review:hover {
    transform: translateY(-2px);
}

/* Auth Modal Styles */
.auth-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 450px;
    background: var(--dark);
    border-radius: 20px;
    z-index: 4000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    border: 1px solid rgba(255, 248, 231, 0.1);
    overflow: hidden;
}

.auth-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.auth-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 10, 10, 0.9);
    z-index: 3999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.auth-overlay.active {
    opacity: 1;
    visibility: visible;
}

.auth-container {
    padding: 2rem;
    max-height: 90vh;
    overflow-y: auto;
}

.auth-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    background: rgba(255, 248, 231, 0.05);
    border: 1px solid rgba(255, 248, 231, 0.1);
    border-radius: 12px;
    color: var(--gray);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.auth-tab.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

.auth-form h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-subtitle {
    color: var(--gray);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group label i {
    color: var(--primary);
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 248, 231, 0.05);
    border: 1px solid rgba(255, 248, 231, 0.1);
    border-radius: 10px;
    color: var(--light);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.9rem;
    cursor: pointer;
}

.checkbox-label input {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
}

.checkbox-label a {
    color: var(--primary);
}

.forgot-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.forgot-link:hover {
    color: var(--secondary);
}

.auth-btn {
    width: 100%;
    background: var(--gradient);
    border: none;
    color: white;
    padding: 1rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.4);
}

.social-login {
    margin-top: 2rem;
    text-align: center;
}

.social-login p {
    color: var(--gray);
    margin-bottom: 1rem;
    position: relative;
}

.social-login p::before,
.social-login p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: rgba(255, 248, 231, 0.1);
}

.social-login p::before {
    left: 0;
}

.social-login p::after {
    right: 0;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 248, 231, 0.1);
    background: rgba(255, 248, 231, 0.05);
    color: var(--light);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-btn.google:hover {
    background: #DB4437;
    border-color: #DB4437;
}

.social-btn.facebook:hover {
    background: #4267B2;
    border-color: #4267B2;
}

.social-btn.whatsapp {
    color: #25D366;
}

.social-btn.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    color: white;
}

.social-note {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 1rem;
    text-align: center;
}

/* Profile Modal Styles */
.profile-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: var(--dark);
    border-radius: 20px;
    z-index: 4000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    border: 1px solid rgba(255, 248, 231, 0.1);
}

.profile-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.profile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 10, 10, 0.9);
    z-index: 3999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.profile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.profile-container {
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.3), rgba(220, 20, 60, 0.2));
    border-bottom: 1px solid rgba(255, 248, 231, 0.1);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.profile-info h2 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    color: var(--light);
}

.profile-info p {
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.profile-member-since {
    font-size: 0.85rem;
    color: var(--gray);
}

.profile-tabs {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 248, 231, 0.1);
    overflow-x: auto;
}

.profile-tab {
    padding: 0.8rem 1.5rem;
    background: rgba(255, 248, 231, 0.05);
    border: 1px solid rgba(255, 248, 231, 0.1);
    border-radius: 10px;
    color: var(--gray);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-tab.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

.profile-content {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.profile-section {
    display: none;
}

.profile-section.active {
    display: block;
}

.profile-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--cream);
}

/* Overview Section */
.overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(255, 248, 231, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 248, 231, 0.1);
    text-align: center;
}

.stat-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
}

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

/* Orders Section */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-card {
    background: rgba(255, 248, 231, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 248, 231, 0.1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.order-id {
    font-weight: 600;
    color: var(--light);
}

.order-status {
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.order-status.delivered {
    background: rgba(34, 139, 34, 0.2);
    color: #228B22;
}

.order-status.processing {
    background: rgba(255, 165, 0, 0.2);
    color: #FFA500;
}

.order-status.shipped {
    background: rgba(30, 144, 255, 0.2);
    color: #1E90FF;
}

.order-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.order-detail {
    color: var(--gray);
    font-size: 0.9rem;
}

.order-detail span {
    display: block;
    color: var(--light);
    font-weight: 600;
    margin-top: 0.3rem;
}

.order-items {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 248, 231, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
}

/* Wishlist Section in Profile */
.profile-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.profile-wishlist-item {
    background: rgba(255, 248, 231, 0.05);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 248, 231, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
}

.profile-wishlist-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 248, 231, 0.1);
}

.profile-wishlist-item .icon {
    font-size: 2rem;
}

.profile-wishlist-item .info {
    flex: 1;
}

.profile-wishlist-item .name {
    font-weight: 600;
    color: var(--light);
}

.profile-wishlist-item .price {
    color: var(--secondary);
    font-weight: 600;
}

.profile-wishlist-item .remove {
    background: none;
    border: none;
    color: var(--secondary);
    cursor: pointer;
    padding: 0.5rem;
}

/* Settings Section */
.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.settings-form .form-group {
    margin-bottom: 0;
}

.settings-form input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 248, 231, 0.05);
    border: 1px solid rgba(255, 248, 231, 0.1);
    border-radius: 10px;
    color: var(--light);
    font-family: inherit;
    font-size: 1rem;
}

.settings-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-save-profile {
    background: var(--gradient);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
    align-self: flex-start;
}

.btn-save-profile:hover {
    transform: translateY(-2px);
}

.btn-logout {
    background: rgba(220, 20, 60, 0.2);
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    align-self: flex-start;
    margin-top: 1rem;
}

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

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid rgba(255, 248, 231, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .modal-product-name {
        font-size: 1.5rem;
    }

    .modal-product-price {
        font-size: 1.5rem;
    }

    .modal-product-actions {
        flex-direction: column;
    }

    .btn-add-to-cart-modal,
    .btn-add-to-wishlist {
        width: 100%;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-product-image {
        height: 150px;
        font-size: 4rem;
    }

    .specs-list {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .newsletter {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .navbar {
        padding: 1rem;
    }

    .product-modal {
        width: 95%;
    }

    .modal-product-image {
        font-size: 3rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-body {
        padding: 1.5rem;
    }
}

/* Auth & Profile Responsive */
@media (max-width: 768px) {
    .auth-modal {
        width: 95%;
        max-width: none;
    }

    .auth-container {
        padding: 1.5rem;
    }

    .profile-modal {
        width: 95%;
        max-width: none;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .profile-tabs {
        padding: 0.8rem 1rem;
        justify-content: flex-start;
    }

    .profile-content {
        padding: 1.5rem;
    }

    .order-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-wishlist-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .auth-tabs {
        flex-direction: column;
    }

    .profile-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .profile-tab span {
        display: none;
    }

    .profile-tab i {
        font-size: 1.2rem;
    }

    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* Invoice Modal Styles */
.invoice-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 10, 10, 0.95);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.invoice-modal {
    background: var(--light);
    color: var(--dark);
    border-radius: 15px;
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--gradient);
    color: white;
    border-radius: 15px 15px 0 0;
}

.invoice-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.invoice-logo i {
    font-size: 2rem;
}

.invoice-body {
    padding: 2rem;
}

.invoice-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 0.5rem;
}

.invoice-number {
    text-align: center;
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.invoice-date {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.invoice-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(139, 0, 0, 0.05);
    border-radius: 10px;
    border-left: 3px solid var(--primary);
}

.invoice-section h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.invoice-section p {
    margin: 0.3rem 0;
    font-size: 0.95rem;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.invoice-table th {
    background: var(--primary);
    color: white;
    padding: 0.8rem;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
}

.invoice-table td {
    padding: 0.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
}

.invoice-table tbody tr:nth-child(even) {
    background: rgba(139, 0, 0, 0.03);
}

.invoice-totals {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(139, 0, 0, 0.05);
    border-radius: 10px;
}

.invoice-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
}

.invoice-row.invoice-total {
    border-top: 2px solid var(--primary);
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.invoice-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--gray);
    font-size: 0.9rem;
}

.invoice-footer p {
    margin: 0.3rem 0;
}

.invoice-actions {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    justify-content: center;
    flex-wrap: wrap;
}

.invoice-actions .btn-secondary,
.invoice-actions .btn-primary {
    flex: 1;
    min-width: 150px;
    justify-content: center;
}

/* Print Styles */
@media print {
    body * {
        visibility: hidden;
    }
    
    .invoice-modal,
    .invoice-modal * {
        visibility: visible;
    }
    
    .invoice-modal {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        max-width: none;
        box-shadow: none;
    }
    
    .invoice-actions,
    .modal-close {
        display: none !important;
    }
    
    .invoice-modal-overlay {
        position: absolute;
        background: white;
    }
}
/* Payment Methods */ 

/* Payment Methods */
.payment-methods { margin-bottom: 1.5rem; }
.payment-option { display: flex; align-items: center; gap: 0.8rem; padding: 1rem; background: rgba(255, 248, 231, 0.05); border: 1px solid rgba(255, 248, 231, 0.1); border-radius: 10px; margin-bottom: 0.8rem; cursor: pointer; transition: all 0.3s; } .payment-option:hover { background: rgba(255, 248, 231, 0.1); border-color: var(--primary); } .payment-option input[type="radio"] { accent-color: var(--primary); width: 18px; height: 18px; cursor: pointer; } .payment-option span { flex: 1; color: var(--light); font-weight: 500; display: flex; align-items: center; gap: 0.5rem; } .payment-option i { color: var(--primary); font-size: 1.2rem; }
.bank-details { background: rgba(139, 0, 0, 0.15); border: 1px solid var(--primary); border-radius: 10px; padding: 1rem; margin-top: 0.8rem; } .bank-details p { margin: 0.5rem 0; font-size: 0.9rem; color: var(--light); } .bank-details strong { color: var(--primary); } .bank-note { color: var(--secondary) !important; font-style: italic; font-size: 0.85rem !important; margin-top: 1rem !important; }

/* Sales Notification */
.sales-notification { position: fixed; bottom: -150px; right: 20px; background: linear-gradient(135deg, rgba(34, 139, 34, 0.95), rgba(50, 205, 50, 0.95)); color: white; padding: 1rem 1.5rem; border-radius: 15px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4); z-index: 4000; transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); max-width: 350px; } .sales-notification.active { bottom: 20px; }.sales-notification-content { display: flex; align-items: center; gap: 1rem; } .sales-notification-icon { width: 50px; height: 50px; background: rgba(255, 255, 255, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; } .sales-notification-text { flex: 1; } .sales-notification-message { font-weight: 600; font-size: 0.95rem; margin: 0; line-height: 1.4; } .sales-notification-time { font-size: 0.8rem; opacity: 0.8; margin: 0.3rem 0 0 0; }
@keyframes slideInUp { from { bottom: -150px; opacity: 0; } to { bottom: 20px; opacity: 1; } } @keyframes slideOutDown { from { bottom: 20px; opacity: 1; } to { bottom: -150px; opacity: 0; } }

/* Mobile Bottom Navigation */
.mobile-bottom-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: linear-gradient(135deg, rgba(26, 10, 10, 0.98), rgba(40, 15, 15, 0.98)); backdrop-filter: blur(20px); border-top: 1px solid rgba(255, 248, 231, 0.1); padding: 0.5rem 0; padding-bottom: env(safe-area-inset-bottom); z-index: 999; } .mobile-bottom-nav .nav-item { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; padding: 0.5rem 1rem; color: var(--gray); text-decoration: none; transition: all 0.3s; position: relative; } .mobile-bottom-nav .nav-item i { font-size: 1.3rem; } .mobile-bottom-nav .nav-item span { font-size: 0.7rem; font-weight: 500; } .mobile-bottom-nav .nav-item.active { color: var(--primary); } .mobile-bottom-nav .nav-item:hover { color: var(--primary); background: rgba(139, 0, 0, 0.1); border-radius: 10px; } .nav-cart-count, .nav-wishlist-count { position: absolute; top: 5px; right: 15px; background: var(--secondary); color: white; font-size: 0.65rem; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* Wishlist Button Modern Design */
.wishlist-btn { background: linear-gradient(135deg, rgba(220, 20, 60, 0.2), rgba(139, 0, 0, 0.2)); border: 2px solid var(--secondary); color: var(--secondary); padding: 0.8rem 1.5rem; border-radius: 50px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.3s; display: inline-flex; align-items: center; gap: 0.5rem; box-shadow: 0 4px 15px rgba(220, 20, 60, 0.2); } .wishlist-btn:hover { background: var(--gradient); border-color: transparent; color: white; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(220, 20, 60, 0.4); } .wishlist-btn i { font-size: 1.1rem; transition: transform 0.3s; } .wishlist-btn:hover i { transform: scale(1.2); } .wishlist-btn.active { background: var(--gradient); color: white; border-color: transparent; }

/* Product Card Wishlist Button */
.product-card .wishlist-btn { position: absolute; top: 10px; right: 10px; width: 45px; height: 45px; padding: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.95); border: none; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); } .product-card .wishlist-btn:hover { background: var(--gradient); color: white; } .product-card .wishlist-btn i { font-size: 1.2rem; color: var(--secondary); } .product-card .wishlist-btn.active i { color: white; }


/* Responsive - Show Mobile Nav */
@media (max-width: 768px) { .mobile-bottom-nav { display: flex; justify-content: space-around; align-items: center; } .mobile-bottom-nav .nav-item { flex: 1; } .header { bottom: 60px; } body { padding-bottom: 60px; } .cart-sidebar { bottom: 60px; } }

@media (max-width: 480px) { .mobile-bottom-nav { padding: 0.4rem 0; } .mobile-bottom-nav .nav-item { padding: 0.4rem 0.5rem; } .mobile-bottom-nav .nav-item i { font-size: 1.2rem; } .mobile-bottom-nav .nav-item span { font-size: 0.65rem; } }

/* Cart Sidebar Responsive */
@media (max-width: 480px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    .cart-items {
        padding: 0.5rem;
    }
    .cart-footer {
        padding: 1rem;
    }
    .checkout-btn {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
}


/* Beautiful Invoice Template */
.invoice-modal { background: linear-gradient(135deg, #FFF8E7 0%, #F5E6D3 100%); color: #1a0a0a; border: 2px solid rgba(139, 0, 0, 0.2); } .invoice-header { background: linear-gradient(135deg, #8B0000, #DC143C, #B22222); position: relative; overflow: hidden; } .invoice-header::before { content: ''; position: absolute; top: -50%; right: -10%; width: 200px; height: 200px; background: rgba(255, 255, 255, 0.1); border-radius: 50%; } .invoice-header::after { content: ''; position: absolute; bottom: -30%; left: -5%; width: 150px; height: 150px; background: rgba(255, 255, 255, 0.08); border-radius: 50%; } .invoice-logo i { animation: pulse 2s infinite; } @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } } .invoice-title { font-size: 2.5rem; font-weight: 800; background: linear-gradient(135deg, #8B0000, #DC143C); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: 2px; }

.invoice-section { background: linear-gradient(135deg, rgba(139, 0, 0, 0.05), rgba(220, 20, 60, 0.05)); border-left: 4px solid var(--primary); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); } .invoice-table th { background: linear-gradient(135deg, #8B0000, #DC143C); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; } .invoice-table tbody tr { transition: all 0.3s; } .invoice-table tbody tr:hover { background: rgba(139, 0, 0, 0.08); transform: scale(1.01); } .invoice-row.invoice-total { background: linear-gradient(135deg, rgba(139, 0, 0, 0.1), rgba(220, 20, 60, 0.1)); border-top: 3px solid var(--primary); border-bottom: 3px solid var(--primary); padding: 1.5rem; border-radius: 10px; margin-top: 1rem; } .invoice-footer { background: linear-gradient(135deg, rgba(139, 0, 0, 0.05), rgba(220, 20, 60, 0.05)); padding: 2rem; border-radius: 10px; } .invoice-actions .btn-primary { background: linear-gradient(135deg, #8B0000, #DC143C); box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3); } .invoice-actions .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(139, 0, 0, 0.4); } .invoice-actions .btn-secondary { background: linear-gradient(135deg, rgba(139, 0, 0, 0.1), rgba(220, 20, 60, 0.1)); border: 2px solid var(--primary); color: var(--primary); } .invoice-actions .btn-secondary:hover { background: var(--gradient); color: white; border-color: transparent; }
