/* ============================================
   فونت ایران سنس
   ============================================ */
@font-face {
    font-family: "IRANSans";
    src: url("https://kitroo.ir/fonts/Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IRANSans";
    src: url("https://kitroo.ir/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;
}

/* ============================================
   ریست
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: "IRANSans", Tahoma, Arial, sans-serif;
    font-weight: 500;
    direction: rtl;
    background: #f8f9fb;
    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;
    position: sticky;
    top: 0;
    z-index: 1000;
    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-call {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--light-gray);
    padding: 12px 24px;
    border-radius: 50px;
    transition: background 0.2s, transform 0.2s;
}

.header-call:hover {
    background: var(--primary);
    transform: translateY(-1px);
}

.header-call:hover .call-number {
    color: #fff;
}

.call-icon {
    font-size: 20px;
}

.call-number {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.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);
}

/* ============================================
   اسلایدر
   ============================================ */
.slider-section {
    position: relative;
}

.section-header {
    text-align: center;
    margin: 50px 0 30px;
}

.section-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    display: inline-block;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary);
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 8px;
}

.slider-wrapper {
    overflow: hidden;
    padding: 10px 0;
    position: relative;
}

.slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    /* حذف scroll-snap-type - حالا اسلایدر آزادانه حرکت می‌کنه */
    -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: 44px;
    height: 44px;
    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-sm);
    transition: background 0.2s, color 0.2s;
}

.slider-arrow:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.slider-arrow.prev {
    right: -6px;
}

.slider-arrow.next {
    left: -6px;
}

/* کارت */
.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);
}

.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;
}

.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 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-col p,
.footer-col a {
    color: #b2bec3;
    font-size: 14px;
    line-height: 2.4;
    display: block;
    transition: color 0.2s, padding 0.2s;
}

.footer-col a:hover {
    color: #fff;
    padding-right: 5px;
}

.footer-phone {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 22px 0;
    text-align: center;
    font-size: 13px;
    color: #777;
}

/* ============================================
   صفحه محصول
   ============================================ */
.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;
}

.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;
}

/* اطلاعات محصول - همه با padding-right */
.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-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;
}

.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;
}

.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%;
}

.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);
}

.conditions-content h2 {
    color: var(--dark);
    margin-bottom: 20px;
}

/* ============================================
   مودال زوم
   ============================================ */
.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;
}

/* ============================================
   منوی پایین موبایل
   ============================================ */
.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;
}

.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;
}

.admin-sidebar ul li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-right: 3px solid 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;
    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;
}

.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;
}

/* ============================================
   ریسپانسیو
   ============================================ */
@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%;
    }
}

@media (max-width: 768px) {
    .slider-arrow {
        display: none !important;
    }

    .header-top .container {
        padding: 12px 15px;
    }

    .logo-title {
        font-size: 22px;
    }

    .logo-subtitle {
        font-size: 10px;
    }

    .header-call {
        padding: 10px 16px;
    }

    .call-number {
        font-size: 14px;
    }

    .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);
    }

    .section-title {
        font-size: 22px;
    }

    .card {
        min-width: 240px;
        max-width: 240px;
    }

    .card-img {
        height: 170px;
        padding: 12px;
    }

    .view-all-card {
        min-width: 150px;
        max-width: 150px;
    }

    .slider-wrapper {
        padding-left: 40px;
    }

    .slider-track {
        gap: 14px;
        padding-left: 0;
    }

    .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;
    }

    .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;
    }
}

@media (max-width: 480px) {
    .logo-title {
        font-size: 20px;
    }

    .header-call {
        padding: 8px 12px;
        gap: 5px;
    }

    .call-number {
        font-size: 12px;
    }

    .call-icon {
        font-size: 16px;
    }

    .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;
    }

    .slider-wrapper {
        padding-left: 35px;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .product-info h1 {
        font-size: 22px;
    }

    .product-price {
        font-size: 22px;
    }

    .call-btn {
        padding: 14px 24px;
        font-size: 15px;
    }

    .section-title {
        font-size: 20px;
    }

    .content-block {
        padding: 20px;
    }

    .block-text h3 {
        font-size: 18px;
    }

    .zoom-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}