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

:root {
    --primary-gold: #D4AF37;
    --secondary-gold: #B8860B;
    --dark-gold: #8B7355;
    --light-gold: #F7E7CE;
    --saffron: #FF9933;
    --deep-red: #B22222;
    --royal-blue: #4169E1;
    --emerald-green: #50C878;
    --maroon: #800000;
    --black: #1a1a1a;
    --white: #ffffff;
    --gray: #666666;
    --light-gray: #f8f8f8;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--black);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

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

.nav-logo h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-gold);
    font-weight: 700;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

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

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

.nav-icon {
    color: var(--black);
    font-size: 1.2rem;
    transition: var(--transition);
    position: relative;
}

.nav-icon:hover {
    color: var(--primary-gold);
    transform: translateY(-2px);
}

.cart-icon {
    position: relative;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--black);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--saffron) 50%, var(--white) 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    padding: 0 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 60vh;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

.cta-button {
    background: var(--primary-gold);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background: var(--secondary-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.jewelry-showcase {
    position: relative;
    width: 400px;
    height: 400px;
}

.jewelry-item {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-gold), var(--saffron), var(--deep-red));
    box-shadow: var(--shadow);
    animation: float 6s ease-in-out infinite;
}

.ring-hero {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.necklace-hero {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.earring-hero {
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

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

/* Categories Section */
.categories {
    padding: 5rem 0;
    background: var(--white);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--black);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

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

.category-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(45deg, var(--primary-gold), var(--saffron), var(--deep-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.category-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--black);
}

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

/* Products Section */
.products {
    padding: 5rem 0;
    background: var(--light-gray);
}

.product-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--white);
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-gold);
    color: var(--white);
}

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

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

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

.product-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(45deg, var(--light-gold), var(--white));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-gold);
    position: relative;
    overflow: hidden;
}

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

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.1));
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-image::before {
    opacity: 1;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.product-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

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

.add-to-cart {
    width: 100%;
    background: var(--primary-gold);
    color: var(--white);
    border: none;
    padding: 0.8rem;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.add-to-cart:hover {
    background: var(--secondary-gold);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--black);
}

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

.learn-more-btn {
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.learn-more-btn:hover {
    background: var(--primary-gold);
    color: var(--white);
}

.about-image {
    position: relative;
}

.craftsmanship-showcase {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, var(--light-gold), var(--white));
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.craftsmanship-showcase::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, var(--primary-gold), var(--secondary-gold));
    border-radius: 50%;
    opacity: 0.3;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-gold);
    width: 30px;
}

.contact-item h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.contact-item p {
    color: var(--gray);
}

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

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    transition: var(--transition);
}

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

.contact-form button {
    background: var(--primary-gold);
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.contact-form button:hover {
    background: var(--secondary-gold);
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.footer-section p {
    color: #ccc;
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

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

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-gold);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

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

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    background: #333;
    color: var(--white);
}

.newsletter-form button {
    background: var(--primary-gold);
    color: var(--white);
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--secondary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #ccc;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

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

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--gray);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

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

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.product-image-container {
    position: relative;
}

.product-image-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

.product-details h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--black);
}

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

.size-selector,
.quantity-selector {
    margin-bottom: 1.5rem;
}

.size-selector label,
.quantity-selector label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--black);
}

.size-selector select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-gold);
    background: transparent;
    color: var(--primary-gold);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    font-weight: bold;
}

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

#qty-display {
    font-size: 1.2rem;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.add-to-cart-btn {
    width: 100%;
    background: var(--primary-gold);
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1.1rem;
}

.add-to-cart-btn:hover {
    background: var(--secondary-gold);
    transform: translateY(-2px);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1500;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.cart-header {
    padding: 2rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-family: 'Playfair Display', serif;
    color: var(--black);
}

.close-cart {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
}

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

.cart-items {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 1rem;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    background: var(--light-gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 1.5rem;
}

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

.cart-item-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--black);
}

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

.cart-item-remove {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.cart-item-remove:hover {
    color: #ff4444;
}

.cart-footer {
    padding: 2rem;
    border-top: 1px solid #e0e0e0;
}

.cart-total {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: center;
}

.checkout-btn {
    width: 100%;
    background: var(--primary-gold);
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.checkout-btn:hover {
    background: var(--secondary-gold);
}

/* Admin Panel */
.admin-panel {
    padding: 6rem 0;
    background: linear-gradient(180deg, #fff, #fdf8f3);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.admin-eyebrow {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: #c38b5a;
    margin-bottom: 0.5rem;
}

.admin-subtitle {
    color: #555;
    max-width: 640px;
}

.admin-hint {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(195, 139, 90, 0.12);
    padding: 1rem 1.5rem;
    border-radius: 999px;
    color: #8a5a34;
    font-weight: 500;
}

.admin-form {
    background: #fff;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    margin-bottom: 2.5rem;
}

.admin-form .form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.admin-form label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.admin-form input,
.admin-form textarea {
    border: 1px solid #e2d8cf;
    border-radius: 12px;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    transition: border 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.admin-form textarea {
    resize: vertical;
}

.admin-form input:focus,
.admin-form textarea:focus {
    outline: none;
    border-color: #c38b5a;
    box-shadow: 0 0 0 3px rgba(195, 139, 90, 0.15);
}

.admin-form .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.admin-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.admin-submit {
    flex: 1;
    border: none;
    background: linear-gradient(135deg, #c38b5a, #a37246);
    color: #fff;
    font-size: 1.05rem;
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(163, 114, 70, 0.25);
}

.admin-cancel-edit {
    display: none;
    border: 1px solid #e2d8cf;
    background: transparent;
    color: #a37246;
    font-weight: 600;
    padding: 0.9rem 1.25rem;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.admin-cancel-edit:hover {
    background: rgba(195, 139, 90, 0.1);
}

.admin-editing-badge {
    display: none;
    margin-top: 1rem;
    background: rgba(195, 139, 90, 0.15);
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    color: #8a5a34;
    font-weight: 600;
    width: fit-content;
    gap: 0.5rem;
    align-items: center;
}

.admin-submissions {
    background: #fff;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

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

.admin-clear {
    border: none;
    background: none;
    color: #b14444;
    font-weight: 600;
    cursor: pointer;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    transition: background 0.2s ease;
}

.admin-clear:hover {
    background: rgba(177, 68, 68, 0.12);
}

.admin-empty {
    color: #777;
    margin-bottom: 1.5rem;
}

.admin-product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.admin-product-card {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #f0e6dd;
    border-radius: 16px;
    align-items: center;
}

.admin-product-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    background: #f7f2ed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-placeholder {
    font-size: 2rem;
}

.admin-product-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.admin-product-name {
    font-weight: 600;
}

.admin-product-price {
    color: #c38b5a;
    font-weight: 600;
}

.admin-product-description {
    font-size: 0.9rem;
    color: #666;
}

.admin-product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-product-action {
    border: none;
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.admin-product-edit {
    background: rgba(195, 139, 90, 0.12);
    color: #8a5a34;
}

.admin-product-edit:hover {
    background: rgba(195, 139, 90, 0.25);
}

.admin-product-remove {
    background: rgba(177, 68, 68, 0.12);
    color: #b14444;
}

.admin-product-remove:hover {
    background: rgba(177, 68, 68, 0.25);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
        min-height: 100vh;
        justify-content: center;
        padding-top: 100px;
        padding-bottom: 2rem;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .jewelry-showcase {
        width: 300px;
        height: 300px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .modal-body {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

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

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

    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .admin-header {
        flex-direction: column;
    }

    .admin-form .form-grid {
        grid-template-columns: 1fr;
    }

    .admin-product-card {
        grid-template-columns: 60px 1fr;
        grid-template-areas:
            "image details"
            "actions actions";
    }

    .admin-product-image {
        grid-area: image;
    }

    .admin-product-details {
        grid-area: details;
    }

    .admin-product-actions {
        grid-area: actions;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 3rem;
    }

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

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

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

    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .product-filters {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .filter-btn {
        width: 100%;
        max-width: 200px;
        padding: 1rem;
        font-size: 1rem;
    }

    .cta-button {
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
        width: 100%;
        max-width: 250px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .container {
        padding: 0 15px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-gold);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success message */
.success-message {
    background: #4CAF50;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    text-align: center;
    animation: slideIn 0.3s ease;
}

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