/* ========== SCHOLARS' PERFUME - ELEGANT RESPONSIVE CSS ========== */
/* Optimized for mobile, tablet, laptop, desktop with rich animations */

/* ----------------------------------------------
   RESET & VARIABLES
------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #0F0F0F;
    --soft-gold: #C6A75E;
    --deep-navy: #0B1C2D;
    --ivory: #f5efe7;
    --error: #ff4444;
    --success: #00C851;
    --warning: #ffbb33;
    --gray-light: #2a2a2a;
    --gray: #1a1a1a;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-sm: 0 5px 20px rgba(0,0,0,0.2);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.3);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.4);
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #B49450 100%);
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background: var(--black);
    color: #e0e0e0;
    line-height: 1.6;
    padding-top: 80px;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ----------------------------------------------
   TYPOGRAPHY
------------------------------------------------- */
h1, h2, h3, h4, .logo, .gold-text {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.gold-text {
    color: var(--soft-gold);
    position: relative;
    display: inline-block;
}

/* Animated underline for headings */
.section-title .gold-text::after,
.page-title .gold-text::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.6s ease;
}

.section-title:hover .gold-text::after,
.page-title:hover .gold-text::after {
    width: 100%;
}

/* ----------------------------------------------
   CONTAINER - WIDER ON LAPTOP
------------------------------------------------- */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

/* ----------------------------------------------
   FIXED NAVBAR (Dynamic padding via JS)
------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 15, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(198, 167, 94, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

.navbar:hover {
    background: rgba(15, 15, 15, 1);
    border-bottom-color: rgba(198, 167, 94, 0.4);
}

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

/* Logo animation */
.logo {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--soft-gold);
    text-decoration: none;
    letter-spacing: 2px;
    transition: transform 0.3s ease;
}
.logo:hover {
    transform: scale(1.02);
}
.logo span {
    font-size: 0.7rem;
    color: #aaa;
    display: block;
    letter-spacing: 1px;
}
.logo img {
    height: 55px;
    width: auto;
}

/* Search Bar */
.search-bar {
    position: relative;
    flex: 0 1 400px;
    margin: 0 20px;
}
.search-bar input {
    width: 100%;
    padding: 12px 50px 12px 45px;
    border: 1px solid rgba(198, 167, 94, 0.3);
    border-radius: 60px;
    font-size: 14px;
    background: rgba(26, 26, 26, 0.9);
    color: #e0e0e0;
    transition: var(--transition);
}
.search-bar input:focus {
    outline: none;
    border-color: var(--soft-gold);
    background: var(--gray);
    box-shadow: 0 0 0 3px rgba(198, 167, 94, 0.2);
}
.search-bar::before {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--soft-gold);
    font-size: 1rem;
    pointer-events: none;
}
.search-bar button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gold-gradient);
    border: none;
    color: var(--black);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.search-bar button:hover {
    transform: translateY(-50%) scale(1.03);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--soft-gold);
    transition: width 0.3s;
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--soft-gold);
}

/* Cart Icon */
.cart-icon {
    position: relative;
}
.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--soft-gold);
    color: var(--black);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Profile Dropdown */
.profile-container {
    position: relative;
}
.profile-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}
.profile-icon:hover {
    transform: scale(1.05);
}
.profile-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    background: var(--gray);
    border: 1px solid rgba(198, 167, 94, 0.3);
    min-width: 200px;
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1000;
}
.profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.profile-dropdown a {
    display: block;
    padding: 12px 20px;
    color: #e0e0e0;
    text-decoration: none;
}
.profile-dropdown a:hover {
    background: rgba(198, 167, 94, 0.1);
    color: var(--soft-gold);
}

/* Responsive Nav */
@media (max-width: 992px) {
    .nav-container {
        flex-wrap: wrap;
        gap: 12px;
        padding: 0.8rem 1rem;
    }
    .search-bar {
        order: 3;
        flex: 1 1 100%;
        margin: 5px 0;
    }
    .nav-links {
        gap: 1rem;
    }
}
@media (max-width: 768px) {
    .nav-links a {
        font-size: 0.8rem;
    }
    .logo {
        font-size: 1.4rem;
    }
    .search-bar input {
        padding: 10px 45px 10px 40px;
        font-size: 13px;
    }
    .search-bar button span {
        display: none;
    }
}

/* ----------------------------------------------
   BUTTONS with Ripple & Hover
------------------------------------------------- */
.btn {
    padding: 0.75rem 1.8rem;
    border: 1px solid var(--soft-gold);
    background: transparent;
    color: var(--soft-gold);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 40px;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold-gradient);
    transition: left 0.4s ease;
    z-index: -1;
}
.btn:hover::before {
    left: 0;
}
.btn:hover {
    color: var(--black);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}
.btn-primary {
    background: var(--gold-gradient);
    color: var(--black);
    border: none;
}
.btn-primary::before {
    background: transparent;
}
.btn-primary:hover {
    background: transparent;
    border: 1px solid var(--soft-gold);
    color: var(--soft-gold);
}
.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* ----------------------------------------------
   PRODUCT GRID - WIDER CARDS ON LAPTOP
------------------------------------------------- */
.products-grid {
    display: grid;
    gap: 2rem;
    padding: 2rem 0;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Product Card with scale & glow */
.product-card {
    background: var(--gray);
    border: 1px solid rgba(198, 167, 94, 0.2);
    padding: 1.2rem;
    transition: var(--transition-slow);
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    animation: fadeInUp 0.6s ease backwards;
}
.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--soft-gold);
    box-shadow: var(--shadow-md);
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Image - Fixed proportion, not oversized */
.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.5s ease;
}
.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-title {
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem;
    color: var(--soft-gold);
}
.product-description {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 1rem;
    line-height: 1.4;
}
.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.current-price {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--soft-gold);
}
.original-price {
    font-size: 1rem;
    color: #888;
    text-decoration: line-through;
}
.discount-badge {
    background: var(--gold-gradient);
    color: var(--black);
    padding: 0.2rem 0.6rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: bold;
}
.product-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: auto;
}
.product-actions .btn {
    flex: 1;
    justify-content: center;
    padding: 0.6rem 0;
}

/* Wishlist Button */
.wishlist-btn {
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: white;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}
.wishlist-btn.active {
    color: #ff4444;
    background: white;
}
.wishlist-btn:hover {
    transform: scale(1.1);
}

/* ----------------------------------------------
   PRODUCT DETAIL PAGE (NEW IMPROVEMENTS)
------------------------------------------------- */
.product-detail {
    padding: 2rem 0;
    min-height: calc(100vh - 300px);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--gray);
    border-radius: 24px;
    padding: 2rem;
    margin-top: 1rem;
}

.product-detail-image {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.product-detail-info h1 {
    font-size: 2rem;
    color: var(--soft-gold);
    margin-bottom: 0.5rem;
}

.product-detail-brand {
    color: #888;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-detail-price {
    font-size: 1.8rem;
    color: var(--soft-gold);
    margin: 1rem 0;
    font-weight: bold;
}

.product-detail-original-price {
    font-size: 1rem;
    color: #888;
    text-decoration: line-through;
    margin-left: 1rem;
}

.product-detail-discount {
    background: var(--gold-gradient);
    color: var(--black);
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
    margin-left: 1rem;
}

.product-detail-description {
    margin: 1.5rem 0;
    color: #bbb;
    line-height: 1.6;
}

.product-detail-meta {
    margin: 1rem 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(198, 167, 94, 0.2);
    border-bottom: 1px solid rgba(198, 167, 94, 0.2);
}

.product-detail-meta p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.product-detail-meta strong {
    color: var(--soft-gold);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.quantity-selector label {
    color: var(--soft-gold);
    font-weight: 500;
}

.quantity-selector input {
    width: 70px;
    padding: 0.6rem;
    background: var(--gray-light);
    border: 1px solid rgba(198, 167, 94, 0.3);
    color: white;
    border-radius: 8px;
    text-align: center;
}

.quantity-selector input:focus {
    outline: none;
    border-color: var(--soft-gold);
}

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

.product-detail-actions .btn {
    flex: 1;
    justify-content: center;
}

@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .product-detail-info h1 {
        font-size: 1.5rem;
    }
    
    .product-detail-price {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .product-detail {
        padding: 1rem 0;
    }
    
    .product-detail-grid {
        padding: 1rem;
    }
    
    .product-detail-actions {
        flex-direction: column;
    }
}

/* ----------------------------------------------
   RELATED PRODUCTS SECTION
------------------------------------------------- */
.related-products {
    padding: 2rem 0;
    margin-top: 2rem;
}

.related-products .section-title {
    margin-bottom: 1rem;
}

/* ----------------------------------------------
   HERO SECTION
------------------------------------------------- */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2rem 2rem;
    max-width: 1600px;
    margin: 0 auto;
    min-height: 80vh;
}
.hero-content {
    animation: fadeInLeft 1s ease;
}
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.hero-content p {
    font-size: 1.2rem;
    color: #bbb;
    margin-bottom: 2rem;
}
.hero-image {
    animation: fadeInRight 1s ease;
}
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.hero-image img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 24px;
    transition: transform 0.5s;
}
.hero-image img:hover {
    transform: scale(1.02);
}

@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 1rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-image img {
        max-height: 350px;
    }
}

/* ----------------------------------------------
   SECTION TITLES
------------------------------------------------- */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 3rem 0 2rem;
    position: relative;
    animation: fadeIn 0.8s;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

/* ----------------------------------------------
   ABOUT SECTION
------------------------------------------------- */
.about {
    background: var(--gray);
    padding: 4rem 0;
    margin: 3rem 0;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}
.about-content p {
    color: #bbb;
    margin-bottom: 1rem;
}
.about-image img {
    width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.4s, box-shadow 0.4s;
}
.about-image img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-image img {
        max-height: 300px;
    }
}

/* ----------------------------------------------
   FOOTER
------------------------------------------------- */
.footer {
    background: var(--gray);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(198, 167, 94, 0.2);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer h3, .footer h4 {
    color: var(--soft-gold);
    margin-bottom: 1rem;
}
.footer ul {
    list-style: none;
}
.footer ul li {
    margin-bottom: 0.5rem;
}
.footer a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s;
}
.footer a:hover {
    color: var(--soft-gold);
}
.social-links {
    display: flex;
    gap: 1rem;
}
.social-links a {
    font-size: 1.5rem;
}
.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(198, 167, 94, 0.2);
    color: #777;
    font-size: 0.85rem;
}

/* ----------------------------------------------
   CART & CHECKOUT
------------------------------------------------- */
.cart-page {
    padding: 2rem 0;
}
.page-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
}
.cart-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}
@media (max-width: 992px) {
    .cart-grid {
        grid-template-columns: 1fr;
    }
}
.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(198, 167, 94, 0.2);
}
@media (max-width: 640px) {
    .cart-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
}
.quantity-btn {
    width: 32px;
    height: 32px;
    background: var(--gray-light);
    border: none;
    border-radius: 8px;
    color: var(--soft-gold);
    cursor: pointer;
}
.remove-item {
    background: none;
    border: none;
    color: var(--error);
    cursor: pointer;
}
.cart-summary {
    background: var(--gray);
    padding: 1.5rem;
    border-radius: 20px;
    position: sticky;
    top: 100px;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(198, 167, 94, 0.2);
}
.summary-row.total {
    font-size: 1.3rem;
    color: var(--soft-gold);
}

/* ----------------------------------------------
   ACCOUNT & PROFILE
------------------------------------------------- */
.account-container {
    max-width: 500px;
    margin: 3rem auto;
    background: var(--gray);
    padding: 2rem;
    border-radius: 24px;
}
.account-tabs {
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid rgba(198, 167, 94, 0.3);
}
.tab {
    padding: 0.8rem 1.2rem;
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
}
.tab.active {
    color: var(--soft-gold);
    border-bottom: 2px solid var(--soft-gold);
}
.dashboard-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}
.dashboard-card {
    background: var(--gray-light);
    padding: 1.2rem;
    text-align: center;
    border-radius: 16px;
    text-decoration: none;
    transition: var(--transition);
}
.dashboard-card:hover {
    transform: translateY(-5px);
    background: rgba(198, 167, 94, 0.1);
}
.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    background: var(--gray);
    padding: 2rem;
    border-radius: 24px;
}
.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
}
.profile-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.tab-btn {
    padding: 0.8rem 1.5rem;
    background: var(--gray);
    border: 1px solid rgba(198, 167, 94, 0.3);
    border-radius: 40px;
    cursor: pointer;
}
.tab-btn.active {
    background: var(--soft-gold);
    color: var(--black);
}

/* ----------------------------------------------
   MODAL, FORMS, LOADING, TOAST
------------------------------------------------- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}
.modal.active {
    display: flex;
    animation: fadeIn 0.3s;
}
.modal-content {
    background: var(--gray);
    border: 1px solid var(--soft-gold);
    max-width: 500px;
    width: 90%;
    padding: 2rem;
    border-radius: 24px;
    position: relative;
    animation: slideUp 0.3s;
}
@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--soft-gold);
    cursor: pointer;
}
.form-group {
    margin-bottom: 1.2rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--soft-gold);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    background: var(--gray-light);
    border: 1px solid #3a3a3a;
    border-radius: 12px;
    color: #e0e0e0;
}
.form-group input:focus {
    outline: none;
    border-color: var(--soft-gold);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}
.loading-spinner {
    border: 3px solid var(--gray-light);
    border-top: 3px solid var(--soft-gold);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 0.8s linear infinite;
    margin: 2rem auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--deep-navy);
    color: var(--soft-gold);
    padding: 1rem 2rem;
    border-left: 4px solid var(--soft-gold);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    z-index: 3000;
    animation: slideInRight 0.3s ease;
}
@keyframes slideInRight {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ----------------------------------------------
   SCROLL REVEAL ANIMATION
------------------------------------------------- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Apply fade-up to sections for scroll animation */
.hero, .featured, .about, .products-section, .cart-page, .checkout-page {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
    animation-delay: 0.1s;
}

/* Additional hover glow for cards */
.product-card, .dashboard-card, .address-card {
    transition: all 0.3s ease;
}
.product-card:hover, .dashboard-card:hover, .address-card:hover {
    box-shadow: 0 10px 30px rgba(198, 167, 94, 0.2);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--gray);
}
::-webkit-scrollbar-thumb {
    background: var(--soft-gold);
    border-radius: 10px;
}

/* ========== SKELETON LOADING ANIMATIONS ========== */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--gray-light) 25%,
        var(--gray) 50%,
        var(--gray-light) 75%
    );
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Product Card Skeletons */
.skeleton-product-card {
    background: var(--gray);
    border: 1px solid var(--gray-light);
    border-radius: 20px;
    padding: 1.2rem;
    overflow: hidden;
}

.skeleton-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--gray-light);
    border-radius: 16px;
    margin-bottom: 1rem;
}

.skeleton-title {
    height: 24px;
    width: 70%;
    margin-bottom: 0.5rem;
}

.skeleton-text {
    height: 14px;
    width: 90%;
    margin-bottom: 0.5rem;
}

.skeleton-text.short {
    width: 50%;
}

.skeleton-price {
    height: 28px;
    width: 40%;
    margin: 1rem 0;
}

.skeleton-button {
    height: 40px;
    width: 100%;
    border-radius: 40px;
}

/* Cart Item Skeleton */
.skeleton-cart-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--gray);
    border-bottom: 1px solid var(--gray-light);
    margin-bottom: 1rem;
}

.skeleton-cart-image {
    width: 100px;
    height: 100px;
    border-radius: 10px;
}

.skeleton-cart-details {
    flex: 1;
}

.skeleton-cart-title {
    height: 24px;
    width: 60%;
    margin-bottom: 0.5rem;
}

.skeleton-cart-brand {
    height: 16px;
    width: 40%;
    margin-bottom: 0.5rem;
}

.skeleton-cart-price {
    height: 28px;
    width: 30%;
    margin-bottom: 0.5rem;
}

.skeleton-cart-quantity {
    height: 35px;
    width: 120px;
}

/* Order Card Skeleton */
.skeleton-order-card {
    background: var(--gray-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.skeleton-order-header {
    height: 30px;
    width: 60%;
    margin-bottom: 1rem;
}

.skeleton-order-product {
    display: flex;
    gap: 1rem;
    padding: 0.8rem 0;
}

.skeleton-order-thumb {
    width: 70px;
    height: 70px;
    border-radius: 8px;
}

.skeleton-order-info {
    flex: 1;
}

.skeleton-order-name {
    height: 18px;
    width: 50%;
    margin-bottom: 0.3rem;
}

.skeleton-order-meta {
    height: 16px;
    width: 30%;
}

/* Address Card Skeleton */
.skeleton-address-card {
    background: var(--gray-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
}

.skeleton-address-title {
    height: 22px;
    width: 40%;
    margin-bottom: 1rem;
}

.skeleton-address-line {
    height: 14px;
    width: 80%;
    margin-bottom: 0.5rem;
}

.skeleton-address-line.short {
    width: 60%;
}

/* Wishlist Item Skeleton */
.skeleton-wishlist-item {
    background: var(--gray-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
}

.skeleton-wishlist-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 1rem;
}

.skeleton-wishlist-title {
    height: 20px;
    width: 70%;
    margin-bottom: 0.5rem;
}

.skeleton-wishlist-price {
    height: 24px;
    width: 50%;
    margin-bottom: 1rem;
}

/* Skeleton Grids */
.skeleton-product-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.skeleton-cart-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skeleton-address-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.skeleton-wishlist-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.skeleton-orders-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ----------------------------------------------
   FILTERS SECTION
------------------------------------------------- */
.filters {
    padding: 1rem 0;
}

.filter-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.sort-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sort-container label {
    color: var(--soft-gold);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.custom-select {
    position: relative;
}

.custom-select select {
    background: #1a1a1a;
    color: var(--soft-gold);
    border: 1px solid rgba(198, 167, 94, 0.3);
    padding: 0.5rem 2rem 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 500;
    appearance: none;
    transition: all 0.3s ease;
}

.custom-select select:hover {
    border-color: var(--soft-gold);
    background: #222;
}

.custom-select select:focus {
    outline: none;
    border-color: var(--soft-gold);
    box-shadow: 0 0 0 2px rgba(198, 167, 94, 0.2);
}

.custom-select select option {
    background: #1a1a1a;
    color: #e0e0e0;
}

.custom-select::after {
    content: '\f0d7';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--soft-gold);
    font-size: 0.7rem;
    pointer-events: none;
}

@media (max-width: 768px) {
    .filter-bar {
        justify-content: center;
    }
    
    .sort-container {
        width: 100%;
        justify-content: space-between;
    }
    
    .custom-select select {
        padding: 0.5rem 1.8rem 0.5rem 1rem;
    }
}

/* ----------------------------------------------
   PAGE HEADER
------------------------------------------------- */
.page-header {
    margin-top: 20px;
    padding: 20px 0;
    text-align: center;
}

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

.page-header p {
    color: #aaa;
}

@media (max-width: 768px) {
    .page-header {
        margin-top: 10px;
        padding: 15px 0;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
}

/* ----------------------------------------------
   BREADCRUMBS (OPTIONAL)
------------------------------------------------- */
.breadcrumbs {
    margin: 1rem 0;
    font-size: 0.85rem;
    color: #888;
}

.breadcrumbs a {
    color: var(--soft-gold);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: #888;
}

/* ----------------------------------------------
   UTILITY CLASSES
------------------------------------------------- */
.text-center {
    text-align: center;
}

.text-gold {
    color: var(--soft-gold);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
/* ========== PRODUCT DETAIL PAGE MISSING STYLES ========== */

/* Product Detail Wrapper */
.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Media Gallery */
.media-gallery {
    position: relative;
}

.main-media-container {
    position: relative;
    background: var(--gray-light);
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.main-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-nav.prev {
    left: 10px;
}

.gallery-nav.next {
    right: 10px;
}

.gallery-nav:hover {
    background: var(--soft-gold);
    color: var(--black);
}

.thumbnail-grid {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    overflow-x: auto;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    position: relative;
}

.thumbnail-item:hover {
    border-color: var(--soft-gold);
}

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

.video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    text-shadow: 0 0 5px black;
}

/* Product Info Area */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
    gap: 1rem;
}

.product-header h1 {
    font-size: 2rem;
    color: var(--soft-gold);
    margin: 0;
}

.wishlist-btn-large {
    background: transparent;
    border: 1px solid rgba(198, 167, 94, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 40px;
    color: var(--soft-gold);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wishlist-btn-large.active {
    background: var(--soft-gold);
    color: var(--black);
}

.product-price-large {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-price-large .current-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--soft-gold);
}

.discount-text {
    background: var(--gold-gradient);
    color: var(--black);
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
}

.product-rating-large {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-rating-large .fa-star,
.product-rating-large .fa-star-half-alt {
    color: #ffc107;
}

.product-rating-large .far.fa-star {
    color: #555;
}

.rating-value {
    font-weight: bold;
    color: var(--soft-gold);
}

.rating-count {
    color: #888;
    font-size: 0.85rem;
}

.stock-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    font-size: 0.85rem;
}

.stock-status.in-stock {
    background: rgba(0, 200, 81, 0.1);
    color: #00C851;
}

.stock-status.out-of-stock {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
}

.product-description-full h3,
.product-features h3 {
    color: var(--soft-gold);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.product-description-full p {
    color: #bbb;
    line-height: 1.6;
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features li {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-features li i {
    color: var(--soft-gold);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-buttons .btn {
    flex: 1;
    justify-content: center;
}

.product-meta {
    padding-top: 1rem;
    border-top: 1px solid rgba(198, 167, 94, 0.2);
    font-size: 0.85rem;
    color: #888;
}

.product-meta strong {
    color: var(--soft-gold);
}

.product-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    color: white;
    transition: all 0.3s;
}

.share-btn.facebook:hover { background: #1877f2; }
.share-btn.twitter:hover { background: #1da1f2; }
.share-btn.pinterest:hover { background: #e60023; }
.share-btn.whatsapp:hover { background: #25D366; }
.share-btn.email:hover { background: var(--soft-gold); }

.product-guarantee {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: 12px;
}

.product-guarantee i {
    font-size: 2rem;
    color: var(--soft-gold);
}

.product-guarantee div {
    display: flex;
    flex-direction: column;
}

.product-guarantee strong {
    color: var(--soft-gold);
}

/* Responsive */
@media (max-width: 992px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-header h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
    }
    
    .thumbnail-item {
        width: 60px;
        height: 60px;
    }
}

/* Skeleton for Product Detail */
.skeleton-product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.skeleton-detail-gallery .skeleton-image-large {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--gray-light);
    border-radius: 20px;
}

.skeleton-detail-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (max-width: 992px) {
    .skeleton-product-detail {
        grid-template-columns: 1fr;
    }
}

/* Product Card Header */
.product-card-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: start;
}

/* Rating Small */
.product-rating-small {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0.5rem 0;
    font-size: 0.75rem;
}

.product-rating-small .fa-star,
.product-rating-small .fa-star-half-alt {
    color: #ffc107;
}

/* Buy Now Button */
.buy-now-btn {
    background: var(--gold-gradient);
    color: var(--black);
    border: none;
}

.buy-now-btn:hover {
    background: transparent;
    border: 1px solid var(--soft-gold);
    color: var(--soft-gold);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--soft-gold);
    color: var(--soft-gold);
}
/* ========== CHECKOUT PAGE STYLES ========== */

.checkout-page {
    padding: 2rem 0;
    min-height: calc(100vh - 300px);
}

.checkout-header {
    text-align: center;
    margin-bottom: 2rem;
}

.checkout-subtitle {
    color: #888;
    font-size: 0.9rem;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
}

@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Form Card */
.form-card {
    background: var(--gray);
    border-radius: 24px;
    padding: 1.8rem;
    border: 1px solid rgba(198, 167, 94, 0.2);
}

.form-card-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(198, 167, 94, 0.2);
}

.form-card-header i {
    font-size: 1.3rem;
    color: var(--soft-gold);
}

.form-card-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--soft-gold);
}

.required {
    color: #ff4444;
    font-size: 0.8rem;
}

/* Payment Methods */
.payment-section {
    margin-top: 1.5rem;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.payment-option {
    display: block;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option input {
    display: none;
}

.payment-option-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-light);
    border: 2px solid transparent;
    border-radius: 16px;
    transition: all 0.3s;
    cursor: pointer;
}

.payment-option.active .payment-option-content {
    border-color: var(--soft-gold);
    background: rgba(198, 167, 94, 0.1);
}

.payment-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.payment-option-content i {
    font-size: 1.5rem;
    color: var(--soft-gold);
}

.payment-option-content div {
    display: flex;
    flex-direction: column;
}

.payment-option-content strong {
    color: white;
}

.payment-option-content span {
    font-size: 0.75rem;
    color: #888;
}

/* Order Summary */
.summary-card {
    background: var(--gray);
    border-radius: 24px;
    padding: 1.8rem;
    border: 1px solid rgba(198, 167, 94, 0.2);
    position: sticky;
    top: 100px;
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(198, 167, 94, 0.2);
}

.summary-header i {
    font-size: 1.3rem;
    color: var(--soft-gold);
}

.summary-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--soft-gold);
}

.item-count {
    margin-left: auto;
    font-size: 0.8rem;
    color: #888;
}

.order-items-list {
    max-height: 400px;
    overflow-y: auto;
}

.order-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(198, 167, 94, 0.1);
}

.order-item-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

.order-item-details {
    flex: 1;
}

.order-item-name {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.order-item-price {
    font-size: 0.85rem;
    color: var(--soft-gold);
}

.order-item-quantity {
    font-size: 0.75rem;
    color: #888;
}

.summary-divider {
    height: 1px;
    background: rgba(198, 167, 94, 0.2);
    margin: 1rem 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.8rem 0;
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(198, 167, 94, 0.2);
}

.total-amount {
    color: var(--soft-gold);
    font-size: 1.3rem;
    font-weight: bold;
}

.delivery-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.8rem;
    background: rgba(198, 167, 94, 0.1);
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--soft-gold);
}

/* Place Order Button */
#placeOrderBtn {
    width: 100%;
    margin-top: 1.5rem;
    background: var(--gold-gradient);
    color: var(--black);
    border: none;
}

#placeOrderBtn:hover {
    background: transparent;
    border: 1px solid var(--soft-gold);
    color: var(--soft-gold);
}

#placeOrderBtn i {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .form-card,
    .summary-card {
        padding: 1.2rem;
    }
    
    .order-item-image {
        width: 50px;
        height: 50px;
    }
    
    .payment-option-content {
        padding: 0.8rem;
    }
}

/* Empty Cart in Checkout */
.empty-checkout {
    text-align: center;
    padding: 3rem;
}

.empty-checkout i {
    font-size: 4rem;
    color: var(--soft-gold);
    margin-bottom: 1rem;
}

.empty-checkout p {
    color: #888;
    margin-bottom: 1.5rem;
}
/* Input hints */
.input-hint {
    display: block;
    font-size: 0.7rem;
    color: #888;
    margin-top: 4px;
}

/* Coupon Styles */
#checkoutCouponSection {
    margin: 1rem 0;
}

.applied-coupon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(0, 200, 81, 0.1);
    border: 1px solid #00C851;
    border-radius: 12px;
}

.applied-coupon-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.applied-coupon-content i {
    color: #00C851;
    font-size: 1.2rem;
}

.applied-coupon-content strong {
    color: #00C851;
}

.applied-coupon-content span {
    color: #888;
    font-size: 0.75rem;
}

.remove-coupon-btn {
    padding: 5px 12px;
    background: transparent;
    border: 1px solid #ff4444;
    color: #ff4444;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.3s;
}

.remove-coupon-btn:hover {
    background: #ff4444;
    color: white;
}

.coupon-input-wrapper {
    padding: 12px;
    background: var(--gray-light);
    border-radius: 12px;
}

.coupon-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--soft-gold);
    font-size: 0.85rem;
}

.coupon-input-group {
    display: flex;
    gap: 10px;
}

.coupon-input {
    flex: 1;
    padding: 10px;
    background: var(--black);
    border: 1px solid rgba(198, 167, 94, 0.3);
    border-radius: 8px;
    color: white;
    text-transform: uppercase;
}

.coupon-input:focus {
    outline: none;
    border-color: var(--soft-gold);
}

.apply-coupon-btn {
    padding: 10px 20px;
    background: var(--soft-gold);
    color: var(--black);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.apply-coupon-btn:hover {
    background: #D4AF37;
    transform: translateY(-2px);
}

.coupon-message {
    font-size: 0.75rem;
    margin-top: 8px;
    min-height: 20px;
}

/* Available coupons info */
.available-coupons {
    margin-top: 10px;
    padding: 8px;
    background: rgba(198, 167, 94, 0.1);
    border-radius: 8px;
}

.available-coupons p {
    font-size: 0.7rem;
    color: var(--soft-gold);
    margin-bottom: 5px;
}

.coupon-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.coupon-tag {
    display: inline-block;
    padding: 2px 8px;
    background: var(--gray);
    border: 1px solid var(--soft-gold);
    border-radius: 15px;
    font-size: 0.65rem;
    color: var(--soft-gold);
    cursor: pointer;
    transition: all 0.3s;
}

.coupon-tag:hover {
    background: var(--soft-gold);
    color: var(--black);
}

/* Summary rows */
.summary-row {
    display: flex;
    justify-content: space-between;
    margin: 12px 0;
    font-size: 0.9rem;
}

.summary-row.subtotal {
    color: #aaa;
}

.summary-row.discount {
    color: #00C851;
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(198, 167, 94, 0.2);
}

.total-amount {
    color: var(--soft-gold);
    font-size: 1.3rem;
}

/* Order item styles */
.order-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(198, 167, 94, 0.1);
}

.order-item-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

.order-item-details {
    flex: 1;
}

.order-item-name {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.order-item-price {
    font-size: 0.85rem;
    color: var(--soft-gold);
}

.order-item-quantity {
    font-size: 0.75rem;
    color: #888;
}

.order-item-discount {
    font-size: 0.7rem;
    color: #00C851;
    margin-top: 4px;
}

.delivery-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.8rem;
    background: rgba(198, 167, 94, 0.1);
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--soft-gold);
}