:root {
    --md-gold: #D4AF37;
    --md-gold-light: #F9F1D8;
    --md-saffron: #E85D04;
    --md-text-heading: #2D1B0E;
    --md-card-shadow: 0 10px 40px -10px rgba(0,0,0,0.08);
    --md-card-hover: 0 20px 50px -12px rgba(0,0,0,0.15);
}

/* --- Hero Section --- */
.md-hero {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 4rem;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 20px 4rem; /* Increased top padding */
    min-height: 85vh;
    background: radial-gradient(circle at top right, var(--md-gold-light) 0%, transparent 40%);
}

.md-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--md-primary);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.md-hero-content h1 {
    font-family: 'Playfair Display', serif; /* Suggest adding this font */
    font-size: 4rem;
    font-weight: 800;
    color: var(--md-text-heading);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.md-hero-content p {
    font-size: 1.15rem;
    color: var(--md-text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.md-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.md-btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.md-btn-primary {
    background: var(--md-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(232, 93, 4, 0.3);
}

.md-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 93, 4, 0.4);
}

.md-btn-secondary {
    background: transparent;
    border: 2px solid var(--md-border);
    color: var(--md-text);
}

.md-btn-secondary:hover {
    border-color: var(--md-primary);
    color: var(--md-primary);
    background: var(--md-gold-light);
}

.md-hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.md-hero-decoration {
    width: 450px;
    height: 450px;
    background: conic-gradient(from 0deg, var(--md-gold-light), white, var(--md-gold-light));
    border-radius: 50%;
    position: relative;
    z-index: 1;
    animation: rotateSlow 20s linear infinite;
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.2);
}

.md-hero-decoration::before {
    content: ''; /* Removed emoji */
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    border: 1px dashed var(--md-gold);
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- Features Section --- */
.md-features-section {
    background: white;
    padding: 4rem 0;
    border-bottom: 1px solid var(--md-border);
}

.md-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.md-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    padding: 1.5rem;
    border-radius: 12px;
    background: var(--md-bg);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.md-feature-item:hover {
    border-color: var(--md-gold);
    background: var(--md-gold-light);
    transform: translateY(-5px);
}

.md-feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: var(--md-primary);
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.md-feature-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.md-feature-text h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: var(--md-text-heading);
}

.md-feature-text p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--md-text-muted);
}

/* --- Categories --- */
.md-section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.md-section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--md-text-heading);
    margin-bottom: 0.5rem;
}

.md-section-header p {
    color: var(--md-text-secondary);
}

.md-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    padding: 0 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.md-category-card {
    background: white;
    border: 1px solid var(--md-border);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.md-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--md-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.md-category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--md-card-shadow);
    border-color: transparent;
}

.md-category-card:hover::before {
    transform: scaleX(1);
}

.md-category-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.md-category-card h3 {
    font-size: 1.1rem;
    color: var(--md-text-heading);
    margin: 0;
    font-weight: 600;
}

/* --- Products --- */
.md-products-section {
    padding: 5rem 0;
    background-color: #fafafa;
}

.md-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.md-product-card {
    background: white;
    border-radius: 12px;
    border: none;
    transition: all 0.3s ease;
    position: relative;
}

.md-product-card:hover {
    box-shadow: var(--md-card-hover);
    transform: translateY(-5px);
}

.md-product-image {
    border-radius: 12px 12px 0 0;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f4f4f4;
}

.md-product-card:hover .md-product-image img {
    transform: scale(1.08);
}

.md-discount-badge {
    background: var(--md-saffron);
    border-radius: 4px;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    padding: 6px 10px;
    box-shadow: 0 4px 10px rgba(232, 93, 4, 0.3);
}

.md-product-info {
    padding: 1.5rem;
}

.md-product-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    height: 2.8em; /* restrict to 2 lines height */
    margin-bottom: 0.8rem;
}

.md-product-rating {
    margin-bottom: 1rem;
}

.md-product-price {
    margin-bottom: 0;
}

.md-price-current {
    color: var(--md-text-heading);
    font-size: 1.35rem;
}

.md-price-original {
    font-size: 0.9rem;
    opacity: 0.6;
}

.md-product-actions {
    padding: 0 1.5rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    opacity: 0; /* Hidden by default for cleaner look */
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.md-product-card:hover .md-product-actions {
    opacity: 1;
    transform: translateY(0);
}

.md-product-actions .md-btn {
    padding: 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* --- CTA Section --- */
.md-cta-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2D1B0E 100%);
    padding: 6rem 20px;
    position: relative;
    overflow: hidden;
}

.md-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.md-cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.md-cta-content h2 {
    color: var(--md-gold);
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
}

.md-cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* --- Mobile --- */
@media (max-width: 992px) {
    .md-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 4rem;
    }
    .md-hero-content h1 { font-size: 3rem; }
    .md-hero-buttons { justify-content: center; }
    .md-hero-decoration { width: 300px; height: 300px; margin: 2rem auto; }
    .md-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .md-features-grid { grid-template-columns: 1fr; }
    .md-product-actions { opacity: 1; transform: translateY(0); display: flex; flex-direction: column;}
}