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

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #D4AF37;
    --accent-color: #8B7355;
    --text-dark: #1a1a1a;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --bg-light: #faf8f5;
    --success-color: #10b981;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

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

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--secondary-color);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

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

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

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

.nav a:hover,
.nav a.active {
    color: var(--secondary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

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

.cart-count {
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.125rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    transform: translateY(-100%);
    transition: transform 0.3s;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    text-decoration: none;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(139, 115, 85, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2.5rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: #C19A3F;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.btn-block {
    width: 100%;
    text-align: center;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 0.75rem;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.feature-icon {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-size: 1.25rem;
}

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

/* Products Section */
.featured-products {
    padding: 5rem 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 700;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.125rem;
}

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

.product-card {
    background: var(--white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

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

.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--bg-light);
}

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

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

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.375rem 0.875rem;
    border-radius: 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.product-info {
    padding: 1.75rem;
}

.product-info h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

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

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

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

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

.check-list {
    list-style: none;
    margin-top: 2rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.check-list svg {
    color: var(--success-color);
    flex-shrink: 0;
}

.about-image img {
    width: 100%;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
}

/* Catalog */
.catalog {
    padding: 3rem 0;
}

.catalog-controls {
    margin-bottom: 2.5rem;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.search-box:focus-within {
    border-color: var(--secondary-color);
}

.search-box input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: 1rem;
}

.filter-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.625rem 1.75rem;
    border: 2px solid var(--border-color);
    background: var(--white);
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

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

.no-results {
    text-align: center;
    padding: 4rem;
    color: var(--text-light);
}

.no-results svg {
    margin-bottom: 1.5rem;
}

/* Product Detail */
.product-detail {
    padding: 3rem 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.product-detail-image img {
    width: 100%;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
}

.product-detail-info h1 {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
}

.product-meta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.category-badge,
.size-badge {
    padding: 0.375rem 0.875rem;
    border-radius: 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.category-badge {
    background: var(--secondary-color);
    color: var(--white);
}

.size-badge {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.product-price {
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.price-tax {
    color: var(--text-light);
    margin-left: 0.75rem;
}

.product-description,
.product-notes,
.product-features {
    margin-bottom: 2rem;
}

.product-description h3,
.product-notes h3,
.product-features h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

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

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
}

.product-features svg {
    color: var(--success-color);
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    overflow: hidden;
}

.qty-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: var(--bg-light);
    cursor: pointer;
    font-size: 1.25rem;
    transition: background 0.3s;
    font-weight: 600;
}

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

.quantity-selector input {
    width: 70px;
    text-align: center;
    border: none;
    outline: none;
    font-size: 1rem;
}

.btn-add-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.delivery-info {
    display: flex;
    gap: 2.5rem;
    padding: 1.75rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
}

.info-item svg {
    color: var(--secondary-color);
}

/* Cart */
.cart-section {
    padding: 3rem 0;
    min-height: 400px;
}

.empty-cart {
    text-align: center;
    padding: 5rem 0;
}

.empty-cart svg {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.empty-cart h2 {
    margin-bottom: 0.75rem;
}

.empty-cart p {
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.cart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
}

.cart-items h2 {
    margin-bottom: 1.75rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto auto;
    gap: 1.75rem;
    align-items: center;
    padding: 1.75rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    margin-bottom: 1.25rem;
    transition: border-color 0.3s;
}

.cart-item:hover {
    border-color: var(--secondary-color);
}

.cart-item-image img {
    width: 100%;
    border-radius: 0.5rem;
}

.cart-item-info h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.cart-item-info p {
    color: var(--text-light);
    font-size: 0.875rem;
}

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

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.remove-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s;
}

.remove-btn:hover {
    color: #dc2626;
}

.cart-item-subtotal {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.cart-summary {
    background: var(--bg-light);
    padding: 2.25rem;
    border-radius: 0.75rem;
    height: fit-content;
    border: 1px solid var(--border-color);
}

.cart-summary h2 {
    margin-bottom: 1.75rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.summary-total {
    font-size: 1.375rem;
    font-weight: 700;
    border-bottom: none;
    margin-top: 0.5rem;
}

.free {
    color: var(--success-color);
    font-weight: 600;
}

/* Thank You Page */
.thankyou-section {
    padding: 4rem 0;
    min-height: 500px;
}

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

.success-icon {
    margin-bottom: 2rem;
}

.success-icon svg {
    color: var(--success-color);
}

.thankyou-content h1 {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

.thankyou-message {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

.order-details {
    background: var(--bg-light);
    padding: 2.25rem;
    border-radius: 0.75rem;
    margin-bottom: 2.5rem;
    text-align: left;
    border: 1px solid var(--border-color);
}

.order-details h2 {
    margin-bottom: 1.75rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-label {
    color: var(--text-light);
}

.detail-value {
    font-weight: 600;
}

.status-paid {
    color: var(--success-color);
}

.order-info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.info-box {
    padding: 1.75rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
}

.info-box svg {
    color: var(--secondary-color);
    margin-bottom: 1.25rem;
}

.info-box h3 {
    font-size: 1.125rem;
    margin-bottom: 0.625rem;
}

.info-box p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.thankyou-actions {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3.5rem 0 1.25rem;
    margin-top: 5rem;
}

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

.footer-col h3,
.footer-col h4 {
    margin-bottom: 1.25rem;
    color: var(--secondary-color);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.25rem;
}

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

.footer-col li {
    margin-bottom: 0.625rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--secondary-color);
}

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

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

.social-links a:hover {
    background: var(--secondary-color);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
}

.contact-info svg {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Notification */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--success-color);
    color: var(--white);
    padding: 1.125rem 1.75rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transform: translateX(400px);
    transition: transform 0.3s;
}

.notification.show {
    transform: translateX(0);
}

/* Utilities */
.text-center {
    text-align: center;
}

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

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu {
        display: block;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
    }

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

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

    .cart-item {
        grid-template-columns: 90px 1fr;
        gap: 1.25rem;
    }

    .cart-item-actions {
        grid-column: 1 / -1;
        justify-content: space-between;
    }

    .cart-item-subtotal {
        grid-column: 1 / -1;
        text-align: right;
    }

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

    .thankyou-actions {
        flex-direction: column;
    }

    .thankyou-actions .btn {
        width: 100%;
    }

    .delivery-info {
        flex-direction: column;
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 450px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .filter-buttons {
        justify-content: center;
    }

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