/* =========================================================
   RS FASHION - FIXED RESPONSIVE CSS
========================================================= */

:root {
    --primary-color: #b76e79;
    --primary-dark: #914f5a;
    --secondary-color: #f8e9eb;
    --accent-color: #d4a373;

    --dark-color: #1a1516;
    --text-color: #382e30; /* ফন্টের রং আরও স্পষ্ট ও প্রিমিয়াম করা হয়েছে */
    --muted-color: #695c5e; /* ঝাপসা ভাব দূর করতে মিউটেড কালার ডার্ক করা হয়েছে */
    --light-color: #ffffff;
    --background-color: #fffaf9;
    --border-color: #eadfe0;

    --whatsapp-color: #25d366;
    --whatsapp-dark: #1da851;

    --heading-font: "Playfair Display", serif;
    --body-font: "DM Sans", sans-serif;

    --container-width: 1200px;
    --header-height: 78px;

    --border-radius: 14px;
    --small-radius: 8px;

    --shadow-sm: 0 5px 20px rgba(33, 27, 28, 0.06);
    --shadow-md: 0 15px 45px rgba(33, 27, 28, 0.10);

    --transition: 0.3s ease;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    padding: 0;

    width: 100%;
    min-height: 100vh;

    font-family: var(--body-font);
    color: var(--text-color);
    background: var(--background-color);

    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input {
    font-family: inherit;
}

button {
    cursor: pointer;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    left: 0;

    width: 100%;
    height: 78px;
    min-height: 78px;
    max-height: 78px;

    z-index: 1000;

    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #eadfe0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(10px);
}

.header-container {
    width: min(94%, var(--container-width));
    height: 78px;
    min-height: 78px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}


/* =========================================================
   LOGO (Image & Text Support)
========================================================= */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* লোগো ইমেজ পারফেক্ট সাইজ ও গোল করার জন্য */
.logo img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

/* যদি ইমেজ না থাকে, তবে স্প্যানের লেটার দেখাবে */
.logo > span {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--primary-color);
    color: #fff;

    font-family: var(--heading-font);
    font-size: 17px;
    font-weight: 700;
}

.logo strong {
    display: block;
    color: var(--dark-color);
    font-family: var(--heading-font);
    font-size: 21px;
    line-height: 1.1;
}

.logo small {
    display: block;
    margin-top: 3px;
    color: var(--primary-dark);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.main-nav a {
    position: relative;
    color: var(--dark-color);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}


/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}


/* Search */

.header-search {
    width: 160px;
    height: 42px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    background: #f8f5f5;
    border: 1px solid transparent;
    border-radius: 30px;
    transition: var(--transition);
}

.header-search:focus-within {
    background: #fff;
    border-color: var(--primary-color);
}

.header-search i {
    color: var(--muted-color);
    font-size: 13px;
}

.header-search input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--dark-color);
    font-size: 12px;
}

.header-search input::placeholder {
    color: #999;
}


/* Cart */

.cart-button {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--dark-color);
    font-size: 18px;
}

.cart-button:hover {
    color: var(--primary-color);
}

.cart-badge {
    position: absolute;
    top: 0;
    right: -2px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
}


/* Mobile menu */

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: var(--dark-color);
    font-size: 18px;
}


/* =========================================================
   HERO
========================================================= */
.hero {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('banner.JPG');
    background-size: cover;
    background-position: center;
} /* <-- এখানে .hero এর ব্র্যাকেট বন্ধ করতে হবে */

.hero h1, .hero p, .hero-label {
    color: #ffffff; 
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7); 
} /* <-- এখানে নতুন ব্লকের ব্র্যাকেট বন্ধ হবে */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(20, 15, 17, 0.70),
        rgba(20, 15, 17, 0.50),
        rgba(20, 15, 17, 0.20)
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(92%, var(--container-width));
    margin: 0 auto;
    color: #fff;
}

.hero-label {
    display: inline-block;
    margin-bottom: 15px;
    color: #f4cbd0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero h1 {
    max-width: 650px;
    margin: 0 0 20px;
    font-family: var(--heading-font);
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.08;
}

.hero h1 span {
    display: block;
    color: #f3cbd0;
}

.hero p {
    max-width: 570px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.90);
    font-size: 16px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 23px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.7);
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--dark-color);
}


/* =========================================================
   FEATURES
========================================================= */

.features {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
}

.feature-container {
    width: min(92%, var(--container-width));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.feature-item {
    min-height: 110px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border-right: 1px solid var(--border-color);
}

.feature-item:last-child {
    border-right: 0;
}

.feature-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
}

.feature-item h3 {
    margin: 0;
    color: var(--dark-color);
    font-size: 14px;
    font-weight: 700;
}

.feature-item p {
    margin: 2px 0 0;
    color: var(--muted-color);
    font-size: 11px;
}


/* =========================================================
   PRODUCTS
========================================================= */

.products-section {
    width: min(92%, var(--container-width));
    margin: 0 auto;
    padding: 90px 0;
}

.section-heading {
    max-width: 650px;
    margin: 0 auto 35px;
    text-align: center;
}

.section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-heading h2,
.about-content h2,
.contact-cta h2 {
    color: var(--dark-color);
    font-family: var(--heading-font);
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
}

.section-heading p {
    margin-top: 12px;
    color: var(--muted-color);
}


/* Categories */

.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 35px;
}

.category-btn {
    padding: 10px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-color);
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}


/* Product grid */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.product-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 0.85;
    background: #f4efef;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.94);
    border-radius: 20px;
    color: var(--primary-dark);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-info {
    padding: 18px;
}

.product-info h3 {
    min-height: 45px;
    margin: 0;
    color: var(--dark-color);
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.2px;
    line-height: 1.3;
}

.product-description {
    min-height: 38px;
    margin: 6px 0 0;
    color: var(--muted-color);
    font-size: 12px;
    font-weight: 400;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
}

.product-price {
    color: var(--primary-dark);
    font-size: 18px;
    font-weight: 700;
}

.add-cart-btn {
    width: 39px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--dark-color);
    color: #fff;
    transition: var(--transition);
}

.add-cart-btn:hover {
    background: var(--primary-color);
    transform: scale(1.06);
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
    width: min(92%, var(--container-width));
    min-height: 500px;
    margin: 0 auto 90px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    background: #f5e9e9;
    border-radius: 20px;
}

.about-image {
    min-height: 500px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 15px;
    color: var(--muted-color);
    font-size: 14px;
}

.about-content .btn {
    align-self: flex-start;
    margin-top: 12px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-cta {
    width: 100%;
    padding: 90px 20px;
    background: linear-gradient(
        90deg,
        rgba(80,35,42,0.95),
        rgba(183,110,121,0.88)
    );
    text-align: center;
}

.contact-cta-content {
    max-width: 720px;
    margin: 0 auto;
}

.contact-cta .section-label {
    color: #f6ccd1;
}

.contact-cta h2 {
    color: #fff;
}

.contact-cta p {
    max-width: 580px;
    margin: 15px auto 25px;
    color: rgba(255,255,255,0.90);
}

.contact-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-light {
    background: #fff;
    color: var(--dark-color);
}

.btn-whatsapp {
    background: var(--whatsapp-color);
    color: #fff;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    width: 100%;
    background: #1a1516;
    color: #d8ced0;
}

.footer-container {
    width: min(92%, var(--container-width));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 50px;
    padding: 65px 0 50px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 17px;
    color: #fff;
    font-family: var(--heading-font);
    font-size: 21px;
    font-weight: 700;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo > span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
}

.footer-brand p {
    max-width: 280px;
    color: #b5a9ab;
    font-size: 12px;
}

.footer-column h3 {
    margin-bottom: 18px;
    color: #fff;
    font-family: var(--heading-font);
    font-size: 17px;
}

.footer-column > a {
    display: block;
    width: fit-content;
    margin-bottom: 10px;
    color: #b5a9ab;
    font-size: 12px;
    transition: var(--transition);
}

.footer-column > a:hover {
    color: #f1c4ca;
}

.social-links {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.social-links a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #51494b;
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    color: #b5a9ab;
    font-size: 12px;
}

.footer-contact i {
    margin-top: 4px;
    color: #e0aeb5;
}

.footer-bottom {
    padding: 18px 20px;
    border-top: 1px solid #31282a;
    text-align: center;
}

.footer-bottom p {
    color: #94888a;
    font-size: 11px;
}


/* =========================================================
   CART DRAWER
========================================================= */

.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1200;
    width: min(430px, 92vw);
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    box-shadow: -15px 0 50px rgba(0,0,0,0.15);
}

.cart-drawer.active {
    transform: translateX(0);
}

.cart-header {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h2 {
    color: var(--dark-color);
    font-family: var(--heading-font);
}

.cart-small-title {
    color: var(--primary-color);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.close-cart {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #f7f3f3;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 15px 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
    width: 70px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info h4 {
    margin-bottom: 4px;
    color: var(--dark-color);
    font-family: var(--heading-font);
    font-size: 15px;
}

.cart-item-price {
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
}

.quantity-control {
    display: flex;
    align-items: center;
    width: fit-content;
    margin-top: 9px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.quantity-control button {
    width: 26px;
    height: 26px;
    border: 0;
    background: transparent;
}

.quantity-control span {
    min-width: 25px;
    text-align: center;
    font-size: 11px;
}

.remove-item {
    border: 0;
    background: transparent;
    color: #b3aaab;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.subtotal-row {
    display: flex;
    justify-content: space-between;
    color: var(--dark-color);
}

.subtotal-row strong {
    color: var(--primary-dark);
    font-size: 20px;
}

.cart-note {
    margin: 8px 0 15px;
    color: var(--muted-color);
    font-size: 10px;
}

.checkout-btn {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    background: var(--whatsapp-color);
    color: #fff;
    font-weight: 700;
}

.phone-checkout {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 12px;
}

.empty-cart {
    display: none;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

.empty-cart.show {
    display: flex;
}

.empty-cart i {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 45px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {
    .main-nav {
        gap: 18px;
    }

    .header-search {
        width: 150px;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 800px) {
    .site-header {
        height: 70px;
        min-height: 70px;
        max-height: 70px;
    }

    .header-container {
        height: 70px;
        min-height: 70px;
    }

    .main-nav {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 15px 5%;
        background: #fff;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        padding: 12px 0;
    }

    .main-nav a::after {
        display: none;
    }

    .menu-button {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-search {
        width: 140px;
    }

    .hero {
        min-height: 570px;
    }

    .feature-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-item {
        border-bottom: 1px solid var(--border-color);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-section {
        grid-template-columns: 1fr;
    }

    .about-image {
        min-height: 350px;
    }

    .about-content {
        padding: 45px 30px;
    }
}


@media (max-width: 500px) {
    .logo small {
        display: none;
    }

    .logo strong {
        font-size: 17px;
    }

    .logo img,
    .logo > span {
        width: 38px;
        height: 38px;
    }

    .header-search {
        width: 120px;
    }

    .header-search input {
        font-size: 11px;
    }

    .hero {
        min-height: 550px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .feature-item {
        padding: 15px 10px;
    }

    .feature-item h3 {
        font-size: 12px;
    }

    .feature-item p {
        font-size: 9px;
    }

    .feature-icon {
        width: 38px;
        height: 38px;
    }

    .category-filters {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .category-btn {
        white-space: nowrap;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .product-info {
        padding: 13px;
    }

    .product-info h3 {
        font-size: 14px;
    }

    .product-price {
        font-size: 14px;
    }

    .add-cart-btn {
        width: 34px;
        height: 34px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    .logo h1 span {
    color: #a71111; /* এখানে #ff0000 এর জায়গায় আপনার পছন্দমতো কালার কোড বা নাম দিতে পারেন */
    }
.about-content .section-label,
.about-content h2,
.about-content p {
    color: #2b2b2b; 
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7); 
    text-align: center; /* এই লাইনটি লেখার দুইপাশ সমান করে দেবে */
}