/**
 * Faithful index-3 presentation in Persian.
 *
 * This layer deliberately follows the original source stylesheet. It only
 * supplies the Kahroba brand token, Persian typography, and the physical
 * direction fixes that Bootstrap's LTR build cannot infer from dir="rtl".
 */

:root {
  --at-theme-primary: #c88a20;
  --at-ff-body: Yekan Bakh FaNum, IRANSansX, Tahoma, Arial, sans-serif;
  --at-ff-heading: Yekan Bakh FaNum, IRANSansX, Tahoma, Arial, sans-serif;
}

/* Keep the animated viewport, slide, and logo canvas at the same height. */
.at-brand-scroll .brand-logo-viewport {
  block-size: 70px;
}

.at-brand-scroll .brand-logo-slide.kahroba-theme-logo {
  position: relative;
  inline-size: 100%;
  block-size: 70px;
  min-block-size: 70px;
}

.at-brand-scroll .brand-logo-slide.kahroba-theme-logo img {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  max-inline-size: 100%;
  max-block-size: 100%;
  object-fit: contain;
}

/* Only the active colour-scheme asset can occupy a logo slide. */
.at-brand-scroll .brand-logo-slide.kahroba-theme-logo .kahroba-theme-logo__dark {
  display: none !important;
}

[data-bs-theme="dark"] .at-brand-scroll .brand-logo-slide.kahroba-theme-logo .kahroba-theme-logo__light {
  display: none !important;
}

[data-bs-theme="dark"] .at-brand-scroll .brand-logo-slide.kahroba-theme-logo .kahroba-theme-logo__dark {
  display: block !important;
}

@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 574.98px) {
  .at-brand-scroll .brand-logo-viewport,
  .at-brand-scroll .brand-logo-slide.kahroba-theme-logo {
    block-size: 60px;
    min-block-size: 60px;
  }
}

/* Theme surfaces fade together without animating layout or media. */
body,
.site-header .kahroba-site-header,
.ki-page,
.kahroba-product,
.kahroba-project-detail,
.site-footer,
.ki-page :is(a, button, input, select, textarea),
.kahroba-product :is(a, button, input, select, textarea),
.kahroba-project-detail :is(a, button) {
  transition: background-color 280ms cubic-bezier(.22, 1, .36, 1), color 280ms cubic-bezier(.22, 1, .36, 1), border-color 280ms cubic-bezier(.22, 1, .36, 1), box-shadow 280ms cubic-bezier(.22, 1, .36, 1);
}

/* Fixed control bar stays quiet against interior page surfaces. */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 1000;
}

.site-header .kahroba-site-header {
  position: relative;
  z-index: 1000;
  background: rgba(250, 250, 247, .96);
  border-block-end: 1px solid rgba(21, 35, 40, .1);
  box-shadow: 0 2px 12px rgba(21, 35, 40, .05);
  color: #152328;
  transition: box-shadow 180ms ease, background-color 180ms ease;
}

[data-bs-theme="dark"] .site-header .kahroba-site-header {
  background: #000;
  border-block-end-color: rgba(245, 245, 247, .14);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .3);
  color: #f5f5f7;
}

.site-header .kahroba-site-header::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  block-size: 1px;
  background: #c88a20;
  opacity: .55;
}

.site-header .kahroba-site-header :is(a, button, .at-header-search-btn) { color: inherit; }
.site-header .kahroba-site-header .at-btn { color: #fff; background: #152328; }
.site-header .kahroba-site-header .at-btn:hover { color: #fff; }
.site-header .kahroba-site-header .kahroba-header-cart__count { border-color: #fafaf7; }
[data-bs-theme="dark"] .site-header .kahroba-site-header .at-btn { background: #f5f5f7; color: #000; }
[data-bs-theme="dark"] .site-header .kahroba-site-header .at-btn:hover { color: #000; }
[data-bs-theme="dark"] .site-header .kahroba-site-header .kahroba-header-cart__count { border-color: #000; }

.site-header .kahroba-site-header .dark-light-mode { display: block; }
.site-header .kahroba-site-header .theme-toggle { transform: scale(.82); }

/* The homepage header and opening section share the solar installation scene. */
body.home .site-header .kahroba-site-header {
  background-color: rgba(250, 250, 247, .24);
  background-image: none;
  border-block-end-color: rgba(21, 35, 40, .14);
  box-shadow: 0 2px 12px rgba(9, 29, 42, .08);
  color: #152328;
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
}

body.home .site-header .kahroba-site-header .at-btn { background: #c88a20; }
body.home .site-header .kahroba-site-header .at-btn:hover { color: #fff; }
body.home .sec-1-home-3 {
  background-color: #d7edf5;
  background-image: url("../images/hero-bg.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

body.home .sec-1-home-3 .neutral-500 {
  color: rgba(21, 35, 40, .9) !important;
}

/* Keep the hero content legible as the visitor switches colour schemes. */
[data-bs-theme="dark"] body.home .site-header .kahroba-site-header {
  background-color: rgba(3, 14, 22, .3);
  background-image: none;
  border-block-end-color: rgba(255, 255, 255, .2);
  color: #fff;
}

[data-bs-theme="dark"] body.home .sec-1-home-3 {
  background-color: #0b1b24;
  background-image: linear-gradient(90deg, rgba(3, 14, 22, .88) 0%, rgba(3, 14, 22, .68) 54%, rgba(3, 14, 22, .42) 100%), url("../images/hero-bg.webp");
  color: #fff;
}

[data-bs-theme="dark"] body.home .sec-1-home-3 h1,
[data-bs-theme="dark"] body.home .sec-1-home-3 .common-black {
  color: #fff !important;
}

[data-bs-theme="dark"] body.home .sec-1-home-3 .neutral-500 {
  color: rgba(255, 255, 255, .8) !important;
}

.kahroba-home-stats {
  direction: rtl;
  flex-wrap: wrap;
  padding-inline: 1.25rem;
}

.kahroba-home-stat {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: .3rem;
  color: rgba(255, 255, 255, .78);
  white-space: nowrap;
}

.kahroba-home-stat__number {
  display: inline-block;
  color: var(--at-theme-primary);
  font-size: clamp(1.05rem, 1.75vw, 1.7rem);
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  line-height: 1;
  transition: color 280ms cubic-bezier(.22, 1, .36, 1), transform 280ms cubic-bezier(.22, 1, .36, 1);
}

.kahroba-home-stat__plus {
  color: var(--at-theme-primary);
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.55rem);
  font-weight: 650;
  line-height: 1;
}

.kahroba-home-stat__label {
font-size: clamp(1.8rem, 2vw, 1.8rem);
  font-weight: 500;
}

.kahroba-home-stats [data-counter-complete="true"] {
  transform: translateY(-2px);
}

@media (max-width: 575.98px) {
  .kahroba-home-stats {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 1rem !important;
  }
}

.home-3-section-8 {
  background-color: rgba(12, 29, 38, .17);
}

.kahroba-trust-partners > .d-inline-flex {
  display: none !important;
}

.kahroba-trust-partners > .d-inline-flex:first-of-type {
  display: inline-flex !important;
}

.kahroba-equipment-brands > .d-inline-flex {
  display: none !important;
}

.kahroba-equipment-brands > .d-inline-flex:first-of-type {
  display: inline-flex !important;
}

.kahroba-mobile-newsletter .input-subscribe {
  padding: .75rem 5.1rem .75rem 1rem;
  border: 1px solid rgba(21, 35, 40, .14);
  border-radius: .9rem;
  box-shadow: 0 12px 30px rgba(21, 35, 40, .08);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.kahroba-mobile-newsletter .input-subscribe:focus-within {
  border-color: var(--at-theme-primary);
  box-shadow: 0 14px 34px rgba(200, 138, 32, .17);
}

.kahroba-mobile-newsletter .input-subscribe input {
  min-block-size: 2.8rem;
  color: #152328;
  font-family: "DM Sans", Yekan Bakh FaNum, sans-serif;
  font-size: 1rem;
  letter-spacing: .04em;
  text-align: left;
}

.kahroba-mobile-newsletter .input-subscribe input::placeholder {
  color: #3e4a46 !important;
  font-family: Yekan Bakh FaNum, IRANSansX, Tahoma, Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 1 !important;
  text-align: right;
}

.kahroba-mobile-newsletter .input-subscribe button {
  display: grid;
  place-items: center;
  inline-size: 3.25rem;
  block-size: 3.25rem;
  margin-inline-start: .45rem !important;
  border: 0;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.kahroba-mobile-newsletter .input-subscribe button:hover {
  background: var(--at-theme-primary) !important;
  transform: translateY(-50%) translateX(-2px);
}

.kahroba-mobile-newsletter #kahroba-newsletter-note {
  color: #68706d;
  font-size: .78rem;
  line-height: 1.8;
}

.site-footer .at-footer-area { padding-block: clamp(3rem, 6vw, 6rem) 0; background: var(--at-neutral-950, #171717) !important; }
.kahroba-footer-cta { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding-block-end: clamp(2.5rem, 5vw, 5rem); color: #fff; }
.kahroba-footer-cta > div > span, .kahroba-footer-layout h3 { display: block; margin-block-end: .9rem; color: rgba(255, 255, 255, .5); font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
.kahroba-footer-cta h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 5.6rem); font-weight: 500; line-height: .95; }
.kahroba-footer-cta h2 em { color: var(--at-theme-primary); font-style: normal; }
.kahroba-footer-cta > a { display: inline-flex; align-items: center; gap: .7rem; flex: 0 0 auto; padding: .85rem 1rem; border: 1px solid var(--at-theme-primary); color: #fff; text-decoration: none; transition: background-color 200ms ease, color 200ms ease; }
.kahroba-footer-cta > a span { font-size: 1.2rem; transition: transform 200ms ease; }
.kahroba-footer-cta > a:hover { background: var(--at-theme-primary); color: #152328; }
.kahroba-footer-cta > a:hover span { transform: translate(-3px, -3px); }
.kahroba-footer-layout { display: grid; grid-template-columns: 1.35fr 1.1fr 1.2fr .8fr; border-block: 1px solid rgba(255, 255, 255, .14); }
.kahroba-footer-layout > * { min-block-size: 23rem; padding: clamp(1.4rem, 2.5vw, 2.5rem); border-inline-start: 1px solid rgba(255, 255, 255, .12); }
.kahroba-footer-layout > *:first-child { border-inline-start: 0; }
.kahroba-footer-brand { position: relative; overflow: hidden; background: radial-gradient(circle at 0 100%, rgba(200, 138, 32, .25), transparent 47%); }
.kahroba-footer-brand::after { content: ''; position: absolute; inset-inline-start: -4rem; inset-block-end: -4rem; inline-size: 13rem; block-size: 13rem; border: 1px solid rgba(200, 138, 32, .55); border-radius: 50%; box-shadow: 0 0 0 1.2rem rgba(200, 138, 32, .09), 0 0 0 2.4rem rgba(200, 138, 32, .04); }
.kahroba-footer-brand > * { position: relative; z-index: 1; }
.kahroba-footer-brand h2 { margin: 0; font-size: clamp(2.6rem, 4.6vw, 4.8rem); font-weight: 500; line-height: .9; }
.kahroba-footer-brand h2 a { color: #fff; text-decoration: none; }
.kahroba-footer-brand > p { max-inline-size: 17rem; margin: 1.25rem 0 1.8rem; color: rgba(255, 255, 255, .72); font-size: .9rem; line-height: 1.9; }
.kahroba-footer-socials { display: flex; flex-wrap: wrap; gap: .5rem; }
.kahroba-footer-socials a { padding: .42rem .6rem; border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-size: .75rem; text-decoration: none; transition: border-color 180ms ease, color 180ms ease; }
.kahroba-footer-socials a:hover { border-color: var(--at-theme-primary); color: var(--at-theme-primary); }
.site-footer .kahroba-enamad { margin-block-start: 1.5rem; }
.site-footer .kahroba-enamad a { display: inline-flex; align-items: center; justify-content: center; min-inline-size: 5rem; min-block-size: 5rem; padding: .4rem; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); transition: border-color 180ms ease, transform 180ms ease; }
.site-footer .kahroba-enamad a:hover { border-color: var(--at-theme-primary); transform: translateY(-2px); }
.site-footer .kahroba-enamad img { display: block; max-inline-size: 4.2rem; max-block-size: 4.2rem; }
.kahroba-footer-contact a { display: flex; flex-direction: column; gap: .25rem; padding-block: .75rem; border-block-start: 1px solid rgba(255, 255, 255, .1); color: #fff; text-decoration: none; transition: color 180ms ease; }
.kahroba-footer-contact a:hover { color: var(--at-theme-primary); }
.kahroba-footer-contact a span { color: rgba(255, 255, 255, .5); font-size: .74rem; }
.kahroba-footer-contact a b { font-family: "DM Sans", sans-serif; font-size: .9rem; font-weight: 500; }
.kahroba-footer-place > p { margin: 0; color: rgba(255, 255, 255, .78); font-size: .9rem; line-height: 2; }
.kahroba-footer-map-links { display: flex; flex-wrap: wrap; gap: .45rem; margin-block: 1.35rem 2rem; }
.kahroba-footer-map-links a { display: inline-flex; align-items: center; gap: .35rem; padding: .42rem .55rem; border: 1px solid rgba(255, 255, 255, .15); color: rgba(255, 255, 255, .76); font-size: .7rem; text-decoration: none; transition: border-color 180ms ease, color 180ms ease, transform 180ms ease; }
.kahroba-footer-map-links a:hover { border-color: var(--at-theme-primary); color: var(--at-theme-primary); transform: translateY(-2px); }
.kahroba-footer-map-links svg { inline-size: .95rem; block-size: .95rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.kahroba-footer-hours { padding-block-start: 1.1rem; border-block-start: 1px solid rgba(255, 255, 255, .12); }
.kahroba-footer-hours h3 { margin-block-end: .45rem; }
.kahroba-footer-hours p { display: flex; justify-content: space-between; gap: .5rem; margin: 0; padding-block: .42rem; color: rgba(255, 255, 255, .52); font-size: .74rem; }
.kahroba-footer-hours b { color: #fff; font-weight: 500; white-space: nowrap; }
.kahroba-footer-factory { margin-block-start: 1.25rem; padding-block-start: 1.1rem; border-block-start: 1px solid rgba(255, 255, 255, .12); }
.kahroba-footer-factory h3 { margin-block-end: .45rem; }
.kahroba-footer-factory p { color: rgba(255, 255, 255, .7); font-size: .78rem; line-height: 1.9; }
.kahroba-footer-factory a { color: var(--at-theme-primary); font-size: .75rem; text-decoration: none; }
.kahroba-footer-factory a:hover { text-decoration: underline; }
.kahroba-footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.kahroba-footer-nav a { color: rgba(255, 255, 255, .76); font-size: .88rem; text-decoration: none; transition: color 180ms ease, transform 180ms ease; }
.kahroba-footer-nav a:hover { color: var(--at-theme-primary); transform: translateX(-4px); }
.kahroba-footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.45rem; color: rgba(255, 255, 255, .45); font-size: .73rem; }
.kahroba-footer-legal a { color: var(--at-theme-primary); text-decoration: none; }
@media (max-width: 991.98px) { .kahroba-footer-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kahroba-footer-layout > *:nth-child(3) { border-inline-start: 0; border-block-start: 1px solid rgba(255, 255, 255, .12); } .kahroba-footer-layout > *:nth-child(4) { border-block-start: 1px solid rgba(255, 255, 255, .12); } }
@media (max-width: 575.98px) { .kahroba-footer-cta { align-items: flex-start; flex-direction: column; } .kahroba-footer-layout { grid-template-columns: 1fr; } .kahroba-footer-layout > * { min-block-size: auto; padding: 1.5rem; border-inline-start: 0; border-block-start: 1px solid rgba(255, 255, 255, .12); } .kahroba-footer-layout > *:first-child { min-block-size: 19rem; border-block-start: 0; } .kahroba-footer-legal { justify-content: center; text-align: center; } }

.site-footer .kahroba-enamad a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 5.4rem;
  min-block-size: 5.4rem;
  padding: .45rem;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .04);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.site-footer .kahroba-enamad a:hover {
  border-color: var(--at-theme-primary);
  background: rgba(200, 138, 32, .1);
  transform: translateY(-2px);
}

.site-footer .kahroba-enamad img {
  display: block;
  max-inline-size: 4.4rem;
  max-block-size: 4.4rem;
}

@media (max-width: 767.98px) {
  .site-footer .footer-3-logo { transform: none; }
  .site-footer .alt-footer-social-item { width: 100% !important; }
  .site-footer .footer-3-hours + .sale-off { margin-block-start: .5rem; }
}

.kahroba-brand-plaque {
  position: relative;
  display: flex;
  flex-direction: column;
  min-block-size: 22rem;
  padding: clamp(1.4rem, 2.5vw, 2.4rem);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, #152328 14%, transparent);
  background-color: #f7f8f4;
  background-image: linear-gradient(rgba(21, 35, 40, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(21, 35, 40, .07) 1px, transparent 1px), radial-gradient(circle at 100% 0, rgba(200, 138, 32, .25), transparent 43%);
  background-size: 2rem 2rem, 2rem 2rem, auto;
}

.kahroba-brand-plaque::after {
  content: '';
  position: absolute;
  inset-inline-end: -3rem;
  inset-block-end: -4rem;
  inline-size: 12rem;
  block-size: 12rem;
  border: 1px solid rgba(200, 138, 32, .42);
  border-radius: 50%;
  box-shadow: 0 0 0 1.45rem rgba(200, 138, 32, .1), 0 0 0 3rem rgba(200, 138, 32, .05);
}

.kahroba-brand-plaque--partners {
  background-image: linear-gradient(rgba(21, 35, 40, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(21, 35, 40, .07) 1px, transparent 1px), radial-gradient(circle at 100% 0, rgba(21, 35, 40, .17), transparent 43%);
}

.kahroba-brand-plaque__eyebrow,
.kahroba-brand-plaque__code {
  position: relative;
  z-index: 1;
  color: #68706d;
  font-family: "DM Sans", sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.kahroba-brand-plaque__title {
  position: relative;
  z-index: 1;
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  margin-block: auto 1.25rem;
}

.kahroba-brand-plaque__title svg {
  flex: 0 0 2.25rem;
  inline-size: 2.25rem;
  stroke: var(--at-theme-primary);
  stroke-width: 1.5;
  fill: none;
}

.kahroba-brand-plaque__title h2 {
  margin: 0;
  color: #152328;
  font-size: clamp(1.4rem, 2vw, 2.15rem);
  font-weight: 700;
  line-height: 1.25;
}

.kahroba-brand-plaque p {
  position: relative;
  z-index: 1;
  max-inline-size: 22rem;
  margin: 0 0 1.35rem;
  color: #515a57;
  font-size: .92rem;
  line-height: 1.9;
}

.kahroba-brand-plaque__code { color: var(--at-theme-primary); }

.kahroba-brand-band--partners {
  position: relative;
  margin-block-start: clamp(2.5rem, 6vw, 6rem);
}

.kahroba-brand-band--partners::before {
  content: '';
  position: absolute;
  inset-inline: max(1.5rem, calc((100% - 1750px) / 2));
  inset-block-start: 0;
  block-size: 1px;
  background: linear-gradient(90deg, transparent, rgba(21, 35, 40, .16) 16%, var(--at-theme-primary) 50%, rgba(21, 35, 40, .16) 84%, transparent);
}

.kahroba-brand-band--partners::after {
  content: '';
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 0;
  z-index: 1;
  inline-size: .7rem;
  block-size: .7rem;
  border: 2px solid var(--at-theme-primary);
  border-radius: 50%;
  background: var(--at-neutral-50, #fafaf7);
  transform: translate(-50%, -50%);
}

[data-bs-theme="dark"] .kahroba-brand-plaque {
  border-color: rgba(245, 245, 247, .14);
  background-color: #111412;
  background-image: linear-gradient(rgba(245, 245, 247, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(245, 245, 247, .09) 1px, transparent 1px), radial-gradient(circle at 100% 0, rgba(200, 138, 32, .21), transparent 43%);
}

[data-bs-theme="dark"] .kahroba-brand-plaque--partners {
  background-image: linear-gradient(rgba(245, 245, 247, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(245, 245, 247, .09) 1px, transparent 1px), radial-gradient(circle at 100% 0, rgba(245, 245, 247, .11), transparent 43%);
}

[data-bs-theme="dark"] .kahroba-brand-plaque__title h2 { color: #f5f5f7; }
[data-bs-theme="dark"] .kahroba-brand-plaque p,
[data-bs-theme="dark"] .kahroba-brand-plaque__eyebrow { color: #b4bbb7; }

[data-bs-theme="dark"] .kahroba-brand-band--partners::before {
  background: linear-gradient(90deg, transparent, rgba(245, 245, 247, .2) 16%, var(--at-theme-primary) 50%, rgba(245, 245, 247, .2) 84%, transparent);
}

[data-bs-theme="dark"] .kahroba-brand-band--partners::after { background: #000; }


@media (max-width: 1199.98px) {
  .kahroba-brand-plaque { min-block-size: 16rem; }
}

/* The experience marker appears below the logo only after the header sticks. */
.at-header-logo { position: relative; }

.at-header-logo .kahroba-theme-logo {
  transform-origin: center top;
  transition: transform 520ms cubic-bezier(.22, 1, .36, 1);
}

.kahroba-header-years {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: calc(100% + .25rem);
  opacity: 0;
  color: var(--at-theme-primary);
  font-family: "DM Sans", sans-serif;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  visibility: hidden;
  transform: translate(0, -50%);
  transition: opacity 320ms ease, transform 520ms cubic-bezier(.22, 1, .36, 1), visibility 0s linear 520ms;
}

.site-header #header-sticky.header-sticky .at-header-logo .kahroba-theme-logo { transform: translateX(.45rem) scale(.82); }

.site-header #header-sticky.header-sticky .kahroba-header-years {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
  transition-delay: 120ms, 120ms, 0s;
}

@media (max-width: 1199.98px) {
  .site-header .kahroba-site-header { padding-block: .45rem; }
}

@media (prefers-reduced-motion: reduce) {
  body,
  .site-header .kahroba-site-header,
  .ki-page,
  .kahroba-product,
  .kahroba-project-detail,
  .site-footer,
  .ki-page :is(a, button, input, select, textarea),
  .kahroba-product :is(a, button, input, select, textarea),
  .kahroba-project-detail :is(a, button) { transition: none; }
}

/* About-2 / Contact-1 content ports. Header and footer remain theme-owned. */
.kahroba-about-page,
.kahroba-contact-page { direction: rtl; text-align: right; }
.ka-kicker { margin: 0 0 1rem; color: var(--at-theme-primary); font-size: .82rem; font-weight: 700; }
.ka-intro,
.ka-side-note,
.kc-lead { color: var(--at-neutral-600, #686868); font-size: clamp(1rem, 1.45vw, 1.2rem); line-height: 1.9; }
.ka-hero__image { position: relative; isolation: isolate; overflow: hidden; block-size: clamp(22rem, 47vw, 42rem); border-radius: 1.25rem; background: #d6e0e1; }
.ka-hero__image::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(230, 244, 242, .45) 0%, rgba(230, 244, 242, .08) 44%, rgba(17, 51, 49, .34) 100%); transition: background-color 250ms ease, opacity 250ms ease; }
.ka-hero__image img,
.kc-banner img { inline-size: 100%; block-size: 100%; min-block-size: 0; object-fit: cover; }
.ka-brands { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; padding-block: 3rem; border-block-end: 1px solid var(--at-neutral-100, #eee); color: var(--at-neutral-500, #777); font-size: clamp(1rem, 1.5vw, 1.35rem); font-weight: 600; }
.ka-brands > span { display: grid; place-items: center; flex: 1 1 7rem; min-block-size: 5rem; padding: .75rem; border: 1px solid var(--at-neutral-100, #eee); border-radius: .8rem; background: var(--at-neutral-0, #fff); }
.ka-brands img { max-inline-size: 100%; max-block-size: 3.2rem; object-fit: contain; }
.ka-team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.ka-team-profile { overflow: hidden; border: 1px solid var(--at-neutral-100, #eee); border-radius: 1.25rem; background: var(--at-neutral-0, #fff); }
.ka-team-profile--offset { margin-block-start: clamp(3rem, 10vw, 10rem); }
.ka-team-profile__image { overflow: hidden; aspect-ratio: 4 / 5; background: var(--at-neutral-100, #eee); }
.ka-team-profile__image img { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: center 18%; transition: transform 500ms cubic-bezier(.22, 1, .36, 1); }
.ka-team-profile:hover .ka-team-profile__image img { transform: scale(1.035); }
.ka-team-profile__content { position: relative; padding: clamp(1.25rem, 2.25vw, 1.85rem); }
.ka-team-profile__number { position: absolute; inset-block-start: 1.45rem; inset-inline-end: 1.6rem; margin: 0; color: var(--at-theme-primary); font-family: "DM Sans", sans-serif; font-size: .8rem; font-weight: 700; }
.ka-team-profile h3 { max-inline-size: calc(100% - 3rem); margin: 0; color: var(--at-neutral-900, #1d1d1f); font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.1; }
.ka-team-profile h3 span { color: var(--at-theme-primary); }
.ka-team-profile__role { margin: .5rem 0 1.15rem; color: var(--at-neutral-600, #686868); font-size: .95rem; }
.ka-team-profile__details { margin: 0; border-block-start: 1px solid var(--at-neutral-100, #eee); }
.ka-team-profile__details > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding-block: .75rem; border-block-end: 1px solid var(--at-neutral-100, #eee); }
.ka-team-profile__details dt { color: var(--at-theme-primary); font-size: .8rem; font-weight: 700; }
.ka-team-profile__details dd { margin: 0; color: var(--at-neutral-700, #444); font-size: .95rem; line-height: 1.8; }
.ka-team-profile blockquote { margin: 1rem 0 0; padding: .8rem 1rem; border-inline-start: 2px solid var(--at-theme-primary); background: var(--at-neutral-50, #fafafa); color: var(--at-neutral-700, #444); font-size: .95rem; line-height: 1.8; }
.ka-person { block-size: 100%; }
.ka-person__image { overflow: hidden; border-radius: 1rem; background: var(--at-neutral-100, #eee); }
.ka-person__image img { inline-size: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ka-person__content { padding-block-start: 1.25rem; }
.ka-person__role { color: var(--at-theme-primary); font-size: .9rem; }
.ka-person__content > p:last-child { color: var(--at-neutral-600, #686868); line-height: 1.8; }
.ka-process { border-block-start: 1px solid var(--at-neutral-100, #eee); }
.ka-process__item { display: grid; grid-template-columns: 6rem minmax(0, 1fr) auto; gap: 1.5rem; align-items: start; padding-block: 2rem; border-block-end: 1px solid var(--at-neutral-100, #eee); }
.ka-process__item > span { color: var(--at-theme-primary); font-size: .9rem; font-weight: 700; }
.ka-process__item p { color: var(--at-neutral-600, #686868); line-height: 1.8; }
.ka-process__item i { font-style: normal; font-size: 1.35rem; }
.ka-gallery__track { display: flex; gap: 1rem; inline-size: max-content; animation: kahroba-gallery-drift 38s linear infinite; }
.ka-gallery figure { flex: 0 0 clamp(14rem, 23vw, 22rem); margin: 0; overflow: hidden; border-radius: 1rem; }
.ka-gallery img { inline-size: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@keyframes kahroba-gallery-drift { to { transform: translateX(25%); } }
.kc-banner { block-size: 100dvh; overflow: hidden; padding-block-start: 0 !important; }
.kc-banner img { block-size: 100%; }
.kc-info { display: grid; gap: 2rem; }
.kc-info > div { padding-block-end: 1.5rem; border-block-end: 1px solid var(--at-neutral-100, #eee); }
.kc-info span { display: block; margin-block-end: .5rem; color: var(--at-theme-primary); font-size: .8rem; font-weight: 700; }
.kc-info p { margin: 0; color: var(--at-neutral-700, #444); line-height: 1.9; }
.kc-info small { display: block; color: var(--at-neutral-500, #777); font-size: .74rem; }
.kc-info a { color: inherit; text-decoration: none; }
.kc-form { display: grid; gap: 1.25rem; }
.kc-form label { display: grid; gap: .55rem; }
.kc-form label > span { color: var(--at-neutral-700, #444); font-size: .86rem; font-weight: 600; }
.kc-form input,
.kc-form textarea { inline-size: 100%; border: 0; border-block-end: 1px solid var(--at-neutral-300, #ccc); border-radius: 0; padding: .8rem 0; background: transparent; color: inherit; outline: none; }
.kc-form button[aria-disabled="true"] { cursor: default; }
.kc-form input:focus,
.kc-form textarea:focus { border-color: var(--at-theme-primary); }
.kc-form__note { color: var(--at-neutral-500, #777); font-size: .8rem; }
.kahroba-about-scroll-gallery { overflow: hidden; }
.kahroba-about-scroll-gallery .wrapper-gallery { will-change: transform; }
[data-bs-theme="dark"] .ka-intro,
[data-bs-theme="dark"] .ka-side-note,
[data-bs-theme="dark"] .kc-lead,
[data-bs-theme="dark"] .ka-person__content > p:last-child,
[data-bs-theme="dark"] .ka-process__item p,
[data-bs-theme="dark"] .kc-form__note { color: var(--at-neutral-400, #aaa); }
[data-bs-theme="dark"] .ka-team-profile { border-color: rgba(255, 255, 255, .13); background: var(--at-neutral-900, #1d1d1f); }
[data-bs-theme="dark"] .ka-team-profile h3 { color: var(--at-neutral-0, #fff); }
[data-bs-theme="dark"] .ka-team-profile__role,
[data-bs-theme="dark"] .ka-team-profile__details dd,
[data-bs-theme="dark"] .ka-team-profile blockquote { color: var(--at-neutral-300, #d5d5d5); }
[data-bs-theme="dark"] .ka-team-profile__details > div { border-color: rgba(255, 255, 255, .13); }
[data-bs-theme="dark"] .ka-team-profile blockquote { background: rgba(255, 255, 255, .05); }
[data-bs-theme="dark"] .ka-hero__image::after { background: linear-gradient(118deg, rgba(4, 20, 23, .72) 0%, rgba(4, 20, 23, .32) 45%, rgba(1, 9, 12, .68) 100%); }

@media (max-width: 767.98px) {
  .ka-hero__image { block-size: clamp(18rem, 70vw, 28rem); }
  .ka-brands { justify-content: flex-start; padding-block: 2rem; }
  .ka-process__item { grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1rem; }
  .ka-process__item i { display: none; }
  .ka-gallery__track { animation-duration: 26s; }
  .ka-team-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ka-team-profile--offset { margin-block-start: 0; }
  .ka-team-profile__details > div { grid-template-columns: 5.3rem minmax(0, 1fr); gap: .75rem; }
  .kc-banner { block-size: 100svh; }
}

@media (prefers-reduced-motion: reduce) {
  .ka-gallery__track { animation: none; }
}

.kahroba-header-cart {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  inline-size: 2.65rem;
  block-size: 2.65rem;
  border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  border-radius: 50%;
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.kahroba-header-cart:hover {
  border-color: var(--at-theme-primary);
  background: color-mix(in srgb, var(--at-theme-primary) 9%, transparent);
  color: var(--at-theme-primary);
  transform: translateY(-2px);
}

.kahroba-header-cart__count {
  position: absolute;
  inset-block-start: -.3rem;
  inset-inline-end: -.35rem;
  display: grid;
  place-items: center;
  min-inline-size: 1.2rem;
  block-size: 1.2rem;
  padding-inline: .25rem;
  border: 2px solid var(--at-neutral-0, #fff);
  border-radius: 999px;
  background: var(--at-theme-primary);
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: .62rem;
  font-weight: 700;
  line-height: 1;
}

.kahroba-header-cart__count.is-empty { display: none; }

@media (min-width: 1200px) {
  .site-header .at-header-area.at-header-spacing {
    padding-block: 10px;
  }
}

@media (max-width: 575.98px) {
  .kahroba-header-cart { inline-size: 2.4rem; block-size: 2.4rem; }
  .at-header-right:has(.kahroba-header-cart) { gap: .55rem !important; }
}

html[dir="rtl"] .kahroba-index3-home {
  direction: rtl;
  font-family: var(--at-ff-body);
  text-align: right;
}

.kahroba-index3-home :is(h1, h2, h3, h4, h5, h6, p, a, button, input, textarea, select) {
  font-family: inherit;
}

.kahroba-index3-home :is(h1, h2, h3, h4, h5, h6) {
  line-height: 1.35;
}

.kahroba-index3-home .at-main-menu > nav > ul,
.kahroba-index3-home .at-categories-list,
.kahroba-index3-home .footer-list,
.kahroba-index3-home .list-unstyled {
  padding-right: 0;
  padding-left: 0;
}

.kahroba-index3-home .text-start {
  text-align: right !important;
}

.kahroba-index3-home .text-end {
  text-align: left !important;
}

.kahroba-index3-home .ms-auto {
  margin-right: auto !important;
  margin-left: 0 !important;
}

.kahroba-index3-home .me-auto {
  margin-left: auto !important;
  margin-right: 0 !important;
}

.kahroba-index3-home .ms-3 {
  margin-right: 1rem !important;
  margin-left: 0 !important;
}

.kahroba-index3-home .me-3 {
  margin-left: 1rem !important;
  margin-right: 0 !important;
}

.kahroba-index3-home .ps-3 {
  padding-right: 1rem !important;
  padding-left: 0 !important;
}

.kahroba-index3-home .pe-3 {
  padding-left: 1rem !important;
  padding-right: 0 !important;
}

.kahroba-index3-home .left-0 {
  right: 0 !important;
  left: auto !important;
}

.kahroba-index3-home .right-0 {
  left: 0 !important;
  right: auto !important;
}

.kahroba-index3-home .start-0 {
  right: 0 !important;
  left: auto !important;
}

.kahroba-index3-home .end-0 {
  left: 0 !important;
  right: auto !important;
}

.kahroba-index3-home .pr-250 {
  padding-right: 0 !important;
  padding-left: 250px !important;
}

.kahroba-index3-home .at-btn :is(.icon-arrow-right, .icon-arrow-left),
.kahroba-index3-home .alt-portfolio-btn svg,
.kahroba-index3-home .at-main-menu .has-dropdown > a::after {
  transform: scaleX(-1);
}

.kahroba-index3-home .at-search-form-input input,
.kahroba-index3-home .input-subscribe,
.kahroba-index3-home .at-search-form {
  direction: rtl;
  text-align: right;
}

.kahroba-index3-home .at-search-form-btn,
.kahroba-index3-home .input-subscribe button {
  left: 0;
  right: auto;
}

.kahroba-index3-home .at-submenu,
.kahroba-index3-home .at-megamenu {
  text-align: right;
}

.kahroba-index3-home .at-main-menu .at-submenu {
  right: 0;
  left: auto;
}

.kahroba-index3-home .testimonial-content,
.kahroba-index3-home .alt-portfolio-content,
.kahroba-index3-home .team-card-content,
.kahroba-index3-home .blog-card-2__content {
  text-align: right;
}

.kahroba-index3-home .cilent-word-wide-content .avatar {
  margin-right: -10px;
  margin-left: 0;
}

.kahroba-index3-home .kahroba-hero-gallery {
  isolation: isolate;
}

.kahroba-index3-home .kahroba-hero-gallery__media {
  position: relative;
  min-height: 100%;
}

.kahroba-index3-home .kahroba-hero-gallery__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 700ms ease-in-out, transform 900ms ease-out;
  transform: scale(1.035);
  pointer-events: none;
}

.kahroba-index3-home .kahroba-hero-gallery__image.is-active {
  position: relative;
  opacity: 1;
  transform: scale(1);
}

.kahroba-index3-home .cilent-word-wide-content .avatar {
  appearance: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.kahroba-index3-home .cilent-word-wide-content .avatar.is-active {
  transform: translateY(-5px);
  border-color: var(--at-primary, #45a557);
}

.kahroba-index3-home .cilent-word-wide-content .avatar:focus-visible {
  outline: 2px solid var(--at-primary, #45a557);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .kahroba-index3-home .kahroba-hero-gallery__image,
  .kahroba-index3-home .cilent-word-wide-content .avatar {
    transition-duration: 1ms;
  }
}

@media (min-width: 992px) {
  .kahroba-index3-home .kahroba-hero-gallery {
    width: 355.99px;
    height: 432.865px;
  }

  .kahroba-index3-home .kahroba-hero-gallery__media {
    height: 100%;
  }
}

@media (min-width: 992px) {
  .kahroba-index3-home .ms-lg-5 {
    margin-right: 3rem !important;
    margin-left: 0 !important;
  }

  .kahroba-index3-home .me-lg-5 {
    margin-left: 3rem !important;
    margin-right: 0 !important;
  }

  .kahroba-index3-home .pe-lg-5 {
    padding-left: 3rem !important;
    padding-right: 0 !important;
  }

  .kahroba-index3-home .ps-lg-5 {
    padding-right: 3rem !important;
    padding-left: 0 !important;
  }
}

@media (min-width: 1400px) {
  .kahroba-index3-home .pe-xxl-5 {
    padding-left: 3rem !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 991.98px) {
  .kahroba-index3-home .pr-250 {
    padding-left: 0 !important;
  }
}

/* Search overlay: the source button is right-aligned, which covers RTL input text. */
html[dir="rtl"] .at-search-form-input {
  padding-inline: 1rem 10rem;
}

html[dir="rtl"] .at-search-form-input input {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .at-search-form-input .at-search-form-btn {
  right: auto;
  left: .75rem;
}

.kahroba-search-submit {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-block-size: 3rem;
  padding: .55rem .9rem;
  border: 0;
  border-radius: .65rem;
  background: #c88a20;
  box-shadow: none;
  color: #152328;
  font-family: var(--at-ff-body);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.kahroba-search-submit svg {
  inline-size: 1.05rem;
  block-size: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.kahroba-search-submit:hover { background: #152328; color: #fff; transform: translateY(-1px); }
.kahroba-search-submit:focus-visible { outline: 3px solid #c88a20; outline-offset: 3px; }

[data-bs-theme="dark"] .kahroba-search-submit { background: #e0a83d; color: #000; }
[data-bs-theme="dark"] .kahroba-search-submit:hover { background: #f4ca70; color: #000; }

@media (max-width: 575.98px) {
  html[dir="rtl"] .at-search-form-input {
    padding-inline: .8rem 7.8rem;
  }

  html[dir="rtl"] .at-search-form-input input,
  html[dir="rtl"] .at-search-form-input input::placeholder {
    font-size: 1rem;
  }

  html[dir="rtl"] .at-search-form-input .at-search-form-btn {
    font-size: .82rem;
  }

  .kahroba-search-submit { min-block-size: 2.6rem; padding-inline: .65rem; }
  .kahroba-search-submit span { display: none; }
  .kahroba-search-submit svg { inline-size: 1.15rem; block-size: 1.15rem; }
}
