	:root {
    --ink: #17231f;
    --muted: #718078;
    --cream: #f7f5ef;
    --paper: #fffefa;
    --sage: #dce8df;
    --green: #294d3b;
    --line: #dfe5df;
    --accent: #d87550;
    --shadow: 0 20px 55px rgba(33, 52, 42, .10);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--ink);
    font-family: "DM Sans", sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input {
    font: inherit;
}

button {
    cursor: pointer;
}

.navbar {
    background: rgba(247, 245, 239, .94);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
}

.navbar-container {
    align-items: center;
    display: flex;
    gap: 36px;
    justify-content: space-between;
    margin: auto;
    max-width: 1240px;
    min-height: 78px;
    padding: 0 28px;
}

.logo {
    align-items: center;
    display: flex;
    font-family: "Playfair Display", serif;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.8px;
}

.logo > span:last-child span {
    color: var(--accent);
}

.logo-mark {
    align-items: center;
    background: var(--green);
    border-radius: 50%;
    color: white;
    display: inline-flex;
    font-family: "Playfair Display", serif;
    font-size: 17px;
    height: 34px;
    justify-content: center;
    margin-right: 10px;
    position: relative;
    width: 34px;
}

.nav-center {
    display: flex;
    gap: 34px;
    margin-left: auto;
}

.nav-link {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    transition: color .2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--ink);
}

.nav-right {
    align-items: center;
    display: flex;
    gap: 18px;
}

.search-box {
    align-items: center;
    border-bottom: 1px solid #b9c4bd;
    display: flex;
    gap: 8px;
    padding: 4px 0;
    width: 190px;
}

.search-box svg, .cart-icon svg {
    fill: none;
    height: 18px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 18px;
}

.search-input {
    background: transparent;
    border: 0;
    color: var(--ink);
    outline: 0;
    width: 100%;
}

.cart-icon {
    background: transparent;
    border: 0;
    color: var(--ink);
    position: relative;
}

.cart-count {
    align-items: center;
    background: var(--accent);
    border: 2px solid var(--cream);
    border-radius: 50%;
    color: white;
    display: flex;
    font-size: 10px;
    height: 18px;
    justify-content: center;
    position: absolute;
    right: -9px;
    top: -9px;
    width: 18px;
}

.hero {
    align-items: center;
    background: linear-gradient(110deg, #dce8df 0%, #eef1e8 52%, #f2d9c9 100%);
    display: flex;
    min-height: 540px;
    overflow: hidden;
    padding: 86px max(7vw, 28px);
    position: relative;
}

.hero::after {
    border: 1px solid rgba(41, 77, 59, .16);
    border-radius: 50%;
    content: "";
    height: 520px;
    position: absolute;
    right: 8%;
    top: 25px;
    width: 520px;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.eyebrow {
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.1px;
    margin-bottom: 13px;
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(48px, 7vw, 82px);
    letter-spacing: -3px;
    line-height: .98;
}

.hero h1 em {
    color: var(--green);
    font-weight: 600;
}

.hero-text {
    color: #50665b;
    font-size: 16px;
    margin: 25px 0 30px;
    max-width: 390px;
}

.cta-button, .checkout-button {
    align-items: center;
    background: var(--green);
    border: 0;
    color: white;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    gap: 22px;
    letter-spacing: .3px;
    padding: 15px 19px;
    transition: transform .2s, background .2s;
}

.cta-button:hover, .checkout-button:hover {
    background: var(--ink);
    transform: translateY(-2px);
}

.hero-badge {
    align-items: center;
    border: 1px solid rgba(41, 77, 59, .35);
    border-radius: 50%;
    color: var(--green);
    display: flex;
    flex-direction: column;
    font-size: 10px;
    height: 150px;
    justify-content: center;
    letter-spacing: 1px;
    position: absolute;
    right: 18%;
    text-align: center;
    top: 29%;
    width: 150px;
    z-index: 1;
}

.hero-badge strong {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    letter-spacing: 0;
}

.hero-badge small {
    font-size: 9px;
    margin-top: 5px;
}

.filters-section, .container {
    margin: auto;
    max-width: 1240px;
    padding-left: 28px;
    padding-right: 28px;
}

.filters-section {
    align-items: center;
    display: flex;
    gap: 8px;
    padding-bottom: 30px;
    padding-top: 48px;
}

.filter-label {
    color: var(--muted);
    font-size: 12px;
    margin-right: 12px;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 30px;
    color: var(--muted);
    font-size: 12px;
    padding: 8px 17px;
    transition: .2s;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--green);
    border-color: var(--green);
    color: white;
}

.section-heading {
    align-items: end;
    display: flex;
    justify-content: space-between;
    margin: 12px 0 30px;
}

.section-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(31px, 4vw, 46px);
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.section-note {
    color: var(--muted);
    font-size: 12px;
    text-align: right;
}

.products-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}

.product-card {
    background: var(--paper);
    box-shadow: 0 5px 18px rgba(33, 52, 42, .03);
    transition: transform .25s, box-shadow .25s;
}

.product-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.product-image {
    background: #e7ece7;
    height: 330px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
    width: 100%;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    background: var(--paper);
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
    left: 14px;
    letter-spacing: .8px;
    padding: 6px 9px;
    position: absolute;
    text-transform: uppercase;
    top: 14px;
    z-index: 1;
}

.product-info {
    padding: 19px;
}

.product-category {
    color: var(--accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-name {
    font-family: "Playfair Display", serif;
    font-size: 21px;
    line-height: 1.2;
    margin: 6px 0;
}

.product-description {
    color: var(--muted);
    font-size: 12px;
    min-height: 41px;
}

.product-price {
    font-size: 16px;
    font-weight: 700;
    margin: 15px 0;
}

.size-selector {
    display: flex;
    gap: 7px;
    margin-bottom: 14px;
}

.size-btn {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
    height: 30px;
    width: 34px;
}

.size-btn.selected, .size-btn:hover {
    background: var(--green);
    border-color: var(--green);
    color: white;
}

.btn-add-cart {
    background: transparent;
    border: 1px solid var(--green);
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    padding: 11px;
    text-transform: uppercase;
    width: 100%;
}

.btn-add-cart:hover {
    background: var(--green);
    color: white;
}

.info-section {
    background: var(--green);
    color: white;
    margin-top: 100px;
    padding: 82px 0;
}

.info-section .eyebrow {
    color: #e6a080;
}

.features {
    display: grid;
    gap: 45px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 45px;
}

.feature-icon {
    color: #e6a080;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.features h3 {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    margin: 12px 0 7px;
}

.features p {
    color: #c5d5ca;
    font-size: 13px;
    max-width: 270px;
}

.contact-section {
    padding: 85px 28px;
    text-align: center;
}

.contact-section h2 {
    font-family: "Playfair Display", serif;
    font-size: 42px;
}

.contact-section a {
    color: var(--accent);
    font-weight: 700;
}

.modal {
    align-items: center;
    background: rgba(18, 30, 24, .55);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: fixed;
    z-index: 50;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--paper);
    max-height: 90vh;
    max-width: 530px;
    overflow-y: auto;
    padding: 30px;
    width: 100%;
}

.modal-header {
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 18px;
}

.modal-header .eyebrow {
    margin-bottom: 5px;
}

.modal-header h2 {
    font-family: "Playfair Display", serif;
    font-size: 32px;
}

.close-btn {
    background: transparent;
    border: 0;
    color: var(--muted);
    font-size: 32px;
    line-height: 1;
}

.cart-item {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 15px;
    justify-content: space-between;
    padding: 16px 0;
}

.cart-item h3 {
    font-family: "Playfair Display", serif;
    font-size: 17px;
}

.cart-item p {
    color: var(--muted);
    font-size: 12px;
}

.quantity-control {
    align-items: center;
    display: flex;
    gap: 9px;
}

.quantity-btn {
    background: var(--sage);
    border: 0;
    height: 25px;
    width: 25px;
}

.remove-btn {
    background: transparent;
    border: 0;
    color: var(--accent);
    font-size: 11px;
}

.empty-cart {
    color: var(--muted);
    padding: 25px 0;
    text-align: center;
}

.cart-summary {
    padding-top: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
}

.summary-row span {
    color: var(--muted);
    font-size: 13px;
}

.total-row {
    border-top: 1px solid var(--line);
    font-size: 18px;
    margin-top: 8px;
    padding-top: 14px;
}

.delivery-options {
    border-top: 1px solid var(--line);
    margin-top: 18px;
    padding-top: 16px;
}

.delivery-options h3 {
    font-size: 12px;
    margin-bottom: 9px;
}

.delivery-option {
    border: 1px solid var(--line);
    cursor: pointer;
    display: block;
    font-size: 12px;
    margin-top: 7px;
    padding: 11px;
}

.delivery-option:has(input:checked) {
    border-color: var(--green);
    background: #f0f5f0;
}

.delivery-option input {
    accent-color: var(--green);
    margin-right: 8px;
}

.delivery-option span {
    display: flex;
    justify-content: space-between;
}

.checkout-button {
    justify-content: space-between;
    margin-top: 20px;
    width: 100%;
}

.toast {
    background: var(--ink);
    bottom: 24px;
    color: white;
    font-size: 13px;
    left: 50%;
    opacity: 0;
    padding: 12px 20px;
    pointer-events: none;
    position: fixed;
    transform: translate(-50%, 20px);
    transition: .3s;
    z-index: 60;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ============================================
   🔴 Payment Fields Styling
   ============================================ */

.payment-fields {
    background: #f9f9f9;
    padding: 18px;
    border-radius: 10px;
    margin: 12px 0;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.payment-fields h4 {
    color: #294d3b;
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 700;
}

.payment-fields label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    margin-top: 10px;
}

.payment-fields input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
    background: white;
}

.payment-fields input:focus {
    outline: none;
    border-color: #294d3b;
    box-shadow: 0 0 0 3px rgba(41, 77, 59, 0.1);
}

.payment-fields input::placeholder {
    color: #aaa;
    font-size: 13px;
}

.payment-fields .warning-text {
    font-size: 12px;
    color: #d32f2f;
    margin-top: 6px;
    font-weight: 500;
}

/* Payment method highlighting */
.delivery-option:has(input[value="bKash"]:checked) {
    border-color: #0066cc;
    background: #f0f9ff;
}

.delivery-option:has(input[value="Nagad"]:checked) {
    border-color: #e67e22;
    background: #fef9e7;
}

.delivery-option:has(input[value="Visa"]:checked) {
    border-color: #1a237e;
    background: #e8eaf6;
}

/* ============================================
   📱 Mobile Responsive
   ============================================ */

@media (max-width: 800px) {
    .nav-center {
        display: none;
    }

    .search-box {
        width: 145px;
    }

    .products-grid, .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-badge {
        opacity: .65;
        right: 8%;
    }
}

@media (max-width: 560px) {
    .navbar-container {
        gap: 12px;
        padding: 0 18px;
    }

    .logo {
        font-size: 20px;
    }

    .search-box {
        width: 105px;
    }

    .hero {
        min-height: 500px;
        padding: 70px 24px;
    }

    .hero::after {
        height: 300px;
        right: -100px;
        width: 300px;
    }

    .hero-badge {
        bottom: 30px;
        right: 25px;
        top: auto;
        transform: scale(.75);
    }

    .filters-section {
        align-items: flex-start;
        flex-wrap: wrap;
        padding-top: 30px;
    }

    .filter-label {
        flex-basis: 100%;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .section-note {
        text-align: left;
    }

    .products-grid, .features {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 360px;
    }

    .info-section {
        margin-top: 65px;
    }

    .modal-content {
        padding: 22px;
    }

    .payment-fields {
        padding: 14px;
    }

    .payment-fields input {
        padding: 8px 10px;
        font-size: 13px;
    }
}

/* ============================================
   🎬 ANIMATIONS (প্রফেশনাল লুকের জন্য)
   ============================================ */

/* 1. Page Load Fade In */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    animation: fadeInUp 0.6s ease-out;
}

/* 2. Product Card Hover Animation */
.product-card {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* 3. Product Image Zoom */
.product-image img {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

/* 4. Button Pulse Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.btn-add-cart:hover {
    animation: pulse 0.6s ease;
    background: var(--green);
    color: white;
}

.checkout-button:hover {
    animation: pulse 0.6s ease;
}

/* 5. Cart Modal Slide In */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal.active .modal-content {
    animation: slideInUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 6. Toast Notification Slide */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.toast.show {
    animation: slideInDown 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 7. Cart Item Stagger Animation */
.cart-item {
    opacity: 0;
    animation: fadeInUp 0.4s ease forwards;
}

.cart-item:nth-child(1) { animation-delay: 0.05s; }
.cart-item:nth-child(2) { animation-delay: 0.10s; }
.cart-item:nth-child(3) { animation-delay: 0.15s; }
.cart-item:nth-child(4) { animation-delay: 0.20s; }
.cart-item:nth-child(5) { animation-delay: 0.25s; }
.cart-item:nth-child(6) { animation-delay: 0.30s; }

/* 8. Filter Button Active Animation */
.filter-btn {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.filter-btn.active {
    transform: scale(1.05);
}

/* 9. Hero Text Typing Effect (ঐচ্ছিক) */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

.hero h1 em {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--accent);
    animation: typing 2s steps(15) 0.5s forwards;
    max-width: 0;
    padding-right: 4px;
}

/* 10. Loading Skeleton (ঐচ্ছিক) */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* 11. Floating Badge Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.product-badge {
    animation: float 3s ease-in-out infinite;
}

/* 12. Payment Fields Smooth Toggle */
.payment-fields {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateY(-10px);
}

.payment-fields:not([hidden]) {
    opacity: 1;
    transform: translateY(0);
}

/* 13. Delivery Option Hover */
.delivery-option {
    transition: all 0.3s ease;
}

.delivery-option:hover {
    transform: translateX(4px);
    border-color: var(--green);
}

/* 14. Navbar Smooth Scroll */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* 15. Logo Hover Animation */
.logo {
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

/* 16. Cart Count Bounce */
@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.cart-count.bounce {
    animation: bounce 0.3s ease;
}

/* 17. Scroll to Top (ঐচ্ছিক) */
html {
    scroll-behavior: smooth;
}

/* 18. Responsive Animation Adjustments */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}