:root {
    --taba-dark:    #1a1a2e;
    --taba-mid:     #16213e;
    --taba-accent:  #e8a020;
    --taba-accent2: #c87d10;
    --taba-light:   #f5f0e8;
    --taba-gray:    #6c757d;
}

* { box-sizing: border-box; }

body {
    font-family: 'Vazirmatn', sans-serif;
    background: #fff;
    color: #222;
}

@font-face {
    font-family: "bootstrap-icons";
    src: url("../fonts/bootstrap-icons.woff2") format("woff2"),
    url("../fonts/bootstrap-icons.woff") format("woff");
}
/* ── Navbar ── */
.navbar {
    background: var(--taba-dark);
    padding: 14px 0;
}
.navbar-brand {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--taba-accent) !important;
    letter-spacing: 1px;
}
.navbar-brand span { color: #fff; }
.nav-link {
    color: rgba(255,255,255,.8) !important;
    font-weight: 400;
    font-size: .95rem;
    padding: 6px 14px !important;
    transition: color .2s;
}
.nav-link:hover { color: var(--taba-accent) !important; }
.navbar-toggler { border-color: rgba(255,255,255,.3); }
.navbar-toggler-icon { filter: invert(1); }
.navbar-brand .logo
{
    height: 3rem;
    width: auto;
}
.navbar-expand-lg .navbar-nav .dropdown-menu
{
    background: var(--taba-mid);
}
/* ── Hero ── */
.hero {
    background: linear-gradient(135deg, var(--taba-dark) 0%, var(--taba-mid) 60%, #0f3460 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e8a020' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-badge {
    display: inline-block;
    background: rgba(232,160,32,.15);
    border: 1px solid rgba(232,160,32,.4);
    color: var(--taba-accent);
    font-size: .8rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: .5px;
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
}
.hero h1 em {
    font-style: normal;
    color: var(--taba-accent);
}
.hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,.7);
    max-width: 500px;
    line-height: 1.8;
}
.btn-taba {
    background: var(--taba-accent);
    color: #fff;
    font-weight: 700;
    padding: 13px 32px;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
    transition: background .2s, transform .15s;
}
.btn-taba:hover {
    background: var(--taba-accent2);
    color: #fff;
    transform: translateY(-1px);
}
.btn-outline-taba {
    border: 2px solid rgba(255,255,255,.4);
    color: #fff;
    padding: 11px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    background: transparent;
    transition: all .2s;
}
.btn-outline-taba:hover {
    border-color: var(--taba-accent);
    color: var(--taba-accent);
}

.hero-stats {
    margin-top: 48px;
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--taba-accent);
    display: block;
}
.stat-lbl {
    font-size: .78rem;
    color: rgba(255,255,255,.55);
}

.hero-img-wrap { position: relative; text-align: center; }
.hero-img-box {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(232,160,32,.2);
    border-radius: 16px;
    padding: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: rgba(255,255,255,.3);
    font-size: .85rem;
    min-height: 320px;
    width: 100%;
}
.hero-img-box i {
    font-size: 5rem;
    color: rgba(232,160,32,.3);
    margin-bottom: 12px;
}

/* ── Products ── */
.products-section { padding: 90px 0; background: var(--taba-light); }
.section-label {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--taba-accent);
    text-transform: uppercase;
    margin-bottom: 8px;
}
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--taba-dark);
    margin-bottom: 6px;
}
.section-sub { color: var(--taba-gray); font-size: .95rem; }

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow .25s, transform .25s;
    height: 100%;
}
.product-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,.12);
    transform: translateY(-4px);
}
.product-card-img {
    background: var(--taba-dark);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.product-card-img i { font-size: 4.5rem; color: rgba(232,160,32,.35); }
.product-cat-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--taba-accent);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}
.product-card-body { padding: 20px; }
.product-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--taba-dark);
    margin-bottom: 6px;
}
.product-card-desc {
    font-size: .85rem;
    color: var(--taba-gray);
    line-height: 1.7;
    margin-bottom: 16px;
}
.btn-card {
    font-size: .85rem;
    font-weight: 600;
    color: var(--taba-accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap .2s;
}
.btn-card:hover { gap: 10px; color: var(--taba-accent2); }

/* ── Certifications ── */
.certs-section { padding: 90px 0; background: #fff; }
.certs-section .section-title { color: var(--taba-dark); }

.cert-card {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 32px 20px;
    text-align: center;
    height: 100%;
    transition: border-color .25s, box-shadow .25s, transform .25s;
    background: #fff;
}
.cert-card:hover {
    border-color: var(--taba-accent);
    box-shadow: 0 8px 32px rgba(232,160,32,.12);
    transform: translateY(-4px);
}
.cert-icon {
    width: 72px;
    height: 72px;
    background: rgba(232,160,32,.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--taba-accent);
    margin: 0 auto 18px;
}
.cert-card h6 {
    font-weight: 700;
    font-size: 1rem;
    color: var(--taba-dark);
    margin-bottom: 8px;
}
.cert-card p {
    font-size: .83rem;
    color: var(--taba-gray);
    line-height: 1.7;
    margin-bottom: 12px;
}
.cert-badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    color: var(--taba-accent2);
    background: rgba(232,160,32,.1);
    border: 1px solid rgba(232,160,32,.25);
    padding: 3px 14px;
    border-radius: 20px;
}
.cert-note {
    background: var(--taba-light);
    border-right: 4px solid var(--taba-accent);
    border-radius: 8px;
    padding: 18px 20px;
    font-size: .88rem;
    color: var(--taba-gray);
    line-height: 1.8;
}

/* ── About ── */
.about-section { padding: 90px 0; background: var(--taba-light); }
.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}
.about-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(232,160,32,.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--taba-accent);
}
.about-feature h6 { font-weight: 700; margin-bottom: 4px; color: var(--taba-dark); }
.about-feature p { font-size: .85rem; color: var(--taba-gray); margin: 0; line-height: 1.7; }

/* ── Clients ── */
.clients-section { padding: 70px 0; background: var(--taba-dark); }
.clients-section .section-title { color: #fff; }
.clients-section .section-sub { color: rgba(255,255,255,.5); }
.client-logo {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    padding: 24px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.3);
    font-weight: 700;
    font-size: .9rem;
    min-height: 80px;
    transition: all .2s;
}
.client-logo:hover {
    background: rgba(232,160,32,.1);
    border-color: rgba(232,160,32,.3);
    color: var(--taba-accent);
}

/* ── CTA ── */
.cta-section {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--taba-accent) 0%, var(--taba-accent2) 100%);
    text-align: center;
}
.cta-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #fff;
}
.cta-section p { color: rgba(255,255,255,.85); font-size: 1rem; }
.btn-cta-white {
    background: #fff;
    color: var(--taba-accent2);
    font-weight: 700;
    padding: 13px 36px;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
    transition: opacity .2s, transform .15s;
}
.btn-cta-white:hover { opacity: .9; transform: translateY(-1px); color: var(--taba-accent2); }

/* ── Footer ── */
footer {
    background: #111;
    color: rgba(255,255,255,.6);
    padding: 50px 0 24px;
}
footer h6 { color: #fff; font-weight: 700; margin-bottom: 14px; }
footer a {
    color: rgba(255,255,255,.5);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    font-size: .88rem;
    transition: color .2s;
}
footer a:hover { color: var(--taba-accent); }
.footer-brand { font-size: 1.5rem; font-weight: 800; color: var(--taba-accent); }
.footer-brand span { color: #fff; }
.footer-divider { border-color: rgba(255,255,255,.08); margin: 28px 0 18px; }
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    color: rgba(255,255,255,.5);
    font-size: 1rem;
    text-decoration: none;
    transition: all .2s;
    margin-left: 8px;
}
.social-icon:hover {
    background: var(--taba-accent);
    border-color: var(--taba-accent);
    color: #fff;
}


.products-swiper {
    padding-bottom: 3rem;
}
.products-swiper .swiper-slide {
    height: auto;
    display: flex;
}
.products-swiper .product-card {
    width: 100%;
}
.products-swiper .swiper-pagination-bullet {
    background: #00baba;
    opacity: .4;
}
.products-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}


.single-product-section { padding: 60px 0; }

.product-gallery-swiper { border-radius: 16px; overflow: hidden; position: relative; }
.product-gallery-img { width: 100%; height: 450px; object-fit: cover; display: block; }
.product-gallery-placeholder {
    width: 100%; height: 450px; border-radius: 16px;
    background: #f5f5f5; display: flex; align-items: center; justify-content: center;
    font-size: 4rem; color: #ccc;
}

.product-gallery-swiper .swiper-button-next::after,
.product-gallery-swiper .swiper-button-prev::after { font-size: 1.2rem; }

.product-title { font-weight: 800; margin-bottom: 1rem; }
.product-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.product-short-desc { line-height: 1.9; color: #555; }

.product-share { display: flex; align-items: center; gap: 10px; margin-top: 1.5rem; }
.share-label { font-size: .9rem; color: #777; margin-left: 5px; }
.product-share .social-icon {
    width: 38px; height: 38px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; background: #f0f0f0;
    color: #555; border: none; cursor: pointer; transition: .2s;
}
.product-share .social-icon:hover { background: #00baba; color: #fff; }

.product-full-desc { border-top: 1px solid #eee; padding-top: 2rem; }
.section-title-sm { font-size: 1.4rem; font-weight: 800; }
.product-desc-content { line-height: 2; color: #555; }

.related-products-section { padding: 60px 0; background: #fafafa; }
.related-products-swiper { padding-bottom: 3rem; }
.related-products-swiper .swiper-slide { height: auto; display: flex; }
.related-products-swiper .product-card { width: 100%; }
.related-products-swiper .swiper-pagination-bullet { background: #00baba; opacity: .4; }
.related-products-swiper .swiper-pagination-bullet-active { opacity: 1; }

.dealers-page__title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.02em;
}
.dealers-page__desc {
    max-width: 560px;
    margin: 0.5rem auto 0;
    font-size: 1rem;
    color: #6b7280;
}
.dealer-filter-btn {
    font-size: 0.85rem;
    border-radius: 2rem;
    padding: 0.35rem 1rem;
    border-color: #d1d5db;
    color: #374151;
    background: #fff;
    transition: all 0.15s ease;
}
.dealer-filter-btn:hover {
    border-color: #111;
    color: #111;
    background: #f9fafb;
}
.dealer-filter-btn.active {
    background: #111;
    border-color: #111;
    color: #fff;
}

/* ── Table ── */
.dealers-table-wrap {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
}
.dealers-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    color: #1f2937;
}
.dealers-table thead tr {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}
.dealers-table thead th {
    padding: 0.85rem 1.1rem;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
    white-space: nowrap;
}
.dealers-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s ease;
}
.dealers-table tbody tr:last-child {
    border-bottom: none;
}
.dealers-table tbody tr:hover {
    background: #f9fafb;
}
.dealers-table tbody td {
    padding: 0.9rem 1.1rem;
    vertical-align: middle;
    line-height: 1.5;
}
.dealer-row__num {
    color: #9ca3af;
    font-size: 0.8rem;
    font-weight: 500;
    width: 2.5rem;
}
.dealer-row__name {
    font-weight: 600;
    color: #111;
    white-space: nowrap;
}
.dealer-state-tag {
    display: inline-block;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    border-radius: 2rem;
    padding: 0.2rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 500;
    white-space: nowrap;
}
.dealer-row__address {
    color: #6b7280;
    max-width: 280px;
}
.dealer-phone-link {
    color: #111;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.dealer-phone-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .dealers-table thead th:nth-child(4),
    .dealers-table tbody td:nth-child(4) { display: none; }
}
@media (max-width: 576px) {
    .dealers-table thead th:nth-child(3),
    .dealers-table tbody td:nth-child(3) { display: none; }
    .dealers-table-wrap { border-radius: 0.5rem; }
}