:root {
    --white: #ffffff;
    --accent: #2c2c2c;
    --transition: all 0.3s ease;
}
html, body {
    width: 100%;
    overflow-x: hidden;
    min-height: 100vh;
    flex-direction: column;
      display: flex;

}
main {
  flex: 1;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Sofia Sans', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--accent);
    line-height: 1.6;
}

/* Header Styles */
header {
    background: var(--white);
/*
    position: fixed;
*/
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-social a:hover {
    color: #D4AF37;
    transform: translateY(-2px);
}

.header-social a {
    color: var(--accent);
    text-decoration: none;
    font-size: 1.4rem;
    transition: var(--transition);
}

.header-social {
    margin-left: 2rem;
}

.language-switcher {
    position: relative;
    margin-left: 1rem;
}
.btn-checkout {
    display: block;
    width: 35%;
    padding: 1rem;
    background: #000;
    color: white;
    text-align: center;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 1.5rem 0;
    position: relative;
}
.lang-btn {
    background: transparent;
    border: 1px solid rgba(44, 44, 44, 0.15);
    padding: 8px 12px;
    border-radius: 24px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    background: rgba(212, 175, 55, 0.1);
}

.lang-btn:after {
    content: '▼';
    font-size: 0.6rem;
    margin-left: 4px;
    color: var(--accent);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid rgba(44, 44, 44, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 160px;
    padding: 8px 0;
    margin-top: 8px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.lang-dropdown.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.lang-dropdown a:hover {
    background: var(--light-gray);
}

.lang-dropdown .active {
    font-weight: 500;
    background: rgba(212, 175, 55, 0.05);
}

.checkmark {
    color: var(--white);
    font-weight: 700;
    margin-left: 8px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem; /* Add horizontal padding */
}

/* 404 Page Styles */
.not-found {
    display: flex;
    align-items: center;
    background: radial-gradient(circle at center, var(--white) 0%, #fff8f0 100%);
    position: relative;
    overflow: hidden;
    justify-content: center;
    text-align: center;
}

.error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.in-stock {
    color: green;
    font-weight: bold;
}
.low-stock {
    color: orange;
    font-weight: bold;
}
.out-of-stock {
    color: red;
    font-weight: bold;
}

.sparkle {
    position: absolute;
    background: rgba(255,255,255,0.8);
    animation: sparkle 2s infinite;
}

.s1 { top: 10%; left: 20%; width: 8px; height: 8px; }
.s2 { top: 60%; right: 15%; width: 6px; height: 6px; }
.s3 { bottom: 20%; left: 45%; width: 4px; height: 4px; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes sparkle {
    0% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0); }
}

/* Error Number */
.error-number {
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    background: linear-gradient(45deg, #D4AF37 0%, #A2855B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 12px rgba(212,175,55,0.2);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.error-number::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    filter: blur(15px);
    opacity: 0.4;
}

/* Text Styles */
.gold-glow {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(212,175,55,0.1);
    width: 100%;
}

.error-message {
    font-size: 1.1rem;
    color: #666;
    margin: 2rem auto;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Animated Button */
.diamond-btn {
    position: relative;
    overflow: hidden;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    transition: all 0.4s ease;
    background: var(--gold);
    border: 2px solid var(--gold);
    margin: 0 auto;
}

.btn-shimmer {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
}

@keyframes shimmer {
    0% { transform: translateX(-50%) rotate(30deg); }
    100% { transform: translateX(50%) rotate(30deg); }
}

.diamond-btn i {
    margin-left: 0.8rem;
    transition: transform 0.3s ease;
}

.diamond-btn:hover i {
    transform: rotate(360deg);
}

/* Background Particles */
.not-found::before {
    content: '';
    position: absolute;
    width: 200vw;
    height: 200vh;
    background-image:
        radial-gradient(circle, rgba(212,175,55,0.05) 1px, transparent 1px),
        radial-gradient(circle, rgba(212,175,55,0.03) 1px, transparent 1px);
    background-size: 40px 40px, 80px 80px;
    background-position: 0 0, 20px 20px;
    animation: particleMove 20s linear infinite;
}

@keyframes particleMove {
    from { transform: translateY(0); }
    to { transform: translateY(-40px); }
}

.container {
    width: 100%;
    padding: 0 20px;
}

/*
.contact-section {
    padding: 6rem 1rem 2rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #f9f9f9;
}
*/

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.contact-wrapper {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
    padding: 1.5rem;
}

.contact-form h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #2c2c2c;
    text-align: center;
    margin-bottom: 1rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

.cta-button {
    width: 100%;
    padding: 1rem;
    background: #121211;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: var(--white);
    text: #000000;
}

@media (max-width: 768px) {
    .contact-wrapper {
        padding: 2rem;
    }

    .contact-form h2 {
        font-size: 1.8rem;
    }

        .error-number {
        font-size: 5rem;
    }

    .gold-glow {
        font-size: 2rem;
    }

    .diamond-btn {
        padding: 1rem 2rem;
    }
}

.logo {
    display: block;
    width: auto;
    height: 76px; /* Adjust based on your logo aspect ratio */
    margin-right: 3rem;

}

.logo-image {
    height: 100%;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo-image:hover {
    opacity: 0.9;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-left: auto; /* Push nav links to the right */
}

.nav-links a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: #121211;
}

/* Hero Section */
.hero {
    height: 35vh; /* Changed from 100vh */
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.8)),
                url('https://picsum.photos/1920/1080?grayscale&blur=2&jewelry');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center; /* Added for better centering */
    padding: 0 5%;
/*
    padding-top: 60px; */
/* Offset for fixed header *//*

}

.hero-content {
    max-width: 800px; /* Increased from 600px */
    text-align: center; /* Added for better alignment */
}

.hero h1 {
    font-size: 3rem; /* Reduced from 4rem */
    margin-bottom: 1.2rem;
}

.subtitle {
    font-size: 1.1rem; /* Reduced from 1.2rem */
    margin-bottom: 1.5rem;
}


.payment-section {
    margin: 1.5rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.payment-section h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #444;
}

.payment-method {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 6px;
    border: 1px solid #eee;
    width: 35%;
}

.payment-logo {
    width: 50px;
    margin-right: 1rem;
}

.payment-logo img {
    width: 100%;
    height: auto;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.summary-row.total {
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.payment-methods {
    margin: 1.5rem 0;
    text-align: center;
}

.payment-methods p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 1.8rem;
    color: #666;
}
.payment-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    margin-right: 1rem
}

.payment-info p {
    font-size: 0.85rem;
    color: #666;
}


/* Order Confirmation */
.order-confirmation {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
}

.confirmation-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.confirmation-success {
    color: #4CAF50;
    text-align: center;
}

.confirmation-pending {
    color: #FFC107;
    text-align: center;
}

.confirmation-failed {
    color: #F44336;
    text-align: center;
}

.confirmation-container i {
    font-size: 60px;
    margin-bottom: 20px;
}

.order-details {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
    margin: 25px 0;
}

.confirmation-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-continue, .btn-retry {
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
}

.btn-continue {
    background: #000;
    color: white;
}

.btn-retry {
    background: #f44336;
    color: white;
}

/* Button Styles */
.cta-button {
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--white);
    color: #000000;
    transform: translateY(-2px);
    border: solid;

}

@media (min-width: 992px) {
    .checkout-container {
        flex-direction: row;
    }

    .checkout-form-container {
        flex: 1.5;
    }

    .order-summary {
        flex: 1;
    }

        .cart-container {
        flex-direction: row;
    }

    .cart-items-container {
        flex: 2;
    }

    .cart-summary {
        flex: 1;
    }
}

/* Categories Section */
.categories {
    padding: 1rem 1%;
    text-align: center;
}

.categories h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: var(--transition);
}

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

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

.category-card h3 {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
nav {
        position: relative;
        padding: 1rem;
    }
    .payment-method {
        width: 100%;
    }
    .btn-checkout {
        width: 100%;
    }
        .btn-update {
        margin-right: 0.5rem;
    }

    .btn-remove {
        position: absolute;
        top: 1rem;
        right: 0;
    }

    .hamburger {
        display: flex;
/*
        padding: 0.5rem;
*/
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1000;
        margin-left: auto;
    }

    .hamburger-box {
        width: 30px;
        height: 24px;
        display: inline-block;
        position: relative;
        padding-top: 14px;
    }

    .hamburger-inner {
        width: 100%;
        height: 2px;
        background-color: var(--accent);
        position: absolute;
        left: 0;
/*
        top: 50%;
*/
        transform: translateY(-50%);
        transition: all 0.3s ease;
    }

    .hamburger-inner::before,
    .hamburger-inner::after {
        content: '';
        width: 100%;
        height: 2px;
        background-color: var(--accent);
        position: absolute;
        left: 0;
/*
        transition: all 0.3s ease;
*/
    }

    .hamburger-inner::before {
        top: -8px;
    }

    .hamburger-inner::after {
        top: 8px;
    }

    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: var(--white);
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        padding: 2rem;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-container.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 4rem;
    }

    .header-icons {
        margin-left: 0;
        flex-direction: column;
        gap: 1.5rem;
        position: absolute;
        bottom: 2rem;
        width: calc(100% - 4rem);
    }

    .hamburger.active .hamburger-inner {
        background-color: transparent;
    }

    .hamburger.active .hamburger-inner::before {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .hamburger-inner::after {
        transform: translateY(-8px) rotate(-45deg);
    }

/*    .logo {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 100%;
        text-align: center;
    }*/
    .logo-image {
        height: 70px
    }
    .hero {
        height: 30vh; /* Adjusted from original mobile size */
        padding-top: 15px;
    }

    .hero h1 {
        font-size: 2rem; /* Reduced from 2.5rem */
    }

    .subtitle {
        font-size: 1rem; /* Reduced from original */
    }

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

    .category-card img {
        height: 300px;
    }

        .logo {
        height: 60px;
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    nav {
/*
        flex-direction: column;
*/
    }

    .hero {
        height: 29vh; /* Adjusted from original */
/*
        padding-top: 100px;
*/
    }

    .collection-header {
        padding: 5px;
    }

    .hero h1 {
        font-size: 1.8rem; /* Reduced from 2rem */
    }

    .cta-button {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .social-links {
        gap: 1.8rem;
    }

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

    .spec-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .spec-label {
        font-weight: 600;
    }

    .contact-card {
        padding: 1.5rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }

    .contact-card h2 {
        font-size: 1.8rem;
    }

    .filter-btn {
        min-width: 100%;
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .filters {
        gap: 10px;
    }

    .wishlist-grid {
        gap: 1.5rem;
    }

    .item-badge {
        font-size: 0.8rem;
        top: 10px;
        left: 10px;
    }

    .filter-options {
        width: 100%;
        left: 0;
        right: auto;
    }

    .empty-icon {
        font-size: 3rem;
    }

        .logo {
        height: 30px;
    }
}

/* Collections Page Styles */
.collection-hero {
    background: #f9f9f9;
/*
    padding-top: 120px;
*/
    padding-right: 5%;
    padding-bottom: 0.1px;
    padding-left: 5%;
    text-align: center;
}

.collection-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    -webkit-background-clip: text;
    margin-bottom: 1rem;
}

/* Product Detail Page */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 0px;
}

.gallery-container {
    position: sticky;
    top: 100px;
    align-self: start;
}

.main-image img {
    width: 100%;
    height: 480px;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: opacity 0.3s ease;
}

.thumbnail-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.specifications {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.spec-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f5f5f5;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 500;
    color: var(--accent);
}

.spec-value {
    color: #666;
    line-height: 1.5;
}

.thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail.active {
    border-color: var(--white);
    transform: scale(1.05);
}

.thumbnail:hover {
    border-color: rgba(212, 175, 55, 0.5);
}

.product-info {
    padding: 2rem;
}

.product-info .price {
    font-size: 1.8rem;
    color: #000000;
    margin: 1rem 0;
}

/* Related Products */
.related-products {
    padding: 3rem 5%;
    background: var(--white);
    padding-top: 35px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 2rem auto;
}

.product-card {
    position: relative;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-bottom: 2px solid var(--white);
}

.product-meta {
    padding: 1rem;
}

.product-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.product-card .price {
    font-weight: 600;
}

.products {
    padding: 4rem 5%;
}

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


.product-image-container {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.price-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--white);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
}

.product-info {
    padding: 3.5rem;
    text-align: center;
}

.product-info h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.product-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.add-to-cart {
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

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

/* Filter Styles */
.filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
/*
    background: var(--white);
*/
    color: var(--accent);
    text-decoration: none;
    border: 2px solid transparent;
    font-weight: 500;
    min-width: 160px;

/*
    border: 1px solid var(--white);
*/
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #000000;
    color: var(--white);
}

.filter-btn.active {
    background: #000000;
    color: var(--white);
/*
    border-color: var(--gold);
*/
}

/* No Products Message */
.no-products {
    text-align: center;
    padding: 4rem 0;
}

.no-products h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.no-products p {
    color: #666;
}
.gold-footer {
    background: #000000; /* Solid black background */
    padding: 1.2rem 5%;
    margin-top: auto;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.1); /* Black shadow */
    color: #ffffff; /* White text */

}

.cart-page {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

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

.cart-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c2c2c;
}

.cart-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}


.cart-container {
    display: flex;
    flex-direction: column;
}


.cart-items table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.cart-items {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.cart-items th {
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid #eee;
    font-weight: 500;
    color: #666;
}

.cart-items td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.product-info-cart {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.product-details h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.product-availability {
    font-size: 0.85rem;
}

.price-cell {
    font-weight: 500;
    white-space: nowrap;
}

.quantity-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quantity-control {
    display: flex;
    align-items: center;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    background: #f5f5f5;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: #e0e0e0;
}

.quantity-input {
    width: 50px;
    height: 30px;
    text-align: center;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    -moz-appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-update {
    background: transparent;
    border: 1px solid #ddd;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-update:hover {
    background: #f5f5f5;
}

.btn-remove {
    color: #d33;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.btn-remove:hover {
    color: #a00;
    transform: scale(1.1);
}


.cart-summary {
    text-align: right;
    margin-top: 30px;
}

.order-summary {
    position: relative;
}

.summary-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: sticky;
    top: 20px;
}

.summary-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.summary-card h2 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}


.btn-continue, .btn-checkout {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
}

.btn-continue {
    background: #f8f8f8;
    color: #333;
    border: 1px solid #ddd;
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    max-width: 500px;
    margin: 0 auto;
}

.empty-cart-icon {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 1.5rem;
}

.empty-cart h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.empty-cart p {
    color: #666;
    margin-bottom: 2rem;
}

/* Cart icon in header */
.cart-icon {
    position: relative;
    margin-left: 20px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #000;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.cart-summary h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.product-info img {
    border-radius: 4px;
}

.cart-items th {
    font-weight: 500;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-page {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

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

.checkout-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #2c2c2c;
}

.checkout-container {
    display: flex;
    flex-direction: column;
}

.checkout-summary, .checkout-form {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.checkout-summary h2, .checkout-form h2 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.order-items {
    margin-bottom: 1.5rem;
}

.order-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f5f5f5;
}

.order-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.item-quantity {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #000;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 500;
}

.item-details h3 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.item-details p {
    color: #666;
    font-size: 0.9rem;
}

.item-total {
    font-weight: 500;
}

.order-totals {
    margin: 1.5rem 0;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.total-row.grand-total {
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.grand-total {
    font-weight: bold;
    font-size: 18px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.btn-checkout:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-checkout i {
    margin-left: 0.5rem;
}

.secure-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #666;
    text-align: center;
}

.secure-checkout i {
    color: #4CAF50;
}

.form-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.form-section h2 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    color: #2c2c2c;
}

.form-section h2 i {
    margin-right: 0.75rem;
    color: #666;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.copyright {
    font-size: 0.9rem;
    font-weight: 500;
}
.checkout-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 1.5rem;
    position: relative;
    color: #999;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 15px;
    right: -30px;
    width: 20px;
    height: 1px;
    background: #ddd;
}

.step span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.step.active {
    color: #2c2c2c;
}

.step.active span {
    background: #000;
    color: white;
}


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

.social-icon {
    text-decoration: none;
    font-size: 1.3rem;
    transition: var(--transition);
    padding: 0.3rem;
}

.social-icon:hover {
    color: var(--white);
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.wishlist-page {
    padding: 1rem 2% 1rem;;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 70vh;
}

.wishlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--white);
}

.wishlist-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--accent);
    margin: 0;
}

.wishlist-controls {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.filter-options {
    display: none;
    position: absolute;
    right: 0;
    background: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 1rem;
    min-width: 200px;
    z-index: 100;
}


.optional {
    font-size: 0.9rem;
    color: #999;
    margin-left: 0.5rem;
    font-weight: normal;
}

.filter-dropdown:hover .filter-options {
    display: block;
}

.filter-options a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--accent);
    text-decoration: none;
    transition: all 0.2s ease;
}
.filter-options a:hover {
    background: var(--white);
    border-radius: 5px;
}

.item-count {
    font-weight: 500;
    color: var(--accent);
}
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.wishlist-grid.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 3px solid var(--white);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.wishlist-grid.loading {
    position: relative;
    opacity: 0.6;
    pointer-events: none;
}

.wishlist-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.wishlist-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}



.item-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #000000;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    z-index: 2;
}

.collection-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;
    margin-top: 2rem;
}

.sort-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 20px;

}

.sort-btn {
    background: #f8f8f8;
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.sort-btn:hover {
    background: #eee;
}

.sort-options {
    display: none;
    position: absolute;
    background: white;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 4px;
    right: 0;
}

/*.sort-dropdown:hover .sort-options {
    display: block;
}*/

.product-grid.loading {
    opacity: 0.6;
    pointer-events: none;
}

.sort-options a {
    color: #333;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.sort-options a:hover {
    background-color: #f8f8f8;
}

.sort-options a.active {
    font-weight: bold;
    color: #000;
}

.item-image {
    position: relative;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    margin-right: 1rem;
}

.item-image-checkout {
    position: relative;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    margin-right: 1rem;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.item-image-checkout img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.01) 100%);
}
.item-info {
    padding: 1.5rem;
    position: relative;
}

.item-info h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: var(--accent);
}
.item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.price {
    font-weight: 600;
/*
    color: var(--white);
*/
    margin: 0;
}
.availability {
    font-size: 0.9rem;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
}
.in-stock {
    background: #e8f5e9;
    color: #2e7d32;
}
.out-stock {
    background: #ffebee;
    color: #c62828;
}
.empty-wishlist {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255,255,255,0.9);
    border-radius: 15px;
    margin: 2rem 0;
}
.empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}
.empty-wishlist h2 {
    color: var(--accent);
    margin-bottom: 1rem;
}
.empty-wishlist p {
    color: #666;
    margin-bottom: 2rem;
}
.shimmer {
    position: relative;
    overflow: hidden;
}
.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255,255,255,0.4) 50%,
        transparent 100%
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        left: 200%;
    }
}
.wishlist-btn.active i {
    color: #d32f2f;
    animation: heartBeat 0.6s ease;
}

/* Wishlist button styles */
.wishlist-item .wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wishlist-item .wishlist-btn i {
    color: var(--accent);
    font-size: 1.2rem;
}

.wishlist-item .wishlist-btn:hover {
    background: var(--white);
    transform: scale(1.1);
}

.wishlist-item .wishlist-btn.active i {
    color: #d32f2f;
    font-weight: 900;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(0.9); }
    75% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
.product-detail .wishlist-btn {
    position: static;
    width: auto;
    height: auto;
    background: #000000;
    border-radius: 25px;
    padding: 0.8rem 2rem;
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
}
.product-detail .wishlist-btn i {
    color: var(--white);
    margin-right: 0.5rem;
}
.product-card .wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 0;
    margin: 0;
}

.product-card .wishlist-btn i {
    color: var(--accent);
    margin-right: 0;
}

.product-card .wishlist-btn:hover {
    background: var(--white);
    transform: scale(1.1);
}

.product-detail .wishlist-btn:hover {
    background: #B89A4A;
    transform: scale(1.05);
}

.product-detail .wishlist-btn .fa-solid {
    color: var(--white) !important;
}

.fa-heart.active {
    color: #D4AF37;
    font-weight: 900;
}

.g-recaptcha {
    margin: 1.5rem 0;
    transform: scale(0.9);
    transform-origin: left;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        padding-top: 0px;
    }

    .product-detail {
        grid-template-columns: 1fr;
        display: block;

    }

    .gallery-container {
        position: static;
        order: -1;
    }

    .main-image img {
        height: auto;
        max-height: 400px;
    }

    .filter-btn {
        width: auto;
        min-width: auto;
        padding: 0.6rem 1.2rem;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .filters {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex-wrap: nowrap;
        gap: 0.3rem;
        margin: 0 -1rem;
        padding: 0 1rem 1rem;
    }

    .filters::-webkit-scrollbar {
        display: none;
    }

    .product-info {
        padding: 1rem;
        position: relative;
        z-index: 1;
        background: var(--white);
    }

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

    .product-card img {
        height: 180px;
    }

    .collection-header {
        padding-right: 1rem;
        padding-bottom: 2rem;
        padding-left: 1rem;
    }

        .checkout-steps {
        gap: 0.5rem;
    }

    .step {
        margin: 0 0.5rem;
    }

    .step:not(:last-child):after {
        right: -20px;
        width: 10px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .item-details h3 {
        font-size: 0.9rem;
    }
}

    .collection-header h1 {
        font-size: 2rem;
    }

    .collection-header p {
        font-size: 1rem;
    }

    .products {
        padding-top: 4rem;
        padding-right: 5%;
        padding-bottom: 1rem;
        padding-left: 5%;
    }

    .g-recaptcha {
        transform: scale(0.85);
    }

    #submitButton {
        width: 100%;
        padding: 1rem;
    }

    .collection-controls {
        flex-direction: column;
    }

/*    .sort-dropdown {
        width: 100%;
    }*/

/*    .sort-btn {
        width: 100%;
    }*/

    .sort-options {
        right: auto;
        left: 0;
    }
}

.craftsmanship-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}
.craft-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.craft-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.craft-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #D4AF37;
}
@media (max-width: 768px) {
    .story-section {
        grid-template-columns: 1fr;
    }
    .craft-grid {
        grid-template-columns: 1fr;
    }
    .story-image img {
        height: 300px;
    }
}
.contact-hero {
    height: 50vh;
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.8)),
                url('https://picsum.photos/1920/1080?jewelry=5');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}
.contact-section {
    padding: 0rem 1rem 2rem;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
}
.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transform: translateY(0);
}
.contact-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #2c2c2c;
    text-align: center;
    margin-bottom: 2rem;
}
.contact-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.form-group {
    margin-bottom: 1rem;
}

.form-control {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.status-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    display: none; /* Hidden by default */
}

.status-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-control:focus {
    border-color: var(--white);
    outline: none;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: #e74c3c;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-bottom: 2px solid #666;
    font-size: 1rem;
    transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #D4AF37;
}

/*.gold-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}*/
.form-group input:focus,
.form-group textarea:focus {
    width: 100%;
}
.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.info-card {
    position: sticky;
    top: 100px;
}
.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}
.icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 40px;
    text-align: center;
}
.map-container {
    height: 300px;
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
@media (max-width: 1024px) {
    .product-detail {
        grid-template-columns: 1fr;
    }

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

    .collection-header h1 {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .collection-header p {
        font-size: 1.1rem;
        margin-top: 0.5rem;
    }

    .products {
        padding-top: 0rem;
        padding-right: 5%;
        padding-left: 5%;

    }

}
@media (max-width: 768px) {
    .wishlist-page {
        padding: 1rem 4% 2rem;
    }

    .wishlist-header {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
        padding-top: 0px;
    }

    .wishlist-controls {
        width: 100%;
        justify-content: space-between;
    }

    .filter-dropdown {
        width: 65%;
    }

    .filter-btn {
        width: auto;
        padding: 0.15rem;
        font-size: 0.9rem;
    }

    .item-count {
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .wishlist-item {
        padding: 1rem;
        border-radius: 12px;
    }

    .item-image img {
        height: 200px;
    }

    .item-info {
        padding: 1rem 0 0;
    }

    .item-info h3 {
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .item-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .price {
        font-size: 1.1rem;
    }

    .availability {
        font-size: 0.85rem;
        padding: 0.3rem 0.8rem;
    }

    .wishlist-btn {
        width: 36px;
        height: 36px;
        top: 10px;
        right: 10px;
    }

    .empty-wishlist {
        padding: 2rem 1rem;
    }

    .empty-wishlist h2 {
        font-size: 1.5rem;
    }
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: var(--transition);
    display: block;
    text-decoration: none;
    color: inherit;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.category-card h3 {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 2;
}
.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}
.availability {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.availability.in-stock {
    color: #28a745; /* Green */
    display: inline-block;
    width: fit-content;
    margin: 0 auto;
}

.availability.out-of-stock {
    color: #dc3545; /* Red */
    display: inline-block;
    width: fit-content;
    margin: 0 auto;
}

.availability i {
    font-size: 1.2em;
}

.availability.in-stock:hover {
    color: #218838;
}

.availability.out-of-stock:hover {
    color: #c82333;
}

.availability i {
    transition: transform 0.2s ease;
}

.availability:hover i {
    transform: scale(1.1);
}

.admin-page {
    padding: 2rem 5%;
}

.admin-page {
    padding: 6rem 5% 2rem; /* Add padding to avoid header overlap */
}
.admin-form, .update-product {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.admin-form h2, .update-product h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}
.product-list {
    margin-top: 3rem;
}
.product-list table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}
.product-list th, .product-list td {
    padding: 1rem;
    border: 1px solid #ddd;
    text-align: left;

.product-list th {
    background-color: var(--light-white);
    font-weight: 600;

}
.btn-edit, .btn-delete {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}
.btn-edit {
    background-color: #28a745;
    color: white;
}
.btn-delete {
    background-color: #dc3545;
    color: white;
}
.btn-edit:hover, .btn-delete:hover {
    opacity: 0.8;
}

.admin-page, .update-product {
    padding-top: 6rem;
}
.admin-login {
    padding: 6rem 5%;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.admin-login h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}
.btn-logout {
    background: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 2rem;
}
.btn-logout:hover {
    background: #c82333;
}

.form-control[type="file"] {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: var(--white);
    cursor: pointer;
}

.form-control[type="file"]:focus {
    border-color: var(--white);
    outline: none;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

