/* خطوة — Ecomus footwear demo, child of shyaka. Only what differs lives here. */

/* Matched to wpecomus.com/footwear (measured at 1366px; container 1266px). */

/* Hero: slideshow + two 412×410 cards beside it, 30px gap, 850px tall. */
body.khatwa .kw-hero { padding-top: 0; }
body.khatwa .kw-hero-grid { display: grid; grid-template-columns: 1fr 412px; gap: 30px; height: 850px; }
body.khatwa .kw-hero-grid.kw-hero-full { grid-template-columns: 1fr; }
body.khatwa .kw-hero-main, body.khatwa .kw-hero-main .swiper, body.khatwa .kw-hero-main .wrap-slider { height: 100%; }
body.khatwa .kw-hero-main .wrap-slider { position: relative; }
body.khatwa .kw-hero-main .wrap-slider img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.khatwa .kw-hero-main .box-content { position: absolute; inset: auto 40px 130px auto; max-width: 420px; text-align: end; z-index: 2; }
body.khatwa .kw-hero-main .heading { font-size: clamp(36px, 5vw, 68px); line-height: 1.2; font-weight: 400; margin-bottom: 14px; }
body.khatwa .kw-hero-main p { font-size: 16px; margin-bottom: 30px; }
body.khatwa .kw-hero-main .tf-btn { height: 52px; padding: 0 24px; font-size: 18px; font-weight: 500; border: 1px solid #fff; color: #fff; background: transparent; gap: 10px; }
body.khatwa .kw-hero-main .tf-btn:hover { background: #fff; color: var(--main); }
body.khatwa .kw-hero-dots { position: absolute; bottom: 30px; inset-inline: 0; z-index: 3; }
body.khatwa .kw-hero-cards { display: grid; grid-template-rows: 1fr 1fr; gap: 30px; }
body.khatwa .kw-hero-card { position: relative; display: block; overflow: hidden; background: #f3eee8; }
body.khatwa .kw-hero-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
body.khatwa .kw-hero-card:hover img { transform: scale(1.04); }
body.khatwa .kw-card-text { position: absolute; top: 35px; inset-inline: 40px; display: flex; flex-direction: column; gap: 6px; color: #000; }
body.khatwa .kw-card-title { font-size: 28px; line-height: 34px; }
body.khatwa .kw-card-line { font-size: 14px; }
body.khatwa .kw-card-link { position: absolute; bottom: 40px; inset-inline-end: 40px; font-size: 14px; font-weight: 600; color: #000; border-bottom: 1px solid currentColor; display: inline-flex; gap: 6px; align-items: center; }
body.khatwa .kw-card-dark .kw-card-text, body.khatwa .kw-card-dark .kw-card-link { color: #fff; }

/* Product tabs: 32px tab names, carousel of tall cards with side arrows. */
body.khatwa .kw-products { padding-top: 70px !important; }
body.khatwa .kw-tabs { gap: 70px; margin: 0 0 55px; padding: 0; list-style: none; }
body.khatwa .kw-tabs a { font-size: 32px; line-height: 50px; color: #545454; border-bottom: 2px solid transparent; padding-bottom: 4px; }
body.khatwa .kw-tabs a.active { color: #000; font-weight: 500; border-color: #000; }
body.khatwa .kw-pane { display: none; }
body.khatwa .kw-pane.active { display: block; }
body.khatwa .kw-products .wrap-carousel .nav-sw { position: absolute; top: 38%; z-index: 3; }
body.khatwa .kw-products .wrap-carousel .kw-next { left: -23px; }
body.khatwa .kw-products .wrap-carousel .kw-prev { right: -23px; }
body.khatwa .kw-products .kw-dots { display: none; }

/* Split banner: 633×473 photo + dark panel, 52px heading. */
body.khatwa .kw-split-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 473px; }
body.khatwa .kw-split-text { background: #4c4b52; color: #fff; padding: 122px 80px 60px; display: flex; flex-direction: column; align-items: flex-start; }
body.khatwa .kw-split-heading { font-size: 52px; line-height: 62px; font-weight: 400; color: #fff; margin-bottom: 22px; }
body.khatwa .kw-split-line, body.khatwa .kw-split-sub { color: #fff; font-size: 16px; margin-bottom: 30px; }
body.khatwa .kw-split-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.khatwa .kw-link { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 600; color: inherit; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* Marquee: one line of 80px light text, the code underlined; 257px band. */
body.khatwa .kw-marquee { padding: 88px 0; background: #fff; border: 0; height: auto; }
body.khatwa .kw-marquee .marquee-item { padding: 0 30px; }
body.khatwa .kw-marquee p { font-size: clamp(36px, 5.86vw, 80px); line-height: 81px; font-weight: 400; color: #000; white-space: nowrap; margin: 0; }
body.khatwa .kw-marquee p u { text-decoration-thickness: 3px; text-underline-offset: 10px; }
body.khatwa .kw-marquee .wrap-marquee { animation-name: slide-har !important; }

/* Shop the look: 724×823 photo with pins; title 52px; one 273px card with arrows. */
body.khatwa .kw-look-grid { display: grid; grid-template-columns: 543px 1fr; gap: 0; align-items: start; }
body.khatwa .kw-look-photo { position: relative; order: 2; }
body.khatwa .kw-look-photo img { width: 100%; height: 823px; object-fit: cover; display: block; }
body.khatwa .kw-pin { position: absolute; width: 27px; height: 27px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
body.khatwa .kw-pin span { width: 9px; height: 9px; border-radius: 50%; background: #000; }
body.khatwa .kw-look-side { order: 1; padding: 89px 70px 0 120px; }
body.khatwa .kw-look-side .flat-title { align-items: flex-start; text-align: start; margin-bottom: 57px; }
body.khatwa .kw-look-side .flat-title .title { font-size: 52px; line-height: 62px; font-weight: 400; }
body.khatwa .kw-look-cards { max-width: 273px; margin-inline-start: 50px; }
body.khatwa .kw-look-cards .nav-sw { position: absolute; top: 40%; z-index: 3; }
body.khatwa .kw-look-cards .kw-look-next { left: -50px; }
body.khatwa .kw-look-cards .kw-look-prev { right: -50px; }

/* Reviews with the product: beige band, 42px title. */
body.khatwa .flat-title .title { font-size: 42px; line-height: 50px; font-weight: 400; }

/* Our mission: text + a 462×514 photo with a 360×360 one overlapping. */
body.khatwa .flat-image-text-section .heading { font-size: 42px; line-height: 50px; font-weight: 400; }
body.khatwa .flat-image-text-section .tf-btn { background: #000; color: #fff; height: 45px; padding: 0 25px; border-radius: 3px; }

/* Newsletter: 633×384 photo + beige box. */
body.khatwa .kw-newsletter { padding: 0 0 80px; }
body.khatwa .kw-nl-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 384px; }
body.khatwa .kw-nl-box { background: var(--section-bg-1, #f6f1ec); padding: 80px 100px 60px 50px; display: flex; flex-direction: column; justify-content: center; }
body.khatwa .kw-nl-title { font-size: 42px; line-height: 50px; font-weight: 400; margin-bottom: 20px; }
body.khatwa .kw-nl-text { font-size: 14px; margin-bottom: 30px; }
body.khatwa .kw-nl-form { display: flex; gap: 0; max-width: 470px; }
body.khatwa .kw-nl-form input { flex: 1; height: 45px; border: 1px solid #ebebeb; background: #fff; padding: 0 16px; }
body.khatwa .kw-nl-form .tf-btn { height: 45px; padding: 0 22px; background: #000; color: #fff; }
body.khatwa .kw-nl-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 991px) {
    body.khatwa .kw-hero-grid { grid-template-columns: 1fr; height: auto; }
    body.khatwa .kw-hero-main .wrap-slider img { height: 520px; }
    body.khatwa .kw-hero-cards { grid-template-columns: 1fr 1fr; grid-template-rows: 260px; gap: 15px; }
    body.khatwa .kw-card-text { top: 20px; inset-inline: 20px; }
    body.khatwa .kw-card-title { font-size: 20px; line-height: 26px; }
    body.khatwa .kw-card-link { bottom: 20px; inset-inline-end: 20px; }
    body.khatwa .kw-tabs { gap: 24px; flex-wrap: nowrap !important; overflow-x: auto; justify-content: flex-start !important; }
    body.khatwa .kw-tabs a { font-size: 22px; white-space: nowrap; }
    body.khatwa .kw-split-grid, body.khatwa .kw-look-grid, body.khatwa .kw-nl-grid { grid-template-columns: 1fr; }
    body.khatwa .kw-split-text { padding: 40px 20px; order: 2; }
    body.khatwa .kw-split-heading, body.khatwa .kw-look-side .flat-title .title { font-size: 32px; line-height: 40px; }
    body.khatwa .kw-look-side { padding: 0 0 30px; }
    body.khatwa .kw-look-photo img { height: 460px; }
    body.khatwa .kw-look-cards { margin: 0 auto; }
    body.khatwa .kw-marquee { padding: 25px 0; }
    body.khatwa .kw-marquee p { line-height: 50px; }
    body.khatwa .flat-title .title, body.khatwa .kw-nl-title, body.khatwa .flat-image-text-section .heading { font-size: 28px; line-height: 36px; }
    body.khatwa .kw-nl-box { padding: 40px 20px; }
    body.khatwa .kw-nl-img img { height: 260px; }
}

/* Top bar black with white text (live: 45px, black). */
body.khatwa .tf-top-bar { background-color: #000 !important; color: #fff; }
body.khatwa .tf-top-bar, body.khatwa .tf-top-bar a, body.khatwa .tf-top-bar p, body.khatwa .tf-top-bar i, body.khatwa .tf-top-bar .text, body.khatwa .tf-top-bar select, body.khatwa .tf-top-bar .filter-option-inner-inner { color: #fff !important; }
body.khatwa .tf-top-bar { min-height: 45px; display: flex; align-items: center; }
/* Shop the look: photo on the start side (right in RTL, 724px), text column beside it. */
body.khatwa .kw-look-grid { grid-template-columns: 1fr 543px; }
body.khatwa .kw-look-photo { order: 1; }
body.khatwa .kw-look-side { order: 2; padding: 89px 120px 0 70px; }

/* Phones, matched to wpecomus.com/footwear at 390px (kept last so it wins over the desktop rules). */
@media (max-width: 991px) {
    body.khatwa .kw-hero-main .wrap-slider img { height: 300px; }
    body.khatwa .kw-hero-main .box-content { inset: auto 16px 40px auto; }
    body.khatwa .kw-hero-main .heading { font-size: 32px; }
    body.khatwa .kw-hero-main .tf-btn { height: 44px; font-size: 15px; }
    body.khatwa .kw-hero-cards { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 190px; gap: 12px; margin-top: 12px; }
    body.khatwa .kw-look-grid { grid-template-columns: 1fr; }
    body.khatwa .kw-look-side { order: 1; padding: 0 0 24px; }
    body.khatwa .kw-look-photo { order: 2; }
    body.khatwa .kw-look-side .flat-title { align-items: center; text-align: center; margin-bottom: 24px; }
    body.khatwa .kw-look-cards { max-width: 200px; margin: 0 auto; }
    body.khatwa .kw-look-cards .nav-sw { display: none; }
    body.khatwa .kw-look-photo img { height: 420px; }
    body.khatwa .kw-nl-img { display: none; }
    body.khatwa .kw-products .wrap-carousel .nav-sw { display: none; }
}

/* Second pass against wpecomus.com/footwear at 1366 and 2000px. */
/* Hero dots: small white dots at the text's side, the active one a short line. */
body.khatwa .kw-hero-main .box-content { inset: auto 90px 130px auto; }
body.khatwa .kw-hero-dots { position: absolute; bottom: 60px !important; left: auto !important; right: 90px !important; width: auto !important; display: flex; gap: 6px; z-index: 3; }
body.khatwa .kw-hero-dots .swiper-pagination-bullet { width: 6px; height: 6px; background: rgba(255,255,255,.6); opacity: 1; margin: 0 !important; border-radius: 6px; transition: width .3s; box-shadow: none; border: 0; }
body.khatwa .kw-hero-dots .swiper-pagination-bullet::before, body.khatwa .kw-hero-dots .swiper-pagination-bullet::after { display: none; }
body.khatwa .kw-hero-dots .swiper-pagination-bullet-active { width: 22px; background: #fff; }
/* Product arrows outside the carousel, as live. */
body.khatwa .kw-products .wrap-carousel .kw-next { left: -100px; }
body.khatwa .kw-products .wrap-carousel .kw-prev { right: -100px; }
@media (max-width: 1500px) { body.khatwa .kw-products .wrap-carousel .kw-next { left: -50px; } body.khatwa .kw-products .wrap-carousel .kw-prev { right: -50px; } }
body.khatwa .kw-products .nav-sw { background: #fff; border: 1px solid #ebebeb; }
body.khatwa .kw-products .nav-sw.swiper-button-disabled { opacity: .45; }
/* Pins are buttons now. */
body.khatwa .kw-pin { border: 0; padding: 0; cursor: pointer; }
body.khatwa .kw-pin.active { box-shadow: 0 0 0 6px rgba(255,255,255,.55); }
