* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #fffaf3;
    color: #33251b;
    font-family:
        "Noto Sans Telugu",
        "Poppins",
        Arial,
        sans-serif;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

/* =====================================================
   GENERAL CONTAINER
   ===================================================== */

.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}


/* =====================================================
   BUTTONS
   ===================================================== */

.btn-gold {
    display: inline-block;
    background: #8a4f1e;
    color: #ffffff;
    padding: 12px 28px;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: 0.2s ease;
}

.btn-gold:hover {
    background: #693a15;
    color: #ffffff;
}

.btn-add {
    background: #8a4f1e;
    color: #ffffff;
    border: 1px solid #8a4f1e;
    padding: 9px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: 0.2s ease;
}

.btn-add:hover {
    background: #693a15;
    border-color: #693a15;
}

.btn-remove {
    color: #b52d2d;
    text-decoration: none;
}


/* =====================================================
   OLD HERO CLASSES
   Disabled visually so old banner cannot dominate
   ===================================================== */

.hero-banner {
    display: none !important;
}

.hero-overlay {
    display: none !important;
}

.hero-content {
    display: none !important;
}

.hero-title {
    display: none !important;
}

.hero-subtitle {
    display: none !important;
}


/* =====================================================
   OLD NAVIGATION COMPATIBILITY
   ===================================================== */

.navbar {
    background: #ffffff;
    color: #33251b;
}

.navbar a {
    color: #33251b;
}

.nav-links a {
    color: #33251b;
}

.nav-links a:hover,
.cart-btn {
    color: #8a4f1e;
}


/* =====================================================
   OLD FEATURES BAR
   ===================================================== */

.features-bar {
    display: none !important;
}


/* =====================================================
   OLD SECTION HEADING
   ===================================================== */

.section-heading {
    text-align: center;
    color: #4d2c18;
    margin-bottom: 35px;
    font-weight: 700;
}


/* =====================================================
   PRODUCT GRID
   ===================================================== */

.product-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(250px, 1fr));

    gap: 25px;

    align-items: stretch;
}


/* =====================================================
   PRODUCT CARD
   ===================================================== */

.product-card {
    background: #ffffff;
    border: 1px solid #e5d6c2;
    border-radius: 10px;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    height: 100%;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 28px rgba(70, 40, 15, 0.10);
}


/* =====================================================
   PRODUCT IMAGE
   ===================================================== */

.card-img-wrapper {
    width: 100%;
    height: 230px;

    background: #faf7f2;

    overflow: hidden;
    flex-shrink: 0;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}


/* =====================================================
   PRODUCT BODY
   ===================================================== */

.card-body {
    padding: 20px;

    display: flex;
    flex-direction: column;

    flex-grow: 1;
}

.card-body h3 {
    font-size: 1.1rem;
    color: #4d2c18;
    margin-bottom: 8px;
}

.card-body .desc {
    font-size: 0.85rem;
    color: #6f5d4b;
    margin-bottom: 20px;

    flex-grow: 1;

    line-height: 1.6;
}


/* =====================================================
   PRODUCT FOOTER
   ===================================================== */

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 12px;

    margin-top: auto;
}

.price {
    font-weight: 700;
    color: #8a4f1e;
    font-size: 1.2rem;
}


/* =====================================================
   CART TABLE
   ===================================================== */

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #ffffff;
}

.cart-table th,
.cart-table td {
    padding: 13px;
    border-bottom: 1px solid #e5d6c2;
    text-align: left;
}

.cart-table th {
    color: #704217;
    background: #f7efe4;
}

.cart-table td {
    color: #4f3a28;
}


/* =====================================================
   CART SUMMARY
   ===================================================== */

.cart-summary {
    text-align: right;
    margin-top: 20px;
}

.cart-summary h3 {
    margin-bottom: 15px;
    color: #4d2c18;
}


/* =====================================================
   FORMS
   ===================================================== */

input,
textarea,
select {
    font-family:
        "Noto Sans Telugu",
        "Poppins",
        Arial,
        sans-serif;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #8a4f1e;
}


/* =====================================================
   TATVA CONTENT PAGES
   ===================================================== */

.page-content {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;

    color: #4f3a28;

    line-height: 1.8;
}

.page-content h1,
.page-content h2,
.page-content h3 {
    color: #4d2c18;
}

.page-content a {
    color: #8a4f1e;
}


/* =====================================================
   TATVA FOOTER COMPATIBILITY
   ===================================================== */

.footer {
    text-align: center;
    padding: 30px;

    background: #111111;

    border-top: 1px solid #292929;

    color: #888888;

    font-size: 0.85rem;

    margin-top: 60px;
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 800px) {

    .container {
        margin: 30px auto;
        padding: 0 15px;
    }

    .product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 16px;
    }

    .card-img-wrapper {
        height: 200px;
    }

    .card-body {
        padding: 15px;
    }

    .card-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-add {
        width: 100%;
    }

}


@media (max-width: 520px) {

    .container {
        padding: 0 12px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .card-img-wrapper {
        height: 250px;
    }

    .cart-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .cart-summary {
        text-align: center;
    }

}