
@font-face {
  font-family: 'Arad';
  src: url('../font/Arad-MediumDots3.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary:       #2B3E8C;
  --primary-dark:  #1E2E6E;
  --primary-light: #3D52A6;
  --primary-bg:    #EEF1F9;
  --dark:          #1C1C1C;
  --dark-2:        #2D2D2D;
  --white:         #FFFFFF;
  --off-white:     #F8F9FA;
  --bg-gray:       #F0F2F5;
  --border:        #E4E8F0;
  --text:          #333333;
  --text-light:    #666666;
  --text-muted:    #999999;
  --shadow-sm:     0 1px 4px rgba(0,0,0,.07);
  --shadow:        0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:     0 8px 32px rgba(0,0,0,.14);
  --radius:        8px;
  --radius-lg:     12px;
  --radius-xl:     16px;
  --transition:    .2s ease;
  --font-fa:       'Arad', 'Vazirmatn', 'Tahoma', sans-serif;
  --font-en:       'Poppins', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-fa);
  background: var(--off-white);
  color: var(--text);
  line-height: 1.7;
  direction: rtl;
}
body.lang-en { font-family: var(--font-en); direction: ltr; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
input, textarea, select, button { font-family: inherit; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section { padding: 48px 0; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.35; color: var(--dark); }
h1 { font-size: clamp(1.4rem, 4vw, 2.1rem); }
h2 { font-size: clamp(1.1rem, 2.5vw, 1.6rem); }
h3 { font-size: 1rem; }

.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px; padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.section-header h2 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.section-header h2::before {
  content: ''; display: block; width: 4px; height: 20px;
  background: var(--primary); border-radius: 3px; flex-shrink: 0;
}
.section-header.white-header h2 { color: var(--white); }
.section-header.white-header h2::before { background: rgba(255,255,255,.6); }
.see-all {
  color: var(--primary); font-size: .78rem; font-weight: 600;
  display: flex; align-items: center; gap: 4px; white-space: nowrap;
  transition: gap var(--transition);
}
.see-all:hover { gap: 8px; }
.see-all.light { color: rgba(255,255,255,.8); }
.section-title { text-align: center; margin-bottom: 32px; }
.section-title h2 { margin-bottom: 8px; }
.section-title p  { color: var(--text-light); max-width: 520px; margin: 0 auto; font-size: .88rem; }
.section-title .line {
  width: 48px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px; margin: 10px auto 0;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--radius);
  font-weight: 600; font-size: .86rem;
  transition: var(--transition); cursor: pointer; border: 2px solid transparent;
}
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-dark { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn-dark:hover { background: var(--dark-2); transform: translateY(-1px); }
.btn-accent { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-accent:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-sm { padding: 6px 14px; font-size: .78rem; }
.btn-lg { padding: 12px 32px; font-size: .94rem; }

.header { position: sticky; top: 0; z-index: 1000; background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,.08); }

.header-top { background: var(--primary-dark); color: rgba(255,255,255,.75); font-size: .74rem; padding: 6px 0; }
.header-top .container { display: flex; align-items: center; justify-content: space-between; }
.header-top .contact-info { display: flex; gap: 16px; }
.header-top .contact-info span { display: flex; align-items: center; gap: 5px; }
.header-top .contact-info i { color: rgba(255,255,255,.5); }
.header-top .lang-switch { display: flex; gap: 4px; }
.header-top .lang-btn {
  padding: 2px 10px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.65); font-size: .7rem; transition: var(--transition);
}
.header-top .lang-btn:hover, .header-top .lang-btn.active {
  background: var(--white); color: var(--primary); border-color: var(--white);
}

.header-main { padding: 10px 0; border-bottom: 1px solid var(--border); }
.header-main .container { display: flex; align-items: center; gap: 16px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.logo-img { height: 40px; width: auto; object-fit: contain; }
.logo-icon {
  width: 42px; height: 42px; background: var(--primary); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.1rem; font-weight: 800;
}
.logo-text .name    { font-size: 1.1rem; font-weight: 800; color: var(--primary); line-height: 1.2; }
.logo-text .tagline { font-size: .62rem; color: var(--text-muted); }

.search-bar {
  flex: 1; max-width: 520px; display: flex;
  border: 2px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--white); transition: border-color var(--transition);
}
.search-bar:focus-within { border-color: var(--primary); }
.search-bar input {
  flex: 1; min-width: 0; padding: 9px 14px; border: none;
  background: transparent; font-size: .84rem; outline: none; color: var(--text);
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar button {
  padding: 0 16px; background: var(--primary); border: none;
  color: var(--white); cursor: pointer; font-size: .9rem; flex-shrink: 0;
  transition: background var(--transition);
}
.search-bar button:hover { background: var(--primary-dark); }

.header-nav { display: flex; align-items: center; gap: 2px; }
.header-nav a {
  padding: 6px 11px; border-radius: var(--radius);
  font-size: .79rem; font-weight: 500; color: var(--text-light);
  transition: var(--transition); white-space: nowrap;
}
.header-nav a:hover, .header-nav a.active { color: var(--primary); background: var(--primary-bg); }

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px; flex-shrink: 0;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }

.cat-nav { background: var(--white); border-bottom: 2px solid var(--border); overflow: hidden; }
.cat-nav .container {
  display: flex; align-items: stretch;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.cat-nav .container::-webkit-scrollbar { display: none; }
.cat-nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 13px; white-space: nowrap;
  font-size: .78rem; font-weight: 500; color: var(--text-light);
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: var(--transition); text-decoration: none; flex-shrink: 0;
}
.cat-nav-link i { font-size: .8rem; color: var(--primary); }
.cat-nav-link:hover, .cat-nav-link.active { color: var(--primary); border-bottom-color: var(--primary); }
.cat-nav-link.all-cats {
  background: var(--primary); color: var(--white);
  margin-bottom: 0; border-bottom: none; padding: 9px 16px;
}
.cat-nav-link.all-cats i { color: var(--white); }
.cat-nav-link.all-cats:hover { background: var(--primary-dark); color: var(--white); border-bottom-color: transparent; }

.mobile-nav {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(27,36,80,.98); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav .close-nav {
  position: absolute; top: 20px; left: 20px;
  background: none; border: none; color: var(--white); font-size: 1.8rem; cursor: pointer;
}
body.lang-en .mobile-nav .close-nav { left: auto; right: 20px; }
.mobile-nav a { color: var(--white); font-size: 1.2rem; font-weight: 600; padding: 8px 24px; }
.mobile-nav a:hover { color: rgba(255,255,255,.6); }

.hero { position: relative; overflow: hidden; background: var(--dark); }
.swiper-hero { width: 100%; }
.hero-img-link { display: block; line-height: 0; }
.hero-full-img {
  width: 100%; height: 480px;
  object-fit: cover; object-position: right center; display: block;
}
.hero-slide {
  min-height: 460px; position: relative;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to left, rgba(28,28,28,.05) 0%, rgba(28,28,28,.72) 100%);
}
body.lang-en .hero-overlay { background: linear-gradient(to right, rgba(28,28,28,.05) 0%, rgba(28,28,28,.72) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 560px; color: var(--white); padding: 56px 0; }
.hero-content .badge {
  display: inline-block; background: var(--primary); color: var(--white);
  padding: 3px 14px; border-radius: 4px; font-size: .74rem; font-weight: 700; margin-bottom: 12px;
}
.hero-content h1 { color: var(--white); margin-bottom: 12px; }
.hero-content p { color: rgba(255,255,255,.85); margin-bottom: 22px; font-size: .96rem; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }

.swiper-pagination-bullet { background: rgba(255,255,255,.5) !important; }
.swiper-pagination-bullet-active { background: var(--primary) !important; width: 20px !important; border-radius: 4px !important; }
.swiper-button-next, .swiper-button-prev {
  color: var(--white) !important; background: var(--primary) !important;
  width: 38px !important; height: 38px !important; border-radius: var(--radius) !important;
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 13px !important; font-weight: 900 !important; }

.trust-bar { padding: 14px 0; background: var(--bg-gray); border-bottom: 1px solid var(--border); }
.trust-grid { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 20px; border-left: 1px solid var(--border);
}
body.lang-en .trust-item { border-left: none; border-right: 1px solid var(--border); }
.trust-item:last-child { border-left: none; }
body.lang-en .trust-item:last-child { border-right: none; }
.trust-item .t-icon {
  width: 36px; height: 36px; background: var(--primary-bg); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: .95rem; flex-shrink: 0;
}
.trust-item .t-text strong { display: block; font-size: .76rem; font-weight: 700; color: var(--dark); }
.trust-item .t-text span  { font-size: .68rem; color: var(--text-muted); }

.cat-banner-swiper { padding: 20px 0; background: var(--white); }
.swiper-cat-banners .swiper-slide { width: auto !important; }
.cat-banner-slide { display: block; border-radius: var(--radius-lg); overflow: hidden; line-height: 0; }
.cat-banner-slide img {
  height: 200px; width: auto; min-width: 300px; max-width: 480px;
  object-fit: cover; display: block;
  transition: transform .35s ease;
}
.cat-banner-slide:hover img { transform: scale(1.03); }

.fp-divider { position: relative; overflow: hidden; padding: 28px 0; }
.fp-divider.fp-blue { background: var(--primary); }
.fp-divider.fp-dark { background: var(--dark); }
.fp-svg {
  position: absolute; top: 50%; transform: translateY(-50%);
  height: 300%; opacity: 1; pointer-events: none;
}
.fp-svg.left  { left: -40px; }
.fp-svg.right { right: -40px; transform: translateY(-50%) scaleX(-1); }
.fp-content {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap;
}
.fp-stat { text-align: center; color: var(--white); }
.fp-stat .fp-num   { font-size: 2rem; font-weight: 800; line-height: 1; }
.fp-stat .fp-label { font-size: .75rem; color: rgba(255,255,255,.7); margin-top: 4px; }

.products-swiper-section { padding: 32px 0; }
.products-swiper-section.on-dark { background: var(--dark); }

.pcard {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1.5px solid var(--border); overflow: hidden;
  transition: var(--transition); display: block; text-decoration: none;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.pcard-img { aspect-ratio: 1/1; overflow: hidden; background: var(--bg-gray); position: relative; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.pcard:hover .pcard-img img { transform: scale(1.06); }
.pcard-foot {
  padding: 8px 10px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.pcard-num  { font-size: .65rem; color: var(--text-muted); }
.pcard-view { font-size: .7rem; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 3px; }

.pcard.dk { background: #262626; border-color: #3a3a3a; }
.pcard.dk .pcard-foot { border-top-color: #3a3a3a; background: #222; }
.pcard.dk .pcard-view { color: #7B8FCC; }
.pcard.dk .pcard-num  { color: #666; }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.product-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); border: 1.5px solid var(--border);
  overflow: hidden; transition: var(--transition);
  display: flex; flex-direction: column; text-decoration: none;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--primary); }
.product-card .img-wrap { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--bg-gray); }
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.product-card:hover .img-wrap img { transform: scale(1.05); }
.product-card .badge-featured {
  position: absolute; top: 10px; right: 10px;
  background: var(--primary); color: var(--white);
  padding: 2px 9px; border-radius: 4px; font-size: .7rem; font-weight: 700;
}
body.lang-en .product-card .badge-featured { right: auto; left: 10px; }
.product-card .card-body { padding: 12px 14px 8px; flex: 1; }
.product-card .cat-label  { font-size: .68rem; color: var(--primary); font-weight: 700; margin-bottom: 5px; }
.product-card h3          { font-size: .86rem; color: var(--dark); margin-bottom: 5px; line-height: 1.45; }
.product-card p           { font-size: .74rem; color: var(--text-light); }
.product-card .card-footer {
  padding: 9px 14px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.product-card .brand    { font-size: .7rem; color: var(--text-muted); background: var(--bg-gray); padding: 2px 8px; border-radius: 4px; }
.product-card .view-btn { font-size: .74rem; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 4px; }
.no-image { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--bg-gray); color: var(--border); font-size: 2.5rem; }

.brands-section { padding: 24px 0; background: var(--white); border-bottom: 1px solid var(--border); }
.swiper-brands .swiper-slide { width: auto !important; }
.brand-slide {
  display: flex; align-items: center; justify-content: center;
  padding: 10px 16px; width: 140px; height: 70px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  background: var(--white); transition: var(--transition);
  filter: grayscale(50%); opacity: .65;
}
.brand-slide:hover { border-color: var(--primary); filter: grayscale(0); opacity: 1; box-shadow: var(--shadow-sm); }
.brand-slide img { max-height: 42px; width: auto; max-width: 100px; object-fit: contain; margin: 0 auto; }
.brand-slide .brand-name { font-size: .78rem; font-weight: 700; color: var(--text-light); text-align: center; }

.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.cat-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 16px; text-align: center;
  transition: var(--transition); display: block; text-decoration: none;
}
.cat-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-4px); }
.cat-card .icon {
  width: 58px; height: 58px; margin: 0 auto 12px;
  background: var(--primary-bg); border: 2px solid var(--primary);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--primary); transition: var(--transition);
}
.cat-card:hover .icon { background: var(--primary); color: var(--white); }
.cat-card .cat-img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; }
.cat-card h3    { color: var(--dark); margin-bottom: 5px; font-size: .88rem; }
.cat-card p     { color: var(--text-light); font-size: .74rem; }
.cat-card .count { display: inline-block; margin-top: 8px; background: var(--primary-bg); color: var(--primary); padding: 2px 10px; border-radius: 50px; font-size: .7rem; font-weight: 700; }

.home-banners { padding: 28px 0; }
.banners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.banner-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 16/7; }
.banner-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.banner-card:hover img { transform: scale(1.03); }
.banner-card .overlay { position: absolute; inset: 0; background: linear-gradient(to left, transparent 40%, rgba(28,28,28,.45) 100%); }
.banner-card .title { position: absolute; bottom: 14px; right: 14px; color: var(--white); font-weight: 700; font-size: .9rem; }
body.lang-en .banner-card .title { right: auto; left: 14px; }

.about-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-img { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.about-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.about-img-badge {
  position: absolute; bottom: 20px; right: 20px;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 12px 18px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
}
.about-img-badge .ab-icon { width: 38px; height: 38px; border-radius: 9px; background: var(--primary-bg); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.1rem; }
.about-img-badge .ab-num { font-size: 1.2rem; font-weight: 800; color: var(--dark); line-height: 1; }
.about-img-badge .ab-label { font-size: .72rem; color: var(--text-light); }
.about-text h2 { margin-bottom: 12px; }
.about-text p  { color: var(--text-light); margin-bottom: 12px; font-size: .88rem; line-height: 1.85; }
.features-list { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.feature-item { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: var(--radius); background: var(--off-white); border: 1px solid var(--border); transition: border-color var(--transition); }
.feature-item:hover { border-color: var(--primary); }
.feature-item .fi-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--primary-bg); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: .95rem; flex-shrink: 0; }
.feature-item span { font-size: .85rem; font-weight: 600; color: var(--dark); }

/* Stats Bar — About page */
.stats-bar { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); padding: 48px 0; margin-top: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 16px; position: relative; }
.stat-item:not(:last-child)::after {
  content: ''; position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 1px; background: rgba(255,255,255,.18);
}
body[dir=rtl] .stat-item:not(:last-child)::after { left: auto; right: 0; }
.stat-item .num { font-size: 2.4rem; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 6px; }
.stat-item .label { font-size: .82rem; color: rgba(255,255,255,.7); font-weight: 500; }

.product-detail { padding: 40px 0; }
.product-detail .breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .76rem; color: var(--text-light); margin-bottom: 24px; flex-wrap: wrap; }
.product-detail .breadcrumb a { color: var(--primary); }
.product-detail .breadcrumb span { color: var(--text-muted); }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.product-gallery .main-img { aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden; border: 1.5px solid var(--border); margin-bottom: 12px; }
.product-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-thumbs img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; border: 1.5px solid var(--border); cursor: pointer; transition: border-color var(--transition); }
.gallery-thumbs img:hover, .gallery-thumbs img.active { border-color: var(--primary); }
.product-info h1 { margin-bottom: 8px; }
.product-info .meta { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; font-size: .79rem; flex-wrap: wrap; }
.product-info .meta .category-link { color: var(--primary); font-weight: 600; }
.product-info .meta .brand { color: var(--text-muted); background: var(--bg-gray); padding: 2px 8px; border-radius: 4px; }
.product-info .description { color: var(--text-light); margin-bottom: 16px; line-height: 1.8; font-size: .88rem; }
.specs-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.specs-table tr:nth-child(even) td { background: var(--off-white); }
.specs-table td { padding: 9px 14px; border-bottom: 1px solid var(--border); font-size: .85rem; }
.specs-table td:first-child { font-weight: 600; color: var(--dark); width: 40%; }
.contact-cta { background: var(--primary-bg); border: 1.5px solid var(--primary); border-radius: var(--radius); padding: 16px; display: flex; align-items: center; gap: 14px; }
.contact-cta .icon { font-size: 1.7rem; color: var(--primary); }
.contact-cta h4 { margin-bottom: 3px; font-size: .9rem; }
.contact-cta p  { font-size: .8rem; color: var(--text-light); }

.page-header { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); padding: 40px 0; color: var(--white); }
.page-header h1 { color: var(--white); margin-bottom: 8px; }
.page-header .breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .8rem; color: rgba(255,255,255,.6); flex-wrap: wrap; }
.page-header .breadcrumb a { color: rgba(255,255,255,.85); }
.page-header .breadcrumb a:hover { color: var(--white); }

.filter-bar {
  background: var(--white); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 24px;
  box-shadow: var(--shadow-sm); border: 1.5px solid var(--border);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.filter-bar .filter-label { font-weight: 700; color: var(--dark); font-size: .82rem; }
.filter-chips { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.chip { padding: 5px 14px; border-radius: 50px; border: 1.5px solid var(--border); font-size: .76rem; color: var(--text-light); cursor: pointer; transition: var(--transition); text-decoration: none; }
.chip:hover, .chip.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.filter-search input { padding: 7px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: .82rem; }
.filter-search input:focus { outline: none; border-color: var(--primary); }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); border: 1.5px solid var(--border); font-size: .82rem; transition: var(--transition); }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active { background: var(--primary); color: var(--white); border-color: var(--primary); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-box { display: flex; flex-direction: column; gap: 18px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item .icon { width: 44px; height: 44px; border-radius: 10px; background: var(--primary-bg); border: 1.5px solid var(--primary); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1rem; flex-shrink: 0; }
.info-item h4 { font-size: .86rem; margin-bottom: 3px; }
.info-item p  { color: var(--text-light); font-size: .82rem; }

.card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); border: 1.5px solid var(--border);
}
.card-header {
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.card-header h3, .card-header h4 { font-size: .95rem; margin: 0; }
.card-body { padding: 22px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .83rem; font-weight: 600; color: var(--dark); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: .86rem; color: var(--text);
  background: var(--white); font-family: inherit;
  transition: border-color var(--transition); outline: none; width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(43,62,140,.08);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }

.alert-success-big {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border: 2px solid #34d399; border-radius: var(--radius-lg);
  padding: 32px 24px; text-align: center; color: #065f46;
}
.alert-success-big .icon { font-size: 2.8rem; color: #10b981; margin-bottom: 12px; }
.alert-success-big h3 { color: #065f46; margin-bottom: 8px; }
.alert-success-big p  { font-size: .88rem; color: #047857; }

.footer { background: var(--primary-dark); color: rgba(255,255,255,.75); }
.footer-main { padding: 44px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 32px; }
.footer-col h4 { color: var(--white); font-size: .88rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid rgba(255,255,255,.15); display: inline-block; }
.footer-col p { font-size: .78rem; line-height: 1.9; margin-bottom: 12px; color: rgba(255,255,255,.55); }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: .78rem; color: rgba(255,255,255,.55); transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-col ul li a i { color: rgba(255,255,255,.3); font-size: .7rem; }
.footer-col ul li a:hover { color: var(--white); padding-right: 4px; }
body.lang-en .footer-col ul li a:hover { padding-right: 0; padding-left: 4px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo-img { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: .85; }
.footer-logo .icon { width: 34px; height: 34px; background: rgba(255,255,255,.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: .9rem; font-weight: 800; }
.footer-logo .name { font-size: .95rem; font-weight: 800; color: var(--white); }
.socials { display: flex; gap: 7px; margin-top: 12px; flex-wrap: wrap; }
.social-btn { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font-size: .85rem; transition: var(--transition); }
.social-btn:hover { background: var(--primary-light); color: var(--white); transform: translateY(-2px); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: .78rem; color: rgba(255,255,255,.55); }
.footer-contact li i { margin-top: 3px; color: rgba(255,255,255,.35); flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 14px 0; text-align: center; font-size: .72rem; color: rgba(255,255,255,.3); }

#back-to-top {
  position: fixed; bottom: 22px; left: 22px; z-index: 999;
  width: 40px; height: 40px; border-radius: var(--radius);
  background: var(--primary); color: var(--white);
  border: none; cursor: pointer; font-size: .9rem;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transition: var(--transition); display: flex; align-items: center; justify-content: center;
}
body.lang-en #back-to-top { left: auto; right: 22px; }
#back-to-top.visible { opacity: 1; pointer-events: all; }
#back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 12px; font-size: .85rem; }
.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #6EE7B7; }
.alert-error   { background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in-up { animation: fadeInUp .45s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }

.skeleton { background: linear-gradient(90deg, var(--bg-gray) 25%, var(--border) 50%, var(--bg-gray) 75%); background-size: 200% 100%; animation: skeleton 1.5s infinite; border-radius: var(--radius); }
@keyframes skeleton { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .product-detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
}
@media (max-width: 768px) {
  .section { padding: 32px 0; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .hero-full-img { height: 240px; }
  .hero-slide { min-height: 260px; }
  .header-top .contact-info span:nth-child(n+2) { display: none; }
  .cat-banner-slide img { height: 140px; min-width: 200px; }
  .fp-divider { padding: 20px 0; }
  .fp-stat .fp-num { font-size: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item .num { font-size: 1.8rem; }
  .about-img-badge { bottom: 12px; right: 12px; padding: 8px 12px; }
  .trust-grid { display: grid !important; grid-template-columns: 1fr 1fr; }
  .trust-item {
    display: flex !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border);
    padding: 10px 14px;
  }
  .trust-item:nth-child(2n) { border-right: 1px solid var(--border) !important; }
}
@media (max-width: 640px) {
  .header-main .container { flex-wrap: wrap; row-gap: 8px; padding-bottom: 10px; }
  .logo { flex: 1; min-width: 0; }
  .search-bar { order: 10; width: 100%; max-width: 100%; }
  .hamburger { flex-shrink: 0; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-full-img { height: 180px; }
  .trust-item { display: flex !important; }
  .fp-content { gap: 14px 20px; justify-content: space-around; }
  .fp-stat { flex: 0 0 28%; }
  .swiper-button-next, .swiper-button-prev {
    width: 30px !important; height: 30px !important;
  }
  .swiper-button-next::after, .swiper-button-prev::after { font-size: 10px !important; }
  .header-top .contact-info { display: none; }
}

/* ═══════════════════════════════════════════════
   HERO REDESIGN
═══════════════════════════════════════════════ */
.hero-redesign { position: relative; height: 560px; overflow: hidden; display: flex; align-items: center; }
.hero-redesign .swiper-hero { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-redesign .hero-full-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-redesign .hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to left, rgba(5,10,35,.05) 0%, rgba(5,10,35,.75) 100%);
}
body.lang-en .hero-redesign .hero-overlay {
  background: linear-gradient(to right, rgba(5,10,35,.05) 0%, rgba(5,10,35,.75) 100%);
}
.hero-ui {
  position: relative; z-index: 2;
  width: 100%; display: flex; flex-direction: column;
  justify-content: center; height: 100%;
  padding-top: 40px; padding-bottom: 80px;
  gap: 0;
}
.hero-content { max-width: 580px; }
.hero-content .badge {
  display: inline-block; background: rgba(255,255,255,.18);
  backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-size: .74rem; font-weight: 600;
  padding: 5px 16px; border-radius: 50px; margin-bottom: 14px;
  letter-spacing: .02em;
}
.hero-content h1 {
  font-size: 2.8rem; font-weight: 800; color: #fff;
  margin-bottom: 12px; line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.hero-content p {
  color: rgba(255,255,255,.82); font-size: .92rem;
  margin-bottom: 24px; max-width: 460px;
}
.hero-search-bar {
  display: flex; align-items: center;
  background: rgba(255,255,255,.97);
  border-radius: var(--radius-lg); overflow: hidden;
  max-width: 460px; margin-bottom: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
}
.hero-search-bar i { padding: 0 14px; color: var(--text-muted); font-size: .9rem; }
.hero-search-bar input { flex: 1; padding: 13px 4px; border: none; background: transparent; font-family: inherit; font-size: .88rem; outline: none; color: var(--dark); }
.hero-search-bar button { padding: 13px 22px; background: var(--primary); color: #fff; border: none; cursor: pointer; font-family: inherit; font-weight: 700; font-size: .86rem; transition: var(--transition); white-space: nowrap; }
.hero-search-bar button:hover { background: var(--primary-dark); }
.hero-quick-links { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hero-quick-links span { font-size: .74rem; color: rgba(255,255,255,.65); }
.hero-quick-links a { font-size: .74rem; color: rgba(255,255,255,.88); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 4px 12px; border-radius: 50px; transition: var(--transition); }
.hero-quick-links a:hover { background: rgba(255,255,255,.25); color: #fff; }

.hero-stats-strip {
  position: absolute; bottom: 0; right: 0; left: 0;
  background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center; gap: 0;
}
.hs-item { display: flex; flex-direction: column; align-items: center; padding: 12px 28px; border-left: 1px solid rgba(255,255,255,.15); }
.hs-item:first-child { border-right: none; }
body[dir=rtl] .hs-item { border-left: none; border-right: 1px solid rgba(255,255,255,.15); }
body[dir=rtl] .hs-item:last-child { border-right: none; }
.hs-num { font-size: 1.4rem; font-weight: 800; color: #fff; line-height: 1; }
.hs-lbl { font-size: .7rem; color: rgba(255,255,255,.7); margin-top: 3px; }

@media (max-width: 768px) {
  .hero-redesign { height: 420px; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-search-bar { max-width: 100%; }
  .hero-stats-strip { display: none; }
  .hero-quick-links { display: none; }
}
@media (max-width: 480px) {
  .hero-redesign { height: 340px; }
  .hero-content h1 { font-size: 1.4rem; }
  .hero-content p { display: none; }
}

/* ═══════════════════════════════════════════════
   PRODUCTS LAYOUT WITH SIDEBAR
═══════════════════════════════════════════════ */
.products-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
body.lang-en .products-layout { grid-template-columns: 1fr 260px; }
body.lang-en .products-layout .filter-sidebar { order: 2; }
body.lang-en .products-layout .products-main { order: 1; }

.filter-sidebar {
  position: sticky; top: 90px;
  background: var(--white); border-radius: var(--radius-lg);
  border: 1.5px solid var(--border); box-shadow: var(--shadow-sm);
  max-height: calc(100vh - 110px); overflow-y: auto;
}
.sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--white); z-index: 1;
}
.sidebar-header h3 { font-size: .88rem; margin: 0; display: flex; align-items: center; gap: 7px; }
.sidebar-clear { font-size: .74rem; color: var(--primary); cursor: pointer; }
.filter-section { border-bottom: 1px solid var(--border); }
.filter-section-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; cursor: pointer; font-size: .84rem; font-weight: 600;
  color: var(--dark); user-select: none; transition: background var(--transition);
}
.filter-section-header:hover { background: var(--off-white); }
.filter-section-header i { font-size: .7rem; color: var(--text-muted); transition: transform .2s; }
.filter-section-body { padding: 4px 16px 12px; display: none; }
.filter-option { display: flex; align-items: center; gap: 8px; padding: 5px 0; cursor: pointer; font-size: .82rem; color: var(--text); }
.filter-option input[type=radio], .filter-option input[type=checkbox] { accent-color: var(--primary); width: 14px; height: 14px; flex-shrink: 0; cursor: pointer; }
.filter-option:hover { color: var(--primary); }
.filter-wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-option-chip input { display: none; }
.filter-option-chip span {
  display: block; padding: 4px 10px; border-radius: 50px;
  border: 1.5px solid var(--border); font-size: .74rem;
  cursor: pointer; transition: var(--transition);
}
.filter-option-chip input:checked + span { background: var(--primary); color: #fff; border-color: var(--primary); }
.filter-option-chip span:hover { border-color: var(--primary); color: var(--primary); }

/* Active filter chips */
.active-filter-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary-bg); color: var(--primary);
  border: 1px solid var(--primary); border-radius: 50px;
  font-size: .74rem; padding: 3px 10px;
}
.active-filter-chip a { color: var(--primary); font-weight: 700; margin-right: 2px; }
.active-filter-chip a:hover { color: var(--red, #ef4444); }

/* Product grid 3 columns inside sidebar layout */
.products-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Badges */
.badge-kl {
  position: absolute; top: 8px; left: 8px;
  background: #b45309; color: #fff;
  font-size: .6rem; font-weight: 700;
  padding: 2px 7px; border-radius: 4px;
}

@media (max-width: 1024px) {
  .products-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: relative; top: auto; max-height: none; }
  body.lang-en .products-layout .filter-sidebar { order: 1; }
  body.lang-en .products-layout .products-main { order: 2; }
  .products-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .products-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════
   BRANDS PAGE
═══════════════════════════════════════════════ */
.brands-page-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.brand-page-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition); display: flex; flex-direction: column;
}
.brand-page-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.brand-logo-wrap {
  height: 120px; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: var(--off-white);
}
.brand-logo-wrap img { max-height: 60px; max-width: 100%; object-fit: contain; filter: grayscale(.4); transition: filter var(--transition); }
.brand-page-card:hover .brand-logo-wrap img { filter: grayscale(0); }
.brand-logo-fallback { font-size: 1.1rem; font-weight: 800; color: var(--primary); }
.brand-card-body { padding: 14px 16px; flex: 1; }
.brand-card-body h3 { font-size: .92rem; margin-bottom: 4px; }
.brand-country { font-size: .72rem; color: var(--text-muted); display: block; margin-bottom: 8px; }
.brand-card-body p {
  font-size: .78rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
  height: auto;
  max-height: none;
  overflow: visible;
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}
.brand-card-footer { padding: 10px 16px; border-top: 1px solid var(--border); }
.see-products { font-size: .78rem; color: var(--primary); font-weight: 600; display: flex; align-items: center; gap: 5px; }

/* ═══════════════════════════════════════════════
   CATALOGS PAGE
═══════════════════════════════════════════════ */
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.catalog-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: var(--transition);
}
.catalog-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.catalog-cover { aspect-ratio: 3/4; max-height: 220px; background: var(--off-white); position: relative; overflow: hidden; }
.catalog-cover img { width: 100%; height: 100%; object-fit: cover; }
.catalog-cover-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--primary); opacity: .3; }
.catalog-brand-badge {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,.6); color: #fff;
  font-size: .65rem; padding: 3px 8px; border-radius: 4px;
}
.catalog-body { padding: 14px 16px; flex: 1; }
.catalog-body h3 { font-size: .88rem; margin-bottom: 6px; }
.catalog-body p { font-size: .76rem; color: var(--text-light); margin-bottom: 8px; }
.catalog-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: .7rem; color: var(--text-muted); }
.catalog-meta i { color: var(--primary); margin-left: 3px; }
.catalog-footer { padding: 10px 16px; border-top: 1px solid var(--border); }
.magazine-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.article-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: var(--transition);
}
.article-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.article-cover { aspect-ratio: 16/9; background: var(--off-white); position: relative; overflow: hidden; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.article-card:hover .article-cover img { transform: scale(1.04); }
.article-cover-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; color: var(--primary); opacity: .25; }
.article-tag-badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--primary); color: #fff;
  font-size: .65rem; font-weight: 700; padding: 3px 10px; border-radius: 50px;
}
.article-body { padding: 14px 16px; flex: 1; }
.article-body h3 { font-size: .9rem; margin-bottom: 6px; line-height: 1.5; }
.article-body p { font-size: .78rem; color: var(--text-light); line-height: 1.6; margin-bottom: 10px; }
.article-meta { display: flex; gap: 12px; font-size: .7rem; color: var(--text-muted); }
.article-meta i { color: var(--primary); margin-left: 4px; }

/* Article Detail */
.article-detail-grid { display: grid; grid-template-columns: 1fr 280px; gap: 32px; align-items: start; }
.article-body-content h2, .article-body-content h3 { margin: 20px 0 10px; }
.article-body-content p { margin-bottom: 14px; line-height: 1.9; }
.article-body-content img { max-width: 100%; border-radius: var(--radius); margin: 12px 0; }
@media (max-width: 900px) {
  .article-detail-grid { grid-template-columns: 1fr; }
}
