@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Vazirmatn", sans-serif;
    background:
        radial-gradient(circle at 10% 10%, rgba(216, 162, 162, 0.45), transparent 30%),
        radial-gradient(circle at 90% 20%, rgba(255, 220, 220, 0.8), transparent 30%),
        #FFF9D6;
    color: #573E3E;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============ گلاس کارت ============ */
.glass-card {
    background: rgba(255, 255, 255, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 20px 50px rgba(120, 70, 70, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

/* ============ نوار اطلاع‌رسانی ============ */
.topbar {
    background: #E98A8A; color: #fff; text-align: center;
    font-size: 13px; font-weight: 600; padding: 9px 44px;
    position: relative; line-height: 1.8;
}
.topbar[hidden] { display: none; }
.topbar button {
    position: absolute; top: 50%; left: 12px; transform: translateY(-50%);
    background: none; border: 0; color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
}

/* ============ هدر ============ */
.header-1 {
    background: rgba(242, 145, 145, 0.55);
    width: 95%;
    margin: 20px 2.5% 0;
    min-height: 100px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 15px 40px rgba(100, 50, 50, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
}
.header-1 .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 25px;
    width: 100%;
    gap: 18px;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

/* ============ لوگو در هدر ============ */
.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #573E3E;
    background: rgba(255, 255, 255, 0.35);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    white-space: nowrap;
    transition: 0.3s;
    height: 64px;
}
.logo-section:hover {
    background: rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
}
.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 50%;
    flex: none;
}
.h1-logo {
    font-size: 22px;
    font-weight: 800;
    color: #573E3E;
    line-height: 1;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    width: auto;
    height: auto;
    text-align: right;
    backdrop-filter: none;
    box-shadow: none;
}
.h1-logo i { color: #F29191; font-style: normal; }

/* ============ منو ============ */
.box-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-right: 0;
    height: auto;
    width: auto;
    flex-wrap: wrap;
}
.menu-item {
    width: auto;
    min-width: 90px;
    height: 52px;
    margin: 0 3px;
    padding: 0 16px;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    backdrop-filter: blur(15px);
    color: #573E3E;
    text-decoration: none;
    font-family: inherit;
}
.menu-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 25px rgba(120, 70, 70, 0.15);
    color: #573E3E;
}
.menu-item.wide { min-width: 160px; white-space: nowrap; }
.menu-item.active { background: rgba(255, 255, 255, 0.8); color: #C47777; }

/* ============ دکمه‌های آیکون هدر ============ */
.icon-btn {
    position: relative;
    width: 56px;
    height: 56px;
    margin: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    font-size: 20px;
    color: #573E3E;
    cursor: pointer;
    transition: 0.3s;
    backdrop-filter: blur(15px);
    text-decoration: none;
    font-family: inherit;
    padding: 0;
}
.icon-btn:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.7);
    color: #573E3E;
}
.count {
    position: absolute;
    top: -7px; right: -7px;
    min-width: 20px; height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: #E98A8A;
    color: #fff;
    font: 700 11px/20px "Vazirmatn", sans-serif;
    font-style: normal;
    text-align: center;
}
.count[hidden] { display: none; }

/* ============ دراپ‌دان منو ============ */
.menu-drop { position: relative; }
.drop-menu {
    display: none;
    position: absolute;
    top: 100%; right: 0;
    min-width: 230px;
    padding-top: 8px;
    z-index: 30;
    direction: rtl;
    text-align: right;
}
.drop-inner {
    padding: 10px;
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(120, 70, 70, 0.2);
}
.menu-drop:hover .drop-menu,
.menu-drop.open .drop-menu,
.menu-drop:focus-within .drop-menu { display: block; }
.drop-menu a {
    display: block;
    padding: 9px 14px;
    border-radius: 14px;
    color: #573E3E;
    text-decoration: none;
    font-size: 14px;
}
.drop-menu a:hover { background: #FFDCDC; }

/* ============ هیرو ============ */
.hero-section { padding: 100px 0 80px; }
.hero-content { padding: 55px; border-radius: 40px; }
.hero-small-title {
    color: #C47777;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}
.hero-content h2 {
    font-size: 58px;
    line-height: 1.4;
    margin: 20px 0;
    font-weight: 800;
}
.hero-content h2 span { color: #E98A8A; }
.hero-content p {
    font-size: 17px;
    line-height: 2;
    color: #745A5A;
    max-width: 500px;
}
.hero-buttons { display: flex; gap: 15px; margin-top: 35px; }

.glass-btn {
    display: inline-block;
    padding: 15px 25px;
    border-radius: 18px;
    text-decoration: none;
    color: #573E3E;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    transition: 0.3s;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
}
.glass-btn:hover {
    transform: translateY(-4px);
    color: #573E3E;
    background: rgba(255, 255, 255, 0.65);
}
.glass-btn.small { padding: 9px 18px; font-size: 14px; border-radius: 14px; }
.primary-btn { background: rgba(242, 145, 145, 0.7); color: white; }
.primary-btn:hover { background: rgba(242, 145, 145, 0.9); color: white; }

.hero-product {
    height: 500px;
    border-radius: 50px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.product-circle {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.9), rgba(255,220,220,0.45));
    box-shadow: 0 30px 80px rgba(190, 110, 110, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-logo {
    width: 65%;
    height: 65%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(120, 70, 70, 0.18));
    transition: 0.4s;
}

.hero-product:hover .hero-logo {
    transform: scale(1.05);
}
.hero-accessory {
    position: absolute;
    font-size: 180px;
    color: #D8A2A2;
    filter: drop-shadow(0 15px 20px rgba(120, 70, 70, 0.2));
}
.floating-card {
    position: absolute;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    backdrop-filter: blur(20px);
    box-shadow: 0 15px 30px rgba(100, 50, 50, 0.1);
}
.floating-card-1 { top: 80px; right: 50px; }
.floating-card-1 span { display: block; font-size: 11px; color: #C47777; }
.floating-card-1 b { font-size: 14px; }

/* ============ بخش‌های اصلی ============ */
section { position: relative; }
.about-section, .shop-section, .media-section { padding: 90px 0; }

.section-title { text-align: center; margin-bottom: 55px; }
.section-title span {
    font-size: 12px;
    letter-spacing: 3px;
    color: #C47777;
    font-weight: 700;
}
.section-title h2 { font-size: 42px; margin: 10px 0; font-weight: 800; }
.section-title p { color: #795F5F; }
.section-more { text-align: center; margin-top: 35px; }
.sub-title { font-size: 22px; font-weight: 800; margin: 10px 0 25px; }
.home-sec { padding: 60px 0; }

/* ============ دسته‌بندی ============ */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    max-width: 850px;
    margin: 0 auto;
}
.cat-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    color: #573E3E;
    font-weight: 700;
    font-size: 14px;
    transition: 0.3s;
    aspect-ratio: 1 / 1;
}
.cat-chip:hover {
    transform: translateY(-5px);
    color: #C47777;
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 12px 26px rgba(120, 70, 70, 0.18);
}
.cat-chip .cat-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.85);
    color: #E98A8A;
    transition: 0.3s;
    flex: none;
}
.cat-chip .cat-ico svg {
    width: 24px;
    height: 24px;
    display: block;
}
.cat-chip:hover .cat-ico {
    background: #F29191;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 8px 18px rgba(242, 145, 145, 0.4);
}

/* ============ کارت‌های ویژگی ============ */
.info-card {
    padding: 40px 30px;
    border-radius: 30px;
    text-align: center;
    height: 100%;
    transition: 0.4s;
}
.info-card:hover { transform: translateY(-10px); }
.info-icon {
    width: 70px; height: 70px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.5);
    color: #E98A8A;
    font-size: 28px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}
.info-card h3 { font-size: 21px; margin-bottom: 15px; }
.info-card p { line-height: 2; color: #795F5F; }

/* ============ کارت محصول ============ */
.product-card {
    position: relative;
    height: 100%;
    text-align: center;
    border-radius: 30px;
    overflow: hidden;
    transition: 0.4s;
}
.product-card:hover { transform: translateY(-10px); }
.product-image {
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: #D8A2A2;
    background: radial-gradient(circle, rgba(255,255,255,0.7), rgba(255,220,220,0.3));
}
a.product-image { text-decoration: none; }
.product-image .ph { font-size: 80px; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-image.p2 { background: linear-gradient(135deg, #FFDCDC, #fff3f3); }
.product-image.p3 { background: linear-gradient(135deg, #fbe3d6, #ffe9f0); }
.product-image.p4 { background: linear-gradient(135deg, #f6d9e6, #fff5db); }
.product-image.p5 { background: linear-gradient(135deg, #ffe0e0, #f8ecff); }
.product-image.p6 { background: linear-gradient(135deg, #fff1cf, #ffdcdc); }
.product-info { padding: 25px; direction: rtl; }
.product-info span { font-size: 10px; letter-spacing: 2px; color: #C47777; }
.product-info h3 { margin: 10px 0 5px; font-size: 17px; }
.product-info h3 a { color: #573E3E; text-decoration: none; }
.product-info h3 a:hover { color: #C47777; }
.product-info p { color: #795F5F; margin-bottom: 20px; }
.product-price {
    display: block;
    margin-bottom: 14px;
    color: #C47777;
    font-weight: 700;
    font-size: 15px;
}
.product-price del { display: block; color: #a58f8f; font-size: 12px; font-weight: 400; }
.product-btn {
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.45);
    padding: 10px 22px;
    border-radius: 14px;
    color: #573E3E;
    transition: 0.3s;
    cursor: pointer;
    font-family: inherit;
}
.product-btn:hover { background: #F29191; color: white; }
.product-btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.product-btn[disabled]:hover { background: rgba(255,255,255,0.45); color: #573E3E; }

.badges {
    position: absolute;
    top: 12px; right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}
.badge-x {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #E98A8A;
}
.badge-x.out { background: #8d7a7a; }
.badge-x.set { background: #C47777; }

.wish-btn {
    position: absolute;
    top: 12px; left: 12px;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.75);
    color: #E98A8A;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: 0.3s;
    padding: 0;
}
.wish-btn:hover { transform: scale(1.12); }

/* ============ فروشگاه حضوری ============ */
.store-box {
    padding: 55px 30px;
    border-radius: 40px;
    text-align: center;
}
.store-box h2 { font-size: 32px; font-weight: 800; margin-bottom: 14px; }
.store-box p { color: #795F5F; line-height: 2; margin-bottom: 22px; }

/* ============ فوتر ============ */
.footer { padding: 30px 0 40px; }
.footer-glass {
    padding: 35px 40px;
    border-radius: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: flex-start;
}
.footer-col { text-align: right; }
.footer-col:nth-child(2) { text-align: center; }
.footer-col h2 {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 12px;
    color: #573E3E;
    letter-spacing: 1px;
}
.footer-col h2 span { color: #F29191; }
.footer-col p { margin: 6px 0; color: #795F5F; line-height: 1.9; font-size: 14px; }

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.footer-brand p { margin-bottom: 0; }

.footer-logo-link {
    display: inline-block;
    margin-top: 4px;
    text-decoration: none;
    line-height: 0;
    transition: 0.3s;
}
.footer-logo-link:hover { transform: translateY(-3px); }

.footer-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-top: 0;
    opacity: 0.9;
    transition: 0.3s;
    filter: drop-shadow(0 6px 14px rgba(120, 70, 70, 0.12));
    display: block;
}
.footer-logo:hover { opacity: 1; transform: scale(1.05); }

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
}
.social-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.85);
    color: #E98A8A;
    text-decoration: none;
    transition: 0.3s;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 12px rgba(120, 70, 70, 0.08);
}
.social-icon svg { width: 20px; height: 20px; display: block; }
.social-icon:hover {
    background: #F29191;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(242, 145, 145, 0.4);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.9;
    margin: 8px 0;
    color: #795F5F;
}
.footer-contact .c-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex: none;
    margin-top: 3px;
    color: #E98A8A;
}
.footer-contact .c-icon svg { width: 16px; height: 16px; display: block; }
.footer-contact a { color: #573E3E; text-decoration: none; transition: 0.3s; }
.footer-contact a:hover { color: #E98A8A; }

.footer-copy {
    text-align: center;
    margin: 18px 0 0;
    color: #795F5F;
    font-size: 13px;
}

/* ============ صفحه‌های داخلی ============ */
.page-hero { padding: 70px 0 20px; }
.page-hero .glass-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 45px 30px;
    text-align: center;
    border-radius: 40px;
}
.page-hero h2 { font-size: 44px; font-weight: 800; margin: 12px 0; }
.page-hero h2 span { color: #E98A8A; }
.page-hero p { color: #745A5A; line-height: 2; margin: 0; }

.shop-page { padding: 40px 0 90px; }
.filter-box { padding: 26px; border-radius: 28px; position: sticky; top: 20px; }
.filter-box .t { display: block; font-weight: 700; margin: 16px 0 8px; font-size: 14px; }
.filter-box .t:first-child { margin-top: 0; }
.filter-box input[type=search],
.filter-box input[type=text],
.filter-box select {
    width: 100%;
    border: 1px solid #fff;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    padding: 10px 14px;
    font-family: inherit;
    color: #573E3E;
    outline: none;
}
.price-row { display: flex; gap: 8px; }
.check { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; cursor: pointer; }
.cat-list { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-btn {
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.5);
    padding: 7px 14px;
    border-radius: 12px;
    color: #573E3E;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
}
.cat-btn:hover, .cat-btn.active { background: #F29191; color: #fff; }
.filter-box .glass-btn { width: 100%; margin-top: 18px; text-align: center; }
.result-bar { margin-bottom: 18px; color: #795F5F; font-size: 14px; }
.no-result {
    display: none;
    text-align: center;
    padding: 40px;
    border-radius: 25px;
    margin-top: 30px;
    color: #795F5F;
}

/* صفحه محصول */
.crumbs { font-size: 13px; color: #795F5F; margin-bottom: 18px; }
.crumbs a { color: #C47777; text-decoration: none; }
.pd-img {
    height: 460px;
    border-radius: 35px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pd-img .ph { font-size: 150px; }
.pd-info { padding: 36px; border-radius: 35px; height: 100%; }
.pd-info h1 { font-size: 30px; font-weight: 800; margin: 6px 0 14px; }
.pd-price { font-size: 24px; font-weight: 800; color: #C47777; margin-bottom: 14px; }
.pd-price del { font-size: 14px; font-weight: 400; color: #a58f8f; margin-right: 10px; }
.pd-meta { list-style: none; padding: 0; margin: 18px 0; color: #795F5F; line-height: 2.1; }
.stock-ok { color: #3f8f5f; font-weight: 700; }
.stock-no { color: #c0392b; font-weight: 700; }
.pd-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 20px; }
.pd-actions .wish-btn { position: static; width: 50px; height: 50px; }
.sec-block { margin-top: 60px; }
.set-box { padding: 26px; border-radius: 28px; height: 100%; }
.set-box h3 { font-size: 19px; font-weight: 800; }
.set-box ul { list-style: none; padding: 0; margin: 12px 0; }
.set-box li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px dashed rgba(87, 62, 62, 0.2);
    font-size: 14px;
}
.set-box li a { color: #573E3E; text-decoration: none; }
.set-prices { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-end; margin: 14px 0 18px; }
.set-prices small { display: block; color: #795F5F; font-size: 12px; }
.set-prices del { color: #a58f8f; }
.set-prices b { color: #C47777; font-size: 19px; }
.save { background: #E98A8A; color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 700; }

/* سبد خرید و تسویه */
.cart-line {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.thumb {
    width: 84px; height: 84px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #D8A2A2;
    overflow: hidden;
    flex: none;
    background: radial-gradient(circle, rgba(255,255,255,0.7), rgba(255,220,220,0.5));
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-name { flex: 1; min-width: 160px; font-weight: 700; }
.cart-name a { color: #573E3E; text-decoration: none; }
.cart-name small { display: block; font-weight: 400; color: #795F5F; margin-top: 4px; }
.qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #fff;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.55);
    overflow: hidden;
}
.qty button {
    width: 36px; height: 38px;
    border: 0;
    background: none;
    font-size: 18px;
    color: #573E3E;
    cursor: pointer;
}
.qty span { min-width: 34px; text-align: center; font-weight: 700; }
.line-total { min-width: 120px; font-weight: 700; color: #C47777; }
.del-btn { border: 0; background: none; color: #C47777; cursor: pointer; font-family: inherit; font-size: 14px; }

.summary-box { padding: 28px; border-radius: 30px; position: sticky; top: 20px; }
.summary-box h3 { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; color: #795F5F; }
.sum-row.disc { color: #3f8f5f; }
.sum-row.total {
    border-top: 1px dashed rgba(87, 62, 62, 0.25);
    margin-top: 8px;
    padding-top: 14px;
    font-size: 18px;
    font-weight: 800;
    color: #573E3E;
}
.coupon-row { display: flex; gap: 8px; margin: 14px 0 6px; }
.coupon-row input,
.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid #fff;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    padding: 11px 14px;
    font-family: inherit;
    color: #573E3E;
    outline: none;
}
.coupon-row input {
    flex: 1;
    min-width: 0;
    direction: ltr;
    text-align: center;
    text-transform: uppercase;
}
.coupon-row button {
    border: 0;
    border-radius: 14px;
    padding: 0 18px;
    background: #F29191;
    color: #fff;
    font-family: inherit;
    cursor: pointer;
}
.msg { font-size: 13px; min-height: 20px; margin-bottom: 6px; }
.msg.ok { color: #3f8f5f; }
.msg.err { color: #c0392b; }
.ship-note { font-size: 13px; background: rgba(255, 220, 220, 0.6); padding: 10px 14px; border-radius: 14px; margin: 8px 0; }
.summary-box .glass-btn { width: 100%; text-align: center; margin-top: 12px; }
.empty-box { padding: 55px 25px; border-radius: 30px; text-align: center; color: #795F5F; }
.empty-box .glass-btn { margin-top: 18px; }
.form-box { padding: 30px; border-radius: 30px; }
.form-box h3 { font-size: 20px; font-weight: 800; margin-bottom: 18px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field .e { color: #c0392b; font-size: 12px; margin-top: 4px; display: none; }
.field.err input, .field.err select, .field.err textarea { border-color: #c0392b; }
.field.err .e { display: block; }
.sum-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
    padding: 6px 0;
    color: #573E3E;
}
.ok-box { padding: 55px 30px; border-radius: 35px; text-align: center; }
.ok-box h2 { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.ok-box .code {
    display: inline-block;
    direction: ltr;
    background: rgba(255, 255, 255, 0.7);
    padding: 8px 22px;
    border-radius: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    margin: 10px 0 20px;
}
.order-row {
    padding: 18px 22px;
    border-radius: 22px;
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

/* درباره ما */
.story-section, .stats-section, .values-section { padding: 50px 0; }
.about-story { padding: 40px; border-radius: 30px; height: 100%; }
.about-story h3 { font-size: 24px; font-weight: 800; margin-bottom: 15px; }
.about-story p { line-height: 2.1; color: #795F5F; }
.about-visual {
    min-height: 300px;
    height: 100%;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 110px;
    color: #D8A2A2;
}
.stat-card { padding: 30px 15px; border-radius: 25px; text-align: center; height: 100%; }
.stat-card b { display: block; font-size: 34px; color: #E98A8A; }
.stat-card span { color: #795F5F; }
.cta-box { margin-top: 50px; padding: 60px 25px; border-radius: 40px; text-align: center; }
.cta-box h2 { font-size: 32px; font-weight: 800; margin-bottom: 10px; }
.cta-box p { color: #795F5F; margin-bottom: 25px; }

/* پیام کوتاه */
.toast {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: #573E3E;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    z-index: 99;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    direction: rtl;
    max-width: 90vw;
}

/* ==========================================
   رسپانسیو
   ========================================== */

@media (min-width: 1400px) {
    .container { max-width: 1320px !important; }
    .hero-content h2 { font-size: 64px; }
}

@media (max-width: 1200px) {
    .hero-content h2 { font-size: 48px; }
    .hero-content { padding: 45px 40px; }
    .section-title h2 { font-size: 36px; }
}

@media (max-width: 991px) {
    .header-1 { height: auto; border-radius: 35px; }
    .header-1 .row {
        flex-direction: column;
        gap: 12px;
        padding: 15px;
    }
    .header-right { width: 100%; justify-content: center; }
    .header-left { width: 100%; justify-content: center; }
    .box-menu { justify-content: center; }
    .menu-item { height: 48px; font-size: 14px; min-width: 80px; }
    .menu-item.wide { min-width: 140px; }

    .hero-section { padding: 60px 0 50px; }
    .hero-section .row {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    .hero-content { padding: 40px 30px; }
    .hero-content h2 { font-size: 40px; }
    .hero-content p { font-size: 15px; }
    .hero-product { height: 400px; }

    .cat-grid { grid-template-columns: repeat(5, 1fr); max-width: 720px; gap: 12px; }
    .cat-chip { font-size: 13px; padding: 8px; border-radius: 16px; gap: 6px; }
    .cat-chip .cat-ico { width: 40px; height: 40px; }
    .cat-chip .cat-ico svg { width: 20px; height: 20px; }

    .product-card .product-image { height: 200px; }
    .about-section, .shop-section, .media-section { padding: 60px 0; }
    .section-title { margin-bottom: 35px; }
    .section-title h2 { font-size: 30px; }
    .store-box { padding: 40px 25px; }
    .store-box h2 { font-size: 26px; }

    .filter-box, .summary-box { position: static; }
    .pd-img { height: 340px; }

    .footer-glass {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 30px 25px;
        text-align: center;
    }
    .footer-col, .footer-col:nth-child(2) { text-align: center; }
    .footer-brand { align-items: center; }
    .social-icons { justify-content: center; }
    .footer-contact p { justify-content: center; }
    .footer-logo { width: 80px; height: 80px; }
}

@media (max-width: 576px) {
    .product-circle {
        width: 220px;
        height: 220px;
    }
    .hero-logo {
        width: 62%;
        height: 62%;
    }
    .topbar { font-size: 11px; padding: 8px 30px; }
    .topbar button { font-size: 18px; left: 8px; }

    .header-1 { width: 94%; margin: 12px 3%; border-radius: 28px; }
    .logo-section { padding: 6px 14px; height: 54px; gap: 8px; }
    .logo-img { width: 38px; height: 38px; }
    .h1-logo { font-size: 17px; }
    .icon-btn { width: 44px; height: 44px; font-size: 16px; border-radius: 14px; }
    .count { font-size: 10px; min-width: 18px; height: 18px; line-height: 18px; }
    .menu-item { height: 42px; font-size: 12px; min-width: 68px; padding: 0 8px; border-radius: 14px; }
    .menu-item.wide { min-width: 120px; }

    .hero-section { padding: 35px 0 40px; }
    .hero-content { padding: 28px 20px; border-radius: 28px; }
    .hero-small-title { font-size: 11px; letter-spacing: 1.5px; }
    .hero-content h2 { font-size: 28px; line-height: 1.5; margin: 15px 0; }
    .hero-content p { font-size: 13.5px; line-height: 1.9; }
    .hero-buttons { flex-direction: column; margin-top: 25px; gap: 10px; }
    .glass-btn { padding: 12px 20px; font-size: 14px; text-align: center; }
    .hero-product { height: 300px; border-radius: 30px; }
    .product-circle { width: 200px; height: 200px; }
    .floating-card { padding: 10px 14px; font-size: 12px; }
    .floating-card-1 { top: 30px; right: 20px; }

    .cat-grid { grid-template-columns: repeat(5, 1fr); gap: 6px; max-width: 100%; }
    .cat-chip { font-size: 10px; padding: 5px; gap: 4px; border-radius: 12px; }
    .cat-chip .cat-ico { width: 32px; height: 32px; }
    .cat-chip .cat-ico svg { width: 16px; height: 16px; }

    .about-section, .shop-section, .media-section { padding: 45px 0; }
    .section-title { margin-bottom: 28px; }
    .section-title span { font-size: 10px; letter-spacing: 2px; }
    .section-title h2 { font-size: 22px; margin: 8px 0; }
    .section-title p { font-size: 13px; }

    .product-card { border-radius: 22px; }
    .product-card .product-image { height: 170px; }
    .product-image .ph { font-size: 60px; }
    .product-info { padding: 15px 12px; }
    .product-info h3 { font-size: 14px; margin: 6px 0; }
    .product-info span { font-size: 9px; }
    .product-price { font-size: 13px; margin-bottom: 10px; }
    .product-btn { padding: 8px 16px; font-size: 12px; border-radius: 12px; }

    .info-card { padding: 25px 18px; border-radius: 22px; }
    .info-icon { width: 55px; height: 55px; font-size: 22px; margin-bottom: 15px; }
    .info-card h3 { font-size: 16px; }

    .store-box { padding: 35px 20px; border-radius: 28px; }
    .store-box h2 { font-size: 20px; line-height: 1.6; }
    .store-box p { font-size: 13px; }

    .footer-glass { padding: 25px 18px; border-radius: 22px; gap: 20px; }
    .footer-col h2 { font-size: 15px; }
    .footer-col p { font-size: 12.5px; }
    .social-icon { width: 42px; height: 42px; }
    .social-icon svg { width: 18px; height: 18px; }
    .footer-copy { font-size: 11.5px; }
    .footer-logo { width: 70px; height: 70px; }
    .footer-logo-link { margin-top: 3px; }

    .page-hero h2 { font-size: 30px; }
    .about-story { padding: 28px 22px; }
    .pd-info { padding: 24px 20px; }
    .cart-line .line-total { min-width: 0; }

    .container { padding: 0 15px !important; }
}

@media (max-width: 380px) {
    .hero-content h2 { font-size: 24px; }
    .section-title h2 { font-size: 19px; }
    .cat-chip { font-size: 9px; padding: 4px; gap: 3px; }
    .cat-chip .cat-ico { width: 28px; height: 28px; }
    .cat-chip .cat-ico svg { width: 14px; height: 14px; }
    .menu-item { min-width: 60px; font-size: 11px; padding: 0 6px; }
    .menu-item.wide { min-width: 105px; }
}

@media (max-width: 900px) and (orientation: landscape) {
    .hero-product { height: 320px; }
    .hero-section { padding: 40px 0; }
}

/* سرچ مودال */
.search-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}
.search-modal.active { display: flex; }
.search-box {
    background: white;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.search-input-wrapper { display: flex; gap: 10px; margin-bottom: 20px; }
.search-input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid #E98A8A;
    border-radius: 14px;
    font-size: 16px;
    outline: none;
    font-family: inherit;
}
.search-submit {
    padding: 12px 26px;
    background: #F29191;
    color: white;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-size: 16px;
    font-family: inherit;
}
.search-close {
    position: absolute;
    top: 20px; left: 20px;
    background: white;
    border: none;
    width: 40px; height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
}
.search-results { max-height: 400px; overflow-y: auto; }
.search-result-item {
    padding: 15px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 15px;
}
.search-result-item:hover { background: #FFDCDC; }
.search-result-info h4 { color: #573E3E; margin-bottom: 5px; }
.search-result-info p { color: #E98A8A; font-weight: 600; }
.no-results { text-align: center; padding: 30px; color: #795F5F; }
/* ============ آیکون‌های SVG در هدر ============ */
.icon-btn svg {
    width: 22px;
    height: 22px;
    display: block;
    color: #573E3E;
    transition: 0.3s;
}
.icon-btn:hover svg { color: #C47777; }

@media (max-width: 576px) {
    .icon-btn svg { width: 18px; height: 18px; }
}

/* ============ آیکون‌های SVG در کارت‌های ویژگی ============ */
.info-icon svg {
    width: 30px;
    height: 30px;
    display: block;
    color: #E98A8A;
    transition: 0.3s;
}
.info-card:hover .info-icon svg { color: #F29191; }

@media (max-width: 576px) {
    .info-icon svg { width: 24px; height: 24px; }
}
/* ============ سازگاری هدر با صفحات بوت‌استرپ ============ */
.header-1 .row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 25px !important;
    width: 100% !important;
    gap: 18px !important;
}

.header-right {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    flex: 1 !important;
    min-width: 0 !important;
    flex-wrap: wrap !important;
}

.header-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: none !important;
}

/* لوگو در هدر برای بقیه صفحات */
.logo-section .h1-logo {
    font-size: 22px !important;
    font-weight: 800 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    text-align: right !important;
}

/* فوتر سه‌ستونه در صفحات بوت‌استرپ */
.footer .footer-glass {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 30px !important;
    align-items: flex-start !important;
    padding: 35px 40px !important;
    border-radius: 30px !important;
}

.footer .footer-copy {
    text-align: center !important;
    margin: 18px 0 0 !important;
}

@media (max-width: 991px) {
    .header-1 .row {
        flex-direction: column !important;
    }
    .header-right, .header-left {
        width: 100% !important;
        justify-content: center !important;
    }
    .footer .footer-glass {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    .footer .footer-col,
    .footer .footer-col:nth-child(2) {
        text-align: center !important;
    }
    .footer .footer-brand { align-items: center !important; }
    .footer .social-icons { justify-content: center !important; }
    .footer .footer-contact p { justify-content: center !important; }
}
/* ============ لایه داخلی هدر (جایگزین row بوت‌استرپ) ============ */
.header-1 .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 25px;
    width: 100%;
    gap: 18px;
}

@media (max-width: 991px) {
    .header-1 .header-inner {
        flex-direction: column;
        gap: 12px;
    }
}
/* ============ رفع چپ‌چین شدن در صفحات بوت‌استرپ ============ */
body {
    direction: rtl !important;
    text-align: right !important;
}

/* فوتر - بازنشانی direction و تراز */
.footer,
.footer-glass,
.footer-col,
.footer-contact,
.footer-brand,
.footer-copy {
    direction: rtl !important;
    text-align: right !important;
}

.footer-col:nth-child(2) {
    text-align: center !important;
}

.footer-brand {
    align-items: flex-start !important;
}

.footer-glass {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 30px !important;
    align-items: flex-start !important;
    padding: 35px 40px !important;
    border-radius: 30px !important;
}

.footer-copy {
    text-align: center !important;
    margin: 18px 0 0 !important;
}

/* هدر - بازنشانی direction */
.header-1,
.header-1 .header-inner,
.header-right,
.header-left,
.box-menu {
    direction: rtl !important;
}

@media (max-width: 991px) {
    .footer-glass {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    .footer-col,
    .footer-col:nth-child(2) {
        text-align: center !important;
    }
    .footer-brand { align-items: center !important; }
    .social-icons { justify-content: center !important; }
    .footer-contact p { justify-content: center !important; }
}

/* ============ پنل جست‌وجو (هماهنگ با مودال صفحه اول) ============ */
.search-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    z-index: 2000;
    display: flex;
    gap: 10px;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.5), 0 20px 60px rgba(0, 0, 0, 0.2);
    direction: rtl;
}
.search-panel[hidden] { display: none; }
.search-panel input[type=search] {
    flex: 1;
    min-width: 0;
    padding: 12px 18px;
    border: 1px solid #E98A8A;
    border-radius: 14px;
    font-size: 16px;
    outline: none;
    font-family: inherit;
    color: #573E3E;
}
.search-panel button {
    padding: 12px 26px;
    background: #F29191;
    color: #fff;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-size: 16px;
    font-family: inherit;
}
.search-panel button:hover { background: #E98A8A; }


/* ============ نقشه صفحه درباره ما ============ */
.map-section { padding: 10px 0 70px; }
.map-card { padding: 18px; border-radius: 30px; text-align: center; }
.map-frame {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 22px;
    margin-bottom: 18px;
}
@media (max-width: 575px) {
    .map-frame { height: 320px; }
}


/* عکس کنار «داستان ما» */
.about-visual { padding: 0; overflow: hidden; }
.about-visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    border-radius: inherit;
}


/* محصولات داخل سفارش‌ها در حساب کاربری */
.order-items { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.order-items a, .order-items span { color: #573E3E; font-size: 14px; text-decoration: none; }
.order-items a:hover { color: #E98A8A; text-decoration: underline; }
