/* ============================================
   فونت ایران سنس - لوکال
   ============================================ */
@font-face {
    font-family: "dana";
    src: url("../../fonts/Medium.woff") format("woff"),
         url("../../fonts/Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "dana";
    src: url("../../fonts/Bold.woff") format("woff"),
         url("../../fonts/Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   Ų±ŪŲ´Ł‡ Ł Ł…ŲŖŲŗŪŲ±Ł‡Ų§
   ============================================ */
:root {
    --primary: #e63946;
    --primary-hover: #c1121f;
    --primary-light: #fff5f5;
    --secondary: #1a1a2e;
    --accent: #0f3460;
    --dark: #1a1a2e;
    --text: #2d3436;
    --text-light: #636e72;
    --gray: #b2bec3;
    --light-gray: #f5f6fa;
    --white: #ffffff;
    --border: #e9ecef;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 20px;
    --transition: all 0.2s ease;
}

/* ============================================
   Ų±ŪŲ³ŲŖ
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: "dana", Tahoma, Arial, sans-serif;
    font-weight: 500;
    direction: rtl;
    background: #f5f6fa;
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.main-content { flex: 1; }

/* ============================================
   Ł‡ŲÆŲ±
   ============================================ */
.site-header {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header-top { border-bottom: 1px solid var(--border); }

.header-top .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}

.logo { display: flex; align-items: center; }
.logo-text { display: flex; flex-direction: column; }

.logo-title {
    font-size: 30px;
    font-weight: 900;
    color: var(--secondary);
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-call {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--light-gray);
    padding: 10px 18px;
    border-radius: 50px;
    transition: background 0.2s, transform 0.2s;
}

.header-call:hover {
    background: var(--primary);
    transform: translateY(-1px);
}

.header-call:hover .call-number,
.header-call:hover .call-label { color: #fff; }

.call-icon { font-size: 18px; }

.call-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.call-label {
    font-size: 10px;
    color: var(--text-light);
    transition: color 0.2s;
}

.call-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

/* Ł†ŁŲ§Ų± Ų§Ų³ŲŖŪŚ©Ū */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* Ł…Ł†ŁŪ Ų§ŲµŁ„Ū */
.main-nav { background: var(--secondary); }

.main-nav .container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    position: relative;
}

.nav-list { display: flex; align-items: center; }

.nav-list li a {
    display: flex;
    align-items: center;
    padding: 15px 22px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
    transition: background 0.2s, color 0.2s;
}

.nav-list li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transition: transform 0.2s;
}

.nav-list li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-list li a:hover::after { transform: scaleX(1); }

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 15px 0;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ŲØŲ§Ś©Ų³ Ų¬Ų³ŲŖŲ¬Ł */
.search-bar { background: #fff; padding: 8px 0; border-bottom: 1px solid var(--border); }

.search-form {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.search-form input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.2s ease;
    direction: rtl;
}

.search-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.08);
}

.search-form button {
    padding: 12px 25px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.search-form button:hover { background: var(--primary-hover); }

/* ============================================
   Ų§Ų³Ł„Ų§ŪŲÆŲ±
   ============================================ */
.slider-section {
    position: relative;
    padding: 60px 0;
    margin: 0;
    background: linear-gradient(180deg, #f8f9fb 0%, #eef0f5 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.slider-section:nth-child(even) {
    background: linear-gradient(180deg, #f5f6fa 0%, #e8eaf0 100%);
}

.slider-section .container { position: relative; z-index: 2; }

.slider-section .section-header {
    text-align: center;
    margin: 0 0 35px 0;
    padding: 0 20px;
}

.slider-section .section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    display: inline-block;
    position: relative;
}

.slider-section .section-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary);
    margin: 12px auto 0;
    border-radius: 2px;
}

.slider-section .section-subtitle {
    font-size: 15px;
    color: var(--text-light);
    margin-top: 10px;
    font-weight: 400;
}

.slider-wrapper { overflow: hidden; padding: 10px 0; position: relative; }

.slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
    padding: 8px 4px;
}

.slider-track::-webkit-scrollbar { display: none; }
.slider-track:active { cursor: grabbing; }

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    box-shadow: var(--shadow);
    transition: all 0.2s ease;
}

.slider-arrow:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.25);
}

.slider-arrow.prev { right: 5px; }
.slider-arrow.next { left: 5px; }

.card {
    min-width: 270px;
    max-width: 270px;
    flex-shrink: 0;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: block;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.card:hover .card-img img { transform: scale(1.05); }

.card-body {
    padding: 18px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 45px;
}

.card-price { color: var(--primary); font-weight: 700; font-size: 17px; margin-top: 8px; }

.view-all-card {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    max-width: 180px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: #fff !important;
    cursor: pointer;
    border: none !important;
    text-align: center;
}

.view-all-card:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
}

.view-all-card span {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    padding: 25px;
    line-height: 1.8;
}

/* ============================================
   ŲØŁ„ŁŚ©ā€Ł‡Ų§Ū Ł…Ų­ŲŖŁŲ§ŪŪ
   ============================================ */
.content-blocks { padding: 50px 0 60px; }

.content-block {
    display: flex;
    gap: 35px;
    margin-bottom: 30px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 35px 40px;
    box-shadow: var(--shadow-sm);
    align-items: center;
    border: 1px solid var(--border);
}

.content-block:nth-child(even) { flex-direction: row-reverse; }

.block-img { flex: 0 0 35%; max-width: 35%; border-radius: var(--radius); overflow: hidden; }
.block-img img { width: 100%; height: auto; border-radius: var(--radius); }
.block-text { flex: 1; }

.block-text h3 { font-size: 22px; margin-bottom: 15px; color: var(--dark); font-weight: 700; }
.block-text p { color: var(--text-light); line-height: 2.1; font-size: 15px; }

/* ============================================
   ŁŁŲŖŲ±
   ============================================ */
.site-footer {
    background: var(--secondary);
    color: #fff;
    padding: 60px 0 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-phones { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }

.footer-phone-item { display: flex; flex-direction: column; gap: 3px; }
.footer-phone-label { font-size: 11px; color: #888; }

.footer-phone {
    font-size: 14px;
    font-weight: 450;
    color: var(--primary) !important;
    transition: color 0.2s;
}

.footer-phone:hover { color: #fff !important; }

.footer-social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 5px; }

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s;
}

.footer-social-btn.whatsapp { background: #25d366; color: #fff; }
.footer-social-btn.whatsapp:hover { background: #128c7e; }
.footer-social-btn.telegram { background: #0088cc; color: #fff; }
.footer-social-btn.telegram:hover { background: #006699; }

.footer-links li { margin-bottom: 5px; }

.footer-links a {
    color: #b2bec3;
    font-size: 14px;
    line-height: 2.4;
    display: block;
    transition: color 0.2s, padding 0.2s;
}

.footer-links a:hover { color: #fff; padding-right: 5px; }

.footer-about { color: #b2bec3; line-height: 2.2; font-size: 14px; }
.footer-about strong { color: #fff; }

.footer-features { margin-top: 12px; display: flex; flex-direction: column; gap: 5px; }
.footer-features li { color: #b2bec3; font-size: 13px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 22px 0;
    text-align: center;
    font-size: 13px;
    color: #777;
}

.footer-bottom strong { color: #aaa; }
.footer-credit { margin-top: 8px; font-size: 12px; }

/* ============================================
   ŲµŁŲ­Ł‡ Ł…Ų­ŲµŁŁ„
   ============================================ */
.product-page { padding: 40px 0; }

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.product-gallery { position: sticky; top: 110px; }

.gallery-main {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-main img { width: 100%; height: 100%; object-fit: contain; transition: opacity 0.3s; }

.gallery-thumbs { display: flex; gap: 10px; margin-top: 15px; overflow-x: auto; padding: 5px 0; }

.gallery-thumbs button {
    width: 75px;
    height: 75px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--border);
    flex-shrink: 0;
    padding: 0;
    background: #fff;
}

.gallery-thumbs button.active { border-color: var(--primary); }
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }

.product-info { padding: 10px 15px; }

.product-info h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 15px;
    margin-left: 8px;
    font-weight: 500;
}

.product-price { font-size: 28px; color: var(--primary); font-weight: 700; margin: 20px 0; }

.product-call-buttons { display: flex; flex-direction: column; gap: 10px; margin: 15px 0; }

.product-call-buttons .call-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 16px;
}

.call-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    background: #25d366;
    color: #fff;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    margin: 10px 0;
}

.call-btn:hover { background: #128c7e; transform: translateY(-2px); color: #fff; }

.product-description { color: var(--text-light); line-height: 2.2; margin: 25px 0; font-size: 15px; }
.product-description h3 { margin-bottom: 15px; font-weight: 700; color: var(--dark); font-size: 18px; }

.product-specs {
    background: var(--light-gray);
    border-radius: var(--radius);
    padding: 25px;
    margin: 25px 0;
    border: 1px solid var(--border);
}

.product-specs h3 { font-weight: 700; margin-bottom: 15px; color: var(--dark); font-size: 18px; }
.product-specs pre { white-space: pre-wrap; font-family: inherit; line-height: 2.2; color: var(--text); font-size: 14px; }

.share-buttons { margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; }

.share-btn {
    flex: 1;
    min-width: 100px;
    padding: 12px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s, color 0.2s, border 0.2s;
}

.share-btn:hover { background: var(--secondary); color: #fff; border-color: var(--secondary); }

/* ============================================
   ŲµŁŲ­Ų§ŲŖ Ų¹Ł…ŁŁ…Ū
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 { font-size: 32px; font-weight: 700; }
.page-hero p { font-size: 16px; opacity: 0.9; margin-top: 8px; }

.breadcrumb {
    background: #fff;
    padding: 14px 0;
    font-size: 13px;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

.breadcrumb a { color: var(--accent); font-weight: 500; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: #ccc; margin: 0 8px; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 40px 0;
}

.products-grid .card { min-width: auto; max-width: 100%; }

.products-grid .card-img { width: 100%; height: 200px; overflow: hidden; background: #fafafa; display: flex; align-items: center; justify-content: center; padding: 15px; }
.products-grid .card-img img { width: 100%; height: 100%; object-fit: contain; }
.products-grid .card-body { padding: 18px; text-align: center; border-top: 1px solid var(--border); }
.products-grid .card-title { font-size: 15px; font-weight: 700; color: var(--dark); line-height: 1.5; }
.products-grid .card-price { color: var(--primary); font-weight: 700; font-size: 17px; margin-top: 8px; }

.conditions-content {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    line-height: 2.2;
    border: 1px solid var(--border);
}

/* ============================================
   Ł…ŁŲÆŲ§Ł„ Ų²ŁŁ…
   ============================================ */
.zoom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.zoom-modal.active { display: flex; }

.zoom-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.zoom-close:hover { background: rgba(255, 255, 255, 0.2); }

.zoom-content { max-width: 90vw; max-height: 80vh; }
.zoom-content img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 8px; }

.zoom-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.zoom-nav:hover { background: rgba(255, 255, 255, 0.25); }
.zoom-prev { right: 20px; }
.zoom-next { left: 20px; }
.zoom-counter { color: #fff; text-align: center; margin-top: 15px; font-size: 14px; }

/* ============================================
   ŲÆŚ©Ł…Ł‡ Ų´Ł†Ų§ŁŲ± Ų§Ų´ŲŖŲ±Ų§Ś©ā€ŚÆŲ°Ų§Ų±Ū (ŁŁ‚Ų· Ł…ŁŲØŲ§ŪŁ„)
   ============================================ */
.share-floating-btn {
    display: none;
    position: fixed;
    left: 16px;
    bottom: 100px;
    width: 56px;
    height: 56px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    z-index: 998;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    align-items: center;
    justify-content: center;
    padding: 0;
    animation: bounce 2s infinite;
}

.share-floating-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    border-color: #ccc;
}

.share-floating-btn:active {
    transform: scale(0.94);
}

.share-floating-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
}

.share-floating-icon {
    font-size: 24px;
    line-height: 1;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ŁŁ‚Ų· Ł…ŁŲØŲ§ŪŁ„ */
@media (min-width: 769px) {
    .share-floating-btn {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .share-floating-btn {
        display: flex;
    }
}

@media (max-width: 480px) {
    .share-floating-btn {
        width: 50px;
        height: 50px;
        left: 12px;
        bottom: 90px;
    }
    
    .share-floating-img {
        width: 30px;
        height: 30px;
    }
}

/* ============================================
   Ł¾Ų§Ł¾ā€Ų¢Ł¾ Ų§Ų´ŲŖŲ±Ų§Ś©ā€ŚÆŲ°Ų§Ų±Ū
   ============================================ */
.share-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.share-popup.active { display: flex; }

.share-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.2s ease;
}

.share-popup-content {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 25px 20px 20px;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.share-popup-close {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: all 0.2s;
}

.share-popup-close:hover { background: #d63031; color: #fff; }

.share-popup-header { text-align: center; margin-bottom: 20px; }
.share-popup-icon { font-size: 36px; display: block; margin-bottom: 8px; }
.share-popup-header h3 { font-size: 18px; color: var(--dark); margin-bottom: 4px; }
.share-popup-header p { font-size: 12px; color: var(--text-light); }

.share-preview {
    background: #f8f9fa;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    max-height: 200px;
    overflow-y: auto;
}

.share-preview-text {
    font-size: 13px;
    line-height: 2;
    color: var(--text);
    white-space: pre-wrap;
    word-break: break-word;
}

.share-popup-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.share-popup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 13px 10px;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    color: #fff;
}

.share-popup-btn span { font-size: 16px; }

.share-popup-btn.whatsapp { background: #25d366; }
.share-popup-btn.whatsapp:hover { background: #128c7e; }
.share-popup-btn.telegram { background: #0088cc; }
.share-popup-btn.telegram:hover { background: #006699; }
.share-popup-btn.eitaa { background: #f5a623; }
.share-popup-btn.eitaa:hover { background: #d4891a; }
.share-popup-btn.soroush { background: #0055cc; }
.share-popup-btn.soroush:hover { background: #003d99; }
.share-popup-btn.bale { background: #00b894; }
.share-popup-btn.bale:hover { background: #00997a; }
.share-popup-btn.copy { background: #636e72; }
.share-popup-btn.copy:hover { background: #2d3436; }
.share-popup-btn.sms { background: #0984e3; }
.share-popup-btn.sms:hover { background: #0767b3; }

/* ============================================
   Ł¾Ų§Ł¾ā€Ų¢Ł¾ ŲŖŁ…Ų§Ų³
   ============================================ */
.call-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.call-popup.active { display: flex; }

.call-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.2s ease;
}

.call-popup-content {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 25px 20px 20px;
    width: 100%;
    max-width: 380px;
    z-index: 1;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.call-popup-close {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: all 0.2s;
}

.call-popup-close:hover { background: #d63031; color: #fff; }

.call-popup-header { text-align: center; margin-bottom: 20px; }
.call-popup-icon { font-size: 40px; display: block; margin-bottom: 8px; }
.call-popup-header h3 { font-size: 18px; color: var(--dark); margin-bottom: 4px; }
.call-popup-header p { font-size: 12px; color: var(--text-light); }

.call-popup-numbers { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }

.call-popup-number {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--light-gray);
    padding: 14px 18px;
    border-radius: 14px;
    transition: all 0.2s;
    text-decoration: none;
}

.call-popup-number:hover { background: var(--primary); }
.call-popup-number:hover .call-popup-label,
.call-popup-number:hover .call-popup-phone,
.call-popup-number:hover .call-popup-action { color: #fff; }

.call-popup-label { font-size: 11px; color: var(--text-light); display: block; }
.call-popup-phone { font-size: 16px; font-weight: 700; color: var(--dark); }
.call-popup-action { font-size: 12px; color: var(--primary); font-weight: 700; }

.call-popup-social { text-align: center; }

.call-popup-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #25d366;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.2s;
    text-decoration: none;
}

.call-popup-whatsapp:hover { background: #128c7e; color: #fff; }

.call-popup-trigger {
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 2px;
    border-radius: 10px;
    font-size: 10px;
    color: #888;
    font-weight: 500;
    text-align: center;
    gap: 2px;
    width: 100%;
}

.call-popup-trigger:active { color: var(--primary); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ============================================
   Ł…Ł†ŁŪ Ł¾Ų§ŪŪŁ† Ł…ŁŲØŲ§ŪŁ„
   ============================================ */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 999;
    padding: 8px 0;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
}

.mobile-nav-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 2px;
    border-radius: 10px;
    font-size: 10px;
    color: #888;
    font-weight: 500;
    text-align: center;
    gap: 2px;
    text-decoration: none;
}

.mobile-nav-item:active { color: var(--primary); }
.nav-icon { font-size: 20px; }

/* ============================================
   Ł¾Ł†Ł„ Ł…ŲÆŪŲ±ŪŲŖ
   ============================================ */
.admin-wrap { display: flex; min-height: 100vh; }

.admin-sidebar {
    width: 260px;
    background: var(--secondary);
    color: #fff;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar-head {
    padding: 25px 20px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--primary);
}

.admin-sidebar ul { padding: 15px 0; }

.admin-sidebar ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    color: #bbb;
    font-size: 14px;
    transition: background 0.2s, color 0.2s, border 0.2s;
    text-decoration: none;
}

.admin-sidebar ul li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-right: 3px solid var(--primary);
}

.admin-main-wrapper { flex: 1; display: flex; flex-direction: column; min-height: 100vh; }

.admin-header {
    background: #fff;
    padding: 12px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.admin-header-right { display: flex; align-items: center; gap: 15px; }
.admin-header-left { display: flex; align-items: center; gap: 10px; }

.admin-user-info { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #636e72; }

.admin-user-avatar {
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.admin-badge { background: #f0f0f0; padding: 3px 10px; border-radius: 10px; font-size: 11px; color: #636e72; }
.admin-badge.primary { background: var(--primary-light); color: var(--primary); }

.admin-main { flex: 1; background: #f1f2f6; padding: 30px; overflow-x: auto; }
.admin-main h2 { font-size: 24px; margin-bottom: 25px; color: var(--dark); }

.admin-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 25px;
    border: 1px solid var(--border);
}

.admin-table { width: 100%; border-collapse: collapse; }

.admin-table th, .admin-table td {
    padding: 12px 15px;
    text-align: right;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.admin-table th { background: var(--secondary); color: #fff; font-weight: 500; }
.admin-table tr:hover td { background: #fafafa; }

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.btn:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-edit { background: var(--accent); color: #fff; }
.btn-delete { background: #d63031; color: #fff; }
.btn-save { background: #00b894; color: #fff; font-size: 16px; padding: 14px 32px; }

.admin-form label { display: block; font-weight: 600; margin: 15px 0 5px; color: var(--dark); font-size: 14px; }

.admin-form input[type="text"],
.admin-form input[type="number"],
.admin-form input[type="password"],
.admin-form textarea,
.admin-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    background: #fff;
    transition: border 0.2s, box-shadow 0.2s;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.08);
}

.admin-form textarea { min-height: 150px; resize: vertical; }
.admin-form hr { margin: 25px 0; border: none; border-top: 1px solid var(--border); }

.login-box {
    max-width: 420px;
    margin: 80px auto;
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.login-box h2 { text-align: center; margin-bottom: 25px; color: var(--dark); }

.login-box input {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
}

.login-box button {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    margin-top: 10px;
    transition: background 0.2s;
}

.login-box button:hover { background: var(--primary-hover); }

.dashboard-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }

.dash-card {
    background: #fff;
    padding: 25px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: block;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
}

.dash-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.dash-card h3 { font-size: 16px; color: var(--text-light); margin-bottom: 10px; }
.dash-card .number { font-size: 40px; font-weight: 700; color: var(--primary); }

.alert-success { background: #d4edda; color: #155724; padding: 15px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; }
.alert-error { background: #ffeaea; color: #d63031; padding: 15px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; }

.sidebar-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: #1a1a2e; padding: 5px; }
.sidebar-overlay { display: none; }

/* ============================================
   Ų±ŪŲ³Ł¾Ų§Ł†Ų³ŪŁ
   ============================================ */
@media (max-width: 992px) {
    .product-layout { grid-template-columns: 1fr; }
    .product-gallery { position: static; }
    .content-block { flex-direction: column !important; padding: 25px; }
    .block-img { flex: 0 0 100%; max-width: 100%; }
    .slider-section { padding: 40px 0; }
    .slider-section .section-title { font-size: 24px; }
}

@media (max-width: 768px) {
    .header-top { padding: 10px 0; }
    .header-top .container { flex-direction: column; gap: 10px; padding: 0 15px; }
    .header-contacts { flex-wrap: wrap; justify-content: center; gap: 8px; }
    .header-call { padding: 8px 14px; gap: 6px; }
    .call-number { font-size: 13px; }
    .call-label { font-size: 9px; }
    .call-icon { font-size: 16px; }
    .logo-title { font-size: 22px; }
    .logo-subtitle { font-size: 10px; }

    .hamburger { display: block; }
    .main-nav .container { justify-content: space-between; }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: var(--secondary);
        flex-direction: column;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        z-index: 100;
    }

    .nav-list.open { display: flex; }
    .nav-list li { width: 100%; }

    .nav-list li a {
        padding: 15px 20px;
        justify-content: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .search-bar { padding: 10px 0; }
    .search-form { max-width: 100%; }
    .search-form input { padding: 10px 15px; font-size: 13px; }
    .search-form button { padding: 10px 18px; font-size: 13px; }

    .slider-section { padding: 35px 0; }
    .slider-section .section-title { font-size: 22px; }
    .slider-section .section-subtitle { font-size: 13px; }

    .card { min-width: 240px; max-width: 240px; }
    .card-img { height: 170px; padding: 12px; }
    .view-all-card { min-width: 150px; max-width: 150px; }
    .slider-arrow { display: none !important; }
    .slider-track { padding-right: 20px; }
    .card:last-child { margin-left: 20px; }

    .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
    .page-hero h1 { font-size: 26px; }

    .mobile-nav { display: block; }
    body { padding-bottom: 80px; }
    .site-footer { padding-bottom: 100px; }

    .share-floating-btn { display: flex; }
    .share-popup-content { max-width: 95vw; padding: 20px 15px 15px; }
    .share-preview { max-height: 150px; }
    .share-preview-text { font-size: 12px; line-height: 1.8; }
    .share-popup-btn { padding: 12px 8px; font-size: 12px; }
    .share-popup-btn span { font-size: 14px; }

    .sidebar-toggle { display: block; }
    .admin-sidebar {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        box-shadow: 0 0 30px rgba(0,0,0,0.3);
    }
    .admin-sidebar.open { display: block; }
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 9998;
    }
    .sidebar-overlay.open { display: block; }
    .admin-wrap { flex-direction: column; }
    .admin-sidebar { width: 100%; height: auto; position: relative; }
    .admin-sidebar ul { display: flex; overflow-x: auto; }
    .admin-sidebar ul li a { white-space: nowrap; border-right: none !important; padding: 12px 15px; font-size: 12px; }
    .admin-main { min-height: auto; padding: 20px; }
}

@media (max-width: 480px) {
    .logo-title { font-size: 20px; }
    .header-call { padding: 6px 10px; gap: 5px; }
    .call-number { font-size: 11px; }
    .call-icon { font-size: 14px; }

    .slider-section { padding: 30px 0; }
    .slider-section .section-title { font-size: 20px; }

    .card { min-width: 200px; max-width: 200px; }
    .card-img { height: 140px; padding: 10px; }
    .card-title { font-size: 13px; min-height: 38px; }
    .card-body { padding: 12px; }

    .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .products-grid .card-img { height: 140px; padding: 10px; }
    .products-grid .card-title { font-size: 13px; }
    .products-grid .card-body { padding: 12px; }

    .product-info h1 { font-size: 22px; }
    .product-price { font-size: 22px; }
    .product-call-buttons .call-btn { font-size: 14px; padding: 12px 20px; }
    .call-btn { padding: 14px 24px; font-size: 15px; }

    .content-block { padding: 20px; }
    .block-text h3 { font-size: 18px; }
    .zoom-nav { width: 40px; height: 40px; font-size: 18px; }

    .share-popup-buttons { grid-template-columns: 1fr 1fr; gap: 8px; }
    .share-popup-btn { padding: 10px 6px; font-size: 11px; }
}

@media (min-width: 769px) {
    .share-floating-btn { display: none !important; }
}