/*
Theme Name: Alkhatt Art
Theme URI: https://instagram.com/alkhatt.art/
Description: A bilingual Arabic/English WooCommerce child theme for Alkhatt Art.
Author: Alkhatt Art
Template: wall-decor-wallpaper
Version: 6.5.0
Text Domain: alkhatt-art
*/

:root {
  --alkhatt-olive: #696a5b;
  --alkhatt-olive-dark: #515245;
  --alkhatt-black: #111111;
  --alkhatt-cream: #f7f4ed;
  --alkhatt-sand: #e7dfd0;
  --alkhatt-white: #ffffff;
  --alkhatt-muted: #6f6f6f;
  --alkhatt-border: #e7e1d8;
  --alkhatt-radius: 18px;
  --alkhatt-shadow: 0 14px 42px rgba(17, 17, 17, .08);
}

html { scroll-behavior: smooth; }
body {
  background: var(--alkhatt-white);
  color: var(--alkhatt-black);
  font-family: Manrope, Arial, sans-serif;
  overflow-x: hidden;
}
html[dir="rtl"] body,
.rtl body {
  font-family: "Noto Kufi Arabic", Tahoma, Arial, sans-serif;
}
body, p, li, input, textarea, select, button { font-size: 15px; }
p { color: var(--alkhatt-muted); line-height: 1.9; }
h1, h2, h3, h4, h5, h6 {
  color: var(--alkhatt-black);
  font-family: inherit;
  letter-spacing: 0;
  font-weight: 700;
}
a { color: inherit; transition: .2s ease; }
a:hover { color: var(--alkhatt-olive); }
img { display: block; }
.container { max-width: 1240px; }

/* Header */
.alkhatt-topbar {
  background: var(--alkhatt-black);
  color: var(--alkhatt-white);
  font-size: 13px;
}
.alkhatt-topbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.alkhatt-topbar a { color: var(--alkhatt-white); }
.alkhatt-topbar a:hover { color: var(--alkhatt-sand); }
.alkhatt-site-header {
  position: relative;
  z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--alkhatt-border);
}
.alkhatt-site-header.is-sticky {
  position: sticky;
  top: 0;
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
}
.admin-bar .alkhatt-site-header.is-sticky { top: 32px; }
.alkhatt-header__inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}
.alkhatt-brand { display: inline-flex; align-items: center; }
.alkhatt-brand img,
.alkhatt-brand .custom-logo {
  width: auto;
  height: 72px;
  max-width: 185px;
  object-fit: contain;
}
.alkhatt-nav ul { margin: 0; padding: 0; list-style: none; }
.alkhatt-nav > div > ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.alkhatt-nav li { position: relative; }
.alkhatt-nav a {
  display: block;
  padding: 12px 0;
  color: var(--alkhatt-black);
  font-size: 14px;
  font-weight: 650;
}
.alkhatt-nav a:hover,
.alkhatt-nav .current-menu-item > a { color: var(--alkhatt-olive); }
.alkhatt-nav .sub-menu {
  position: absolute;
  inset-inline-start: 0;
  top: 100%;
  min-width: 220px;
  background: var(--alkhatt-white);
  border: 1px solid var(--alkhatt-border);
  box-shadow: var(--alkhatt-shadow);
  border-radius: 12px;
  padding: 10px 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}
.alkhatt-nav li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.alkhatt-header__actions { display: flex; align-items: center; gap: 10px; }
.alkhatt-icon-button,
.alkhatt-language a {
  min-width: 40px;
  height: 40px;
  border: 1px solid var(--alkhatt-border);
  border-radius: 999px;
  background: var(--alkhatt-white);
  color: var(--alkhatt-black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
}
.alkhatt-icon-button:hover,
.alkhatt-language a:hover { background: var(--alkhatt-black); color: white; border-color: var(--alkhatt-black); }
.alkhatt-cart-count {
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--alkhatt-olive);
  color: white;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline-start: -7px;
  margin-top: -22px;
}
.alkhatt-mobile-toggle { display: none; }
.alkhatt-search-panel {
  display: none;
  padding: 18px 0;
  border-top: 1px solid var(--alkhatt-border);
  background: var(--alkhatt-cream);
}
.alkhatt-search-panel.is-open { display: block; }
.alkhatt-search-panel .search-form { display: flex; max-width: 720px; margin: auto; }
.alkhatt-search-panel input[type="search"] {
  flex: 1; min-height: 50px; border: 1px solid var(--alkhatt-border); border-radius: 12px 0 0 12px; padding: 0 18px;
}
.rtl .alkhatt-search-panel input[type="search"] { border-radius: 0 12px 12px 0; }
.alkhatt-search-panel input[type="submit"] {
  border: 0; background: var(--alkhatt-black); color: white; padding: 0 26px; border-radius: 0 12px 12px 0;
}
.rtl .alkhatt-search-panel input[type="submit"] { border-radius: 12px 0 0 12px; }

/* Hero */
.alkhatt-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--alkhatt-hero-bg, #4b4c46);
  background-image: linear-gradient(120deg, rgba(17,17,17,.92), rgba(81,82,69,.72)), var(--alkhatt-hero-image, none);
  background-size: cover;
  background-position: center;
}
.alkhatt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,.10) 0 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .35;
}
.alkhatt-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 60px;
  padding: 80px 15px;
}
.alkhatt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  color: white;
  font-size: 12px;
  margin-bottom: 24px;
}
.alkhatt-hero h1 { color: white; font-size: clamp(38px, 6vw, 78px); line-height: 1.15; max-width: 820px; }
.alkhatt-hero p { color: rgba(255,255,255,.82); font-size: 17px; max-width: 680px; }
.alkhatt-hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.alkhatt-btn {
  min-height: 50px;
  padding: 0 25px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  border: 1px solid transparent;
}
.alkhatt-btn--primary { background: var(--alkhatt-olive); color: white; }
.alkhatt-btn--primary:hover { background: var(--alkhatt-white); color: var(--alkhatt-black); }
.alkhatt-btn--ghost { border-color: rgba(255,255,255,.45); color: white; }
.alkhatt-btn--ghost:hover { background: white; color: var(--alkhatt-black); }
.alkhatt-hero__art {
  position: relative;
  justify-self: end;
  width: min(470px, 100%);
  height: 500px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.2);
  background: #222;
}
.alkhatt-hero__art > img { width: 100%; height: 100%; object-fit: cover; }
.alkhatt-hero__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.35), transparent 45%);
  pointer-events: none;
}
.alkhatt-hero__badge {
  position: absolute;
  z-index: 2;
  inset-inline-end: 18px;
  bottom: 18px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.alkhatt-hero__badge img { width: 64%; height: 70%; object-fit: contain; }

/* Sections */
.alkhatt-section { padding: 92px 0; }
.alkhatt-section--cream { background: var(--alkhatt-cream); }
.alkhatt-section__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.alkhatt-section__head h2 { margin: 0; font-size: clamp(28px, 4vw, 46px); }
.alkhatt-section__head p { max-width: 620px; margin: 10px 0 0; }
.alkhatt-text-link { font-weight: 750; color: var(--alkhatt-olive); white-space: nowrap; }
.alkhatt-category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.alkhatt-category-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: var(--alkhatt-radius);
  background: var(--alkhatt-black);
  box-shadow: var(--alkhatt-shadow);
}
.alkhatt-category-card img { width: 100%; height: 100%; object-fit: cover; opacity: .76; transition: transform .4s ease; }
.alkhatt-category-card:hover img { transform: scale(1.05); }
.alkhatt-category-card__content { position: absolute; inset: auto 22px 22px; color: white; }
.alkhatt-category-card h3 { margin: 0 0 5px; color: white; font-size: 22px; }
.alkhatt-category-card span { color: rgba(255,255,255,.75); font-size: 13px; }
.alkhatt-fallback-card {
  min-height: 260px;
  padding: 28px;
  border-radius: var(--alkhatt-radius);
  background: linear-gradient(145deg, var(--alkhatt-black), var(--alkhatt-olive-dark));
  display: flex;
  flex-direction: column;
  justify-content: end;
  color: white;
}
.alkhatt-fallback-card h3 { color: white; }

.alkhatt-category-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.82) 0%, rgba(10,10,10,.12) 64%, rgba(10,10,10,.02) 100%);
}

.alkhatt-work-section { background: #fff; }
.alkhatt-work-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 14px;
}
.alkhatt-work-card {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 16px;
  background: #eee;
  box-shadow: 0 8px 28px rgba(17,17,17,.08);
}
.alkhatt-work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.alkhatt-work-card:hover img { transform: scale(1.035); }

/* WooCommerce */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  padding: 14px;
  border: 1px solid var(--alkhatt-border);
  border-radius: var(--alkhatt-radius);
  background: white;
  transition: transform .25s ease, box-shadow .25s ease;
}
.woocommerce ul.products li.product:hover { transform: translateY(-5px); box-shadow: var(--alkhatt-shadow); }
.woocommerce ul.products li.product a img { border-radius: 13px; margin-bottom: 17px; aspect-ratio: 1/1; object-fit: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--alkhatt-black); font-size: 15px; line-height: 1.7; min-height: 50px; }
.woocommerce ul.products li.product .price { color: var(--alkhatt-olive-dark); font-weight: 800; }
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--alkhatt-black);
  color: white;
  border-radius: 999px;
  padding: 13px 19px;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { background: var(--alkhatt-olive); color: white; }
.woocommerce span.onsale { background: var(--alkhatt-olive); min-height: 46px; min-width: 46px; line-height: 46px; }
.woocommerce div.product .product_title { font-size: clamp(28px, 4vw, 46px); }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--alkhatt-olive-dark); font-weight: 800; }

/* Custom order */
.alkhatt-custom-order {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 26px;
  overflow: hidden;
  background: var(--alkhatt-black);
}
.alkhatt-custom-order__content { padding: 70px; }
.alkhatt-custom-order h2,
.alkhatt-custom-order p { color: white; }
.alkhatt-custom-order__visual {
  min-height: 460px;
  background: linear-gradient(135deg, var(--alkhatt-olive), #b2aa92);
  display: grid;
  place-items: center;
  padding: 50px;
}
.alkhatt-custom-order__visual img { max-height: 320px; width: auto; filter: drop-shadow(0 20px 25px rgba(0,0,0,.25)); }
.alkhatt-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 35px; }
.alkhatt-step { padding: 22px; border: 1px solid rgba(255,255,255,.16); border-radius: 15px; }
.alkhatt-step strong { color: white; display: block; margin-bottom: 6px; }
.alkhatt-step span { color: rgba(255,255,255,.7); font-size: 13px; }


.alkhatt-custom-order__visual--photo { background: #222; overflow: hidden; display: block; }
.alkhatt-custom-order__visual--photo img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; }

/* Footer */
.alkhatt-footer { background: #0e0e0e; color: white; padding: 70px 0 22px; }
.alkhatt-footer__grid { display: grid; grid-template-columns: 1.3fr repeat(3,1fr); gap: 42px; }
.alkhatt-footer h3 { color: white; font-size: 17px; margin-bottom: 20px; }
.alkhatt-footer p,
.alkhatt-footer li,
.alkhatt-footer a { color: rgba(255,255,255,.67); }
.alkhatt-footer a:hover { color: white; }
.alkhatt-footer ul { list-style: none; padding: 0; margin: 0; }
.alkhatt-footer li { margin-bottom: 10px; }
.alkhatt-footer__logo { width: 115px; background: white; border-radius: 50%; padding: 12px; margin-bottom: 18px; }
.alkhatt-footer__bottom { margin-top: 45px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; font-size: 13px; }

/* Existing theme cleanup */
.home-page-header, #footer.copyright-wrapper, .footer.close-sticky, .footer.copyright-sticky { display: none; }
#content-vw { padding-top: 30px; }
.middle-align, .blog .middle-align { padding-top: 55px; }
.navigation.post-navigation, .navigation.pagination { margin: 35px 0; }

@media (max-width: 1024px) {
  .alkhatt-header__inner { grid-template-columns: auto 1fr auto; gap: 16px; }
  .alkhatt-mobile-toggle { display: inline-flex; }
  .alkhatt-nav {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 15px;
    background: white;
    border: 1px solid var(--alkhatt-border);
    box-shadow: var(--alkhatt-shadow);
    border-radius: 14px;
    padding: 18px;
  }
  .alkhatt-nav.is-open { display: block; }
  .alkhatt-nav > div > ul { display: block; }
  .alkhatt-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding-inline-start: 20px; }
  .alkhatt-hero__inner { grid-template-columns: 1fr; text-align: center; }
  .alkhatt-hero__content { display: flex; flex-direction: column; align-items: center; }
  .alkhatt-hero__art { width: min(520px, 92%); height: 440px; justify-self: center; }
  .alkhatt-work-grid { grid-template-columns: repeat(3, 1fr); }
  .alkhatt-category-grid, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
  .alkhatt-custom-order { grid-template-columns: 1fr; }
  .alkhatt-footer__grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 782px) { .admin-bar .alkhatt-site-header.is-sticky { top: 46px; } }
@media (max-width: 700px) {
  .alkhatt-topbar__inner { min-height: 44px; justify-content: center; text-align: center; }
  .alkhatt-topbar__inner > :last-child { display: none; }
  .alkhatt-header__inner { min-height: 78px; }
  .alkhatt-brand img, .alkhatt-brand .custom-logo { height: 58px; }
  .alkhatt-header__actions .alkhatt-account { display: none; }
  .alkhatt-hero { min-height: 570px; }
  .alkhatt-hero__inner { padding: 64px 16px; gap: 38px; }
  .alkhatt-hero h1 { font-size: 38px; }
  .alkhatt-hero__art { width: 100%; height: 360px; }
  .alkhatt-work-grid { grid-template-columns: repeat(2, 1fr); }
  .alkhatt-section { padding: 65px 0; }
  .alkhatt-section__head { display: block; }
  .alkhatt-section__head .alkhatt-text-link { display: inline-block; margin-top: 16px; }
  .alkhatt-category-grid, .woocommerce ul.products { grid-template-columns: 1fr 1fr; gap: 12px; }
  .alkhatt-category-card { min-height: 240px; }
  .alkhatt-custom-order__content { padding: 42px 25px; }
  .alkhatt-steps { grid-template-columns: 1fr; }
  .alkhatt-footer__grid { grid-template-columns: 1fr; }
  .alkhatt-footer__bottom { display: block; }
}

@media (max-width: 470px) {
  .alkhatt-language { display: none; }
  .alkhatt-category-grid, .woocommerce ul.products, .alkhatt-work-grid { grid-template-columns: 1fr; }
  .alkhatt-category-card { min-height: 300px; }
}


/* ===== Alkhatt Art v1.2 homepage + product customization ===== */
.alkhatt-header__inner { min-height: 104px; gap: 40px; }
.alkhatt-brand img,
.alkhatt-brand .custom-logo { height: 84px; max-width: 220px; }
.alkhatt-nav > ul,
.alkhatt-nav > div > ul,
.alkhatt-fallback-menu { display: flex; align-items: center; justify-content: center; gap: 32px; margin: 0; padding: 0; list-style: none; }
.alkhatt-language { display: flex; align-items: center; gap: 5px; }
.alkhatt-language ul { display: flex; gap: 5px; list-style: none; margin: 0; padding: 0; }
.alkhatt-language li { list-style: none; margin: 0; padding: 0; }
.alkhatt-language a { text-transform: uppercase; min-width: 42px; }
.alkhatt-language .current-lang a { background: var(--alkhatt-black); color: white; border-color: var(--alkhatt-black); }

.alkhatt-eyebrow { display: inline-block; margin-bottom: 11px; color: var(--alkhatt-olive-dark); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.rtl .alkhatt-eyebrow { letter-spacing: 0; }
.alkhatt-eyebrow--light { color: rgba(255,255,255,.7); }
.alkhatt-section--olive { background: #5d5f51; }
.alkhatt-section__head--center { justify-content: center; text-align: center; }
.alkhatt-section__head--center > div { max-width: 760px; }
.alkhatt-section__head--center p { margin-inline: auto; }

.alkhatt-category-grid--five { grid-template-columns: repeat(4, minmax(0,1fr)); }
.alkhatt-category-grid--five .alkhatt-category-card--custom { grid-column: span 2; min-height: 300px; }
.alkhatt-category-grid--five .alkhatt-category-card--custom .alkhatt-category-card__content { max-width: 420px; }

.alkhatt-btn--light { background: white; color: var(--alkhatt-black); }
.alkhatt-btn--light:hover { background: var(--alkhatt-sand); color: var(--alkhatt-black); }
.alkhatt-btn--dark { background: var(--alkhatt-black); color: white; }
.alkhatt-btn--dark:hover { background: var(--alkhatt-olive); color: white; }
.alkhatt-custom-order--premium { box-shadow: 0 26px 70px rgba(0,0,0,.18); }
.alkhatt-custom-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.alkhatt-custom-chips span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: rgba(255,255,255,.85); font-size: 12px; }

.alkhatt-benefits { background: white; }
.alkhatt-benefit-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.alkhatt-benefit { padding: 32px 26px; border: 1px solid var(--alkhatt-border); border-radius: 18px; background: #fff; }
.alkhatt-benefit__icon { width: 54px; height: 54px; border-radius: 16px; display: inline-grid; place-items: center; background: var(--alkhatt-cream); color: var(--alkhatt-olive-dark); font-size: 15px; font-weight: 800; margin-bottom: 22px; }
.alkhatt-benefit h3 { font-size: 18px; margin: 0 0 8px; }
.alkhatt-benefit p { margin: 0; font-size: 14px; line-height: 1.75; }

.alkhatt-review-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.alkhatt-review-card { padding: 30px; border-radius: 18px; background: #fff; border: 1px solid var(--alkhatt-border); }
.alkhatt-review-stars { color: #9a8f70; letter-spacing: .12em; margin-bottom: 14px; }
.alkhatt-review-card p { color: var(--alkhatt-black); }
.alkhatt-review-card strong { font-size: 13px; }

.alkhatt-instagram { padding: 62px 0; background: var(--alkhatt-sand); }
.alkhatt-instagram__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.alkhatt-instagram h2 { margin: 0 0 8px; font-size: clamp(28px,4vw,44px); }
.alkhatt-instagram p { margin: 0; max-width: 680px; }
.alkhatt-page-content:empty { display: none; }

/* Customizable product fields */
.alkhatt-product-customization { margin: 26px 0 20px; padding: 22px; background: var(--alkhatt-cream); border: 1px solid var(--alkhatt-border); border-radius: 16px; }
.alkhatt-product-customization__title { display: flex; flex-direction: column; gap: 4px; margin-bottom: 17px; }
.alkhatt-product-customization__title > span { font-size: 17px; font-weight: 800; color: var(--alkhatt-black); }
.alkhatt-product-customization__title small { color: var(--alkhatt-muted); }
.alkhatt-product-customization label { display: block; margin-bottom: 7px; font-weight: 700; color: var(--alkhatt-black); }
.alkhatt-product-customization input[type="text"],
.alkhatt-product-customization textarea { width: 100%; border: 1px solid #d9d2c7; background: #fff; border-radius: 11px; padding: 12px 14px; font: inherit; box-sizing: border-box; }
.alkhatt-product-customization input[type="text"]:focus,
.alkhatt-product-customization textarea:focus { outline: 2px solid rgba(105,106,91,.2); border-color: var(--alkhatt-olive); }
.alkhatt-product-customization .required { color: #a43d32; }
.alkhatt-product-customization .optional { color: var(--alkhatt-muted); font-size: 12px; font-weight: 500; }

.alkhatt-footer__social { display: inline-block; margin-top: 6px; font-weight: 700; }
.alkhatt-footer__note { margin-top: 16px; font-size: 13px; }
.alkhatt-footer .alkhatt-language a { border-color: rgba(255,255,255,.2); background: transparent; color: white; }
.alkhatt-footer .alkhatt-language .current-lang a { background: white; color: var(--alkhatt-black); }

@media (max-width: 1024px) {
  .alkhatt-header__inner { min-height: 92px; }
  .alkhatt-brand img, .alkhatt-brand .custom-logo { height: 72px; }
  .alkhatt-category-grid--five { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .alkhatt-category-grid--five .alkhatt-category-card--custom { grid-column: span 2; }
  .alkhatt-benefit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .alkhatt-review-grid { grid-template-columns: 1fr 1fr; }
  .alkhatt-nav > ul, .alkhatt-nav > div > ul, .alkhatt-fallback-menu { display: block; }
}
@media (max-width: 700px) {
  .alkhatt-brand img, .alkhatt-brand .custom-logo { height: 64px; max-width: 170px; }
  .alkhatt-category-grid--five .alkhatt-category-card--custom { grid-column: span 2; }
  .alkhatt-benefit-grid, .alkhatt-review-grid { grid-template-columns: 1fr; }
  .alkhatt-instagram__inner { display: block; }
  .alkhatt-instagram .alkhatt-btn { margin-top: 22px; }
}
@media (max-width: 470px) {
  .alkhatt-category-grid--five { grid-template-columns: 1fr; }
  .alkhatt-category-grid--five .alkhatt-category-card--custom { grid-column: span 1; }
}


/* ===== Alkhatt Art v1.3 refinement pass ===== */
/* Header: slightly larger logo, tighter bar, premium spacing, language before actions. */
.alkhatt-header__inner { min-height: 96px; gap: 32px; }
.alkhatt-brand img,
.alkhatt-brand .custom-logo { height: 88px; max-width: 210px; }
.alkhatt-nav > ul,
.alkhatt-nav > div > ul,
.alkhatt-fallback-menu { gap: 26px; }
.alkhatt-nav a { font-size: 15px; font-weight: 650; }
.alkhatt-header__actions { gap: 8px; }
.alkhatt-header__actions > .alkhatt-language { margin-inline-end: 4px; }
.alkhatt-icon-button,
.alkhatt-language a { min-width: 42px; height: 42px; }

/* Hero refinements. */
.alkhatt-hero__inner { grid-template-columns: 1fr .95fr; gap: 64px; }
.alkhatt-hero h1 { font-size: clamp(42px, 5.25vw, 68px); max-width: 720px; }
.alkhatt-hero__art { width: min(525px, 100%); height: 510px; }
.alkhatt-hero__badge { display: none !important; }
.rtl .alkhatt-hero__content { order: 2; text-align: right; }
.rtl .alkhatt-hero__art { order: 1; justify-self: start; }

/* Categories: four balanced cards + separate custom-order banner. */
.alkhatt-category-grid--four { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.alkhatt-category-grid--four .alkhatt-category-card { min-height: 285px; box-shadow: 0 10px 30px rgba(17,17,17,.09); }
.alkhatt-category-grid--four .alkhatt-category-card__content { inset: auto 20px 20px; }
.alkhatt-category-grid--four .alkhatt-category-card h3 { margin: 0; font-size: 19px; }
.alkhatt-custom-banner {
  margin-top: 24px;
  min-height: 250px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  overflow: hidden;
  border-radius: 22px;
  background: #111;
  color: white;
  box-shadow: 0 16px 42px rgba(17,17,17,.12);
}
.alkhatt-custom-banner__content { padding: 42px 46px; align-self: center; }
.alkhatt-custom-banner__content h3 { margin: 0 0 10px; color: white; font-size: clamp(27px,3.2vw,40px); }
.alkhatt-custom-banner__content p { max-width: 620px; margin: 0 0 24px; color: rgba(255,255,255,.72); }
.alkhatt-custom-banner__image { min-height: 250px; overflow: hidden; }
.alkhatt-custom-banner__image img { width: 100%; height: 100%; object-fit: cover; }
.rtl .alkhatt-custom-banner__content { order: 2; text-align: right; }
.rtl .alkhatt-custom-banner__image { order: 1; }

/* Product cards: keep CTA perfectly aligned across cards. */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product > a.woocommerce-LoopProduct-link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title { min-height: 58px; }
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price { margin-top: auto; min-height: 26px; display: block; }
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button { margin-top: 16px; align-self: flex-start; }

/* Footer: dark logo, cleaner groups, less visual bulk. */
.alkhatt-footer { padding: 62px 0 20px; }
.alkhatt-footer__grid { grid-template-columns: 1.25fr 1fr .95fr 1fr; gap: 52px; align-items: start; }
.alkhatt-footer__brand { max-width: 310px; }
.alkhatt-footer__logo {
  width: 94px;
  height: 168px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: -18px 0 8px;
}
.rtl .alkhatt-footer__logo { object-position: right center; }
.alkhatt-footer__contact-links { display: flex; flex-direction: column; gap: 7px; margin-top: 18px; }
.alkhatt-footer__social { margin-top: 0; }
.alkhatt-footer__language-block { margin-top: 30px; }
.alkhatt-footer__language-block h3 { margin-bottom: 12px; }
.alkhatt-footer__bottom { justify-content: flex-start; margin-top: 44px; }

@media (max-width: 1024px) {
  .alkhatt-header__inner { min-height: 88px; }
  .alkhatt-brand img, .alkhatt-brand .custom-logo { height: 76px; }
  .alkhatt-hero__inner { grid-template-columns: 1fr; }
  .rtl .alkhatt-hero__content, .rtl .alkhatt-hero__art { order: initial; }
  .rtl .alkhatt-hero__content { text-align: center; }
  .alkhatt-category-grid--four { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .alkhatt-footer__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 42px; }
}
@media (max-width: 700px) {
  .alkhatt-header__inner { min-height: 78px; }
  .alkhatt-brand img, .alkhatt-brand .custom-logo { height: 66px; max-width: 170px; }
  .alkhatt-header__actions > .alkhatt-language { display: none; }
  .alkhatt-hero h1 { font-size: 38px; }
  .alkhatt-category-grid--four { grid-template-columns: 1fr 1fr; gap: 12px; }
  .alkhatt-category-grid--four .alkhatt-category-card { min-height: 230px; }
  .alkhatt-custom-banner { grid-template-columns: 1fr; }
  .alkhatt-custom-banner__content { padding: 34px 26px; }
  .alkhatt-custom-banner__image { min-height: 220px; }
  .alkhatt-footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .alkhatt-footer__logo { width: 82px; height: 145px; }
}
@media (max-width: 470px) {
  .alkhatt-category-grid--four { grid-template-columns: 1fr; }
  .alkhatt-category-grid--four .alkhatt-category-card { min-height: 285px; }
}

/* ===== Alkhatt Art v1.4 cart, sale badge & language switcher ===== */
/* Cart: make the artwork thumbnail more visible without making the cart row bulky. */
.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image {
  width: 110px;
  padding-inline-end: 14px !important;
  vertical-align: top;
}
.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image a {
  display: block;
  width: 110px;
  height: 110px;
  overflow: hidden;
  border-radius: 10px;
}
.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img {
  width: 110px !important;
  height: 110px !important;
  max-width: none !important;
  margin: 0 !important;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}
/* Classic WooCommerce cart fallback. */
.woocommerce-cart-form .cart_item .product-thumbnail { width: 110px; }
.woocommerce-cart-form .cart_item .product-thumbnail img {
  width: 104px !important;
  height: 104px !important;
  object-fit: cover;
  border-radius: 10px;
}

/* Sale badge: compact premium pill, positioned inside the image. */
.woocommerce ul.products li.product span.onsale,
.woocommerce-page ul.products li.product span.onsale,
.woocommerce span.onsale {
  top: 14px !important;
  right: 14px !important;
  left: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  width: auto !important;
  height: auto !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 8px 11px !important;
  border-radius: 999px !important;
  background: var(--alkhatt-olive-dark) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .01em;
  box-shadow: 0 6px 18px rgba(17,17,17,.14);
}
.rtl .woocommerce ul.products li.product span.onsale,
.rtl .woocommerce-page ul.products li.product span.onsale {
  right: auto !important;
  left: 14px !important;
}

/* Polylang switcher: always visible, clear and compact on EN + Arabic pages. */
.alkhatt-language { display: flex; align-items: center; }
.alkhatt-language ul {
  display: flex;
  align-items: center;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.alkhatt-language li { margin: 0; padding: 0; list-style: none; }
.alkhatt-language a {
  min-width: auto;
  height: 42px;
  padding: 0 13px;
  white-space: nowrap;
}
.alkhatt-language .current-lang a {
  background: var(--alkhatt-black);
  color: #fff;
  border-color: var(--alkhatt-black);
}

@media (max-width: 700px) {
  .alkhatt-header__actions > .alkhatt-language {
    display: flex !important;
    margin-inline-end: 0;
  }
  .alkhatt-language { display: flex !important; }
  .alkhatt-language ul { gap: 3px; }
  .alkhatt-language a {
    height: 36px;
    padding: 0 8px;
    font-size: 11px;
  }
  .alkhatt-header__actions { gap: 5px; }
  .wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image,
  .wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image a {
    width: 92px;
  }
  .wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image a,
  .wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img {
    width: 92px !important;
    height: 92px !important;
  }
}
@media (max-width: 430px) {
  .alkhatt-language li.current-lang { display: none; }
  .alkhatt-language a { padding-inline: 9px; }
}



/* ===== Alkhatt Art v1.5 Arabic storefront ===== */
.rtl.woocommerce .woocommerce-breadcrumb,
.rtl.woocommerce .woocommerce-result-count,
.rtl.woocommerce .woocommerce-ordering,
.rtl.woocommerce-page .woocommerce-breadcrumb,
.rtl.woocommerce-page .woocommerce-result-count,
.rtl.woocommerce-page .woocommerce-ordering { text-align: right; }

.rtl.woocommerce .woocommerce-ordering select,
.rtl.woocommerce-page .woocommerce-ordering select {
  direction: rtl;
  text-align: right;
  padding-inline: 42px 14px;
}

.rtl .woocommerce ul.products li.product,
.rtl .woocommerce-page ul.products li.product { text-align: right; }
.rtl .woocommerce ul.products li.product .button,
.rtl .woocommerce-page ul.products li.product .button { align-self: flex-start; }

.rtl .wc-block-components-product-name,
.rtl .wc-block-cart-item__product,
.rtl .wc-block-components-totals-wrapper,
.rtl .wc-block-components-sidebar-layout { text-align: right; }


/* ===== Alkhatt Art v1.8 interaction + customization upgrade ===== */
/* Remove the unwanted orange/yellow click outline across the storefront. */
:where(a, button, input, select, textarea, summary, [role="button"], [tabindex]):focus,
:where(a, button, input, select, textarea, summary, [role="button"], [tabindex]):active {
  outline: none !important;
}
a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
button:focus-visible,
.button:focus-visible,
[role="button"]:focus-visible { filter: brightness(.94); }
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none !important;
  border-color: var(--alkhatt-olive) !important;
  box-shadow: none !important;
}
/* Neutralize parent-theme focus rings around WooCommerce cards and links. */
.woocommerce a:focus,
.woocommerce a:active,
.woocommerce button:focus,
.woocommerce button:active,
.woocommerce ul.products li.product a:focus,
.woocommerce ul.products li.product a:active,
.woocommerce ul.products li.product:focus,
.woocommerce ul.products li.product:active {
  outline: none !important;
  box-shadow: none !important;
}

/* Larger, easier-to-read discount badge while keeping the premium pill style. */
.woocommerce ul.products li.product span.onsale,
.woocommerce-page ul.products li.product span.onsale,
.woocommerce span.onsale {
  top: 14px !important;
  right: 14px !important;
  min-width: 48px !important;
  min-height: 38px !important;
  padding: 9px 13px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  border-radius: 999px !important;
}
.rtl .woocommerce ul.products li.product span.onsale,
.rtl .woocommerce-page ul.products li.product span.onsale {
  right: auto !important;
  left: 14px !important;
}

/* Full per-product customization UI. */
.alkhatt-product-customization {
  margin: 28px 0 22px;
  padding: 24px;
  background: var(--alkhatt-cream);
  border: 1px solid var(--alkhatt-border);
  border-radius: 18px;
}
.alkhatt-product-customization .form-row { margin: 0 0 16px; }
.alkhatt-product-customization .form-row:last-child { margin-bottom: 0; }
.alkhatt-product-customization input[type="text"],
.alkhatt-product-customization input[type="file"],
.alkhatt-product-customization select,
.alkhatt-product-customization textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d9d2c7;
  background: #fff;
  border-radius: 11px;
  padding: 11px 13px;
  color: var(--alkhatt-black);
  font: inherit;
  box-sizing: border-box;
}
.alkhatt-product-customization textarea { min-height: 96px; resize: vertical; }
.alkhatt-product-customization select { appearance: auto; }
.alkhatt-customization-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 2px;
}
.alkhatt-custom-choice { min-width: 0; }
.alkhatt-custom-upload-row small {
  display: block;
  margin-top: 7px;
  color: var(--alkhatt-muted);
  font-size: 12px;
}
.alkhatt-product-customization input[type="file"] { padding: 8px; }
.alkhatt-product-customization input[type="file"]::file-selector-button {
  border: 0;
  border-radius: 8px;
  background: var(--alkhatt-black);
  color: #fff;
  padding: 9px 12px;
  margin-inline-end: 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.rtl .alkhatt-product-customization { text-align: right; }

@media (max-width: 640px) {
  .alkhatt-customization-grid { grid-template-columns: 1fr; gap: 0; }
  .alkhatt-product-customization { padding: 19px; }
  .woocommerce ul.products li.product span.onsale,
  .woocommerce-page ul.products li.product span.onsale,
  .woocommerce span.onsale {
    min-width: 44px !important;
    min-height: 36px !important;
    padding: 8px 11px !important;
    font-size: 13px !important;
  }
}

/* ===== Alkhatt Art v2.0 single product + language continuity ===== */
body.alkhatt-lang-en { direction: ltr; }
body.alkhatt-lang-ar { direction: rtl; }
body.alkhatt-lang-en .woocommerce,
body.alkhatt-lang-en .alkhatt-site-header,
body.alkhatt-lang-en .alkhatt-site-footer { direction: ltr; }
body.alkhatt-lang-ar .woocommerce,
body.alkhatt-lang-ar .alkhatt-site-header,
body.alkhatt-lang-ar .alkhatt-site-footer { direction: rtl; }

/* Give single products the full content width and a calmer two-column layout. */
body.single-product #maincontent { padding-top: 44px !important; padding-bottom: 70px; }
body.single-product #maincontent > .row,
body.single-product #maincontent > .row > [class*="col-"] { width: 100%; max-width: 100%; flex: 0 0 100%; }
body.single-product .woocommerce-breadcrumb {
  margin: 0 0 28px !important;
  color: var(--alkhatt-muted);
  font-size: 13px;
  line-height: 1.7;
}
body.single-product .woocommerce div.product {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  column-gap: clamp(38px, 5vw, 72px);
  row-gap: 0;
  align-items: start;
  width: 100%;
}
body.single-product .woocommerce div.product::before,
body.single-product .woocommerce div.product::after { display: none !important; }
body.single-product .woocommerce div.product div.images,
body.single-product .woocommerce div.product div.summary {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}
body.single-product .woocommerce div.product div.images {
  grid-column: 1;
  min-width: 0;
}
body.single-product .woocommerce div.product div.summary {
  grid-column: 2;
  min-width: 0;
  padding: 12px 0 20px;
  position: sticky;
  top: 132px;
}
body.single-product.admin-bar .woocommerce div.product div.summary { top: 164px; }

body.single-product .woocommerce-product-gallery {
  border-radius: 22px;
  overflow: visible;
}
body.single-product .woocommerce-product-gallery__wrapper { margin: 0; }
body.single-product .woocommerce-product-gallery__image {
  border-radius: 20px;
  overflow: hidden;
  background: var(--alkhatt-cream);
  box-shadow: none !important;
  transform: none !important;
}
body.single-product .woocommerce-product-gallery__image:hover { transform: none !important; box-shadow: none !important; }
body.single-product .woocommerce-product-gallery__image:hover img { transform: none !important; }
body.single-product .woocommerce-product-gallery__image:first-child img {
  width: 100% !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__trigger {
  top: 18px;
  right: 18px;
  left: auto;
  background: rgba(255,255,255,.94);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(17,17,17,.10);
}
body.alkhatt-lang-ar.single-product .woocommerce div.product div.images .woocommerce-product-gallery__trigger {
  right: auto;
  left: 18px;
}

/* Product information: stronger hierarchy and more breathing room. */
body.single-product .summary .product_title {
  margin: 0 0 14px !important;
  font-size: clamp(32px, 3.4vw, 48px) !important;
  line-height: 1.18 !important;
  letter-spacing: -.025em;
}
body.alkhatt-lang-ar.single-product .summary .product_title {
  line-height: 1.42 !important;
  letter-spacing: 0;
}
body.single-product .summary .woocommerce-product-rating { margin: 0 0 14px !important; }
body.single-product .summary p.price,
body.single-product .summary span.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 9px;
  margin: 0 0 24px !important;
  color: var(--alkhatt-black) !important;
  font-size: 24px !important;
  font-weight: 800;
}
body.single-product .summary p.price del,
body.single-product .summary span.price del {
  color: #8d8b85 !important;
  font-size: .72em;
  opacity: 1 !important;
}
body.single-product .summary p.price ins,
body.single-product .summary span.price ins { text-decoration: none; }
.alkhatt-single-discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin: 0 0 13px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--alkhatt-olive-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  width: max-content;
}
body.single-product .woocommerce-product-details__short-description {
  margin: 0 0 24px;
  padding: 0 0 23px;
  border-bottom: 1px solid var(--alkhatt-border);
}
body.single-product .woocommerce-product-details__short-description p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

body.single-product form.cart {
  display: flex !important;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin: 0 0 20px !important;
}
body.single-product form.cart .alkhatt-product-customization,
body.single-product form.cart .variations,
body.single-product form.cart .single_variation_wrap { flex: 0 0 100%; width: 100%; }
body.single-product form.cart .quantity { margin: 0 !important; }
body.single-product form.cart .quantity .qty {
  width: 76px !important;
  min-height: 52px;
  border: 1px solid var(--alkhatt-border);
  border-radius: 12px;
  background: #fff;
  font-weight: 700;
}
body.single-product form.cart .single_add_to_cart_button {
  min-height: 52px;
  padding: 0 26px !important;
  border-radius: 12px !important;
  background: var(--alkhatt-black) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  flex: 1 1 190px;
}
body.single-product form.cart .single_add_to_cart_button:hover { background: var(--alkhatt-olive-dark) !important; }

/* Wishlist should feel secondary instead of floating in the middle of the summary. */
body.single-product .yith-wcwl-add-to-wishlist,
body.single-product .yith-wcwl-add-to-wishlist-button,
body.single-product .yith-wcwl-add-button {
  margin: 8px 0 22px !important;
}
body.single-product .yith-wcwl-add-to-wishlist a,
body.single-product .yith-wcwl-add-to-wishlist-button a,
body.single-product a.add_to_wishlist {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px !important;
  border: 1px solid var(--alkhatt-border) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--alkhatt-black) !important;
  text-decoration: none !important;
  font-weight: 700;
}
body.single-product .product_meta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--alkhatt-border);
  color: var(--alkhatt-muted);
  font-size: 13px;
  line-height: 1.9;
}
body.single-product .product_meta > span { display: block; margin: 2px 0; }
body.single-product .product_meta a { color: var(--alkhatt-black); text-decoration: none !important; }
body.single-product .product_meta a:hover { color: var(--alkhatt-olive); }

/* Description / reviews become a spacious full-width block below the main product. */
body.single-product .woocommerce div.product .woocommerce-tabs,
body.single-product .woocommerce div.product .related,
body.single-product .woocommerce div.product .upsells {
  grid-column: 1 / -1;
  width: 100%;
}
body.single-product .woocommerce div.product .woocommerce-tabs { margin-top: 74px; }
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px !important;
  padding: 0 !important;
  border: 0 !important;
}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: 1px solid var(--alkhatt-border) !important;
  background: #fff !important;
  border-radius: 999px !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 11px 18px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: var(--alkhatt-black) !important;
  border-color: var(--alkhatt-black) !important;
}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff !important; }
body.single-product .woocommerce div.product .woocommerce-tabs .panel {
  margin: 0 !important;
  padding: clamp(24px, 4vw, 44px) !important;
  border: 1px solid var(--alkhatt-border);
  border-radius: 20px;
  background: var(--alkhatt-cream);
}
body.single-product .woocommerce div.product .woocommerce-tabs .panel h2,
body.single-product .woocommerce div.product .woocommerce-tabs .panel h3 { margin-top: 0; }
body.single-product .woocommerce div.product .woocommerce-tabs .panel p,
body.single-product .woocommerce div.product .woocommerce-tabs .panel li {
  font-size: 15px;
  line-height: 1.95;
}
body.single-product .related.products,
body.single-product .upsells.products { margin-top: 70px; }
body.single-product .related.products > h2,
body.single-product .upsells.products > h2 { margin-bottom: 26px; font-size: clamp(26px, 3vw, 36px); }

@media (max-width: 980px) {
  body.single-product .woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  body.single-product .woocommerce div.product div.images,
  body.single-product .woocommerce div.product div.summary { grid-column: 1; }
  body.single-product .woocommerce div.product div.summary {
    position: static;
    top: auto;
    padding-top: 0;
  }
  body.single-product .woocommerce div.product .woocommerce-tabs,
  body.single-product .woocommerce div.product .related,
  body.single-product .woocommerce div.product .upsells { grid-column: 1; }
  body.single-product .woocommerce div.product .woocommerce-tabs { margin-top: 30px; }
}

@media (max-width: 640px) {
  body.single-product #maincontent { padding-top: 24px !important; }
  body.single-product .summary .product_title { font-size: 30px !important; }
  body.alkhatt-lang-ar.single-product .summary .product_title { font-size: 29px !important; }
  body.single-product .woocommerce-product-gallery__image:first-child img { aspect-ratio: 1 / 1.08; }
  body.single-product form.cart .quantity .qty { width: 68px !important; }
  body.single-product .woocommerce div.product .woocommerce-tabs .panel { padding: 22px !important; }
}


/* ===== Alkhatt Art v2.1 compact desktop layout =====
   Gives the site the airy, premium feel of the previous 75% browser view,
   while keeping browsers at a normal 100% zoom. Mobile remains full-width. */
:root {
  --alkhatt-content-max: 1120px;
  --alkhatt-desktop-gutter: 28px;
}

/* One consistent centered content width across the whole site. */
.container,
#maincontent > .container,
#content-vw > .container,
.middle-align > .container,
.woocommerce-page #maincontent > .container,
.woocommerce #maincontent > .container {
  width: calc(100% - (var(--alkhatt-desktop-gutter) * 2)) !important;
  max-width: var(--alkhatt-content-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (min-width: 1200px) {
  /* Header: a little calmer and less tall. */
  .alkhatt-header__inner { min-height: 84px; gap: 26px; }
  .alkhatt-brand img,
  .alkhatt-brand .custom-logo { height: 72px; max-width: 180px; }
  .alkhatt-nav > ul,
  .alkhatt-nav > div > ul,
  .alkhatt-fallback-menu { gap: 22px; }
  .alkhatt-nav a { font-size: 14px; }
  .alkhatt-icon-button,
  .alkhatt-language a { height: 38px; min-width: 38px; }

  /* Hero: same visual character, but more white/negative space around it. */
  .alkhatt-hero { min-height: 545px; }
  .alkhatt-hero__inner {
    grid-template-columns: 1.03fr .97fr;
    gap: 48px;
    padding-top: 62px;
    padding-bottom: 62px;
  }
  .alkhatt-hero h1 {
    font-size: clamp(40px, 4.1vw, 58px);
    max-width: 650px;
  }
  .alkhatt-hero p { font-size: 15px; max-width: 590px; }
  .alkhatt-hero__buttons { margin-top: 26px; }
  .alkhatt-btn { min-height: 46px; padding-inline: 22px; font-size: 14px; }
  .alkhatt-hero__art { width: min(440px, 100%); height: 440px; border-radius: 22px; }

  /* Homepage sections: compact spacing without making them crowded. */
  .alkhatt-section { padding: 72px 0; }
  .alkhatt-section__head { margin-bottom: 30px; }
  .alkhatt-section__head h2 { font-size: clamp(28px, 3vw, 39px); }
  .alkhatt-category-grid,
  .alkhatt-category-grid--four { gap: 16px; }
  .alkhatt-category-grid--four .alkhatt-category-card,
  .alkhatt-category-card { min-height: 250px; }
  .alkhatt-category-card h3,
  .alkhatt-category-grid--four .alkhatt-category-card h3 { font-size: 18px; }
  .alkhatt-custom-banner { min-height: 220px; margin-top: 20px; }
  .alkhatt-custom-banner__content { padding: 34px 38px; }
  .alkhatt-custom-banner__image { min-height: 220px; }
  .alkhatt-custom-order__content { padding: 52px; }
  .alkhatt-custom-order__visual,
  .alkhatt-custom-order__visual--photo img { min-height: 390px; }
  .alkhatt-work-grid { gap: 12px; }
  .alkhatt-benefit { padding: 26px 22px; }
  .alkhatt-review-card { padding: 25px; }
  .alkhatt-instagram { padding: 50px 0; }

  /* Product grids: preserve 4 columns, but reduce visual bulk. */
  .woocommerce ul.products { gap: 18px; }
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product { padding: 12px; border-radius: 16px; }
  .woocommerce ul.products li.product a img { margin-bottom: 13px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px;
    min-height: 52px;
  }
  .woocommerce ul.products li.product .button,
  .woocommerce-page ul.products li.product .button {
    margin-top: 13px;
    padding: 11px 16px;
    font-size: 13px;
  }

  /* Shop / archive pages from the parent theme should use the same breathing room. */
  #content-vw { padding-top: 22px; }
  .middle-align,
  .blog .middle-align { padding-top: 42px; }
  .woocommerce .woocommerce-breadcrumb { margin-bottom: 22px; }

  /* Single product: reduce oversized imagery while retaining the premium layout. */
  body.single-product #maincontent { padding-top: 34px !important; padding-bottom: 58px; }
  body.single-product .woocommerce div.product {
    grid-template-columns: minmax(0, 1.02fr) minmax(340px, .98fr);
    column-gap: 48px;
  }
  body.single-product .summary .product_title {
    font-size: clamp(30px, 3vw, 41px) !important;
  }
  body.single-product .woocommerce div.product div.summary { top: 112px; }
  body.single-product.admin-bar .woocommerce div.product div.summary { top: 144px; }

  /* Footer follows the same narrower content rhythm. */
  .alkhatt-footer { padding-top: 52px; }
  .alkhatt-footer__grid { gap: 38px; }
  .alkhatt-footer__bottom { margin-top: 34px; }
}

/* On ultra-wide screens keep the site deliberately narrow and centered. */
@media (min-width: 1600px) {
  :root { --alkhatt-content-max: 1140px; }
}

/* Tablet/mobile: use normal responsive gutters, never desktop-style scaling. */
@media (max-width: 1199px) {
  :root { --alkhatt-desktop-gutter: 20px; }
}
@media (max-width: 700px) {
  :root { --alkhatt-desktop-gutter: 16px; }
}


/* ===== Alkhatt Art v2.2 — extra desktop breathing room =====
   Slightly more compact than v2.1, with noticeably wider white margins
   on desktop while keeping tablet/mobile unchanged. */
@media (min-width: 1200px) {
  :root {
    --alkhatt-content-max: 1040px;
    --alkhatt-desktop-gutter: 32px;
  }

  .alkhatt-header__inner { min-height: 80px; gap: 22px; }
  .alkhatt-brand img,
  .alkhatt-brand .custom-logo { height: 68px; max-width: 168px; }
  .alkhatt-nav > ul,
  .alkhatt-nav > div > ul,
  .alkhatt-fallback-menu { gap: 19px; }
  .alkhatt-nav a { font-size: 13.5px; }

  .alkhatt-hero { min-height: 500px; }
  .alkhatt-hero__inner {
    gap: 42px;
    padding-top: 54px;
    padding-bottom: 54px;
  }
  .alkhatt-hero h1 {
    font-size: clamp(38px, 3.7vw, 53px);
    max-width: 590px;
  }
  .alkhatt-hero p { font-size: 14.5px; max-width: 545px; }
  .alkhatt-hero__art { width: min(400px, 100%); height: 400px; }

  .alkhatt-section { padding: 64px 0; }
  .alkhatt-section__head { margin-bottom: 26px; }
  .alkhatt-section__head h2 { font-size: clamp(27px, 2.7vw, 36px); }
  .alkhatt-category-grid,
  .alkhatt-category-grid--four { gap: 14px; }
  .alkhatt-category-grid--four .alkhatt-category-card,
  .alkhatt-category-card { min-height: 232px; }
  .alkhatt-custom-banner { min-height: 200px; }
  .alkhatt-custom-banner__image { min-height: 200px; }
  .alkhatt-custom-order__content { padding: 46px; }
  .alkhatt-custom-order__visual,
  .alkhatt-custom-order__visual--photo img { min-height: 360px; }

  .woocommerce ul.products { gap: 16px; }
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product { padding: 11px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    font-size: 13.5px;
    min-height: 50px;
  }
  .woocommerce ul.products li.product .price,
  .woocommerce-page ul.products li.product .price { font-size: 14px; }

  body.single-product #maincontent { padding-top: 30px !important; padding-bottom: 52px; }
  body.single-product .woocommerce div.product {
    grid-template-columns: minmax(0, 1fr) minmax(330px, .92fr);
    column-gap: 42px;
  }
  body.single-product .summary .product_title {
    font-size: clamp(28px, 2.7vw, 38px) !important;
  }

  .alkhatt-footer { padding-top: 46px; }
  .alkhatt-footer__grid { gap: 32px; }
}

@media (min-width: 1600px) {
  :root { --alkhatt-content-max: 1060px; }
}

/* ===== Alkhatt Art v2.3 — responsive whitespace correction =====
   Keep the airy 1040px desktop canvas, but do not squeeze shop/product
   layouts on tablets and phones. Side whitespace stays clean white. */
body,
#page,
.site,
#content-vw,
#maincontent,
.woocommerce-page,
.woocommerce {
  background-color: #fff;
}

/* The compact max-width is a desktop treatment only. */
@media (max-width: 1199px) {
  .container,
  #maincontent > .container,
  #content-vw > .container,
  .middle-align > .container,
  .woocommerce-page #maincontent > .container,
  .woocommerce #maincontent > .container {
    width: calc(100% - 32px) !important;
    max-width: none !important;
  }
}

/* Keep shop cards useful instead of becoming one oversized card too early. */
@media (min-width: 421px) and (max-width: 1024px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (max-width: 700px) {
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    padding: 10px !important;
    border-radius: 15px;
  }
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px !important;
    line-height: 1.55;
    min-height: 44px;
  }
  .woocommerce ul.products li.product .price,
  .woocommerce-page ul.products li.product .price {
    font-size: 13px !important;
  }
  .woocommerce ul.products li.product .button,
  .woocommerce-page ul.products li.product .button {
    font-size: 12px !important;
    padding: 10px 13px !important;
  }
}

/* Very narrow phones can return to one comfortable column. */
@media (max-width: 420px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr !important;
  }
}

/* ===== Alkhatt Art v2.4 — premium mobile shop =====
   Mobile sizing follows the compact storefront reference: more products visible,
   two cards per row, useful category navigation, and a clean shop toolbar. */

/* Shop category navigation */
.alkhatt-shop-categories {
  clear: both;
  margin: 8px 0 30px;
}
.alkhatt-shop-categories__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}
.alkhatt-shop-categories__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--alkhatt-olive-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.alkhatt-shop-categories__head h2 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.25;
}
.alkhatt-shop-categories__track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.alkhatt-shop-category {
  min-width: 0;
  color: var(--alkhatt-black);
  text-decoration: none !important;
}
.alkhatt-shop-category__image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / .78;
  border: 1px solid var(--alkhatt-border);
  border-radius: 14px;
  background: var(--alkhatt-cream);
}
.alkhatt-shop-category__image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: inherit;
  pointer-events: none;
  transition: border-color .2s ease;
}
.alkhatt-shop-category img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .25s ease;
}
.alkhatt-shop-category__title {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.alkhatt-shop-category.is-active .alkhatt-shop-category__image::after {
  border-color: var(--alkhatt-olive);
}
.alkhatt-shop-category.is-active .alkhatt-shop-category__title {
  color: var(--alkhatt-olive-dark);
}
@media (hover:hover) and (pointer:fine) {
  .alkhatt-shop-category:hover img { transform: scale(1.035); }
}

/* Shop result count + sorting row */
.alkhatt-shop-toolbar {
  clear: both;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0 15px;
  margin: 0 0 18px;
  border-top: 1px solid var(--alkhatt-border);
  border-bottom: 1px solid var(--alkhatt-border);
}
.woocommerce .alkhatt-shop-toolbar .woocommerce-result-count,
.woocommerce-page .alkhatt-shop-toolbar .woocommerce-result-count,
.woocommerce .alkhatt-shop-toolbar .woocommerce-ordering,
.woocommerce-page .alkhatt-shop-toolbar .woocommerce-ordering {
  float: none !important;
  margin: 0 !important;
}
.woocommerce .alkhatt-shop-toolbar .woocommerce-result-count,
.woocommerce-page .alkhatt-shop-toolbar .woocommerce-result-count {
  color: var(--alkhatt-muted);
  font-size: 13px;
}
.woocommerce .alkhatt-shop-toolbar .woocommerce-ordering select,
.woocommerce-page .alkhatt-shop-toolbar .woocommerce-ordering select {
  min-height: 42px;
  padding: 7px 36px 7px 12px;
  border: 1px solid var(--alkhatt-border);
  border-radius: 10px;
  background-color: #fff;
  font-size: 13px;
}

/* Mobile storefront — intentionally dense but not cramped. */
@media (max-width: 700px) {
  :root { --alkhatt-desktop-gutter: 12px; }

  .container,
  #maincontent > .container,
  #content-vw > .container,
  .middle-align > .container,
  .woocommerce-page #maincontent > .container,
  .woocommerce #maincontent > .container {
    width: calc(100% - 24px) !important;
  }

  .alkhatt-shop-categories { margin: 4px 0 22px; }
  .alkhatt-shop-categories__head { margin-bottom: 12px; }
  .alkhatt-shop-categories__head h2 { font-size: 22px; }
  .alkhatt-shop-categories__eyebrow { font-size: 9px; }

  .alkhatt-shop-categories__track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 1px 7px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .alkhatt-shop-categories__track::-webkit-scrollbar { display: none; }
  .alkhatt-shop-category {
    flex: 0 0 112px;
    scroll-snap-align: start;
  }
  .alkhatt-shop-category__image { border-radius: 11px; aspect-ratio: 1 / .75; }
  .alkhatt-shop-category__title { margin-top: 6px; font-size: 11px; line-height: 1.35; }

  .alkhatt-shop-toolbar {
    gap: 10px;
    padding: 10px 0 12px;
    margin-bottom: 12px;
  }
  .woocommerce .alkhatt-shop-toolbar .woocommerce-result-count,
  .woocommerce-page .alkhatt-shop-toolbar .woocommerce-result-count {
    flex: 1 1 auto;
    font-size: 11.5px;
    line-height: 1.45;
  }
  .woocommerce .alkhatt-shop-toolbar .woocommerce-ordering,
  .woocommerce-page .alkhatt-shop-toolbar .woocommerce-ordering {
    flex: 0 0 auto;
  }
  .woocommerce .alkhatt-shop-toolbar .woocommerce-ordering select,
  .woocommerce-page .alkhatt-shop-toolbar .woocommerce-ordering select {
    width: 145px;
    max-width: 44vw;
    min-height: 38px;
    padding: 5px 28px 5px 9px;
    font-size: 11px;
    border-radius: 8px;
  }

  /* Two products per row on phones, including narrow phones. */
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    min-width: 0;
    padding: 7px !important;
    border-radius: 13px !important;
  }
  .woocommerce ul.products li.product > a.woocommerce-LoopProduct-link,
  .woocommerce-page ul.products li.product > a.woocommerce-LoopProduct-link {
    min-width: 0;
  }
  .woocommerce ul.products li.product a img,
  .woocommerce-page ul.products li.product a img {
    width: 100%;
    aspect-ratio: 1 / 1.08;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 9px;
  }
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    display: -webkit-box;
    min-height: 38px !important;
    margin: 0 0 5px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
  }
  .woocommerce ul.products li.product .price,
  .woocommerce-page ul.products li.product .price {
    min-height: 23px !important;
    margin: 0 !important;
    font-size: 11.5px !important;
    line-height: 1.45;
  }
  .woocommerce ul.products li.product .button,
  .woocommerce-page ul.products li.product .button {
    width: 100%;
    min-height: 36px;
    margin-top: 8px !important;
    padding: 8px 7px !important;
    border-radius: 999px;
    font-size: 10.5px !important;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }
  .woocommerce ul.products li.product span.onsale,
  .woocommerce-page ul.products li.product span.onsale {
    top: 12px !important;
    right: 12px !important;
    min-width: 36px !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 8px !important;
    font-size: 10px !important;
    line-height: 30px !important;
  }
  .rtl .woocommerce ul.products li.product span.onsale,
  .rtl .woocommerce-page ul.products li.product span.onsale {
    right: auto !important;
    left: 12px !important;
  }
}

/* Override v2.3's one-column fallback: the requested phone shop stays 2-up. */
@media (max-width: 420px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product { padding: 6px !important; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__title { font-size: 11.5px !important; }
  .woocommerce ul.products li.product .button,
  .woocommerce-page ul.products li.product .button { font-size: 9.8px !important; padding-inline: 5px !important; }
}

/* ===== Alkhatt Art v2.5 — compact mobile homepage + cart =====
   Mobile-only refinement: more content visible per screen, less vertical bulk,
   and a cleaner WooCommerce cart. Desktop/tablet styling remains unchanged. */
@media (max-width: 700px) {
  /* Global mobile rhythm */
  .alkhatt-section { padding: 38px 0 !important; }
  .alkhatt-section__head {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-bottom: 18px !important;
  }
  .alkhatt-section__head > div { min-width: 0; }
  .alkhatt-section__head h2 {
    font-size: 25px !important;
    line-height: 1.25 !important;
  }
  .alkhatt-section__head p {
    margin-top: 6px !important;
    font-size: 12.5px !important;
    line-height: 1.65 !important;
  }
  .alkhatt-section__head .alkhatt-text-link {
    flex: 0 0 auto;
    margin-top: 3px !important;
    font-size: 11px !important;
    white-space: nowrap;
  }
  .alkhatt-eyebrow { font-size: 9px !important; letter-spacing: .12em; }

  /* Hero: same design, much less screen height */
  .alkhatt-hero { min-height: 0 !important; }
  .alkhatt-hero__inner {
    padding: 34px 0 38px !important;
    gap: 22px !important;
  }
  .alkhatt-kicker {
    margin-bottom: 14px !important;
    padding: 5px 9px !important;
    font-size: 10px !important;
  }
  .alkhatt-hero h1 {
    margin-bottom: 10px !important;
    font-size: 31px !important;
    line-height: 1.18 !important;
  }
  .alkhatt-hero p { font-size: 13px !important; line-height: 1.65 !important; }
  .alkhatt-hero__buttons { margin-top: 18px !important; gap: 8px !important; }
  .alkhatt-btn {
    min-height: 40px !important;
    padding-inline: 16px !important;
    font-size: 12px !important;
  }
  .alkhatt-hero__art {
    width: min(100%, 340px) !important;
    height: 260px !important;
    border-radius: 17px !important;
  }

  /* Home categories: always 2-up on phones, not one huge card. */
  .alkhatt-category-grid,
  .alkhatt-category-grid--four {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 9px !important;
  }
  .alkhatt-category-card,
  .alkhatt-category-grid--four .alkhatt-category-card {
    min-height: 162px !important;
    border-radius: 13px !important;
  }
  .alkhatt-category-card__content,
  .alkhatt-category-grid--four .alkhatt-category-card__content {
    inset: auto 12px 12px !important;
  }
  .alkhatt-category-card h3,
  .alkhatt-category-grid--four .alkhatt-category-card h3 {
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  /* Custom banner: compact text + landscape image. */
  .alkhatt-custom-banner {
    margin-top: 12px !important;
    min-height: 0 !important;
    grid-template-columns: 1fr !important;
    border-radius: 15px !important;
  }
  .alkhatt-custom-banner__content { padding: 22px 18px !important; }
  .alkhatt-custom-banner__content h3 {
    margin-bottom: 7px !important;
    font-size: 23px !important;
    line-height: 1.25 !important;
  }
  .alkhatt-custom-banner__content p {
    margin-bottom: 14px !important;
    font-size: 12.5px !important;
    line-height: 1.65 !important;
  }
  .alkhatt-custom-banner__image {
    min-height: 0 !important;
    height: 165px !important;
  }

  /* Full custom-order section: reduce every large vertical element. */
  .alkhatt-custom-order { border-radius: 16px !important; }
  .alkhatt-custom-order__content { padding: 25px 18px !important; }
  .alkhatt-custom-order__content h2 {
    margin-bottom: 10px !important;
    font-size: 28px !important;
    line-height: 1.25 !important;
  }
  .alkhatt-custom-order__content > p {
    margin-bottom: 14px !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
  }
  .alkhatt-custom-chips {
    gap: 6px !important;
    margin-top: 13px !important;
  }
  .alkhatt-custom-chips span {
    padding: 6px 10px !important;
    font-size: 10.5px !important;
  }
  .alkhatt-steps {
    gap: 8px !important;
    margin-top: 18px !important;
  }
  .alkhatt-step {
    min-height: 66px !important;
    padding: 12px 14px !important;
    border-radius: 11px !important;
  }
  .alkhatt-step strong { margin-bottom: 3px !important; font-size: 12px !important; }
  .alkhatt-step span { font-size: 11.5px !important; line-height: 1.45 !important; }
  .alkhatt-custom-order .alkhatt-hero__buttons { margin-top: 16px !important; }
  .alkhatt-custom-order .alkhatt-btn { width: auto !important; max-width: 100%; }
  .alkhatt-custom-order__visual,
  .alkhatt-custom-order__visual--photo {
    min-height: 0 !important;
    height: 205px !important;
    padding: 0 !important;
  }
  .alkhatt-custom-order__visual img,
  .alkhatt-custom-order__visual--photo img {
    width: 100% !important;
    height: 205px !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover !important;
  }

  /* Our Work: two compact cards per row on all phone sizes. */
  .alkhatt-work-grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 8px !important;
  }
  .alkhatt-work-card {
    aspect-ratio: 4 / 5 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
  }

  /* Benefits: 2x2 rather than four tall cards. */
  .alkhatt-benefit-grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 9px !important;
  }
  .alkhatt-benefit {
    padding: 15px 12px !important;
    border-radius: 13px !important;
  }
  .alkhatt-benefit__icon {
    width: 38px !important;
    height: 38px !important;
    margin-bottom: 10px !important;
    border-radius: 10px !important;
    font-size: 11px !important;
  }
  .alkhatt-benefit h3 { margin-bottom: 5px !important; font-size: 13px !important; line-height: 1.4 !important; }
  .alkhatt-benefit p { font-size: 10.5px !important; line-height: 1.55 !important; }

  /* Reviews / Instagram */
  .alkhatt-review-grid { gap: 9px !important; }
  .alkhatt-review-card { padding: 17px !important; border-radius: 13px !important; }
  .alkhatt-review-stars { margin-bottom: 8px !important; font-size: 11px !important; }
  .alkhatt-review-card p { margin-bottom: 8px !important; font-size: 12px !important; line-height: 1.6 !important; }
  .alkhatt-instagram { padding: 34px 0 !important; }
  .alkhatt-instagram h2 { font-size: 24px !important; }
  .alkhatt-instagram p { font-size: 12.5px !important; }
  .alkhatt-instagram .alkhatt-btn { margin-top: 14px !important; }

  /* WooCommerce cart: clean, dense mobile composition. */
  body.woocommerce-cart .wc-block-cart,
  body.woocommerce-cart .wp-block-woocommerce-cart {
    margin-top: 0 !important;
  }
  body.woocommerce-cart .wc-block-cart {
    display: block !important;
  }
  body.woocommerce-cart .wc-block-cart__main,
  body.woocommerce-cart .wc-block-cart__sidebar {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }
  body.woocommerce-cart .wc-block-cart__main { padding: 0 !important; }
  body.woocommerce-cart .wc-block-cart__sidebar { margin-top: 14px !important; }
  body.woocommerce-cart .wc-block-cart-items,
  body.woocommerce-cart .wc-block-cart-items tbody { display: block !important; }
  body.woocommerce-cart .wc-block-cart-items thead { display: none !important; }
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__row {
    display: grid !important;
    grid-template-columns: 76px minmax(0,1fr) !important;
    grid-template-areas:
      "image product"
      "image total" !important;
    gap: 0 12px !important;
    margin: 0 0 10px !important;
    padding: 12px !important;
    border: 1px solid var(--alkhatt-border) !important;
    border-radius: 13px !important;
    background: #fff !important;
  }
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__image {
    grid-area: image !important;
    width: 76px !important;
    padding: 0 !important;
  }
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__image a,
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__image img {
    width: 76px !important;
    height: 76px !important;
    border-radius: 9px !important;
    object-fit: cover !important;
  }
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__product {
    grid-area: product !important;
    min-width: 0 !important;
    padding: 0 !important;
  }
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__total {
    grid-area: total !important;
    padding: 6px 0 0 !important;
    text-align: start !important;
  }
  body.woocommerce-cart .wc-block-components-product-name {
    margin: 0 0 4px !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
  }
  body.woocommerce-cart .wc-block-components-product-metadata__description,
  body.woocommerce-cart .wc-block-components-product-badge {
    display: none !important;
  }
  body.woocommerce-cart .wc-block-components-product-metadata {
    margin: 3px 0 0 !important;
    font-size: 10.5px !important;
    line-height: 1.45 !important;
  }
  body.woocommerce-cart .wc-block-components-product-price,
  body.woocommerce-cart .wc-block-cart-item__prices {
    font-size: 12px !important;
  }
  body.woocommerce-cart .wc-block-components-quantity-selector {
    width: 96px !important;
    min-height: 32px !important;
    margin: 7px 0 0 !important;
  }
  body.woocommerce-cart .wc-block-components-quantity-selector input {
    min-height: 30px !important;
    font-size: 12px !important;
  }
  body.woocommerce-cart .wc-block-cart-item__remove-link {
    margin-top: 5px !important;
    font-size: 10px !important;
  }
  body.woocommerce-cart .wc-block-components-totals-wrapper {
    padding: 13px 0 !important;
  }
  body.woocommerce-cart .wc-block-cart__totals-title {
    padding: 0 0 9px !important;
    font-size: 18px !important;
  }
  body.woocommerce-cart .wc-block-components-totals-item {
    padding: 7px 0 !important;
    font-size: 13px !important;
  }
  body.woocommerce-cart .wc-block-cart__submit-container {
    margin-top: 10px !important;
  }
  body.woocommerce-cart .wc-block-cart__submit-button {
    min-height: 45px !important;
    border-radius: 11px !important;
    font-size: 13px !important;
  }

  /* Classic cart fallback, if WooCommerce switches away from blocks. */
  body.woocommerce-cart .woocommerce-cart-form .cart_item {
    font-size: 12px !important;
  }
  body.woocommerce-cart .woocommerce-cart-form .product-thumbnail,
  body.woocommerce-cart .woocommerce-cart-form .product-thumbnail img {
    width: 74px !important;
    height: 74px !important;
  }
}

@media (max-width: 470px) {
  /* Override older one-column mobile rules from the parent/refinement layers. */
  .alkhatt-category-grid,
  .alkhatt-category-grid--four,
  .alkhatt-work-grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }
  .alkhatt-category-card,
  .alkhatt-category-grid--four .alkhatt-category-card { min-height: 154px !important; }
}

/* ===== Alkhatt Art v2.6 — mobile hero + product-card polish =====
   Mobile-only fixes requested after v2.5:
   - true centering and calmer proportions for the hero artwork
   - vertically centered Add to Cart labels
   - clearer sale pricing hierarchy */
@media (max-width: 700px) {

  /* Hero artwork: keep it visually centered and balanced under the CTA. */
  .alkhatt-hero__art,
  .rtl .alkhatt-hero__art {
    width: calc(100% - 28px) !important;
    max-width: 330px !important;
    height: 248px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-self: center !important;
    align-self: center !important;
    transform: none !important;
  }

  .alkhatt-hero__art > img,
  .alkhatt-hero__art img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  /* Product CTA: Arabic/English text stays perfectly centered in the pill. */
  .woocommerce ul.products li.product .button,
  .woocommerce-page ul.products li.product .button,
  .woocommerce ul.products li.product a.button,
  .woocommerce-page ul.products li.product a.button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 38px !important;
    box-sizing: border-box !important;
    padding: 7px 8px !important;
    line-height: 1.15 !important;
    text-align: center !important;
    vertical-align: middle !important;
  }

  /* Sale price hierarchy: current price first and strong, old price secondary. */
  .woocommerce ul.products li.product .price,
  .woocommerce-page ul.products li.product .price {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    gap: 4px 6px !important;
    min-height: 25px !important;
    color: var(--alkhatt-olive-dark) !important;
  }

  .woocommerce ul.products li.product .price ins,
  .woocommerce-page ul.products li.product .price ins {
    order: 1 !important;
    color: var(--alkhatt-olive-dark) !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    opacity: 1 !important;
  }

  .woocommerce ul.products li.product .price del,
  .woocommerce-page ul.products li.product .price del {
    order: 2 !important;
    color: #8b877f !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    opacity: .72 !important;
    text-decoration-thickness: 1px !important;
  }

  .woocommerce ul.products li.product .price ins .amount,
  .woocommerce-page ul.products li.product .price ins .amount {
    color: inherit !important;
    font-weight: inherit !important;
  }

  .woocommerce ul.products li.product .price del .amount,
  .woocommerce-page ul.products li.product .price del .amount {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
  }

  /* A regular non-sale price should remain visually clear. */
  .woocommerce ul.products li.product .price > .amount,
  .woocommerce-page ul.products li.product .price > .amount {
    color: var(--alkhatt-olive-dark) !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
  }
}


/* ===== Alkhatt Art v2.7 — editable bilingual products + desktop cart polish ===== */
@media (min-width: 901px) {
  /* Keep the cart compact and premium on desktop while preserving the mobile layout. */
  body.woocommerce-cart .wc-block-cart,
  body.woocommerce-cart .wc-block-components-sidebar-layout {
    gap: 28px !important;
    align-items: flex-start !important;
  }

  body.woocommerce-cart .wc-block-cart__main {
    flex: 1 1 66% !important;
    max-width: 66% !important;
    min-width: 0 !important;
    padding: 0 !important;
  }

  body.woocommerce-cart .wc-block-cart__sidebar {
    flex: 0 0 34% !important;
    max-width: 390px !important;
    min-width: 310px !important;
    margin: 0 !important;
    padding: 18px 20px 20px !important;
    border: 1px solid var(--alkhatt-border) !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  body.woocommerce-cart .wc-block-cart-items {
    border-collapse: separate !important;
    border-spacing: 0 !important;
  }

  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__row {
    display: grid !important;
    grid-template-columns: 132px minmax(0, 1fr) auto !important;
    gap: 18px !important;
    align-items: start !important;
    padding: 18px !important;
    margin-bottom: 12px !important;
    border: 1px solid var(--alkhatt-border) !important;
    border-radius: 14px !important;
    background: #fff !important;
  }

  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__image {
    width: 132px !important;
    padding: 0 !important;
  }
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__image a,
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__image img {
    display: block !important;
    width: 132px !important;
    height: 132px !important;
    max-width: 132px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 11px !important;
    margin: 0 !important;
  }

  body.woocommerce-cart .wc-block-cart-item__product {
    min-width: 0 !important;
    padding: 2px 0 0 !important;
  }
  body.woocommerce-cart .wc-block-components-product-name {
    display: block !important;
    margin: 0 0 7px !important;
    font-size: 19px !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
  }
  body.woocommerce-cart .wc-block-components-product-metadata__description {
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
    margin: 5px 0 0 !important;
    color: var(--alkhatt-muted) !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
  }
  body.woocommerce-cart .wc-block-components-product-metadata {
    margin: 5px 0 0 !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
  }

  body.woocommerce-cart .wc-block-cart-item__prices,
  body.woocommerce-cart .wc-block-components-product-price {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    gap: 5px 7px !important;
    margin: 7px 0 0 !important;
  }
  body.woocommerce-cart .wc-block-components-product-price__value,
  body.woocommerce-cart .wc-block-components-product-price ins,
  body.woocommerce-cart .wc-block-cart-item__prices ins {
    color: var(--alkhatt-olive-dark) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
  }
  body.woocommerce-cart .wc-block-components-product-price del,
  body.woocommerce-cart .wc-block-cart-item__prices del {
    color: #8b877f !important;
    font-size: 11px !important;
    opacity: .7 !important;
  }
  body.woocommerce-cart .wc-block-components-product-badge {
    display: inline-flex !important;
    width: auto !important;
    min-height: 25px !important;
    align-items: center !important;
    padding: 4px 8px !important;
    margin: 7px 0 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--alkhatt-olive-dark) !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
  }

  body.woocommerce-cart .wc-block-components-quantity-selector {
    width: 112px !important;
    min-height: 34px !important;
    margin-top: 10px !important;
  }
  body.woocommerce-cart .wc-block-cart-item__remove-link {
    margin-top: 8px !important;
    font-size: 11px !important;
  }

  body.woocommerce-cart .wc-block-cart-item__total {
    min-width: 94px !important;
    padding: 2px 0 0 !important;
    text-align: end !important;
    font-size: 14px !important;
    font-weight: 700 !important;
  }

  body.woocommerce-cart .wc-block-cart__totals-title {
    margin: 0 !important;
    padding: 0 0 12px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
  }
  body.woocommerce-cart .wc-block-components-totals-wrapper {
    padding: 12px 0 !important;
    border-top-color: var(--alkhatt-border) !important;
  }
  body.woocommerce-cart .wc-block-components-totals-item {
    font-size: 13px !important;
  }
  body.woocommerce-cart .wc-block-cart__submit-container {
    margin: 14px 0 0 !important;
    padding: 0 !important;
  }
  body.woocommerce-cart .wc-block-cart__submit-button {
    min-height: 48px !important;
    border-radius: 11px !important;
    font-size: 14px !important;
  }

  /* Classic cart fallback. */
  body.woocommerce-cart .woocommerce-cart-form .product-thumbnail { width: 132px !important; }
  body.woocommerce-cart .woocommerce-cart-form .product-thumbnail img {
    width: 124px !important;
    height: 124px !important;
    object-fit: cover !important;
    border-radius: 11px !important;
  }
  body.woocommerce-cart .cart-collaterals .cart_totals {
    width: 36% !important;
    padding: 18px 20px !important;
    border: 1px solid var(--alkhatt-border) !important;
    border-radius: 14px !important;
  }
}

/* ======================================================================
   ALKHATT ART v3.0 — Editorial / luxury retail direction
   Inspired by the calm, image-first rhythm the client prefers:
   more white space, fewer boxed cards, lighter hierarchy, stronger imagery.
   All existing WordPress/WooCommerce editability and bilingual logic remain.
   ====================================================================== */

:root {
  --alkhatt-v3-ink: #171717;
  --alkhatt-v3-soft: #f8f7f4;
  --alkhatt-v3-line: #e8e5df;
  --alkhatt-v3-gold: #8a824e;
}

body.alkhatt-art-theme {
  background: #fff;
  color: var(--alkhatt-v3-ink);
  letter-spacing: .002em;
}
body.alkhatt-art-theme p { color: #66635f; }
body.alkhatt-art-theme .container { max-width: 1180px; }

/* Slim luxury-store header */
.alkhatt-topbar { background: #171717; }
.alkhatt-topbar__inner { min-height: 30px; font-size: 11px; letter-spacing: .02em; }
.alkhatt-site-header,
.alkhatt-site-header.is-sticky {
  background: rgba(255,255,255,.985);
  box-shadow: none;
  border-bottom: 1px solid #eeeae4;
}
.alkhatt-header__inner { min-height: 76px; gap: 24px; }
.alkhatt-brand img,
.alkhatt-brand .custom-logo { height: 58px; max-width: 150px; }
.alkhatt-nav > div > ul { gap: 25px; }
.alkhatt-nav a { font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.alkhatt-icon-button,
.alkhatt-language a {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-color: #e9e5de;
  border-radius: 50%;
  font-size: 12px;
}
.alkhatt-language a { border-radius: 999px; }

/* Editorial hero: light, calm, image-first rather than a dark graphic panel. */
.home .alkhatt-hero {
  min-height: 0;
  background-image: none !important;
  background-color: #fff !important;
  border-bottom: 1px solid var(--alkhatt-v3-line);
}
.home .alkhatt-hero::before { display: none; }
.home .alkhatt-hero__inner {
  grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr);
  gap: clamp(42px,6vw,86px);
  padding-top: 68px;
  padding-bottom: 68px;
}
.home .alkhatt-hero__content { max-width: 455px; }
.home .alkhatt-kicker {
  margin-bottom: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #706c65;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home .alkhatt-hero h1 {
  margin: 0 0 18px;
  max-width: 520px;
  color: var(--alkhatt-v3-ink);
  font-size: clamp(42px,5vw,68px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.035em;
}
.home.rtl .alkhatt-hero h1,
.home.alkhatt-lang-ar .alkhatt-hero h1 { letter-spacing: 0; line-height: 1.35; }
.home .alkhatt-hero p {
  max-width: 445px;
  color: #69655f;
  font-size: 15px;
  line-height: 1.85;
}
.home .alkhatt-hero__buttons { margin-top: 26px; gap: 9px; }
.home .alkhatt-btn {
  min-height: 45px;
  padding: 0 21px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .015em;
}
.home .alkhatt-btn--primary { background: #171717; color: #fff; }
.home .alkhatt-btn--primary:hover { background: var(--alkhatt-v3-gold); color: #fff; }
.home .alkhatt-btn--ghost {
  border-color: #bdb8af;
  color: #171717;
  background: transparent;
}
.home .alkhatt-btn--ghost:hover { background: #171717; color: #fff; border-color: #171717; }
.home .alkhatt-hero__art {
  justify-self: stretch;
  width: 100%;
  height: min(68vh, 650px);
  min-height: 500px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #f1efeb;
}
.home .alkhatt-hero__art::after { display: none; }

/* Section rhythm: no oversized boxes; headlines feel like editorial labels. */
.home .alkhatt-section { padding: 72px 0; }
.home .alkhatt-section--cream { background: #fbfaf8; }
.home .alkhatt-section__head { margin-bottom: 28px; align-items: end; }
.home .alkhatt-section__head h2 {
  font-size: clamp(28px,3.1vw,40px);
  font-weight: 550;
  letter-spacing: -.025em;
}
.home.rtl .alkhatt-section__head h2,
.home.alkhatt-lang-ar .alkhatt-section__head h2 { letter-spacing: 0; }
.home .alkhatt-section__head p { margin-top: 7px; max-width: 560px; font-size: 13px; line-height: 1.75; }
.home .alkhatt-eyebrow {
  display: inline-block;
  margin-bottom: 9px;
  color: #777169;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.home .alkhatt-text-link {
  color: #222;
  font-size: 11px;
  font-weight: 600;
  border-bottom: 1px solid #222;
  padding-bottom: 2px;
}

/* Categories: image above, title below — no dark card overlay. */
.home .alkhatt-category-grid--four { gap: 13px; }
.home .alkhatt-category-card,
.home .alkhatt-category-grid--four .alkhatt-category-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.home .alkhatt-category-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  opacity: 1;
  transition: opacity .25s ease;
}
.home .alkhatt-category-card:hover img { transform: none; opacity: .94; }
.home .alkhatt-category-card__shade { display: none; }
.home .alkhatt-category-card__content,
.home .alkhatt-category-grid--four .alkhatt-category-card__content {
  position: static;
  inset: auto;
  display: block;
  padding: 10px 1px 0;
  color: #171717;
}
.home .alkhatt-category-card h3,
.home .alkhatt-category-grid--four .alkhatt-category-card h3 {
  margin: 0;
  color: #171717;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.45;
}

/* Custom design banner becomes an editorial split panel. */
.home .alkhatt-custom-banner {
  margin-top: 38px;
  min-height: 330px;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  background: #171717 !important;
}
.home .alkhatt-custom-banner__content { padding: 46px 48px; }
.home .alkhatt-custom-banner__content h3 { font-size: clamp(28px,3.4vw,42px); font-weight: 500; }
.home .alkhatt-custom-banner__content p { color: rgba(255,255,255,.72); max-width: 440px; }
.home .alkhatt-custom-banner__image { min-height: 330px; }
.home .alkhatt-custom-banner__image img { height: 100%; object-fit: cover; }
.home .alkhatt-custom-banner .alkhatt-btn--light { border-radius: 2px; }

/* Product cards: no cream capsule/card. The product photo and typography lead. */
.woocommerce ul.products { gap: 26px 16px; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}
.woocommerce ul.products li.product:hover { transform: none !important; box-shadow: none !important; }
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
  width: 100%;
  margin: 0 0 12px !important;
  aspect-ratio: 1 / 1.08;
  border-radius: 0 !important;
  background: #f4f2ee;
  transition: opacity .2s ease;
}
.woocommerce ul.products li.product:hover a img { opacity: .95; }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  min-height: 0 !important;
  margin: 0 0 7px !important;
  padding: 0 !important;
  color: #24211f;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
}
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  min-height: 22px;
  margin: 0 0 8px !important;
  color: var(--alkhatt-v3-gold) !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
}
.woocommerce ul.products li.product .price ins { color: var(--alkhatt-v3-gold) !important; font-weight: 750 !important; }
.woocommerce ul.products li.product .price del { color: #8d8982 !important; font-size: .88em !important; opacity: .7 !important; }
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
  width: auto !important;
  min-height: 0 !important;
  margin-top: 2px !important;
  padding: 3px 0 !important;
  align-self: flex-start;
  border: 0 !important;
  border-bottom: 1px solid #171717 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #171717 !important;
  font-size: 10.5px !important;
  font-weight: 650 !important;
  line-height: 1.4 !important;
  text-transform: none;
}
.rtl .woocommerce ul.products li.product .button,
.rtl .woocommerce-page ul.products li.product .button { align-self: flex-start; }
.woocommerce ul.products li.product .button:hover { color: var(--alkhatt-v3-gold) !important; border-color: var(--alkhatt-v3-gold) !important; }
.woocommerce ul.products li.product span.onsale,
.woocommerce-page ul.products li.product span.onsale,
.woocommerce span.onsale {
  top: 10px !important;
  right: 10px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 6px 8px !important;
  border-radius: 0 !important;
  background: rgba(23,23,23,.88) !important;
  color: #fff !important;
  font-size: 9.5px !important;
  line-height: 1 !important;
}
.rtl .woocommerce ul.products li.product span.onsale,
.rtl .woocommerce-page ul.products li.product span.onsale { right: auto !important; left: 10px !important; }

/* Our work: a calmer editorial gallery. */
.home .alkhatt-work-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }
.home .alkhatt-work-card { border-radius: 0; box-shadow: none; }
.home .alkhatt-work-card:hover img { transform: none; opacity: .94; }

/* Custom order: remove pill/chip visual weight. */
.home .alkhatt-custom-order {
  border-radius: 0;
  box-shadow: none;
  background: #141414;
}
.home .alkhatt-custom-order__content { padding: 54px; }
.home .alkhatt-custom-order__content h2 { font-size: clamp(32px,4vw,48px); font-weight: 500; }
.home .alkhatt-custom-chips span {
  padding: 4px 0;
  margin-inline-end: 16px;
  border: 0;
  border-radius: 0;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  border-bottom: 1px solid rgba(255,255,255,.28);
}
.home .alkhatt-step {
  min-height: 0;
  padding: 15px 0;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.17);
  border-radius: 0;
  background: transparent;
}
.home .alkhatt-step:last-child { border-bottom: 1px solid rgba(255,255,255,.17); }
.home .alkhatt-custom-order__visual,
.home .alkhatt-custom-order__visual--photo img { min-height: 450px; }

/* Benefits / reviews should read like content, not dashboard cards. */
.home .alkhatt-benefit-grid { gap: 0; border-top: 1px solid var(--alkhatt-v3-line); }
.home .alkhatt-benefit {
  padding: 28px 22px;
  border: 0;
  border-right: 1px solid var(--alkhatt-v3-line);
  border-radius: 0;
  background: transparent;
}
.rtl.home .alkhatt-benefit { border-right: 0; border-left: 1px solid var(--alkhatt-v3-line); }
.home .alkhatt-benefit:last-child { border-right: 0; border-left: 0; }
.home .alkhatt-benefit__icon { background: transparent; border: 0; width: auto; height: auto; margin-bottom: 13px; color: var(--alkhatt-v3-gold); }
.home .alkhatt-review-card { border-radius: 0; box-shadow: none; background: #fff; border: 1px solid var(--alkhatt-v3-line); }

/* Shop archive: whitespace, simple category strip and subtle controls. */
body.woocommerce-shop #maincontent,
body.tax-product_cat #maincontent { padding-top: 42px; }
.alkhatt-shop-categories { margin: 8px 0 34px; }
.alkhatt-shop-categories__head h2 { font-weight: 500; }
.alkhatt-shop-category__image { border-radius: 0; background: #f2f0eb; }
.alkhatt-shop-category__title { font-weight: 500; }
.alkhatt-shop-toolbar {
  padding: 14px 0 !important;
  border-top: 1px solid var(--alkhatt-v3-line);
  border-bottom: 1px solid var(--alkhatt-v3-line);
  border-radius: 0 !important;
  background: transparent !important;
}
.woocommerce .alkhatt-shop-toolbar .woocommerce-ordering select,
.woocommerce-page .alkhatt-shop-toolbar .woocommerce-ordering select {
  border: 0;
  border-bottom: 1px solid #cfcac2;
  border-radius: 0;
  background-color: #fff;
}

/* Product page — gallery-led and less boxed. */
body.single-product #maincontent { padding-top: 36px !important; }
body.single-product .woocommerce-breadcrumb { margin-bottom: 22px !important; font-size: 11px; }
body.single-product .woocommerce div.product {
  grid-template-columns: minmax(0,1.12fr) minmax(330px,.88fr);
  column-gap: clamp(42px,6vw,78px);
}
body.single-product .woocommerce div.product div.summary {
  position: static;
  top: auto;
  padding: 0;
}
body.single-product .woocommerce-product-gallery,
body.single-product .woocommerce-product-gallery__image { border-radius: 0; background: #f4f2ee; }
/* Force a stable, language-neutral gallery layout. This also fixes the EN blank main-image issue. */


body.single-product .woocommerce-product-gallery__image:first-child img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  border-radius: 0;
}
body.single-product .summary .product_title {
  margin-bottom: 13px !important;
  font-size: clamp(30px,3vw,42px) !important;
  font-weight: 550 !important;
  line-height: 1.2 !important;
}
body.alkhatt-lang-ar.single-product .summary .product_title { line-height: 1.45 !important; }
body.single-product .summary p.price,
body.single-product .summary span.price { margin-bottom: 20px !important; font-size: 20px !important; font-weight: 700; }
body.single-product .woocommerce-product-details__short-description { padding-bottom: 18px; margin-bottom: 18px; }
body.single-product .woocommerce-product-details__short-description p { font-size: 13px; line-height: 1.8; }
.alkhatt-single-discount {
  min-height: 0;
  padding: 5px 7px;
  margin-bottom: 11px;
  border-radius: 0;
  background: #171717;
  font-size: 10px;
}

/* Variations + personalization visually become one option flow, while remaining technically separate. */
body.single-product form.cart { gap: 0; }
body.single-product form.cart table.variations {
  margin: 0 !important;
  padding: 16px 0 18px !important;
  border-top: 1px solid var(--alkhatt-v3-line);
  border-bottom: 1px solid var(--alkhatt-v3-line);
}
body.single-product form.cart table.variations th,
body.single-product form.cart table.variations td { padding: 7px 0 !important; background: transparent !important; }
body.single-product form.cart table.variations select {
  min-height: 44px;
  border: 1px solid #d6d1ca;
  border-radius: 0;
  background: #fff;
}
body.single-product .alkhatt-product-customization {
  margin: 0 !important;
  padding: 20px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--alkhatt-v3-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
}
body.single-product .alkhatt-product-customization__title { margin-bottom: 16px; }
body.single-product .alkhatt-product-customization__title > span { font-size: 16px; font-weight: 600; }
body.single-product .alkhatt-product-customization__title small { margin-top: 3px; color: #76716a; font-size: 11px; }
body.single-product .alkhatt-product-customization input[type="text"],
body.single-product .alkhatt-product-customization input[type="file"],
body.single-product .alkhatt-product-customization select,
body.single-product .alkhatt-product-customization textarea {
  min-height: 44px;
  border-radius: 0;
  border-color: #d6d1ca;
}
body.single-product form.cart .quantity .qty,
body.single-product form.cart .single_add_to_cart_button { border-radius: 0 !important; }
body.single-product form.cart .quantity .qty { min-height: 48px; }
body.single-product form.cart .single_add_to_cart_button {
  min-height: 48px;
  background: #171717 !important;
  font-size: 13px !important;
}
body.single-product .yith-wcwl-add-to-wishlist a,
body.single-product .yith-wcwl-add-to-wishlist-button a,
body.single-product a.add_to_wishlist { border-radius: 0 !important; border: 0 !important; border-bottom: 1px solid #bfbab2 !important; padding-inline: 0 !important; }
body.single-product .product_meta { font-size: 11px; }
body.single-product .woocommerce div.product .woocommerce-tabs { margin-top: 54px; }
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs { gap: 22px; border-bottom: 1px solid var(--alkhatt-v3-line) !important; }
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li,
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 10px 0 !important; color: #69645e !important; }
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #171717 !important; border-bottom: 1px solid #171717; }
body.single-product .woocommerce div.product .woocommerce-tabs .panel {
  padding: 30px 0 !important;
  border: 0;
  border-radius: 0;
  background: transparent;
  max-width: 850px;
}

/* Cart / checkout become light, retail-like tables rather than boxed dashboards. */
body.woocommerce-cart .wc-block-cart-items,
body.woocommerce-cart .wc-block-components-sidebar,
body.woocommerce-cart .cart_totals,
body.woocommerce-checkout .wc-block-components-sidebar {
  border-color: var(--alkhatt-v3-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.woocommerce-cart .wc-block-cart-item__image img { border-radius: 0 !important; }
body.woocommerce-cart .wc-block-components-button,
body.woocommerce-checkout .wc-block-components-button { border-radius: 0 !important; }

/* Footer: still dark, but flatter and more editorial. */
.alkhatt-footer {
  padding-top: 58px;
  background: #171717;
}
.alkhatt-footer__grid { gap: 46px; }
.alkhatt-footer h3 { font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.alkhatt-footer p,
.alkhatt-footer li,
.alkhatt-footer a { font-size: 12px; }
.alkhatt-footer__logo {
  width: 74px !important;
  height: auto !important;
  max-height: 120px;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  object-fit: contain;
}

/* Tablet */
@media (max-width: 980px) {
  .home .alkhatt-hero__inner { grid-template-columns: 1fr; gap: 30px; }
  .home .alkhatt-hero__content { max-width: 650px; }
  .home .alkhatt-hero__art { min-height: 460px; height: 58vw; max-height: 620px; }
  .home .alkhatt-work-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  body.single-product .woocommerce div.product { grid-template-columns: 1fr; gap: 26px; }
}

/* Phone: preserve the two-up shop preference but use the lighter v3 system. */
@media (max-width: 700px) {
  .alkhatt-topbar { display: none; }
  .alkhatt-header__inner { min-height: 68px; padding-inline: 14px; }
  .alkhatt-brand img,
  .alkhatt-brand .custom-logo { height: 49px; }

  .home .alkhatt-hero__inner { padding: 34px 0 38px !important; gap: 23px !important; }
  .home .alkhatt-hero__content { align-items: flex-start !important; text-align: start !important; }
  .home .alkhatt-kicker { margin-bottom: 10px !important; }
  .home .alkhatt-hero h1 { font-size: 34px !important; line-height: 1.13 !important; text-align: start; }
  .home.alkhatt-lang-ar .alkhatt-hero h1 { line-height: 1.38 !important; }
  .home .alkhatt-hero p { font-size: 12.5px !important; text-align: start; }
  .home .alkhatt-hero__buttons { justify-content: flex-start; }
  .home .alkhatt-hero__art {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 4 / 4.25;
    margin: 0 !important;
  }
  .home .alkhatt-section { padding: 42px 0 !important; }
  .home .alkhatt-section__head { margin-bottom: 17px !important; }
  .home .alkhatt-section__head h2 { font-size: 25px !important; }
  .home .alkhatt-category-grid--four { gap: 9px !important; }
  .home .alkhatt-category-card img { aspect-ratio: 4 / 5; }
  .home .alkhatt-category-card h3 { font-size: 12px !important; }
  .home .alkhatt-custom-banner { margin-top: 25px; }
  .home .alkhatt-custom-banner__content { padding: 27px 20px !important; }
  .home .alkhatt-custom-banner__image { height: 210px !important; }
  .home .alkhatt-custom-order__content { padding: 30px 20px !important; }
  .home .alkhatt-custom-order__content h2 { font-size: 29px !important; }
  .home .alkhatt-custom-order__visual,
  .home .alkhatt-custom-order__visual--photo img { min-height: 0 !important; height: 245px !important; }
  .home .alkhatt-work-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 6px !important; }
  .home .alkhatt-benefit-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .home .alkhatt-benefit { padding: 17px 10px !important; }

  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 22px 10px !important; }
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product { padding: 0 !important; }
  .woocommerce ul.products li.product a img,
  .woocommerce-page ul.products li.product a img { margin-bottom: 8px !important; border-radius: 0 !important; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    min-height: 36px !important;
    font-size: 11.5px !important;
    line-height: 1.5 !important;
  }
  .woocommerce ul.products li.product .price,
  .woocommerce-page ul.products li.product .price { font-size: 11px !important; min-height: 20px !important; }
  .woocommerce ul.products li.product .button,
  .woocommerce-page ul.products li.product .button {
    display: inline-flex !important;
    width: auto !important;
    min-height: 0 !important;
    padding: 3px 0 !important;
    font-size: 9.5px !important;
  }

  body.single-product #maincontent { padding-top: 20px !important; }
  body.single-product .woocommerce div.product { gap: 22px; }
  body.single-product .summary .product_title { font-size: 27px !important; }
  body.single-product .woocommerce-product-gallery__image:first-child img { aspect-ratio: 1 / 1.06; }
  body.single-product .alkhatt-product-customization { padding: 17px 0 !important; }
  body.single-product form.cart table.variations { padding-block: 13px !important; }

  .alkhatt-footer { padding-top: 42px; }
}

/* ===== Alkhatt Art v3.1 — gallery-led Kashida-style product page ===== */
@media (min-width: 981px) {
  body.single-product #maincontent > .container,
  body.single-product .woocommerce #maincontent > .container {
    max-width: 1240px !important;
    width: calc(100% - 64px) !important;
  }
  body.single-product .woocommerce div.product {
    display: grid !important;
    grid-template-columns: minmax(0, 1.18fr) minmax(340px, .72fr) !important;
    grid-template-areas: "gallery summary";
    gap: clamp(48px, 6vw, 92px) !important;
    align-items: start;
  }
  body.alkhatt-lang-ar.single-product .woocommerce div.product {
    grid-template-columns: minmax(340px, .72fr) minmax(0, 1.18fr) !important;
    grid-template-areas: "summary gallery";
  }
  body.single-product .woocommerce div.product div.images { grid-area: gallery; width: 100% !important; }
  body.single-product .woocommerce div.product div.summary {
    grid-area: summary;
    width: 100% !important;
    max-width: 390px;
    position: sticky !important;
    top: 112px !important;
    align-self: start;
  }
  body.single-product.admin-bar .woocommerce div.product div.summary { top: 144px !important; }
}

body.single-product #maincontent { background: #fff; }
body.single-product .woocommerce-breadcrumb { color: #8c867e; }
body.single-product .summary .product_title {
  font-family: inherit;
  font-size: clamp(27px, 2.25vw, 36px) !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  letter-spacing: -.015em;
  margin: 0 0 13px !important;
}
body.alkhatt-lang-ar.single-product .summary .product_title { line-height: 1.55 !important; }
body.single-product .summary p.price,
body.single-product .summary span.price {
  color: #b58b32 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  margin: 0 0 10px !important;
}
body.single-product .summary p.price del,
body.single-product .summary span.price del { color: #8b867f !important; font-size: 12px !important; font-weight: 400 !important; }
body.single-product .summary p.price ins,
body.single-product .summary span.price ins { color: #b58b32 !important; text-decoration: none !important; }

body.single-product .woocommerce-product-details__short-description {
  margin: 16px 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #5d5852;
}
body.single-product .woocommerce-product-details__short-description p {
  font-size: 12.5px !important;
  line-height: 1.8 !important;
  margin-bottom: 7px;
}

.alkhatt-product-delivery {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  margin: 7px 0 9px;
  padding: 8px 11px;
  background: #b58b32;
  color: #fff;
  font-size: 11px;
  line-height: 1.5;
}
.alkhatt-tabby-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 15px;
  padding: 10px 11px;
  border: 1px solid #ddd8d0;
  background: #fff;
}
.alkhatt-tabby-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 7px;
  border-radius: 5px;
  background: #38e88f;
  color: #111;
  font-size: 11px;
  font-weight: 800;
  text-transform: lowercase;
}
.alkhatt-tabby-copy { display: grid; gap: 2px; min-width: 0; }
.alkhatt-tabby-copy strong { font-size: 11px; font-weight: 650; color: #24211e; }
.alkhatt-tabby-copy small { font-size: 10px; line-height: 1.5; color: #77716a; }
.alkhatt-tabby-copy a { font-size: 10px; color: #6f695f; text-decoration: underline; }

/* Gallery stays dominant, but WooCommerce's native gallery owns all switching,
   zoom, lightbox and variation-image behavior. */
body.single-product .woocommerce-product-gallery {
  position: relative !important;
  background: transparent !important;
}
body.single-product .woocommerce-product-gallery__wrapper {
  margin: 0 !important;
}
body.single-product .woocommerce-product-gallery__image {
  background: #f3f0ea !important;
}
body.single-product .woocommerce-product-gallery__image a {
  display: block !important;
}
body.single-product .woocommerce-product-gallery__image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 4.65 !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Native WooCommerce/FlexSlider thumbnail rail. */
body.single-product .woocommerce-product-gallery .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  width: 100% !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
body.single-product .woocommerce-product-gallery .flex-control-thumbs::before,
body.single-product .woocommerce-product-gallery .flex-control-thumbs::after {
  display: none !important;
}
body.single-product .woocommerce-product-gallery .flex-control-thumbs li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.single-product .woocommerce-product-gallery .flex-control-thumbs img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  border: 1px solid transparent !important;
  background: #f4f1eb !important;
  opacity: .62 !important;
  cursor: pointer !important;
  transition: opacity .18s ease, border-color .18s ease;
}
body.single-product .woocommerce-product-gallery .flex-control-thumbs img:hover,
body.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active {
  opacity: 1 !important;
  border-color: #37332e !important;
}

/* Variations become pills/swatches; native selects remain hidden but functional. */
body.single-product form.cart table.variations {
  display: block !important;
  margin: 12px 0 0 !important;
  padding: 12px 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
}
body.single-product form.cart table.variations tbody,
body.single-product form.cart table.variations tr { display: block !important; width:100%; }
body.single-product form.cart table.variations tr { margin-bottom: 14px; }
body.single-product form.cart table.variations th,
body.single-product form.cart table.variations td { display:block !important; width:100% !important; padding:0 !important; }
body.single-product form.cart table.variations th label { display:block; margin-bottom:7px; font-size:11px; color:#69635c; font-weight:500; }
body.single-product .alkhatt-native-variation-select {
  position:absolute !important;
  width:1px !important; height:1px !important; overflow:hidden !important;
  opacity:0 !important; pointer-events:none !important;
}
.alkhatt-variation-pills { display:flex; flex-wrap:wrap; gap:7px; }
.alkhatt-variation-pill {
  appearance:none;
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid #9b968f;
  border-radius: 999px;
  background:#fff;
  color:#25221f;
  font: inherit;
  font-size:11px;
  cursor:pointer;
}
.alkhatt-variation-pill:hover,
.alkhatt-variation-pill.is-active { background:#171717; border-color:#171717; color:#fff; }
.alkhatt-variation-pill:disabled { opacity:.35; cursor:not-allowed; }
.alkhatt-variation-pills.is-colour { align-items:center; }
.alkhatt-variation-pills.is-colour .alkhatt-variation-pill.is-swatch {
  width:26px; height:26px; min-height:26px; padding:2px; border-radius:50%; background:#fff; position:relative;
}
.alkhatt-variation-pills.is-colour .alkhatt-variation-pill.is-swatch span { display:block; width:100%; height:100%; border-radius:50%; border:1px solid rgba(0,0,0,.12); }
.alkhatt-variation-pills.is-colour .alkhatt-variation-pill.is-swatch em { position:absolute; left:-9999px; }
.alkhatt-variation-pills.is-colour .alkhatt-variation-pill.is-swatch.is-active { border-color:#111; box-shadow:0 0 0 1px #111; }
body.single-product form.cart .reset_variations { display:inline-block; margin-top:7px; font-size:10px; color:#817b73; }

/* Personalization belongs to the same option flow, not a separate card. */
body.single-product .alkhatt-product-customization {
  margin: 0 !important;
  padding: 8px 0 12px !important;
  border: 0 !important;
  background: transparent !important;
}
body.single-product .alkhatt-product-customization__title {
  padding-top: 8px;
  margin: 0 0 11px !important;
  border-top: 1px solid #e1ddd6;
}
body.single-product .alkhatt-product-customization__title > span { font-size:12px !important; font-weight:600 !important; }
body.single-product .alkhatt-product-customization__title small { display:none !important; }
body.single-product .alkhatt-product-customization label { font-size:11px !important; font-weight:500 !important; color:#5f5a53; }
body.single-product .alkhatt-product-customization input[type="text"],
body.single-product .alkhatt-product-customization input[type="file"],
body.single-product .alkhatt-product-customization select,
body.single-product .alkhatt-product-customization textarea {
  min-height: 40px !important;
  border: 1px solid #aaa49c !important;
  background:#fff !important;
  font-size:11px !important;
}

/* Quantity and CTA as one simple purchase block. */
body.single-product form.cart .single_variation_wrap { margin-top: 3px; }
body.single-product form.cart .woocommerce-variation-add-to-cart,
body.single-product form.cart:not(.variations_form) { align-items:stretch !important; }
body.single-product form.cart .quantity.alkhatt-qty-ready {
  display:grid !important;
  grid-template-columns:36px 1fr 36px;
  width:100%;
  min-height:42px;
  margin: 8px 0 !important;
  border:1px solid #a9a39c;
}
body.single-product form.cart .quantity.alkhatt-qty-ready .qty {
  width:100% !important;
  min-height:40px !important;
  border:0 !important;
  text-align:center;
  box-shadow:none !important;
}
.alkhatt-qty-button { border:0; background:#fff; font-size:16px; cursor:pointer; color:#44403b; }
body.single-product form.cart .single_add_to_cart_button {
  width:100% !important;
  min-height:44px !important;
  margin: 0 !important;
  border:1px solid #111 !important;
  background:#fff !important;
  color:#111 !important;
  font-size:12px !important;
  font-weight:500 !important;
}
body.single-product form.cart .single_add_to_cart_button:hover { background:#111 !important; color:#fff !important; }
body.single-product form.cart .single_add_to_cart_button.disabled { background:#eee !important; border-color:#ddd !important; color:#999 !important; }
body.single-product .yith-wcwl-add-to-wishlist,
body.single-product .yith-wcwl-add-to-wishlist-button { margin:8px 0 0 !important; }
body.single-product .yith-wcwl-add-to-wishlist a,
body.single-product .yith-wcwl-add-to-wishlist-button a,
body.single-product a.add_to_wishlist { width:100%; display:flex !important; justify-content:center; min-height:39px; align-items:center; border:1px solid #aaa49c !important; border-radius:0 !important; font-size:11px !important; text-decoration:none !important; }
body.single-product .product_meta { display:none !important; }

.alkhatt-product-accordions { margin-top: 22px; border-top:1px solid #e0dcd5; }
.alkhatt-product-accordions details { border-bottom:1px solid #e0dcd5; }
.alkhatt-product-accordions summary {
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:42px;
  cursor:pointer;
  font-size:11px;
  color:#393530;
}
.alkhatt-product-accordions summary::-webkit-details-marker { display:none; }
.alkhatt-product-accordions details[open] .alkhatt-detail-plus { transform:rotate(45deg); }
.alkhatt-detail-plus { transition:transform .18s ease; font-size:15px; }
.alkhatt-product-accordions details > div { padding:0 0 12px; color:#77716a; font-size:10.5px; line-height:1.65; }
.alkhatt-product-accordions details > div p { margin:0; }

/* Keep the long description lower on the page, but make it editorial rather than tab-heavy. */
body.single-product .woocommerce div.product .woocommerce-tabs { margin-top:70px !important; }
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs { justify-content:center; }

@media (max-width: 980px) {
  body.single-product .woocommerce div.product {
    grid-template-columns: 1fr !important;
    grid-template-areas: "gallery" "summary" !important;
    gap: 24px !important;
  }
  body.single-product .woocommerce div.product div.images { grid-area:gallery; }
  body.single-product .woocommerce div.product div.summary { grid-area:summary; max-width:none; position:static !important; }
  body.single-product .woocommerce-product-gallery__image:first-child img { aspect-ratio:1 / 1.08 !important; }
}

@media (max-width: 700px) {
  body.single-product #maincontent > .container { width:calc(100% - 28px) !important; }
  body.single-product .summary .product_title { font-size:25px !important; }
  body.single-product .woocommerce-product-gallery__image:first-child img { aspect-ratio:1 / 1.06 !important; }
  .alkhatt-product-delivery, .alkhatt-tabby-message { font-size:10px; }
}

/* ===== Alkhatt Art v3.2 — reliable editable colour variation swatches ===== */
body.single-product .alkhatt-variation-pills {
  min-height: 34px;
  align-items: center;
}
body.single-product .alkhatt-variation-pills.is-colour {
  gap: 10px;
  padding-top: 1px;
}
body.single-product .alkhatt-variation-pills.is-colour .alkhatt-variation-pill.is-swatch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  min-width: 31px;
  min-height: 31px;
  padding: 3px;
  border: 1px solid #c9c4bc;
  border-radius: 50%;
  background: #fff !important;
  position: relative;
  box-sizing: border-box;
}
body.single-product .alkhatt-variation-pills.is-colour .alkhatt-variation-pill.is-swatch .alkhatt-swatch-dot {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.13);
  box-sizing: border-box;
}
body.single-product .alkhatt-variation-pills.is-colour .alkhatt-variation-pill.is-swatch .alkhatt-swatch-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
body.single-product .alkhatt-variation-pills.is-colour .alkhatt-variation-pill.is-swatch:hover {
  border-color: #5d5852;
  transform: translateY(-1px);
}
body.single-product .alkhatt-variation-pills.is-colour .alkhatt-variation-pill.is-swatch.is-active {
  border-color: #111 !important;
  box-shadow: 0 0 0 1px #111 !important;
}
body.single-product .alkhatt-variation-pills.is-colour .alkhatt-variation-pill.is-swatch.is-active::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.7);
  pointer-events: none;
}
/* Unknown/new colour values never disappear: show their names as normal pills. */
body.single-product .alkhatt-variation-pills.is-colour .alkhatt-variation-pill.is-colour-text {
  width: auto;
  height: auto;
  min-height: 32px;
  padding: 6px 13px;
  border-radius: 999px;
}
/* Native Woo selector is only hidden after JS successfully renders replacement options. */
body.single-product form.cart table.variations select:not(.alkhatt-native-variation-select) {
  display: block !important;
  width: 100% !important;
  min-height: 40px;
}


/* ===== Alkhatt Art v3.3 — product options system =====
   Variations handle every selectable product option (colour, size, material, etc.).
   Personalization contains only owner-defined customer text fields. */

body.single-product .alkhatt-variation-pills.is-size {
  gap: 8px;
}
body.single-product .alkhatt-variation-pills.is-size .alkhatt-variation-pill {
  min-width: 58px;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 5px;
  border-color: #b9b3aa;
  background: #fff;
  font-size: 11px;
  font-weight: 600;
}
body.single-product .alkhatt-variation-pills.is-size .alkhatt-variation-pill:hover {
  border-color: #34312d;
  background: #faf9f7;
  color: #171717;
}
body.single-product .alkhatt-variation-pills.is-size .alkhatt-variation-pill.is-active {
  background: #171717;
  border-color: #171717;
  color: #fff;
}

body.single-product .alkhatt-variation-pills.is-material {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
  gap: 8px;
}
body.single-product .alkhatt-variation-pills.is-material .alkhatt-variation-pill {
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid #d2ccc3;
  background: #fbfaf8;
  color: #282521;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}
body.single-product .alkhatt-variation-pills.is-material .alkhatt-variation-pill:hover {
  border-color: #777067;
  background: #f5f2ed;
}
body.single-product .alkhatt-variation-pills.is-material .alkhatt-variation-pill.is-active {
  background: #515245;
  border-color: #515245;
  color: #fff;
}

/* Keep colour visually distinct from size/material. */
body.single-product .alkhatt-variation-pills.is-colour {
  gap: 11px;
  min-height: 38px;
}
body.single-product .alkhatt-variation-pills.is-colour .alkhatt-variation-pill.is-swatch {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
}

/* Variable price that appears after a selection. */
body.single-product .single_variation .woocommerce-variation-price {
  margin: 5px 0 10px;
}
body.single-product .single_variation .price {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #171717 !important;
}
body.single-product .single_variation .price del {
  color: #9a948c !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}
body.single-product .single_variation .price ins {
  text-decoration: none !important;
  color: #515245 !important;
}


@media (max-width: 700px) {
  body.single-product .alkhatt-variation-pills.is-material {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  body.single-product .alkhatt-variation-pills.is-size .alkhatt-variation-pill {
    min-width: 52px;
    min-height: 36px;
    padding: 7px 10px;
  }
}


/* ===== Alkhatt Art v3.4 — product page corrections ===== */

/* Keep every variation label directly connected to its choices. */
body.single-product form.cart table.variations,
body.single-product form.cart table.variations tbody,
body.single-product form.cart table.variations tr,
body.single-product form.cart table.variations th,
body.single-product form.cart table.variations td {
  box-sizing: border-box;
}
body.single-product form.cart table.variations tr {
  display: block !important;
  width: 100% !important;
  margin: 0 0 18px !important;
}
body.single-product form.cart table.variations th,
body.single-product form.cart table.variations td {
  display: block !important;
  width: 100% !important;
  text-align: start !important;
}
body.single-product form.cart table.variations th label {
  display: block !important;
  width: 100% !important;
  margin: 0 0 8px !important;
  text-align: start !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #5d5851 !important;
}
body.single-product .alkhatt-variation-pills {
  width: 100% !important;
  justify-content: flex-start !important;
  align-items: center !important;
  margin: 0 !important;
}

/* Explicit language direction prevents the parent theme from separating labels/buttons. */
body.alkhatt-lang-en.single-product .summary,
body.alkhatt-lang-en.single-product form.cart table.variations,
body.alkhatt-lang-en.single-product form.cart table.variations th,
body.alkhatt-lang-en.single-product form.cart table.variations td,
body.alkhatt-lang-en.single-product .alkhatt-variation-pills {
  direction: ltr !important;
  text-align: left !important;
}
body.alkhatt-lang-ar.single-product .summary,
body.alkhatt-lang-ar.single-product form.cart table.variations,
body.alkhatt-lang-ar.single-product form.cart table.variations th,
body.alkhatt-lang-ar.single-product form.cart table.variations td,
body.alkhatt-lang-ar.single-product .alkhatt-variation-pills {
  direction: rtl !important;
  text-align: right !important;
}

/* Do not let old slide-as-thumbnail rules survive from caches/parent styles. */
body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image {
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
  opacity: 1 !important;
  vertical-align: initial !important;
}

/* Native zoom button stays clear and clickable. */
body.single-product .woocommerce-product-gallery__trigger {
  z-index: 8 !important;
}

/* More comfortable native thumbnail sizing on smaller screens. */
@media (max-width: 900px) {
  body.single-product .woocommerce-product-gallery .flex-control-thumbs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }
}
@media (max-width: 520px) {
  body.single-product .woocommerce-product-gallery .flex-control-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}


/* ===== Alkhatt Art v3.5 — language-independent product gallery =====
   This gallery intentionally does not depend on WooCommerce FlexSlider direction.
   It fixes the English blank-gallery issue caused by the site's custom EN/AR mode. */

body.single-product .woocommerce-product-gallery {
  opacity: 1 !important;
  visibility: visible !important;
  direction: ltr !important;
}

body.single-product .alkhatt-v35-gallery {
  display: block;
  width: 100%;
  direction: ltr;
}

body.single-product .alkhatt-v35-gallery__stage {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #f3f0ea;
}

body.single-product .alkhatt-v35-gallery__main-link {
  display: block;
  width: 100%;
  cursor: zoom-in;
}

body.single-product .alkhatt-v35-gallery__main {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.65;
  object-fit: cover;
  object-position: center;
  background: #f3f0ea;
}

body.single-product .alkhatt-v35-gallery__zoom {
  position: absolute;
  z-index: 5;
  top: 16px;
  left: 16px;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  color: #171717;
  box-shadow: 0 5px 18px rgba(0,0,0,.10);
  cursor: pointer;
}
body.single-product .alkhatt-v35-gallery__zoom svg {
  width: 20px;
  height: 20px;
}

body.single-product .alkhatt-v35-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin: 10px 0 0;
}

body.single-product .alkhatt-v35-gallery__thumb {
  display: block;
  overflow: hidden;
  width: 100%;
  padding: 0;
  border: 1px solid transparent;
  background: #f3f0ea;
  opacity: .62;
  cursor: pointer;
  transition: opacity .16s ease, border-color .16s ease;
}
body.single-product .alkhatt-v35-gallery__thumb:hover,
body.single-product .alkhatt-v35-gallery__thumb.is-active {
  opacity: 1;
  border-color: #282521;
}
body.single-product .alkhatt-v35-gallery__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Once our stable gallery is mounted, keep the original WooCommerce figure only
   as a hidden data source so FlexSlider cannot move the visible image off-screen. */
body.single-product .woocommerce-product-gallery.alkhatt-v35-ready > .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce-product-gallery.alkhatt-v35-ready > .flex-viewport,
body.single-product .woocommerce-product-gallery.alkhatt-v35-ready > .flex-control-thumbs,
body.single-product .woocommerce-product-gallery.alkhatt-v35-ready > .woocommerce-product-gallery__trigger {
  display: none !important;
}

/* Simple built-in lightbox. */
.alkhatt-v35-lightbox {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(10,10,10,.88);
}
.alkhatt-v35-lightbox.is-open {
  display: flex;
}
.alkhatt-v35-lightbox img {
  display: block;
  max-width: min(94vw, 1500px);
  max-height: 92vh;
  object-fit: contain;
}
.alkhatt-v35-lightbox__close {
  position: absolute;
  top: 18px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 900px) {
  body.single-product .alkhatt-v35-gallery__thumbs {
    grid-template-columns: repeat(5, minmax(0,1fr));
    gap: 6px;
  }
}
@media (max-width: 520px) {
  body.single-product .alkhatt-v35-gallery__thumbs {
    grid-template-columns: repeat(4, minmax(0,1fr));
  }
  body.single-product .alkhatt-v35-gallery__zoom {
    width: 38px;
    height: 38px;
    top: 12px;
    left: 12px;
  }
}


/* ===== Alkhatt Art v3.6 — stable bilingual cart layout =====
   Like the v3.5 gallery fix, the visible cart row no longer relies on
   WooCommerce table-column/direction calculations that were squeezing text. */

/* Never show the long product description inside the cart. */
body.woocommerce-cart .wc-block-components-product-metadata__description,
body.woocommerce-cart .wc-block-cart-item__description,
body.woocommerce-cart .product-thumbnail + .product-name .variation + p {
  display: none !important;
}

/* Product names must wrap by words, never letter-by-letter. */
body.woocommerce-cart .wc-block-components-product-name,
body.woocommerce-cart .woocommerce-cart-form .product-name a {
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  unicode-bidi: plaintext;
}

/* Language direction is explicit, rather than inherited from the parent theme. */
body.alkhatt-lang-en.woocommerce-cart .wc-block-cart,
body.alkhatt-lang-en.woocommerce-cart .wc-block-cart-items,
body.alkhatt-lang-en.woocommerce-cart .wc-block-cart-item__product,
body.alkhatt-lang-en.woocommerce-cart .wc-block-cart-item__total {
  direction: ltr !important;
  text-align: left !important;
}
body.alkhatt-lang-ar.woocommerce-cart .wc-block-cart,
body.alkhatt-lang-ar.woocommerce-cart .wc-block-cart-items,
body.alkhatt-lang-ar.woocommerce-cart .wc-block-cart-item__product,
body.alkhatt-lang-ar.woocommerce-cart .wc-block-cart-item__total {
  direction: rtl !important;
  text-align: right !important;
}

@media (min-width: 901px) {
  /* WooCommerce Blocks cart: turn the table body into a stable card/grid.
     The table header is unnecessary once each row is visually self-contained. */
  body.woocommerce-cart .wc-block-cart-items {
    display: block !important;
    width: 100% !important;
    table-layout: auto !important;
    border: 0 !important;
  }

  body.woocommerce-cart .wc-block-cart-items thead {
    display: none !important;
  }

  body.woocommerce-cart .wc-block-cart-items tbody {
    display: block !important;
    width: 100% !important;
  }

  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__row {
    display: grid !important;
    grid-template-columns: 132px minmax(280px, 1fr) minmax(92px, auto) !important;
    grid-template-areas: "image product total" !important;
    column-gap: 22px !important;
    row-gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 14px !important;
    padding: 18px !important;
    box-sizing: border-box !important;
    border: 1px solid var(--alkhatt-v3-line, #e8e5df) !important;
    background: #fff !important;
  }

  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__image,
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__product,
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__total {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    position: static !important;
  }

  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__image {
    grid-area: image !important;
    width: 132px !important;
  }

  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__image a,
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__image img {
    display: block !important;
    width: 132px !important;
    height: 132px !important;
    max-width: 132px !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 !important;
  }

  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__product {
    grid-area: product !important;
    align-self: start !important;
  }

  body.woocommerce-cart .wc-block-components-product-name {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden !important;
    margin: 0 0 8px !important;
    font-size: 17px !important;
    line-height: 1.4 !important;
    font-weight: 650 !important;
  }

  /* Variation + personalization metadata stays readable below the title. */
  body.woocommerce-cart .wc-block-components-product-metadata {
    display: block !important;
    width: 100% !important;
    margin: 6px 0 0 !important;
    color: #706a62 !important;
    font-size: 11px !important;
    line-height: 1.55 !important;
  }

  body.woocommerce-cart .wc-block-components-product-details {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px 14px !important;
    margin: 0 !important;
  }

  body.woocommerce-cart .wc-block-components-product-details li {
    width: auto !important;
    margin: 0 !important;
    white-space: normal !important;
  }

  body.woocommerce-cart .wc-block-cart-item__prices,
  body.woocommerce-cart .wc-block-components-product-price {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 5px 7px !important;
    width: 100% !important;
    margin: 8px 0 0 !important;
  }

  /* Sale badge stays beside the price, not as a floating block. */
  body.woocommerce-cart .wc-block-components-product-badge {
    display: inline-flex !important;
    width: auto !important;
    max-width: max-content !important;
    min-height: 24px !important;
    margin: 6px 0 0 !important;
    padding: 4px 8px !important;
    align-items: center !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #515245 !important;
    color: #fff !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
  }

  body.woocommerce-cart .wc-block-components-quantity-selector {
    margin-top: 10px !important;
  }

  body.woocommerce-cart .wc-block-cart-item__remove-link {
    display: inline-block !important;
    margin-top: 8px !important;
  }

  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-item__total {
    grid-area: total !important;
    align-self: start !important;
    min-width: 92px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
  }

  body.alkhatt-lang-en.woocommerce-cart .wc-block-cart-item__total {
    text-align: right !important;
  }
  body.alkhatt-lang-ar.woocommerce-cart .wc-block-cart-item__total {
    text-align: left !important;
  }

  /* Keep the whole cart in the intended 65/35 retail layout. */
  body.woocommerce-cart .wc-block-components-sidebar-layout,
  body.woocommerce-cart .wc-block-cart {
    display: grid !important;
    grid-template-columns: minmax(0, 1.85fr) minmax(310px, .9fr) !important;
    gap: 30px !important;
    align-items: start !important;
  }

  body.woocommerce-cart .wc-block-cart__main {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  body.woocommerce-cart .wc-block-cart__sidebar,
  body.woocommerce-cart .wc-block-components-sidebar {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  /* In Arabic, keep the product area visually on the right and totals on left. */
  body.alkhatt-lang-ar.woocommerce-cart .wc-block-cart__main {
    grid-column: 2 !important;
  }
  body.alkhatt-lang-ar.woocommerce-cart .wc-block-cart__sidebar,
  body.alkhatt-lang-ar.woocommerce-cart .wc-block-components-sidebar {
    grid-column: 1 !important;
  }

  /* Classic WooCommerce cart fallback. */
  body.woocommerce-cart .woocommerce-cart-form table.shop_table {
    table-layout: auto !important;
  }
  body.woocommerce-cart .woocommerce-cart-form .product-name {
    width: auto !important;
    min-width: 280px !important;
  }
  body.woocommerce-cart .woocommerce-cart-form .product-thumbnail {
    width: 132px !important;
  }
}

/* Mobile: use a compact card instead of squeezing desktop columns. */
@media (max-width: 900px) {
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__row {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.woocommerce-cart .wc-block-cart-item__product,
  body.woocommerce-cart .wc-block-components-product-name {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body.woocommerce-cart .wc-block-components-product-name {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }
}


/* ===== Alkhatt Art v3.6.2 — category strip and homepage cards =====
   The homepage category grid keeps its four-column treatment when the store
   has four categories, and falls back to a self-sizing grid when it has two
   or three. No media queries: auto-fit handles every width on its own. */

.alkhatt-category-grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 18px;
}
.alkhatt-category-grid--auto .alkhatt-category-card {
  min-height: 285px;
  box-shadow: 0 10px 30px rgba(17, 17, 17, .09);
}
.alkhatt-category-grid--auto .alkhatt-category-card__content { inset: auto 20px 20px; }
.alkhatt-category-grid--auto .alkhatt-category-card h3 { margin: 0; font-size: 19px; }

/* The tile wrapper already fixes the aspect ratio and clips overflow; the
   image just fills it. Without this, a category thumbnail, a product photo
   and the WooCommerce placeholder each rendered at a different height. */
.alkhatt-shop-category__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* ===== Alkhatt Art v3.7 — About, Contact, social footer + header cart badge ===== */

/* Header action buttons must stay perfect circles.
   Cart count is an overlay badge and never participates in button width. */
.alkhatt-header__actions .alkhatt-icon-button {
  position: relative !important;
  flex: 0 0 42px !important;
  width: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  box-sizing: border-box !important;
}
.alkhatt-header__actions .alkhatt-icon-button .alkhatt-cart-count {
  position: absolute !important;
  z-index: 3;
  top: -5px !important;
  inset-inline-end: -5px !important;
  display: inline-grid !important;
  place-items: center !important;
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  padding: 0 3px !important;
  box-sizing: border-box !important;
  border: 2px solid #fff;
  border-radius: 999px !important;
  background: var(--alkhatt-olive, #696a5b);
  color: #fff;
  font-size: 9px !important;
  line-height: 1 !important;
  font-weight: 700;
}
/* Two-digit counts may grow only the badge, never the cart circle. */
.alkhatt-header__actions .alkhatt-cart-count {
  width: auto !important;
  min-width: 18px !important;
}

/* Shared inner-page system. */
.alkhatt-inner-page {
  padding: clamp(48px, 7vw, 88px) 0 clamp(72px, 9vw, 118px);
  background: #fff;
}
.alkhatt-inner-page__hero {
  max-width: 790px;
  margin-bottom: clamp(42px, 6vw, 72px);
}
.alkhatt-inner-page__eyebrow {
  margin: 0 0 12px;
  color: #8b857d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.alkhatt-inner-page__hero h1 {
  margin: 0 0 18px;
  color: #171717;
  font-size: clamp(38px, 5.2vw, 66px);
  line-height: 1.1;
  font-weight: 550;
  letter-spacing: -.035em;
}
body.alkhatt-lang-ar .alkhatt-inner-page__hero h1 {
  line-height: 1.4;
  letter-spacing: 0;
}
.alkhatt-inner-page__hero p {
  max-width: 680px;
  margin: 0;
  color: #625d56;
  font-size: 15px;
  line-height: 1.9;
}
.alkhatt-inner-page__editor {
  color: #4c4741;
  font-size: 14px;
  line-height: 1.9;
}
.alkhatt-inner-page__editor:empty {
  display: none;
}

/* About */
.alkhatt-about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: clamp(42px, 7vw, 90px);
  align-items: start;
}
.alkhatt-about-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.35;
  font-weight: 550;
}
.alkhatt-about-copy p {
  margin: 0 0 18px;
  color: #5f5a53;
  font-size: 14px;
  line-height: 1.95;
}
.alkhatt-about-points {
  display: grid;
  gap: 1px;
  border-block: 1px solid #e7e1d8;
}
.alkhatt-about-point {
  padding: 22px 0;
  border-bottom: 1px solid #e7e1d8;
}
.alkhatt-about-point:last-child {
  border-bottom: 0;
}
.alkhatt-about-point strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
}
.alkhatt-about-point span {
  display: block;
  color: #777069;
  font-size: 12px;
  line-height: 1.7;
}

/* Contact */
.alkhatt-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: clamp(42px, 7vw, 90px);
  align-items: start;
}
.alkhatt-contact-list {
  display: grid;
  gap: 0;
  border-top: 1px solid #e7e1d8;
}
.alkhatt-contact-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
  padding: 19px 0;
  border-bottom: 1px solid #e7e1d8;
}
.alkhatt-contact-item__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #ddd7cf;
  border-radius: 50%;
  color: #515245;
  font-size: 13px;
}
.alkhatt-contact-item strong {
  display: block;
  margin: 1px 0 4px;
  font-size: 12px;
  font-weight: 700;
}
.alkhatt-contact-item a,
.alkhatt-contact-item span {
  color: #676159;
  font-size: 13px;
  line-height: 1.65;
  text-decoration: none;
}
.alkhatt-contact-item a:hover {
  color: #111;
}
.alkhatt-contact-cta {
  padding: clamp(28px, 4vw, 46px);
  background: #f7f4ed;
}
.alkhatt-contact-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.35;
  font-weight: 550;
}
.alkhatt-contact-cta p {
  margin: 0 0 22px;
  color: #6c665f;
  font-size: 13px;
  line-height: 1.8;
}
.alkhatt-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.alkhatt-contact-actions .alkhatt-btn {
  min-height: 44px;
}

/* Footer social icons. */
.alkhatt-footer__social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}
.alkhatt-footer__social-icon {
  display: inline-grid !important;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 14px !important;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.alkhatt-footer__social-icon:hover {
  background: #fff;
  color: #171717 !important;
  border-color: #fff;
}
.alkhatt-footer__contact-links {
  margin-top: 14px;
}
.alkhatt-footer__contact-links > .alkhatt-footer__social {
  display: none !important; /* replaced by the icon row */
}

@media (max-width: 820px) {
  .alkhatt-about-layout,
  .alkhatt-contact-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}
@media (max-width: 520px) {
  .alkhatt-inner-page {
    padding-top: 36px;
  }
  .alkhatt-inner-page__hero {
    margin-bottom: 34px;
  }
  .alkhatt-inner-page__hero h1 {
    font-size: 36px;
  }
  .alkhatt-contact-cta {
    padding: 25px 20px;
  }
  .alkhatt-footer__social-icon {
    width: 34px;
    height: 34px;
  }
}




/* ===== Alkhatt Art v4.1 ===== */

/* Second shopping-category row under the main header controls. */
.alkhatt-shop-nav {
  background: #fff;
  border-top: 1px solid var(--alkhatt-border);
  border-bottom: 1px solid var(--alkhatt-border);
}
.alkhatt-shop-nav__inner { min-height: 48px; display: flex; align-items: center; justify-content: center; }
.alkhatt-shop-menu { list-style: none; display: flex; align-items: center; justify-content: center; gap: clamp(24px, 4vw, 58px); width: 100%; margin: 0; padding: 0; }
.alkhatt-shop-menu > li { position: relative; flex: 0 0 auto; }
.alkhatt-shop-menu > li > a { display: flex; align-items: center; min-height: 47px; padding: 0 2px; color: var(--alkhatt-black); font-size: 13px; font-weight: 650; letter-spacing: .02em; white-space: nowrap; }
.alkhatt-shop-menu > li.menu-item-has-children > a::after { content: "⌄"; font-size: 12px; margin-inline-start: 7px; transform: translateY(-1px); }
.alkhatt-shop-menu a:hover, .alkhatt-shop-menu .current-menu-item > a { color: var(--alkhatt-olive); }
.alkhatt-shop-menu .sub-menu { position: absolute; z-index: 80; top: calc(100% - 1px); inset-inline-start: 50%; transform: translate(-50%, 8px); min-width: 220px; list-style: none; margin: 0; padding: 9px; background: #fff; border: 1px solid var(--alkhatt-border); border-radius: 10px; box-shadow: 0 16px 38px rgba(17,17,17,.1); opacity: 0; visibility: hidden; transition: .18s ease; }
.rtl .alkhatt-shop-menu .sub-menu { transform: translate(50%, 8px); }
.alkhatt-shop-menu li:hover > .sub-menu, .alkhatt-shop-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.rtl .alkhatt-shop-menu li:hover > .sub-menu, .rtl .alkhatt-shop-menu li:focus-within > .sub-menu { transform: translate(50%, 0); }
.alkhatt-shop-menu .sub-menu a { display: block; padding: 10px 12px; border-radius: 6px; font-size: 13px; white-space: nowrap; }
.alkhatt-shop-menu .sub-menu a:hover { background: var(--alkhatt-cream); }

/* Full-width editable homepage gallery. */
.alkhatt-v41-hero-gallery { position: relative; width: 100%; min-height: clamp(520px, 68vh, 760px); overflow: hidden; background: #111; isolation: isolate; }
.alkhatt-v41-hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .55s ease, visibility .55s ease; }
.alkhatt-v41-hero-slide:first-child { position: absolute; }
.alkhatt-v41-hero-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 2; }
.alkhatt-v41-hero__media, .alkhatt-v41-hero__media > img, .alkhatt-v41-hero__picture, .alkhatt-v41-hero__picture img, .alkhatt-v41-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.alkhatt-v41-hero__media img, .alkhatt-v41-hero__picture img, .alkhatt-v41-hero__video { object-fit: cover; }
.alkhatt-v41-hero__mobile-fallback { display: none; }
.alkhatt-v41-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.30) 48%, rgba(0,0,0,.18) 100%); }
.rtl .alkhatt-v41-hero__overlay { background: linear-gradient(270deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.30) 48%, rgba(0,0,0,.18) 100%); }
.alkhatt-v41-hero__content { position: relative; z-index: 3; min-height: clamp(520px, 68vh, 760px); display: flex; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.alkhatt-v41-hero__content.is-start { justify-content: flex-start; text-align: start; }
.alkhatt-v41-hero__content.is-center { justify-content: center; text-align: center; }
.alkhatt-v41-hero__content.is-end { justify-content: flex-end; text-align: end; }
.alkhatt-v41-hero__copy { width: min(650px, 62vw); }
.alkhatt-v41-hero__content.is-center .alkhatt-v41-hero__copy { margin-inline: auto; }
.alkhatt-v41-hero__content.is-end .alkhatt-v41-hero__copy { margin-inline-start: auto; }
.alkhatt-v41-hero__copy h1 { margin: 0 0 17px; color: #fff; font-size: clamp(40px, 5.4vw, 76px); line-height: 1.08; letter-spacing: -.035em; text-shadow: 0 2px 28px rgba(0,0,0,.14); }
.alkhatt-lang-ar .alkhatt-v41-hero__copy h1 { line-height: 1.35; letter-spacing: 0; }
.alkhatt-v41-hero__copy p { max-width: 620px; margin: 0; color: rgba(255,255,255,.9); font-size: clamp(14px, 1.4vw, 18px); line-height: 1.8; }
.alkhatt-v41-hero__content.is-center .alkhatt-v41-hero__copy p { margin-inline: auto; }
.alkhatt-v41-hero__buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.alkhatt-v41-hero__content.is-center .alkhatt-v41-hero__buttons { justify-content: center; }
.alkhatt-v41-hero__content.is-end .alkhatt-v41-hero__buttons { justify-content: flex-end; }
.alkhatt-btn--light { background: #fff; color: #111; border: 1px solid #fff; }
.alkhatt-btn--light:hover { background: var(--alkhatt-cream); color: #111; }
.alkhatt-btn--outline-light { background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.72); backdrop-filter: blur(6px); }
.alkhatt-btn--outline-light:hover { background: #fff; color: #111; }
.alkhatt-v41-hero__arrow { position: absolute; z-index: 5; top: 50%; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(0,0,0,.18); color: #fff; font-size: 30px; line-height: 1; backdrop-filter: blur(6px); cursor: pointer; }
.alkhatt-v41-hero__arrow--prev { inset-inline-start: 24px; }
.alkhatt-v41-hero__arrow--next { inset-inline-end: 24px; }
.alkhatt-v41-hero__dots { position: absolute; z-index: 5; inset-inline-start: 50%; bottom: 24px; transform: translateX(-50%); display: flex; gap: 8px; }
.rtl .alkhatt-v41-hero__dots { transform: translateX(50%); }
.alkhatt-v41-hero__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.55); cursor: pointer; transition: .2s ease; }
.alkhatt-v41-hero__dots button.is-active { width: 26px; background: #fff; }

/* Policy pages. */
.alkhatt-policy-page { background: #fff; }
.alkhatt-policy-page__container { max-width: 980px; padding-bottom: 92px; }
.alkhatt-policy-page__hero { max-width: 760px; padding-bottom: 34px; }
.alkhatt-policy-content { padding: 34px 0 0; border-top: 1px solid var(--alkhatt-border); }
.alkhatt-policy-content h2 { margin: 42px 0 12px; font-size: clamp(19px, 2vw, 24px); line-height: 1.45; }
.alkhatt-policy-content h2:first-child { margin-top: 0; }
.alkhatt-policy-content h3 { margin: 36px 0 14px; font-size: 18px; }
.alkhatt-policy-content h4 { margin: 0 0 10px; font-size: 15px; }
.alkhatt-policy-content p, .alkhatt-policy-content li { color: #555; font-size: 14px; line-height: 1.85; }
.alkhatt-policy-content ul, .alkhatt-policy-content ol { padding-inline-start: 22px; }
.alkhatt-policy-content a { color: var(--alkhatt-olive-dark); text-decoration: underline; text-underline-offset: 3px; }
.alkhatt-policy-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 16px 0 32px; }
.alkhatt-policy-card { padding: 19px; border: 1px solid var(--alkhatt-border); border-radius: 12px; background: var(--alkhatt-cream); }
.alkhatt-policy-card ul { margin-bottom: 0; padding-inline-start: 18px; }

/* Site-wide WhatsApp chat. */
.alkhatt-v41-wa { position: fixed; z-index: 9998; right: 22px; bottom: 22px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.rtl .alkhatt-v41-wa, .alkhatt-lang-ar .alkhatt-v41-wa { right: auto; left: 22px; align-items: flex-start; }
.alkhatt-v41-wa__launcher { width: 56px; height: 56px; border: 0; border-radius: 50%; background: #25D366; color: #fff; font-size: 27px; box-shadow: 0 10px 28px rgba(0,0,0,.18); cursor: pointer; display: grid; place-items: center; }
.alkhatt-v41-wa__panel { position: relative; width: min(330px, calc(100vw - 32px)); padding: 18px; border: 1px solid rgba(17,17,17,.08); border-radius: 16px; background: #fff; box-shadow: 0 18px 55px rgba(0,0,0,.16); }
.alkhatt-v41-wa__panel[hidden] { display: none !important; }
.alkhatt-v41-wa__close { position: absolute; top: 8px; inset-inline-end: 10px; width: 30px; height: 30px; border: 0; background: transparent; color: #777; font-size: 23px; cursor: pointer; }
.alkhatt-v41-wa__brand { display: flex; align-items: center; gap: 10px; padding-inline-end: 28px; }
.alkhatt-v41-wa__brand-icon { width: 38px; height: 38px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; font-size: 20px; }
.alkhatt-v41-wa__brand strong, .alkhatt-v41-wa__brand small { display: block; }
.alkhatt-v41-wa__brand small { margin-top: 2px; color: #777; font-size: 11px; }
.alkhatt-v41-wa__panel p { margin: 18px 0 14px; color: #333; line-height: 1.65; }
.alkhatt-v41-wa__button { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 10px 14px; border-radius: 10px; background: #25D366; color: #fff !important; font-weight: 700; text-decoration: none !important; }

@media (max-width: 960px) {
  .alkhatt-shop-nav__inner { overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .alkhatt-shop-nav__inner::-webkit-scrollbar { display: none; }
  .alkhatt-shop-menu { width: max-content; min-width: 100%; justify-content: flex-start; gap: 30px; padding-inline: 18px; }
  .alkhatt-shop-menu .sub-menu { inset-inline-start: 0; transform: translateY(8px); }
  .rtl .alkhatt-shop-menu .sub-menu { transform: translateY(8px); }
  .alkhatt-shop-menu li:hover > .sub-menu, .alkhatt-shop-menu li:focus-within > .sub-menu, .rtl .alkhatt-shop-menu li:hover > .sub-menu, .rtl .alkhatt-shop-menu li:focus-within > .sub-menu { transform: translateY(0); }
  .alkhatt-policy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .alkhatt-shop-nav__inner { min-height: 44px; }
  .alkhatt-shop-menu > li > a { min-height: 43px; font-size: 12px; }
  .alkhatt-v41-hero-gallery, .alkhatt-v41-hero__content { min-height: 560px; }
  .alkhatt-v41-hero__content { padding: 60px 18px 74px; align-items: flex-end; }
  .alkhatt-v41-hero__copy { width: 100%; }
  .alkhatt-v41-hero__copy h1 { font-size: 36px; }
  .alkhatt-v41-hero__copy p { font-size: 13px; }
  .alkhatt-v41-hero__content.is-center, .alkhatt-v41-hero__content.is-end { text-align: start; justify-content: flex-start; }
  .alkhatt-v41-hero__content.is-center .alkhatt-v41-hero__buttons, .alkhatt-v41-hero__content.is-end .alkhatt-v41-hero__buttons { justify-content: flex-start; }
  .alkhatt-v41-hero__content.is-end .alkhatt-v41-hero__copy { margin-inline-start: 0; }
  .alkhatt-v41-hero__arrow { display: none; }
  .alkhatt-v41-hero__video.has-mobile-fallback { display: none; }
  .alkhatt-v41-hero__mobile-fallback { display: block; object-fit: cover; }
  .alkhatt-policy-page__container { padding-inline: 18px; padding-bottom: 60px; }
  .alkhatt-policy-content h2 { margin-top: 34px; font-size: 18px; }
  .alkhatt-v41-wa { right: 14px; bottom: 14px; }
  .rtl .alkhatt-v41-wa, .alkhatt-lang-ar .alkhatt-v41-wa { right: auto; left: 14px; }
  .alkhatt-v41-wa__launcher { width: 52px; height: 52px; }
}


/* ===== Alkhatt Art v4.2 ===== */

/* Thin social + rotating announcement bar. */
.alkhatt-v42-topbar{background:var(--alkhatt-olive-dark);color:#fff;border-top:3px solid var(--alkhatt-olive);}
.alkhatt-v42-topbar__inner{min-height:38px;display:grid;grid-template-columns:1fr minmax(280px,620px) 1fr;align-items:center;gap:18px;}
.alkhatt-v42-topbar__socials{display:flex;align-items:center;gap:14px;justify-self:start;}
.alkhatt-v42-topbar__socials a{display:inline-flex;align-items:center;justify-content:center;color:#fff!important;font-size:13px;opacity:.95;}
.alkhatt-v42-topbar__socials a:hover{opacity:.7;}
.alkhatt-v42-topbar__spacer{min-width:1px;}
.alkhatt-v42-announcements{display:grid;grid-template-columns:26px 1fr 26px;align-items:center;justify-items:center;min-width:0;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;}
.alkhatt-v42-announcements>button{appearance:none;border:0;background:transparent;color:#fff;width:26px;height:28px;cursor:pointer;font-size:18px;line-height:1;opacity:.8;}
.alkhatt-v42-announcements__track{position:relative;width:100%;min-height:20px;overflow:hidden;text-align:center;}
.alkhatt-v42-announcement{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;transform:translateY(8px);transition:opacity .25s ease,transform .25s ease;pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.alkhatt-v42-announcement.is-active{opacity:1;transform:none;pointer-events:auto;}
.alkhatt-v42-announcement a,.alkhatt-v42-announcement span{color:#fff!important;text-decoration:none;overflow:hidden;text-overflow:ellipsis;}

/* Main header: logo + utilities only. */
.alkhatt-v42-header__main{min-height:78px!important;display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;gap:20px!important;}
.alkhatt-v42-header__balance{justify-self:start;}
.alkhatt-v42-brand{grid-column:2;justify-self:center;}
.alkhatt-v42-brand img,.alkhatt-v42-brand .custom-logo{height:56px!important;max-width:190px!important;width:auto!important;object-fit:contain;}
.alkhatt-v42-header__actions{grid-column:3;justify-self:end;display:flex!important;align-items:center!important;gap:8px!important;}
.alkhatt-v42-header__actions .alkhatt-icon-button{width:40px!important;height:40px!important;flex:0 0 40px!important;border-radius:50%!important;}

/* All site links + shopping categories in one lower row. */
.alkhatt-combined-nav{position:relative!important;display:block!important;inset:auto!important;width:100%!important;background:#fff!important;border-top:1px solid var(--alkhatt-border)!important;border-bottom:1px solid var(--alkhatt-border)!important;box-shadow:none!important;padding:0!important;}
.alkhatt-combined-nav__inner{min-height:48px;display:flex;align-items:center;justify-content:center;gap:26px;overflow-x:auto;scrollbar-width:none;padding-inline:18px;}
.alkhatt-combined-nav__inner::-webkit-scrollbar{display:none;}
.alkhatt-combined-nav .alkhatt-primary-menu,.alkhatt-combined-nav .alkhatt-shop-menu,.alkhatt-combined-nav .alkhatt-fallback-menu{display:flex!important;align-items:center!important;justify-content:center!important;gap:clamp(24px,2.4vw,42px)!important;list-style:none!important;margin:0!important;padding:0!important;width:max-content!important;flex:0 0 auto!important;}
.alkhatt-combined-nav .alkhatt-primary-menu>li,.alkhatt-combined-nav .alkhatt-shop-menu>li,.alkhatt-combined-nav .alkhatt-fallback-menu>li{position:relative;flex:0 0 auto;}
.alkhatt-combined-nav .alkhatt-primary-menu>li>a,.alkhatt-combined-nav .alkhatt-shop-menu>li>a,.alkhatt-combined-nav .alkhatt-fallback-menu>li>a{display:flex!important;align-items:center!important;min-height:47px!important;padding:0!important;font-size:12px!important;font-weight:650!important;letter-spacing:.02em!important;white-space:nowrap!important;color:var(--alkhatt-black)!important;}
.alkhatt-combined-nav a:hover,.alkhatt-combined-nav .current-menu-item>a{color:var(--alkhatt-olive)!important;}
.alkhatt-combined-nav .sub-menu{z-index:100!important;}
.alkhatt-shop-nav{display:none!important;}

/* Hero carousel control bar beneath/overlapping the lower edge, Kashida-style. */
.alkhatt-v42-hero-gallery.has-multiple{overflow:visible;margin-bottom:46px;}
.alkhatt-v42-hero-controls{position:absolute;z-index:12;left:50%;bottom:-32px;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:7px;min-height:64px;padding:0 14px;background:#fff;border:1px solid var(--alkhatt-border);box-shadow:0 6px 18px rgba(17,17,17,.05);}
.alkhatt-v42-hero-control{appearance:none;border:0;background:transparent;color:#555;width:36px;height:44px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-size:16px;}
.alkhatt-v42-hero-control:hover{color:#000;}
.alkhatt-v42-hero-dots{display:flex;align-items:center;gap:12px;padding:0 4px;}
.alkhatt-v42-hero-dots button{appearance:none;width:10px;height:10px;border-radius:50%;border:1px solid #999;background:#fff;padding:0;cursor:pointer;}
.alkhatt-v42-hero-dots button.is-active{background:#202020;border-color:#202020;}
.alkhatt-v42-hero-controls__divider{width:1px;height:42px;background:var(--alkhatt-border);margin-inline:4px;}
.alkhatt-v42-hero-toggle{font-size:14px;}
.alkhatt-v42-hero-gallery .alkhatt-v41-hero__arrow,.alkhatt-v42-hero-gallery .alkhatt-v41-hero__dots{display:none!important;}

/* Live WooCommerce category shelves replacing the old four image cards. */
.alkhatt-v42-category-shelves{background:#fff;}
.alkhatt-v42-category-shelf{padding:56px 0 48px;background:#fff;}
.alkhatt-v42-category-shelf.is-alt{background:var(--alkhatt-cream);}
.alkhatt-v42-shelf-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:24px;}
.alkhatt-v42-shelf-head h2{margin:0;font-size:clamp(24px,2.2vw,34px);font-weight:500;letter-spacing:-.02em;}
.alkhatt-v42-shelf-products ul.products{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:28px 10px!important;margin:0!important;padding:0!important;}
.alkhatt-v42-shelf-products ul.products::before,.alkhatt-v42-shelf-products ul.products::after{display:none!important;}
.alkhatt-v42-shelf-products ul.products li.product{float:none!important;width:auto!important;margin:0!important;min-width:0!important;}
.alkhatt-v42-shelf-products ul.products li.product:nth-child(n+11){display:none!important;}
.alkhatt-v42-shelf-products ul.products li.product img{width:100%!important;aspect-ratio:1/1.08;object-fit:cover;margin-bottom:10px!important;}
.alkhatt-v42-shelf-products ul.products li.product .woocommerce-loop-product__title{font-size:12px!important;line-height:1.35!important;font-weight:500!important;padding:0!important;margin:0 0 7px!important;}
.alkhatt-v42-shelf-products ul.products li.product .price{font-size:12px!important;font-weight:700!important;}
.alkhatt-v42-shelf-more{display:flex;justify-content:center;margin-top:34px;}
.alkhatt-v42-show-all{display:inline-flex;align-items:center;justify-content:center;min-width:86px;min-height:36px;padding:8px 18px;border:1px solid #555;color:#222!important;font-size:11px;font-weight:600;text-decoration:none!important;background:transparent;}
.alkhatt-v42-show-all:hover{background:#111;color:#fff!important;border-color:#111;}

/* Direct homepage personalization + purchase. */
.alkhatt-v42-quick-sale{background:#f4f1e9!important;padding:64px 0!important;}
.alkhatt-v42-quick-sale__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:#fff;min-height:560px;box-shadow:0 12px 38px rgba(17,17,17,.06);}
.alkhatt-v42-quick-sale__visual{min-height:560px;background:#eee;overflow:hidden;}
.alkhatt-v42-quick-sale__visual a,.alkhatt-v42-quick-sale__visual img{display:block;width:100%;height:100%;}
.alkhatt-v42-quick-sale__visual img{object-fit:cover;}
.alkhatt-v42-quick-sale__content{padding:clamp(34px,5vw,76px);align-self:center;}
.alkhatt-v42-quick-sale__content h2{font-size:clamp(34px,4.6vw,64px);line-height:.98;letter-spacing:-.035em;margin:8px 0 18px;max-width:650px;}
.alkhatt-v42-quick-sale__intro{max-width:620px;color:var(--alkhatt-muted);margin-bottom:20px;}
.alkhatt-v42-quick-sale__product-name{display:inline-block;color:var(--alkhatt-black)!important;font-size:15px;font-weight:700;margin-bottom:6px;}
.alkhatt-v42-quick-sale__price{font-size:19px;font-weight:700;margin-bottom:18px;}
.alkhatt-v42-quick-sale__form form.cart{margin:0!important;}
.alkhatt-v42-quick-sale__form .alkhatt-pz{margin:18px 0!important;padding:0!important;border:0!important;background:transparent!important;}
.alkhatt-v42-quick-sale__form .alkhatt-pz__heading{margin-bottom:14px!important;}
.alkhatt-v42-quick-sale__form .alkhatt-pz-field{margin:0 0 13px!important;}
.alkhatt-v42-quick-sale__form .alkhatt-pz-field input,.alkhatt-v42-quick-sale__form .alkhatt-pz-field textarea,.alkhatt-v42-quick-sale__form select{width:100%!important;min-height:46px;border:1px solid #cfcfcf!important;border-radius:0!important;background:#fff!important;}
.alkhatt-v42-quick-sale__form .single_add_to_cart_button{min-height:48px!important;border-radius:0!important;padding-inline:26px!important;}
.alkhatt-v42-quick-sale__form .quantity .qty{min-height:48px!important;}
.alkhatt-v42-quick-sale__form table.variations{margin-bottom:14px!important;}
.alkhatt-v42-quick-sale__form table.variations th,.alkhatt-v42-quick-sale__form table.variations td{display:block!important;width:100%!important;padding:0 0 7px!important;text-align:start!important;}

@media(max-width:1100px){
  .alkhatt-v42-shelf-products ul.products{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
  .alkhatt-v42-shelf-products ul.products li.product:nth-child(n+9){display:none!important;}
  .alkhatt-combined-nav__inner{justify-content:flex-start;}
}
@media(max-width:960px){
  .alkhatt-v42-topbar__inner{grid-template-columns:auto 1fr;}
  .alkhatt-v42-topbar__spacer{display:none;}
  .alkhatt-v42-header__main{grid-template-columns:auto 1fr auto!important;min-height:70px!important;padding-inline:14px;}
  .alkhatt-v42-header__balance{display:none;}
  .alkhatt-v42-brand{grid-column:2;justify-self:start;}
  .rtl .alkhatt-v42-brand{justify-self:end;}
  .alkhatt-v42-header__actions{grid-column:3;}
  .alkhatt-combined-nav{display:none!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;z-index:90!important;border-top:1px solid var(--alkhatt-border)!important;max-height:72vh;overflow:auto;}
  .alkhatt-combined-nav.is-open{display:block!important;}
  .alkhatt-combined-nav__inner{display:block;padding:10px 18px 18px;overflow:visible;}
  .alkhatt-combined-nav .alkhatt-primary-menu,.alkhatt-combined-nav .alkhatt-shop-menu,.alkhatt-combined-nav .alkhatt-fallback-menu{display:block!important;width:100%!important;}
  .alkhatt-combined-nav .alkhatt-primary-menu>li>a,.alkhatt-combined-nav .alkhatt-shop-menu>li>a,.alkhatt-combined-nav .alkhatt-fallback-menu>li>a{min-height:42px!important;border-bottom:1px solid #eee;}
  .alkhatt-combined-nav .sub-menu{position:static!important;opacity:1!important;visibility:visible!important;transform:none!important;box-shadow:none!important;border:0!important;padding:0 0 4px 18px!important;}
  .rtl .alkhatt-combined-nav .sub-menu{padding:0 18px 4px 0!important;}
  .alkhatt-mobile-toggle{display:inline-flex!important;}
  .alkhatt-v42-quick-sale__grid{grid-template-columns:1fr;}
  .alkhatt-v42-quick-sale__visual{min-height:440px;}
}
@media(max-width:767px){
  .alkhatt-v42-topbar{border-top-width:2px;}
  .alkhatt-v42-topbar__inner{min-height:34px;grid-template-columns:1fr;padding-inline:10px;}
  .alkhatt-v42-topbar__socials{display:none;}
  .alkhatt-v42-announcements{font-size:9.5px;grid-template-columns:22px 1fr 22px;letter-spacing:.035em;}
  .alkhatt-v42-brand img,.alkhatt-v42-brand .custom-logo{height:48px!important;max-width:145px!important;}
  .alkhatt-v42-header__actions{gap:4px!important;}
  .alkhatt-v42-header__actions .alkhatt-icon-button{width:36px!important;height:36px!important;flex-basis:36px!important;}
  .alkhatt-v42-header__actions .alkhatt-account,.alkhatt-v42-header__actions .alkhatt-v42-wishlist{display:none!important;}
  .alkhatt-v42-hero-gallery.has-multiple{margin-bottom:38px;}
  .alkhatt-v42-hero-controls{bottom:-27px;min-height:54px;padding:0 8px;gap:3px;max-width:calc(100% - 28px);}
  .alkhatt-v42-hero-control{width:30px;height:38px;}
  .alkhatt-v42-hero-dots{gap:9px;}
  .alkhatt-v42-hero-dots button{width:8px;height:8px;}
  .alkhatt-v42-hero-controls__divider{height:34px;}
  .alkhatt-v42-category-shelf{padding:38px 0 36px;}
  .alkhatt-v42-shelf-head{margin-bottom:18px;}
  .alkhatt-v42-shelf-products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px 10px!important;}
  .alkhatt-v42-shelf-products ul.products li.product:nth-child(n+5){display:none!important;}
  .alkhatt-v42-shelf-products ul.products li.product img{aspect-ratio:1/1.08;}
  .alkhatt-v42-shelf-more{margin-top:24px;}
  .alkhatt-v42-quick-sale{padding:34px 0!important;}
  .alkhatt-v42-quick-sale__visual{min-height:340px;}
  .alkhatt-v42-quick-sale__content{padding:28px 20px 34px;}
  .alkhatt-v42-quick-sale__content h2{font-size:36px;}
}


/* ===== Alkhatt Art v4.3 ===== */
/* Homepage category shelves: tighter vertical rhythm between categories. */
.alkhatt-v42-category-shelf{padding:30px 0 26px!important;}
.alkhatt-v42-shelf-head{margin-bottom:18px!important;}
.alkhatt-v42-shelf-more{margin-top:20px!important;}
.alkhatt-v42-category-shelf + .alkhatt-v42-category-shelf{border-top:1px solid rgba(17,17,17,.035);}

/* Header logo supplied for v4.3. */
.alkhatt-v42-brand img{height:58px!important;max-width:210px!important;width:auto!important;object-fit:contain!important;}

/* Homepage direct-sale personalization: clean, obvious, purchase-ready fields. */
.alkhatt-v42-quick-sale__form .alkhatt-pz{
  margin:20px 0 18px!important;padding:18px!important;border:1px solid #e5e1d8!important;background:#fbfaf7!important;
}
.alkhatt-v42-quick-sale__form .alkhatt-pz__heading{margin:0 0 16px!important;}
.alkhatt-v42-quick-sale__form .alkhatt-pz__heading strong{display:block!important;font-size:14px!important;margin-bottom:3px!important;}
.alkhatt-v42-quick-sale__form .alkhatt-pz__heading span{display:block!important;font-size:12px!important;line-height:1.55!important;color:var(--alkhatt-muted)!important;}
.alkhatt-v42-quick-sale__form .alkhatt-pz{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 14px!important;}
.alkhatt-v42-quick-sale__form .alkhatt-pz__heading{grid-column:1/-1!important;}
.alkhatt-v42-quick-sale__form .alkhatt-pz-field{position:relative!important;margin:0!important;min-width:0!important;}
.alkhatt-v42-quick-sale__form .alkhatt-pz-field label{display:flex!important;align-items:center!important;gap:5px!important;margin:0 0 7px!important;font-size:12px!important;font-weight:700!important;color:#222!important;}
.alkhatt-v42-quick-sale__form .alkhatt-pz-field label .required{color:#a3342e!important;}
.alkhatt-v42-quick-sale__form .alkhatt-pz-field label .optional{font-size:10px!important;font-weight:500!important;color:#8a8a8a!important;}
.alkhatt-v42-quick-sale__form .alkhatt-pz-field input,
.alkhatt-v42-quick-sale__form .alkhatt-pz-field textarea{
  width:100%!important;min-height:50px!important;margin:0!important;padding:12px 13px!important;border:1px solid #cfcac0!important;border-radius:2px!important;background:#fff!important;box-shadow:none!important;font-size:14px!important;box-sizing:border-box!important;
}
.alkhatt-v42-quick-sale__form .alkhatt-pz-field textarea{min-height:92px!important;resize:vertical!important;}
.alkhatt-v42-quick-sale__form .alkhatt-pz-field input:focus,
.alkhatt-v42-quick-sale__form .alkhatt-pz-field textarea:focus{outline:2px solid rgba(105,106,91,.18)!important;border-color:var(--alkhatt-olive)!important;}
.alkhatt-v42-quick-sale__form .alkhatt-pz-field__count{display:block!important;margin-top:5px!important;text-align:end!important;color:#8a8a8a!important;font-size:10px!important;}
.alkhatt-v42-quick-sale__form form.cart:not(.variations_form){display:flex!important;flex-wrap:wrap!important;align-items:flex-end!important;gap:10px!important;}
.alkhatt-v42-quick-sale__form form.cart:not(.variations_form) .alkhatt-pz{flex:0 0 100%!important;width:100%!important;}
.alkhatt-v42-quick-sale__form .quantity{margin:0!important;}
.alkhatt-v42-quick-sale__form .quantity .qty{width:76px!important;min-height:50px!important;border:1px solid #222!important;}
.alkhatt-v42-quick-sale__form .single_add_to_cart_button{min-height:50px!important;padding:0 28px!important;background:#26241f!important;color:#fff!important;font-weight:750!important;}

@media(max-width:767px){
  .alkhatt-v42-category-shelf{padding:22px 0 20px!important;}
  .alkhatt-v42-shelf-head{margin-bottom:14px!important;}
  .alkhatt-v42-shelf-more{margin-top:16px!important;}
  .alkhatt-v42-brand img{height:50px!important;max-width:165px!important;}
  .alkhatt-v42-quick-sale__form .alkhatt-pz{grid-template-columns:1fr!important;padding:15px!important;}
}


/* ======================================================================
   Alkhatt Art v4.4 — cart root-layout fix + new header logo
   ====================================================================== */

/* Supplied Al Khatt logo: keep it centered and readable without changing
   the image proportions. */
.alkhatt-v42-brand img{
  height:64px!important;
  width:auto!important;
  max-width:245px!important;
  object-fit:contain!important;
}

/* Cart: neutralize the old RTL table/grid calculations at the outer level.
   Physical columns are controlled explicitly; text direction is then applied
   inside each section. This prevents Arabic cart rows from being pushed off
   the left edge of the viewport. */
body.woocommerce-cart,
body.woocommerce-cart #page,
body.woocommerce-cart .site,
body.woocommerce-cart main,
body.woocommerce-cart .wp-site-blocks,
body.woocommerce-cart .entry-content,
body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .wc-block-components-sidebar-layout{
  max-width:100%!important;
  box-sizing:border-box!important;
}
body.woocommerce-cart{
  overflow-x:hidden!important;
}

@media (min-width: 901px){
  /* English: products left, summary right. */
  body.alkhatt-lang-en.woocommerce-cart .wc-block-cart,
  body.alkhatt-lang-en.woocommerce-cart .wc-block-components-sidebar-layout{
    direction:ltr!important;
    display:grid!important;
    grid-template-columns:minmax(0,1.85fr) minmax(300px,.9fr)!important;
    grid-template-areas:'main sidebar'!important;
    gap:30px!important;
    width:100%!important;
    max-width:1320px!important;
    margin-inline:auto!important;
    padding-inline:24px!important;
  }

  /* Arabic: summary left, products right. Keep the outer grid LTR so browser
     RTL table math cannot reverse or offset the physical tracks. */
  body.alkhatt-lang-ar.woocommerce-cart .wc-block-cart,
  body.alkhatt-lang-ar.woocommerce-cart .wc-block-components-sidebar-layout{
    direction:ltr!important;
    display:grid!important;
    grid-template-columns:minmax(300px,.9fr) minmax(0,1.85fr)!important;
    grid-template-areas:'sidebar main'!important;
    gap:30px!important;
    width:100%!important;
    max-width:1320px!important;
    margin-inline:auto!important;
    padding-inline:24px!important;
  }

  body.woocommerce-cart .wc-block-cart__main{
    grid-area:main!important;
    grid-column:auto!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
    inset:auto!important;
  }
  body.woocommerce-cart .wc-block-cart__sidebar,
  body.woocommerce-cart .wc-block-components-sidebar{
    grid-area:sidebar!important;
    grid-column:auto!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    transform:none!important;
    inset:auto!important;
  }

  body.alkhatt-lang-en.woocommerce-cart .wc-block-cart__main,
  body.alkhatt-lang-en.woocommerce-cart .wc-block-cart__sidebar,
  body.alkhatt-lang-en.woocommerce-cart .wc-block-components-sidebar{
    direction:ltr!important;
    text-align:left!important;
  }
  body.alkhatt-lang-ar.woocommerce-cart .wc-block-cart__main,
  body.alkhatt-lang-ar.woocommerce-cart .wc-block-cart__sidebar,
  body.alkhatt-lang-ar.woocommerce-cart .wc-block-components-sidebar{
    direction:rtl!important;
    text-align:right!important;
  }

  /* Stable product row. Row itself stays LTR so named grid areas are physical
     and predictable. Arabic content inside product details remains RTL. */
  body.woocommerce-cart .wc-block-cart-items,
  body.woocommerce-cart .wc-block-cart-items tbody{
    direction:ltr!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
  }
  body.woocommerce-cart .wc-block-cart-items thead{display:none!important;}

  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__row{
    direction:ltr!important;
    display:grid!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    grid-template-columns:132px minmax(0,1fr) minmax(92px,auto)!important;
    grid-template-areas:'image product total'!important;
    column-gap:22px!important;
    row-gap:8px!important;
    margin:0 0 14px!important;
    padding:18px!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
  }
  body.alkhatt-lang-ar.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__row{
    grid-template-columns:minmax(92px,auto) minmax(0,1fr) 132px!important;
    grid-template-areas:'total product image'!important;
  }

  body.woocommerce-cart .wc-block-cart-item__image{
    grid-area:image!important;
    width:132px!important;
    min-width:132px!important;
    max-width:132px!important;
    margin:0!important;
    padding:0!important;
    position:static!important;
    transform:none!important;
  }
  body.woocommerce-cart .wc-block-cart-item__image a,
  body.woocommerce-cart .wc-block-cart-item__image img{
    display:block!important;
    width:132px!important;
    height:132px!important;
    max-width:132px!important;
    margin:0!important;
    object-fit:cover!important;
  }
  body.woocommerce-cart .wc-block-cart-item__product{
    grid-area:product!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    position:static!important;
    transform:none!important;
  }
  body.woocommerce-cart .wc-block-cart-item__total{
    grid-area:total!important;
    width:auto!important;
    min-width:92px!important;
    max-width:150px!important;
    margin:0!important;
    padding:0!important;
    position:static!important;
    transform:none!important;
  }

  body.alkhatt-lang-en.woocommerce-cart .wc-block-cart-item__product{
    direction:ltr!important;
    text-align:left!important;
  }
  body.alkhatt-lang-ar.woocommerce-cart .wc-block-cart-item__product{
    direction:rtl!important;
    text-align:right!important;
  }
  body.alkhatt-lang-en.woocommerce-cart .wc-block-cart-item__total{
    direction:ltr!important;
    text-align:right!important;
  }
  body.alkhatt-lang-ar.woocommerce-cart .wc-block-cart-item__total{
    direction:rtl!important;
    text-align:left!important;
  }

  body.woocommerce-cart .wc-block-components-product-name,
  body.woocommerce-cart .wc-block-components-product-metadata,
  body.woocommerce-cart .wc-block-components-product-details,
  body.woocommerce-cart .wc-block-cart-item__prices,
  body.woocommerce-cart .wc-block-components-product-price{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
  }
}

@media (max-width: 900px){
  .alkhatt-v42-brand img{height:50px!important;max-width:185px!important;}
  body.woocommerce-cart .wc-block-cart,
  body.woocommerce-cart .wc-block-components-sidebar-layout,
  body.woocommerce-cart .wc-block-cart__main,
  body.woocommerce-cart .wc-block-cart__sidebar,
  body.woocommerce-cart .wc-block-components-sidebar{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-inline:0!important;
    transform:none!important;
  }
  body.alkhatt-lang-ar.woocommerce-cart .wc-block-cart__main,
  body.alkhatt-lang-ar.woocommerce-cart .wc-block-cart__sidebar,
  body.alkhatt-lang-ar.woocommerce-cart .wc-block-components-sidebar{
    direction:rtl!important;
    text-align:right!important;
  }
}


/* ======================================================================
   Alkhatt Art v4.5 — banner controls + compactness pass
   ====================================================================== */

/* Per-banner color controls. Defaults preserve the existing white hero look. */
.alkhatt-v42-hero-gallery .alkhatt-v41-hero-slide{
  --alkhatt-slide-heading:#fff;
  --alkhatt-slide-description:#fff;
  --alkhatt-slide-primary-bg:#fff;
  --alkhatt-slide-primary-text:#111;
  --alkhatt-slide-secondary-bg:rgba(0,0,0,.08);
  --alkhatt-slide-secondary-text:#fff;
  --alkhatt-slide-secondary-border:#fff;
}
.alkhatt-v42-hero-gallery .alkhatt-v41-hero__copy h1{color:var(--alkhatt-slide-heading)!important;}
.alkhatt-v42-hero-gallery .alkhatt-v41-hero__copy p{color:var(--alkhatt-slide-description)!important;}
.alkhatt-v42-hero-gallery .alkhatt-v41-hero__buttons .alkhatt-btn--light{
  background:var(--alkhatt-slide-primary-bg)!important;
  color:var(--alkhatt-slide-primary-text)!important;
  border-color:var(--alkhatt-slide-primary-bg)!important;
}
.alkhatt-v42-hero-gallery .alkhatt-v41-hero__buttons .alkhatt-btn--outline-light{
  background:var(--alkhatt-slide-secondary-bg)!important;
  color:var(--alkhatt-slide-secondary-text)!important;
  border-color:var(--alkhatt-slide-secondary-border)!important;
}

/* Quick personalize: keep the entire buying action much closer to one desktop viewport. */
.alkhatt-v42-quick-sale{padding:38px 0!important;}
.alkhatt-v42-quick-sale__grid{min-height:440px!important;}
.alkhatt-v42-quick-sale__visual{min-height:440px!important;height:440px!important;}
.alkhatt-v42-quick-sale__content{padding:30px clamp(30px,4vw,54px)!important;}
.alkhatt-v42-quick-sale__content .alkhatt-eyebrow{font-size:10px!important;}
.alkhatt-v42-quick-sale__content h2{font-size:clamp(32px,3.7vw,50px)!important;line-height:1.02!important;margin:7px 0 12px!important;}
.alkhatt-v42-quick-sale__intro{margin:0 0 12px!important;line-height:1.55!important;font-size:14px!important;}
.alkhatt-v42-quick-sale__product-name{margin-bottom:3px!important;font-size:14px!important;}
.alkhatt-v42-quick-sale__price{margin-bottom:10px!important;font-size:17px!important;}
.alkhatt-v42-quick-sale__form .alkhatt-pz{margin:10px 0!important;padding:12px!important;gap:10px 12px!important;}
.alkhatt-v42-quick-sale__form .alkhatt-pz__heading{margin-bottom:4px!important;}
.alkhatt-v42-quick-sale__form .alkhatt-pz-field label{margin-bottom:4px!important;}
.alkhatt-v42-quick-sale__form .alkhatt-pz-field input,
.alkhatt-v42-quick-sale__form .alkhatt-pz-field textarea{min-height:42px!important;padding:9px 11px!important;}
.alkhatt-v42-quick-sale__form .alkhatt-pz-field textarea{min-height:72px!important;}
.alkhatt-v42-quick-sale__form .quantity .qty,
.alkhatt-v42-quick-sale__form .single_add_to_cart_button{min-height:44px!important;height:44px!important;}

/* Site-wide WooCommerce compactness: reduce oversized whitespace without crowding. */
body.woocommerce-cart .entry-header,
body.woocommerce-checkout .entry-header{padding-top:24px!important;padding-bottom:14px!important;margin-bottom:18px!important;}
body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title{font-size:clamp(30px,3.4vw,48px)!important;line-height:1.08!important;margin:0!important;}
body.woocommerce-cart main,
body.woocommerce-checkout main{padding-top:24px!important;padding-bottom:52px!important;}
body.woocommerce-cart .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-components-sidebar-layout{gap:26px!important;}
body.woocommerce-cart .wc-block-components-sidebar,
body.woocommerce-checkout .wc-block-components-sidebar{padding:18px!important;}
body.woocommerce-cart .wc-block-components-totals-wrapper,
body.woocommerce-checkout .wc-block-components-totals-wrapper{padding:14px 0!important;}
body.woocommerce-cart .wc-block-components-order-summary-item,
body.woocommerce-checkout .wc-block-components-order-summary-item{padding:10px 0!important;}
body.woocommerce-checkout .wc-block-components-checkout-step{margin-bottom:20px!important;padding-bottom:18px!important;}
body.woocommerce-checkout .wc-block-components-checkout-step__heading{margin-bottom:12px!important;}
body.woocommerce-checkout .wc-block-components-checkout-step__title{font-size:19px!important;line-height:1.3!important;}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input{min-height:44px!important;height:44px!important;}
body.woocommerce-checkout .wc-block-components-address-form{gap:12px!important;}

@media (min-width:901px){
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__row{padding:12px!important;column-gap:16px!important;margin-bottom:10px!important;}
  body.woocommerce-cart .wc-block-cart-item__image{width:108px!important;min-width:108px!important;max-width:108px!important;}
  body.woocommerce-cart .wc-block-cart-item__image a,
  body.woocommerce-cart .wc-block-cart-item__image img{width:108px!important;height:108px!important;max-width:108px!important;}
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__row{grid-template-columns:108px minmax(0,1fr) minmax(84px,auto)!important;}
  body.alkhatt-lang-ar.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__row{grid-template-columns:minmax(84px,auto) minmax(0,1fr) 108px!important;}
}
@media(max-width:900px){
  .alkhatt-v42-quick-sale__visual{min-height:330px!important;height:330px!important;}
  .alkhatt-v42-quick-sale__content{padding:24px 20px 28px!important;}
  body.woocommerce-cart main,body.woocommerce-checkout main{padding-top:16px!important;padding-bottom:36px!important;}
}


/* ======================================================================
   Alkhatt Art v4.6 — lighter cart + Shopify-like checkout + hero motion
   ====================================================================== */

/* Still-image hero slides get a very subtle living-photo motion.
   Video slides are untouched. */
@keyframes alkhatt-v46-hero-drift {
  0%   { transform: scale(1.015) translate3d(0,0,0); }
  100% { transform: scale(1.065) translate3d(-0.7%, -0.35%, 0); }
}
.alkhatt-v42-hero-gallery .alkhatt-v41-hero-slide .alkhatt-v41-hero__media > img {
  transform: scale(1.015);
  transform-origin: center center;
  will-change: transform;
}
.alkhatt-v42-hero-gallery .alkhatt-v41-hero-slide.is-active .alkhatt-v41-hero__media > img {
  animation: alkhatt-v46-hero-drift 8s ease-out both;
}
@media (prefers-reduced-motion: reduce) {
  .alkhatt-v42-hero-gallery .alkhatt-v41-hero-slide.is-active .alkhatt-v41-hero__media > img {
    animation: none !important;
    transform: none !important;
  }
}

/* ----------------------------------------------------------------------
   CART — lighter editorial rows, smaller type and controls.
   ---------------------------------------------------------------------- */
body.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__row{
  border:0!important;
  border-bottom:1px solid #e6e6e3!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.woocommerce-cart .wc-block-components-product-name{
  font-size:15px!important;
  line-height:1.42!important;
  font-weight:550!important;
  letter-spacing:0!important;
}
body.woocommerce-cart .wc-block-cart-item__prices,
body.woocommerce-cart .wc-block-components-product-price,
body.woocommerce-cart .wc-block-components-product-metadata,
body.woocommerce-cart .wc-block-components-product-details{
  font-size:11.5px!important;
  line-height:1.5!important;
  font-weight:400!important;
  color:#6a6862!important;
}
body.woocommerce-cart .wc-block-components-product-metadata p,
body.woocommerce-cart .wc-block-components-product-details li,
body.woocommerce-cart .wc-block-components-product-details__name,
body.woocommerce-cart .wc-block-components-product-details__value{
  font-size:11.5px!important;
  line-height:1.48!important;
}
body.woocommerce-cart .wc-block-cart-item__total,
body.woocommerce-cart .wc-block-cart-item__total-price-and-sale-badge-wrapper,
body.woocommerce-cart .wc-block-formatted-money-amount{
  font-size:13.5px!important;
  line-height:1.4!important;
  font-weight:600!important;
}
body.woocommerce-cart .wc-block-components-quantity-selector{
  min-width:112px!important;
  width:112px!important;
  height:38px!important;
  margin-top:7px!important;
  border:1px solid #d9d8d4!important;
  border-radius:0!important;
}
body.woocommerce-cart .wc-block-components-quantity-selector input,
body.woocommerce-cart .wc-block-components-quantity-selector button{
  min-height:36px!important;
  height:36px!important;
  font-size:12px!important;
}
body.woocommerce-cart .wc-block-cart-item__remove-link{
  margin-top:5px!important;
  font-size:11px!important;
  font-weight:400!important;
}
body.woocommerce-cart .wc-block-cart__sidebar,
body.woocommerce-cart .wc-block-components-sidebar{
  border:1px solid #e2e0da!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.woocommerce-cart .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-item__value{
  font-size:13px!important;
  font-weight:500!important;
}
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{
  font-size:20px!important;
  font-weight:650!important;
}
body.woocommerce-cart .wc-block-cart__submit-button{
  min-height:48px!important;
  padding:0 20px!important;
  font-size:13px!important;
  letter-spacing:.01em!important;
}
@media (min-width:901px){
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__row{
    padding:13px 2px 15px!important;
    margin:0!important;
    column-gap:15px!important;
    grid-template-columns:94px minmax(0,1fr) minmax(76px,auto)!important;
  }
  body.alkhatt-lang-ar.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__row{
    grid-template-columns:minmax(76px,auto) minmax(0,1fr) 94px!important;
  }
  body.woocommerce-cart .wc-block-cart-item__image{
    width:94px!important;min-width:94px!important;max-width:94px!important;
  }
  body.woocommerce-cart .wc-block-cart-item__image a,
  body.woocommerce-cart .wc-block-cart-item__image img{
    width:94px!important;height:94px!important;max-width:94px!important;
  }
}

/* ----------------------------------------------------------------------
   CHECKOUT — stable two-column layout inspired by the supplied reference.
   WooCommerce remains responsible for checkout/payment logic.
   ---------------------------------------------------------------------- */
body.woocommerce-checkout{
  overflow-x:hidden!important;
  background:#fff!important;
}
body.woocommerce-checkout #page,
body.woocommerce-checkout .site,
body.woocommerce-checkout main,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-components-sidebar-layout{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  transform:none!important;
}
body.woocommerce-checkout .entry-header{
  display:none!important;
}
body.woocommerce-checkout main{
  padding:0!important;
}

@media (min-width: 901px){
  body.woocommerce-checkout .wc-block-checkout,
  body.woocommerce-checkout .wc-block-components-sidebar-layout{
    direction:ltr!important;
    display:grid!important;
    grid-template-columns:minmax(0,1.05fr) minmax(390px,.82fr)!important;
    grid-template-areas:'main sidebar'!important;
    gap:0!important;
    align-items:stretch!important;
    max-width:1460px!important;
    margin:0 auto!important;
    padding:0!important;
    border-left:1px solid #e5e5e3!important;
    border-right:1px solid #e5e5e3!important;
  }
  body.alkhatt-lang-ar.woocommerce-checkout .wc-block-checkout,
  body.alkhatt-lang-ar.woocommerce-checkout .wc-block-components-sidebar-layout{
    grid-template-columns:minmax(390px,.82fr) minmax(0,1.05fr)!important;
    grid-template-areas:'sidebar main'!important;
  }
  body.woocommerce-checkout .wc-block-checkout__main{
    grid-area:main!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding:38px clamp(34px,4vw,64px) 54px!important;
    background:#fff!important;
    position:static!important;
    transform:none!important;
  }
  body.woocommerce-checkout .wc-block-checkout__sidebar,
  body.woocommerce-checkout .wc-block-components-sidebar{
    grid-area:sidebar!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding:38px clamp(28px,3vw,46px) 54px!important;
    background:#f7f7f5!important;
    border:0!important;
    border-inline-start:1px solid #e3e3e0!important;
    border-radius:0!important;
    box-shadow:none!important;
    position:static!important;
    transform:none!important;
  }
  body.alkhatt-lang-ar.woocommerce-checkout .wc-block-checkout__main{
    direction:rtl!important;
    text-align:right!important;
  }
  body.alkhatt-lang-ar.woocommerce-checkout .wc-block-checkout__sidebar,
  body.alkhatt-lang-ar.woocommerce-checkout .wc-block-components-sidebar{
    direction:rtl!important;
    text-align:right!important;
    border-inline-start:0!important;
    border-inline-end:1px solid #e3e3e0!important;
  }
  body.alkhatt-lang-en.woocommerce-checkout .wc-block-checkout__main,
  body.alkhatt-lang-en.woocommerce-checkout .wc-block-checkout__sidebar,
  body.alkhatt-lang-en.woocommerce-checkout .wc-block-components-sidebar{
    direction:ltr!important;
    text-align:left!important;
  }
}

/* Checkout section hierarchy: readable, not bulky. */
body.woocommerce-checkout .wc-block-components-checkout-step{
  margin:0 0 25px!important;
  padding:0 0 22px!important;
  border-bottom:0!important;
}
body.woocommerce-checkout .wc-block-components-checkout-step__heading{
  margin:0 0 12px!important;
}
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-title{
  font-size:24px!important;
  line-height:1.2!important;
  font-weight:650!important;
  letter-spacing:-.015em!important;
}
body.woocommerce-checkout .wc-block-components-checkout-step__description,
body.woocommerce-checkout .wc-block-components-checkout-step p{
  font-size:12.5px!important;
  line-height:1.5!important;
}
body.woocommerce-checkout .wc-block-components-address-form{
  gap:11px 12px!important;
}
body.woocommerce-checkout .wc-block-components-text-input,
body.woocommerce-checkout .wc-block-components-combobox{
  margin:0!important;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-combobox-control input,
body.woocommerce-checkout select{
  min-height:48px!important;
  height:48px!important;
  padding:13px 14px!important;
  border:1px solid #d7d7d4!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:none!important;
  font-size:13px!important;
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-combobox label{
  font-size:11px!important;
}
body.woocommerce-checkout .wc-block-components-checkbox label,
body.woocommerce-checkout .wc-block-components-radio-control label{
  font-size:12.5px!important;
}

/* Order summary — compact single-line retail treatment. */
body.woocommerce-checkout .wc-block-components-order-summary{
  margin:0!important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item{
  display:grid!important;
  grid-template-columns:68px minmax(0,1fr) auto!important;
  gap:12px!important;
  align-items:start!important;
  padding:9px 0!important;
  border-bottom:0!important;
}
body.alkhatt-lang-ar.woocommerce-checkout .wc-block-components-order-summary-item{
  grid-template-columns:auto minmax(0,1fr) 68px!important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__image,
body.woocommerce-checkout .wc-block-components-order-summary-item__image img{
  width:64px!important;
  height:64px!important;
  max-width:64px!important;
  border-radius:8px!important;
  object-fit:cover!important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__description{
  min-width:0!important;
  padding:0!important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name{
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:550!important;
  margin:0 0 3px!important;
}
/* Remove long catalog descriptions from checkout but retain variations and personalization. */
body.woocommerce-checkout .wc-block-components-product-metadata__description{
  display:none!important;
}
body.woocommerce-checkout .wc-block-components-product-metadata,
body.woocommerce-checkout .wc-block-components-product-details,
body.woocommerce-checkout .wc-block-components-product-details li,
body.woocommerce-checkout .wc-block-components-product-details__name,
body.woocommerce-checkout .wc-block-components-product-details__value{
  font-size:10.5px!important;
  line-height:1.4!important;
  color:#6d6b67!important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price{
  font-size:12.5px!important;
  font-weight:550!important;
  white-space:nowrap!important;
}

/* Coupon, totals and payment are visually quiet and compact. */
body.woocommerce-checkout .wc-block-components-totals-coupon{
  margin:12px 0 16px!important;
}
body.woocommerce-checkout .wc-block-components-totals-coupon__content{
  gap:10px!important;
}
body.woocommerce-checkout .wc-block-components-totals-coupon input{
  min-height:46px!important;
  height:46px!important;
  border-radius:10px!important;
}
body.woocommerce-checkout .wc-block-components-totals-coupon button{
  min-height:46px!important;
  height:46px!important;
  padding:0 18px!important;
  border-radius:10px!important;
  font-size:12px!important;
}
body.woocommerce-checkout .wc-block-components-totals-wrapper{
  padding:10px 0!important;
  border-top:0!important;
}
body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-item__value{
  font-size:12.5px!important;
  font-weight:450!important;
}
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{
  font-size:20px!important;
  font-weight:650!important;
}
body.woocommerce-checkout .wc-block-components-payment-methods,
body.woocommerce-checkout .wc-block-components-radio-control{
  border-radius:0!important;
}
body.woocommerce-checkout .wc-block-components-radio-control__option{
  padding:12px 0!important;
  min-height:auto!important;
  border-bottom:1px solid #ecece9!important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button{
  min-height:50px!important;
  height:50px!important;
  border-radius:0!important;
  font-size:13px!important;
  font-weight:650!important;
}

/* Classic checkout fallback, in case WooCommerce is switched away from Blocks. */
@media (min-width:901px){
  body.woocommerce-checkout form.checkout.woocommerce-checkout{
    display:grid!important;
    grid-template-columns:minmax(0,1.05fr) minmax(390px,.82fr)!important;
    gap:36px!important;
    max-width:1320px!important;
    margin:0 auto!important;
    padding:36px 24px 54px!important;
  }
  body.woocommerce-checkout form.checkout #customer_details,
  body.woocommerce-checkout form.checkout #order_review_heading,
  body.woocommerce-checkout form.checkout #order_review{
    min-width:0!important;
  }
  body.woocommerce-checkout form.checkout #customer_details{grid-column:1!important;}
  body.woocommerce-checkout form.checkout #order_review_heading,
  body.woocommerce-checkout form.checkout #order_review{grid-column:2!important;}
}
body.woocommerce-checkout form.checkout .form-row input.input-text,
body.woocommerce-checkout form.checkout .form-row select,
body.woocommerce-checkout form.checkout .select2-selection{
  min-height:46px!important;
  border-radius:9px!important;
}

@media (max-width:900px){
  body.woocommerce-checkout .wc-block-checkout,
  body.woocommerce-checkout .wc-block-components-sidebar-layout{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  body.woocommerce-checkout .wc-block-checkout__main{
    order:1!important;
    width:100%!important;
    padding:22px 18px 30px!important;
  }
  body.woocommerce-checkout .wc-block-checkout__sidebar,
  body.woocommerce-checkout .wc-block-components-sidebar{
    order:2!important;
    width:100%!important;
    padding:22px 18px 30px!important;
    background:#f7f7f5!important;
    border:0!important;
    border-top:1px solid #e4e4e1!important;
  }
  body.alkhatt-lang-ar.woocommerce-checkout .wc-block-checkout__main,
  body.alkhatt-lang-ar.woocommerce-checkout .wc-block-checkout__sidebar,
  body.alkhatt-lang-ar.woocommerce-checkout .wc-block-components-sidebar{
    direction:rtl!important;
    text-align:right!important;
  }
  body.woocommerce-checkout .wc-block-components-checkout-step__title,
  body.woocommerce-checkout .wc-block-components-title{
    font-size:20px!important;
  }
}


/* ======================================================================
   Alkhatt Art v4.7 — stable Cart + Checkout root layout
   Fixes nested WooCommerce Block wrappers being styled as grids twice.
   ====================================================================== */

/* ---------- Shared safety ---------- */
body.woocommerce-cart,
body.woocommerce-checkout{
  overflow-x:hidden!important;
}
body.woocommerce-cart *,
body.woocommerce-checkout *{
  box-sizing:border-box;
}

/* Woo Blocks use the same wc-block-cart / wc-block-checkout class on both
   an OUTER wrapper and the INNER sidebar-layout.  Older theme CSS was making
   both wrappers grids, which caused squeezed columns, broken RTL and huge gaps.
   Keep the outer wrapper normal and grid ONLY the actual sidebar-layout. */
body.woocommerce-cart .wp-block-woocommerce-cart.wc-block-cart,
body.woocommerce-checkout .wp-block-woocommerce-checkout.wc-block-checkout{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  direction:ltr!important;
  grid-template-columns:none!important;
  grid-template-areas:none!important;
  gap:0!important;
  border:0!important;
}

/* ======================================================================
   CART — clean retail list, full-width separators, no broken border pieces
   ====================================================================== */
body.woocommerce-cart main{
  width:100%!important;
  max-width:1440px!important;
  margin:0 auto!important;
  padding:28px 32px 54px!important;
}
body.woocommerce-cart .entry-header{
  margin:0 0 22px!important;
  padding:0!important;
}
body.woocommerce-cart .entry-title{
  font-size:clamp(30px,3vw,44px)!important;
  line-height:1.08!important;
  font-weight:600!important;
}

@media (min-width:901px){
  body.woocommerce-cart .wp-block-woocommerce-cart > .wc-block-components-sidebar-layout,
  body.woocommerce-cart .wp-block-woocommerce-cart > .wc-block-components-sidebar-layout.wc-block-cart{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 330px!important;
    grid-template-areas:'main summary'!important;
    gap:44px!important;
    align-items:start!important;
    width:100%!important;
    max-width:1320px!important;
    min-width:0!important;
    margin:0 auto!important;
    padding:0!important;
    direction:ltr!important;
    border:0!important;
  }
  body.alkhatt-lang-ar.woocommerce-cart .wp-block-woocommerce-cart > .wc-block-components-sidebar-layout,
  body.alkhatt-lang-ar.woocommerce-cart .wp-block-woocommerce-cart > .wc-block-components-sidebar-layout.wc-block-cart{
    grid-template-columns:330px minmax(0,1fr)!important;
    grid-template-areas:'summary main'!important;
  }

  body.woocommerce-cart .wc-block-cart__main{
    grid-area:main!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    position:static!important;
    transform:none!important;
  }
  body.woocommerce-cart .wc-block-cart__sidebar{
    grid-area:summary!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    position:sticky!important;
    top:24px!important;
    transform:none!important;
  }
}

/* Cart table reset: remove per-cell/table borders and draw ONE separator per row. */
body.woocommerce-cart table.wc-block-cart-items,
body.woocommerce-cart .wc-block-cart-items,
body.woocommerce-cart .wc-block-cart-items tbody{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-collapse:collapse!important;
  background:transparent!important;
}
body.woocommerce-cart .wc-block-cart-items thead{display:none!important;}
body.woocommerce-cart .wc-block-cart-items td,
body.woocommerce-cart .wc-block-cart-items th,
body.woocommerce-cart .wc-block-cart-items td::before,
body.woocommerce-cart .wc-block-cart-items td::after{
  border:0!important;
  box-shadow:none!important;
}
body.woocommerce-cart .wc-block-cart-items td::before,
body.woocommerce-cart .wc-block-cart-items td::after{
  content:none!important;
}

@media (min-width:901px){
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__row{
    position:relative!important;
    display:grid!important;
    grid-template-columns:108px minmax(0,1fr) 96px!important;
    grid-template-areas:'image product total'!important;
    gap:0 22px!important;
    align-items:start!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:18px 0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    direction:ltr!important;
  }
  body.alkhatt-lang-ar.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__row{
    grid-template-columns:96px minmax(0,1fr) 108px!important;
    grid-template-areas:'total product image'!important;
  }
  body.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__row::after{
    content:''!important;
    display:block!important;
    position:absolute!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    height:1px!important;
    background:#e6e4df!important;
    pointer-events:none!important;
  }

  body.woocommerce-cart .wc-block-cart-item__image{
    grid-area:image!important;
    width:108px!important;
    min-width:108px!important;
    max-width:108px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
  }
  body.woocommerce-cart .wc-block-cart-item__image a,
  body.woocommerce-cart .wc-block-cart-item__image img{
    display:block!important;
    width:108px!important;
    height:108px!important;
    max-width:108px!important;
    object-fit:cover!important;
    border-radius:6px!important;
  }
  body.woocommerce-cart .wc-block-cart-item__product{
    grid-area:product!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:2px 10px 8px!important;
    border:0!important;
  }
  body.woocommerce-cart .wc-block-cart-item__total{
    grid-area:total!important;
    width:96px!important;
    min-width:96px!important;
    max-width:96px!important;
    margin:0!important;
    padding:3px 0!important;
    border:0!important;
  }
}

body.alkhatt-lang-ar.woocommerce-cart .wc-block-cart-item__product{
  direction:rtl!important;
  text-align:right!important;
}
body.alkhatt-lang-en.woocommerce-cart .wc-block-cart-item__product{
  direction:ltr!important;
  text-align:left!important;
}
body.alkhatt-lang-ar.woocommerce-cart .wc-block-cart-item__total{
  direction:rtl!important;
  text-align:left!important;
}
body.alkhatt-lang-en.woocommerce-cart .wc-block-cart-item__total{
  direction:ltr!important;
  text-align:right!important;
}

body.woocommerce-cart .wc-block-components-product-name{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0 0 7px!important;
  padding:0!important;
  font-size:15px!important;
  line-height:1.42!important;
  font-weight:600!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
}
body.woocommerce-cart .wc-block-cart-item__prices,
body.woocommerce-cart .wc-block-components-product-price{
  margin:0 0 7px!important;
  padding:0!important;
  font-size:12.5px!important;
  line-height:1.4!important;
}
body.woocommerce-cart .wc-block-components-product-metadata,
body.woocommerce-cart .wc-block-components-product-details,
body.woocommerce-cart .wc-block-components-product-details li,
body.woocommerce-cart .wc-block-components-product-details__name,
body.woocommerce-cart .wc-block-components-product-details__value{
  margin-top:0!important;
  font-size:11.5px!important;
  line-height:1.5!important;
  color:#6c6962!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
body.woocommerce-cart .wc-block-components-product-metadata__description{
  display:none!important;
}
body.woocommerce-cart .wc-block-components-quantity-selector{
  width:108px!important;
  min-width:108px!important;
  height:36px!important;
  min-height:36px!important;
  margin:9px 0 0!important;
  border:1px solid #d8d5cf!important;
  border-radius:0!important;
  background:#fff!important;
}
body.woocommerce-cart .wc-block-components-quantity-selector input,
body.woocommerce-cart .wc-block-components-quantity-selector button{
  height:34px!important;
  min-height:34px!important;
  padding:0!important;
  font-size:12px!important;
}
body.woocommerce-cart .wc-block-cart-item__remove-link{
  margin:7px 0 0!important;
  padding:0!important;
  font-size:11px!important;
}
body.woocommerce-cart .wc-block-cart-item__total .wc-block-formatted-money-amount,
body.woocommerce-cart .wc-block-cart-item__total-price-and-sale-badge-wrapper{
  font-size:13px!important;
  line-height:1.4!important;
  font-weight:600!important;
  white-space:nowrap!important;
}

/* Clean summary card — one border only, comfortable inner padding. */
body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-sidebar,
body.woocommerce-cart .wc-block-cart__sidebar,
body.woocommerce-cart .wc-block-components-sidebar{
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
body.woocommerce-cart .wc-block-cart__sidebar > div,
body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-wrapper:first-child{
  border-color:#e3e0da!important;
}
body.woocommerce-cart .wc-block-cart__totals-title{
  margin:0!important;
  padding:0 0 15px!important;
  font-size:20px!important;
  line-height:1.3!important;
  font-weight:600!important;
}
body.woocommerce-cart .wc-block-components-totals-wrapper{
  margin:0!important;
  padding:12px 0!important;
  border-top:1px solid #ebe9e4!important;
  border-bottom:0!important;
}
body.woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__submit-container{
  margin-top:16px!important;
  padding:0!important;
}
body.woocommerce-cart .wc-block-cart__submit-button{
  min-height:48px!important;
  height:48px!important;
  padding:0 18px!important;
  font-size:13px!important;
  border-radius:0!important;
}

/* ======================================================================
   CHECKOUT — one real two-column grid only; never squeeze form text
   ====================================================================== */
body.woocommerce-checkout main{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
body.woocommerce-checkout .entry-header{display:none!important;}
body.woocommerce-checkout .wp-block-woocommerce-checkout{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}

@media (min-width:901px){
  body.woocommerce-checkout .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout,
  body.woocommerce-checkout .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout.wc-block-checkout{
    display:grid!important;
    grid-template-columns:minmax(0,58fr) minmax(380px,42fr)!important;
    grid-template-areas:'main summary'!important;
    gap:0!important;
    width:100%!important;
    max-width:1440px!important;
    min-width:0!important;
    margin:0 auto!important;
    padding:0!important;
    direction:ltr!important;
    align-items:stretch!important;
    border:0!important;
  }
  body.alkhatt-lang-ar.woocommerce-checkout .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout,
  body.alkhatt-lang-ar.woocommerce-checkout .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout.wc-block-checkout{
    grid-template-columns:minmax(380px,42fr) minmax(0,58fr)!important;
    grid-template-areas:'summary main'!important;
  }

  body.woocommerce-checkout .wc-block-components-main.wc-block-checkout__main,
  body.woocommerce-checkout .wc-block-checkout__main{
    grid-area:main!important;
    display:block!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:34px clamp(34px,4vw,58px) 48px!important;
    position:static!important;
    transform:none!important;
    background:#fff!important;
  }
  body.woocommerce-checkout .wc-block-components-sidebar.wc-block-checkout__sidebar,
  body.woocommerce-checkout .wc-block-checkout__sidebar{
    grid-area:summary!important;
    display:block!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:34px clamp(28px,3vw,44px) 48px!important;
    position:static!important;
    transform:none!important;
    background:#f7f7f5!important;
    border:0!important;
    border-inline-start:1px solid #e3e2de!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
  body.alkhatt-lang-ar.woocommerce-checkout .wc-block-checkout__main{
    direction:rtl!important;
    text-align:right!important;
  }
  body.alkhatt-lang-ar.woocommerce-checkout .wc-block-checkout__sidebar{
    direction:rtl!important;
    text-align:right!important;
    border-inline-start:0!important;
    border-inline-end:1px solid #e3e2de!important;
  }
  body.alkhatt-lang-en.woocommerce-checkout .wc-block-checkout__main,
  body.alkhatt-lang-en.woocommerce-checkout .wc-block-checkout__sidebar{
    direction:ltr!important;
    text-align:left!important;
  }
}

/* Never allow checkout descendants to collapse to min-content / one letter wide. */
body.woocommerce-checkout .wc-block-checkout__main > *,
body.woocommerce-checkout .wc-block-checkout__sidebar > *,
body.woocommerce-checkout .wc-block-components-checkout-step,
body.woocommerce-checkout .wc-block-components-checkout-step__container,
body.woocommerce-checkout .wc-block-components-address-form,
body.woocommerce-checkout .wc-block-components-text-input,
body.woocommerce-checkout .wc-block-components-combobox,
body.woocommerce-checkout .wc-block-components-form,
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-totals-wrapper{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  writing-mode:horizontal-tb!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}
body.woocommerce-checkout label,
body.woocommerce-checkout p,
body.woocommerce-checkout span,
body.woocommerce-checkout h1,
body.woocommerce-checkout h2,
body.woocommerce-checkout h3{
  writing-mode:horizontal-tb!important;
  word-break:normal!important;
}

body.woocommerce-checkout .wc-block-components-checkout-step{
  margin:0 0 22px!important;
  padding:0!important;
}
body.woocommerce-checkout .wc-block-components-checkout-step__heading{
  margin:0 0 11px!important;
  padding:0!important;
}
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-title{
  font-size:22px!important;
  line-height:1.25!important;
  font-weight:600!important;
}
body.woocommerce-checkout .wc-block-components-checkout-step__description,
body.woocommerce-checkout .wc-block-components-checkout-step p{
  font-size:12.5px!important;
  line-height:1.5!important;
}
body.woocommerce-checkout .wc-block-components-address-form{
  gap:10px 12px!important;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-combobox-control input,
body.woocommerce-checkout select{
  width:100%!important;
  min-width:0!important;
  min-height:46px!important;
  height:46px!important;
  padding:12px 13px!important;
  border:1px solid #d8d6d1!important;
  border-radius:8px!important;
  font-size:13px!important;
  box-shadow:none!important;
}

/* Compact order summary; keep personalization/variations, hide long description. */
body.woocommerce-checkout .wc-block-components-order-summary-item{
  display:grid!important;
  grid-template-columns:58px minmax(0,1fr) auto!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:10px 0!important;
  border:0!important;
  border-bottom:1px solid #e8e6e1!important;
}
body.alkhatt-lang-ar.woocommerce-checkout .wc-block-components-order-summary-item{
  grid-template-columns:auto minmax(0,1fr) 58px!important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__image,
body.woocommerce-checkout .wc-block-components-order-summary-item__image img{
  width:56px!important;
  height:56px!important;
  max-width:56px!important;
  object-fit:cover!important;
  border-radius:7px!important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__description{
  width:100%!important;
  min-width:0!important;
  padding:0!important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name{
  font-size:12.5px!important;
  line-height:1.35!important;
  font-weight:600!important;
  margin:0 0 3px!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
body.woocommerce-checkout .wc-block-components-product-metadata__description{display:none!important;}
body.woocommerce-checkout .wc-block-components-product-metadata,
body.woocommerce-checkout .wc-block-components-product-details,
body.woocommerce-checkout .wc-block-components-product-details li,
body.woocommerce-checkout .wc-block-components-product-details__name,
body.woocommerce-checkout .wc-block-components-product-details__value{
  font-size:10.5px!important;
  line-height:1.4!important;
  color:#6c6962!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__total-price{
  font-size:12px!important;
  line-height:1.35!important;
  font-weight:600!important;
  white-space:nowrap!important;
}

/* Coupon / totals / payment remain compact and readable. */
body.woocommerce-checkout .wc-block-components-totals-coupon__content{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:9px!important;
}
body.woocommerce-checkout .wc-block-components-totals-coupon input,
body.woocommerce-checkout .wc-block-components-totals-coupon button{
  min-height:44px!important;
  height:44px!important;
}
body.woocommerce-checkout .wc-block-components-totals-wrapper{
  margin:0!important;
  padding:10px 0!important;
  border-top:0!important;
}
body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-item__value{
  font-size:12.5px!important;
}
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{
  font-size:19px!important;
  font-weight:650!important;
}
body.woocommerce-checkout .wc-block-components-radio-control__option{
  min-height:auto!important;
  padding:11px 0!important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button{
  min-height:48px!important;
  height:48px!important;
  border-radius:0!important;
  font-size:13px!important;
}

/* Mobile: one column, no sticky sidebars, no horizontal squeeze. */
@media (max-width:900px){
  body.woocommerce-cart main{padding:18px 16px 36px!important;}
  body.woocommerce-cart .wp-block-woocommerce-cart > .wc-block-components-sidebar-layout,
  body.woocommerce-checkout .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    gap:0!important;
    margin:0!important;
    padding:0!important;
  }
  body.woocommerce-cart .wc-block-cart__main,
  body.woocommerce-cart .wc-block-cart__sidebar,
  body.woocommerce-checkout .wc-block-checkout__main,
  body.woocommerce-checkout .wc-block-checkout__sidebar{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    position:static!important;
    transform:none!important;
  }
  body.woocommerce-cart .wc-block-cart__sidebar{margin-top:22px!important;}
  body.woocommerce-checkout .wc-block-checkout__main{padding:22px 18px 28px!important;}
  body.woocommerce-checkout .wc-block-checkout__sidebar{
    padding:22px 18px 30px!important;
    background:#f7f7f5!important;
    border:0!important;
    border-top:1px solid #e4e2dd!important;
  }
  body.alkhatt-lang-ar.woocommerce-checkout .wc-block-checkout__main,
  body.alkhatt-lang-ar.woocommerce-checkout .wc-block-checkout__sidebar{
    direction:rtl!important;
    text-align:right!important;
  }
  body.woocommerce-checkout .wc-block-components-checkout-step__title,
  body.woocommerce-checkout .wc-block-components-title{font-size:19px!important;}
}


/* ======================================================================
   Alkhatt Art v4.8 — pending TBN refinements
   ====================================================================== */

/* HERO — actual slow movement for still-image slides.
   Uploaded banner images are rendered inside <picture>. */
@keyframes alkhatt-v48-hero-kenburns {
  0%   { transform: scale(1.01) translate3d(0,0,0); }
  100% { transform: scale(1.065) translate3d(-0.75%, -0.3%, 0); }
}
.alkhatt-v42-hero-gallery .alkhatt-v41-hero__media > picture,
.alkhatt-v42-hero-gallery .alkhatt-v41-hero__media > picture img{
  width:100%;
  height:100%;
}
.alkhatt-v42-hero-gallery .alkhatt-v41-hero__media > picture img,
.alkhatt-v42-hero-gallery .alkhatt-v41-hero__media > img:not(.alkhatt-v41-hero__mobile-fallback){
  display:block;
  object-fit:cover;
  transform:scale(1.01);
  transform-origin:center center;
  backface-visibility:hidden;
  will-change:transform;
}
.alkhatt-v42-hero-gallery .alkhatt-v41-hero-slide.is-active .alkhatt-v41-hero__media > picture img,
.alkhatt-v42-hero-gallery .alkhatt-v41-hero-slide.is-active .alkhatt-v41-hero__media > img:not(.alkhatt-v41-hero__mobile-fallback){
  animation:alkhatt-v48-hero-kenburns 7s ease-in-out both;
}
.alkhatt-v42-hero-gallery video,
.alkhatt-v42-hero-gallery .alkhatt-v41-hero__mobile-fallback{
  animation:none!important;
  transform:none!important;
}
@media (prefers-reduced-motion:reduce){
  .alkhatt-v42-hero-gallery .alkhatt-v41-hero__media img{
    animation:none!important;
    transform:none!important;
  }
}

/* OUR WORK — image/video items share exactly the same gallery geometry. */
.alkhatt-work-card,
.alkhatt-v48-work-card{
  position:relative;
  display:block;
  overflow:hidden;
  aspect-ratio:4/5;
  background:#f3f2ef;
}
.alkhatt-work-card img,
.alkhatt-v48-work-card img,
.alkhatt-v48-work-card video{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.alkhatt-v48-work-card video{background:#111;}
.alkhatt-v48-work-card.is-video::after{
  content:'▶';
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.88);
  color:#111;
  font-size:13px;
  pointer-events:none;
  transition:opacity .2s ease;
}
.alkhatt-v48-work-card.is-playing::after{opacity:0;}

/* ENGLISH CART — explicit LTR geometry and breathing room.
   Scoped to English only so the working Arabic layout is not changed. */
@media (min-width:901px){
  body.alkhatt-lang-en.woocommerce-cart .wp-block-woocommerce-cart > .wc-block-components-sidebar-layout,
  body.alkhatt-lang-en.woocommerce-cart .wp-block-woocommerce-cart > .wc-block-components-sidebar-layout.wc-block-cart{
    grid-template-columns:minmax(0,1fr) 300px!important;
    grid-template-areas:'main summary'!important;
    gap:34px!important;
    max-width:1180px!important;
  }
  body.alkhatt-lang-en.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__row{
    grid-template-columns:132px minmax(0,1fr) 110px!important;
    grid-template-areas:'image product total'!important;
    column-gap:28px!important;
    padding:20px 0!important;
    align-items:start!important;
    direction:ltr!important;
  }
  body.alkhatt-lang-en.woocommerce-cart .wc-block-cart-item__image{
    width:132px!important;
    min-width:132px!important;
    max-width:132px!important;
  }
  body.alkhatt-lang-en.woocommerce-cart .wc-block-cart-item__image a,
  body.alkhatt-lang-en.woocommerce-cart .wc-block-cart-item__image img{
    width:132px!important;
    height:132px!important;
    max-width:132px!important;
    border-radius:7px!important;
  }
  body.alkhatt-lang-en.woocommerce-cart .wc-block-cart-item__product{
    width:100%!important;
    min-width:0!important;
    padding:2px 0 8px!important;
    margin:0!important;
    direction:ltr!important;
    text-align:left!important;
  }
  body.alkhatt-lang-en.woocommerce-cart .wc-block-cart-item__total{
    width:110px!important;
    min-width:110px!important;
    max-width:110px!important;
    padding:3px 0!important;
    direction:ltr!important;
    text-align:right!important;
  }
}
body.alkhatt-lang-en.woocommerce-cart .wc-block-components-product-name{
  margin:0 0 9px!important;
  padding:0!important;
  font-size:15px!important;
  line-height:1.42!important;
  font-weight:550!important;
}
body.alkhatt-lang-en.woocommerce-cart .wc-block-cart-item__prices,
body.alkhatt-lang-en.woocommerce-cart .wc-block-components-product-price{
  display:flex!important;
  align-items:baseline!important;
  flex-wrap:wrap!important;
  gap:5px!important;
  margin:0 0 8px!important;
  line-height:1.35!important;
}
body.alkhatt-lang-en.woocommerce-cart .wc-block-components-product-price del,
body.alkhatt-lang-en.woocommerce-cart .wc-block-components-product-price ins{
  margin:0!important;
  padding:0!important;
}
body.alkhatt-lang-en.woocommerce-cart .wc-block-components-product-price del{opacity:.55!important;}
body.alkhatt-lang-en.woocommerce-cart .wc-block-components-quantity-selector{margin-top:11px!important;}
body.alkhatt-lang-en.woocommerce-cart .wc-block-cart-item__remove-link{margin-top:9px!important;}
body.alkhatt-lang-en.woocommerce-cart .wc-block-cart__sidebar{padding-top:0!important;}
body.alkhatt-lang-en.woocommerce-cart .wc-block-cart__totals-title{
  font-size:17px!important;
  padding-bottom:12px!important;
}
body.alkhatt-lang-en.woocommerce-cart .wc-block-components-totals-wrapper{padding:10px 0!important;}
body.alkhatt-lang-en.woocommerce-cart .wc-block-cart__submit-button{
  min-height:46px!important;
  height:46px!important;
}
@media (max-width:900px){
  body.alkhatt-lang-en.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__row{
    grid-template-columns:92px minmax(0,1fr)!important;
    grid-template-areas:'image product' 'image total'!important;
    column-gap:14px!important;
  }
  body.alkhatt-lang-en.woocommerce-cart .wc-block-cart-item__image,
  body.alkhatt-lang-en.woocommerce-cart .wc-block-cart-item__image a,
  body.alkhatt-lang-en.woocommerce-cart .wc-block-cart-item__image img{
    width:92px!important;
    min-width:92px!important;
    max-width:92px!important;
    height:92px!important;
  }
  body.alkhatt-lang-en.woocommerce-cart .wc-block-cart-item__product,
  body.alkhatt-lang-en.woocommerce-cart .wc-block-cart-item__total{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    text-align:left!important;
  }
}


/* ===== Alkhatt Art v4.9 — transparent supplied header logo ===== */
.alkhatt-v42-brand,
.alkhatt-v42-brand:before,
.alkhatt-v42-brand:after{
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
}
.alkhatt-v42-brand img,
.alkhatt-v42-brand .custom-logo{
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
  filter:none!important;
  object-fit:contain!important;
}


/* ===== Alkhatt Art v4.10 — desktop submenu must drop below the nav ===== */
@media (min-width: 961px) {
  .alkhatt-combined-nav {
    position: relative !important;
    z-index: 120 !important;
    overflow: visible !important;
  }

  .alkhatt-combined-nav__inner {
    overflow: visible !important;
  }

  .alkhatt-combined-nav .alkhatt-primary-menu,
  .alkhatt-combined-nav .alkhatt-shop-menu,
  .alkhatt-combined-nav .alkhatt-fallback-menu {
    overflow: visible !important;
  }

  .alkhatt-combined-nav li.menu-item-has-children {
    position: relative !important;
  }

  .alkhatt-combined-nav .sub-menu {
    position: absolute !important;
    top: 100% !important;
    inset-inline-start: 50% !important;
    width: max-content !important;
    min-width: 210px !important;
    max-width: 320px !important;
    margin: 0 !important;
    padding: 10px !important;
    background: #fff !important;
    border: 1px solid var(--alkhatt-border) !important;
    border-radius: 8px !important;
    box-shadow: 0 16px 36px rgba(17,17,17,.12) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translate(-50%, 8px) !important;
    z-index: 9999 !important;
  }

  .rtl .alkhatt-combined-nav .sub-menu {
    transform: translate(50%, 8px) !important;
  }

  .alkhatt-combined-nav li:hover > .sub-menu,
  .alkhatt-combined-nav li:focus-within > .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) !important;
  }

  .rtl .alkhatt-combined-nav li:hover > .sub-menu,
  .rtl .alkhatt-combined-nav li:focus-within > .sub-menu {
    transform: translate(50%, 0) !important;
  }

  .alkhatt-combined-nav .sub-menu li,
  .alkhatt-combined-nav .sub-menu a {
    width: 100% !important;
  }

  .alkhatt-combined-nav .sub-menu a {
    display: block !important;
    min-height: 0 !important;
    padding: 10px 12px !important;
    white-space: nowrap !important;
  }
}


/* ===== Alkhatt Art v4.11 — smoother product-card hover gallery ===== */
.woocommerce ul.products li.product .alkhatt-v411-product-media,
.woocommerce-page ul.products li.product .alkhatt-v411-product-media{
  position:relative;
  display:block;
  width:100%;
  overflow:hidden;
  margin:0 0 12px;
  background:#f4f2ee;
  aspect-ratio:1/1.08;
  isolation:isolate;
}

.woocommerce ul.products li.product .alkhatt-v411-product-media img,
.woocommerce-page ul.products li.product .alkhatt-v411-product-media img{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  object-fit:cover!important;
  border-radius:0!important;
  background:transparent!important;
  backface-visibility:hidden;
  transform:scale(1.001);
  transition:opacity .48s cubic-bezier(.22,.61,.36,1), transform .75s cubic-bezier(.22,.61,.36,1)!important;
  will-change:opacity,transform;
}

.woocommerce ul.products li.product .alkhatt-v411-product-media .alkhatt-v411-product-media__primary,
.woocommerce-page ul.products li.product .alkhatt-v411-product-media .alkhatt-v411-product-media__primary{
  z-index:1;
  opacity:1;
}

.woocommerce ul.products li.product .alkhatt-v411-product-media .alkhatt-v411-product-media__secondary,
.woocommerce-page ul.products li.product .alkhatt-v411-product-media .alkhatt-v411-product-media__secondary{
  z-index:2;
  opacity:0;
  transform:scale(1.035);
}

/* The old generic image hover must not fade the whole two-image stack. */
.woocommerce ul.products li.product:hover .alkhatt-v411-product-media img,
.woocommerce-page ul.products li.product:hover .alkhatt-v411-product-media img{
  opacity:inherit;
}

@media (hover:hover) and (pointer:fine){
  .woocommerce ul.products li.product:hover .alkhatt-v411-product-media.has-secondary .alkhatt-v411-product-media__primary,
  .woocommerce-page ul.products li.product:hover .alkhatt-v411-product-media.has-secondary .alkhatt-v411-product-media__primary{
    opacity:0!important;
    transform:scale(1.025)!important;
  }

  .woocommerce ul.products li.product:hover .alkhatt-v411-product-media.has-secondary .alkhatt-v411-product-media__secondary,
  .woocommerce-page ul.products li.product:hover .alkhatt-v411-product-media.has-secondary .alkhatt-v411-product-media__secondary{
    opacity:1!important;
    transform:scale(1.001)!important;
  }

  .woocommerce ul.products li.product:hover .alkhatt-v411-product-media:not(.has-secondary) .alkhatt-v411-product-media__primary,
  .woocommerce-page ul.products li.product:hover .alkhatt-v411-product-media:not(.has-secondary) .alkhatt-v411-product-media__primary{
    opacity:1!important;
    transform:scale(1.035)!important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__title,
  .woocommerce ul.products li.product .price,
  .woocommerce-page ul.products li.product .price{
    transition:color .25s ease, opacity .25s ease!important;
  }

  .woocommerce ul.products li.product:hover .woocommerce-loop-product__title,
  .woocommerce-page ul.products li.product:hover .woocommerce-loop-product__title{
    color:#111!important;
  }
}

/* Homepage product shelves use the same media treatment without fighting old img rules. */
.alkhatt-v42-shelf-products ul.products li.product .alkhatt-v411-product-media{
  margin-bottom:10px!important;
}
.alkhatt-v42-shelf-products ul.products li.product .alkhatt-v411-product-media img{
  aspect-ratio:auto!important;
}

@media (prefers-reduced-motion:reduce){
  .alkhatt-v411-product-media img{transition:none!important;transform:none!important;}
}





/* v5.1 — short description stays editable in admin but is hidden on product pages. */
.single-product .woocommerce-product-details__short-description {
    display: none !important;
}


/* ===== v5.2 — short and variation descriptions are removed completely ===== */
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .woocommerce-variation-description *,
.single-product .variation-description {
    display: none !important;
}


/* ===== Alkhatt Art v5.3 — stable variation pills + accordion links ===== */
.alkhatt-variation-pill{
  transition:
    background-color .18s ease,
    color .18s ease,
    border-color .18s ease,
    opacity .18s ease,
    transform .18s ease !important;
}
.alkhatt-variation-pill:not(:disabled):hover{
  transform:translateY(-1px);
}
.alkhatt-product-accordions .alkhatt-detail-content{
  padding-bottom:15px;
}
.alkhatt-product-accordions .alkhatt-detail-content p{
  margin:0 0 9px;
}
.alkhatt-product-accordions .alkhatt-detail-link{
  display:inline-block;
  font-size:12px;
  font-weight:700;
  text-decoration:none;
  border-bottom:1px solid currentColor;
  padding-bottom:2px;
}
.alkhatt-product-accordions .alkhatt-detail-link:hover{
  opacity:.68;
}


/* v5.4 — immediate invalid-character feedback */
.alkhatt-pz-field.is-invalid input,
.alkhatt-pz-field.is-invalid textarea,
.alkhatt-pz-field-row.is-invalid input,
.alkhatt-pz-field-row.is-invalid textarea {
    transition: border-color .12s ease, box-shadow .12s ease, background-color .12s ease !important;
}


/* ===== Alkhatt Art v5.5 — personalization locked until variant selected ===== */
.alkhatt-pz-field.is-variation-locked input,
.alkhatt-pz-field.is-variation-locked textarea {
    background: #f4f1ea !important;
    border-color: #ddd6c8 !important;
    color: #8c867c !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    opacity: .78;
}
.alkhatt-pz-field.is-variation-locked [data-alkhatt-pz-helper] {
    color: #777168 !important;
    font-weight: 500;
}


/* ===== Alkhatt Art v5.6 — direct category header + sticky navigation ===== */

/* Announcement/social bar remains normal content and scrolls away. */
.alkhatt-v42-topbar{
    position: relative !important;
    z-index: 100 !important;
}

/* Logo + utilities + category row remain visible while the customer scrolls. */
.alkhatt-site-header.alkhatt-v42-header,
.alkhatt-site-header.alkhatt-v42-header.is-sticky{
    position: sticky !important;
    top: 0 !important;
    z-index: 9990 !important;
    width: 100% !important;
    background: rgba(255,255,255,.985) !important;
    border-bottom: 1px solid var(--alkhatt-border) !important;
    box-shadow: 0 5px 18px rgba(17,17,17,.045) !important;
}

/* Respect the WordPress admin toolbar while logged in. */
body.admin-bar .alkhatt-site-header.alkhatt-v42-header{
    top: 32px !important;
}

.alkhatt-v56-direct-menu{
    gap: clamp(17px, 1.65vw, 28px) !important;
}

.alkhatt-v56-direct-menu > li > a{
    font-size: 12px !important;
}

/* Clean archive: the old image-based category selector is intentionally gone. */
.alkhatt-shop-categories{
    display: none !important;
}

@media (max-width: 960px){
    .alkhatt-v56-direct-menu{
        gap: 0 !important;
    }
}

@media (max-width: 782px){
    body.admin-bar .alkhatt-site-header.alkhatt-v42-header{
        top: 46px !important;
    }
}


/* ===== Alkhatt Art v5.7 — guaranteed scrolling header ===== */

/*
 * v5.6 used position:sticky, which can fail when an ancestor/layout creates
 * a sticky containing block. v5.7 uses JS to switch to position:fixed only
 * after the announcement bar has scrolled away.
 */
.alkhatt-site-header.alkhatt-v42-header,
.alkhatt-site-header.alkhatt-v42-header.is-sticky {
    position: relative !important;
    top: auto !important;
    width: 100% !important;
    z-index: 9990 !important;
    background: rgba(255,255,255,.985) !important;
}

.alkhatt-site-header.alkhatt-v42-header.alkhatt-v57-fixed {
    position: fixed !important;
    top: var(--alkhatt-v57-admin-offset, 0px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99990 !important;
    box-shadow: 0 7px 24px rgba(17,17,17,.09) !important;
    background: rgba(255,255,255,.99) !important;
    animation: alkhatt-v57-header-in .16s ease-out both;
}

.alkhatt-v57-header-spacer {
    height: 0;
    width: 100%;
    pointer-events: none;
}

@keyframes alkhatt-v57-header-in {
    from { opacity: .98; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* The announcement/social bar intentionally scrolls away. */
.alkhatt-v42-topbar {
    position: relative !important;
    top: auto !important;
}

/* Wall Paint was intentionally removed from the direct header in v5.7. */


/* ===== Alkhatt Art v5.8 — scroll-direction header animation ===== */

/*
 * Reference-style behavior:
 * - At the top: normal announcement bar + full header.
 * - Scroll down: announcement bar disappears and the main header becomes
 *   a slightly more compact fixed header.
 * - Scroll up: announcement/social bar smoothly slides back above the
 *   fixed header.
 */

.alkhatt-v58-header-spacer{
    height:0;
    width:100%;
    pointer-events:none;
}

/* Main header fixed state. */
.alkhatt-site-header.alkhatt-v42-header.alkhatt-v58-fixed{
    position:fixed !important;
    top:var(--alkhatt-v58-admin-offset, 0px) !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    z-index:99990 !important;
    background:rgba(255,255,255,.99) !important;
    box-shadow:0 7px 24px rgba(17,17,17,.08) !important;
    transition:
        top .26s cubic-bezier(.22,.61,.36,1),
        box-shadow .22s ease,
        background-color .22s ease !important;
}

/* When scrolling up and the announcement bar reappears, push the fixed
   main header down by exactly the announcement-bar height. */
html.alkhatt-v58-topbar-visible .alkhatt-site-header.alkhatt-v42-header.alkhatt-v58-fixed{
    top:calc(var(--alkhatt-v58-admin-offset, 0px) + var(--alkhatt-v58-topbar-height, 0px)) !important;
}

/* Floating announcement bar used only while the main header is fixed. */
.alkhatt-v42-topbar.alkhatt-v58-floating{
    position:fixed !important;
    top:var(--alkhatt-v58-admin-offset, 0px) !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    z-index:99995 !important;
    transform:translateY(-110%);
    opacity:0;
    pointer-events:none;
    box-shadow:0 2px 10px rgba(17,17,17,.08);
    transition:
        transform .26s cubic-bezier(.22,.61,.36,1),
        opacity .2s ease !important;
}

.alkhatt-v42-topbar.alkhatt-v58-floating.alkhatt-v58-revealed{
    transform:translateY(0);
    opacity:1;
    pointer-events:auto;
}

/* Slightly tighter header while scrolling down. */
.alkhatt-site-header.alkhatt-v42-header.alkhatt-v58-compact .alkhatt-v42-header__main{
    min-height:64px !important;
    transition:min-height .24s cubic-bezier(.22,.61,.36,1) !important;
}

.alkhatt-site-header.alkhatt-v42-header.alkhatt-v58-compact .alkhatt-v42-brand img,
.alkhatt-site-header.alkhatt-v42-header.alkhatt-v58-compact .alkhatt-v42-brand .custom-logo{
    height:45px !important;
    transition:height .24s cubic-bezier(.22,.61,.36,1) !important;
}

.alkhatt-site-header.alkhatt-v42-header.alkhatt-v58-compact .alkhatt-combined-nav__inner{
    min-height:42px !important;
    transition:min-height .24s cubic-bezier(.22,.61,.36,1) !important;
}

/* Scroll-up reveal restores the normal proportions while remaining fixed. */
.alkhatt-site-header.alkhatt-v42-header.alkhatt-v58-expanded .alkhatt-v42-header__main{
    min-height:78px !important;
}

.alkhatt-site-header.alkhatt-v42-header.alkhatt-v58-expanded .alkhatt-v42-brand img,
.alkhatt-site-header.alkhatt-v42-header.alkhatt-v58-expanded .alkhatt-v42-brand .custom-logo{
    height:56px !important;
}

.alkhatt-site-header.alkhatt-v42-header.alkhatt-v58-expanded .alkhatt-combined-nav__inner{
    min-height:48px !important;
}

/* Smooth the pieces that resize. */
.alkhatt-v42-header__main,
.alkhatt-v42-brand img,
.alkhatt-v42-brand .custom-logo,
.alkhatt-combined-nav__inner{
    transition:
        min-height .24s cubic-bezier(.22,.61,.36,1),
        height .24s cubic-bezier(.22,.61,.36,1) !important;
}

@media (prefers-reduced-motion: reduce){
    .alkhatt-site-header.alkhatt-v42-header.alkhatt-v58-fixed,
    .alkhatt-v42-topbar.alkhatt-v58-floating,
    .alkhatt-v42-header__main,
    .alkhatt-v42-brand img,
    .alkhatt-v42-brand .custom-logo,
    .alkhatt-combined-nav__inner{
        transition:none !important;
        animation:none !important;
    }
}

@media (max-width:782px){
    /* Keep mobile motion lighter so it does not consume too much vertical space. */
    .alkhatt-site-header.alkhatt-v42-header.alkhatt-v58-compact .alkhatt-v42-header__main{
        min-height:58px !important;
    }
    .alkhatt-site-header.alkhatt-v42-header.alkhatt-v58-compact .alkhatt-v42-brand img,
    .alkhatt-site-header.alkhatt-v42-header.alkhatt-v58-compact .alkhatt-v42-brand .custom-logo{
        height:40px !important;
    }
}


/* ===== Alkhatt Art v5.9 — stable scroll animation / banner glitch fix ===== */

/*
 * Fix:
 * The announcement/social banner now stays in normal document flow.
 * It is never made fixed and never slides over the logo/header.
 * This removes the flash/jump/overlap visible in v5.8.
 */
.alkhatt-v42-topbar,
.alkhatt-v42-topbar.alkhatt-v58-floating,
.alkhatt-v42-topbar.alkhatt-v58-floating.alkhatt-v58-revealed{
    position:relative !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    width:auto !important;
    transform:none !important;
    opacity:1 !important;
    pointer-events:auto !important;
    box-shadow:none !important;
    transition:none !important;
}

/* Disable the old v5.8 page-level banner state if cached markup/classes remain. */
html.alkhatt-v58-topbar-visible .alkhatt-site-header.alkhatt-v42-header.alkhatt-v58-fixed{
    top:auto !important;
}

/* v5.9 fixed main header */
.alkhatt-site-header.alkhatt-v42-header.alkhatt-v59-fixed{
    position:fixed !important;
    top:var(--alkhatt-v59-admin-offset, 0px) !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    z-index:99990 !important;
    background:rgba(255,255,255,.99) !important;
    box-shadow:0 7px 22px rgba(17,17,17,.075) !important;
    transition:
        box-shadow .22s ease,
        background-color .22s ease !important;
}

.alkhatt-v59-header-spacer{
    height:0;
    width:100%;
    pointer-events:none;
}

/* Scroll down: compact header. */
.alkhatt-site-header.alkhatt-v42-header.alkhatt-v59-compact .alkhatt-v42-header__main{
    min-height:62px !important;
}
.alkhatt-site-header.alkhatt-v42-header.alkhatt-v59-compact .alkhatt-v42-brand img,
.alkhatt-site-header.alkhatt-v42-header.alkhatt-v59-compact .alkhatt-v42-brand .custom-logo{
    height:44px !important;
}
.alkhatt-site-header.alkhatt-v42-header.alkhatt-v59-compact .alkhatt-combined-nav__inner{
    min-height:41px !important;
}

/* Scroll up: subtle expansion without bringing the upper banner back over the page. */
.alkhatt-site-header.alkhatt-v42-header.alkhatt-v59-relaxed .alkhatt-v42-header__main{
    min-height:72px !important;
}
.alkhatt-site-header.alkhatt-v42-header.alkhatt-v59-relaxed .alkhatt-v42-brand img,
.alkhatt-site-header.alkhatt-v42-header.alkhatt-v59-relaxed .alkhatt-v42-brand .custom-logo{
    height:51px !important;
}
.alkhatt-site-header.alkhatt-v42-header.alkhatt-v59-relaxed .alkhatt-combined-nav__inner{
    min-height:45px !important;
}

/* Smooth resize only; no independent upper-banner movement. */
.alkhatt-site-header.alkhatt-v42-header.alkhatt-v59-fixed .alkhatt-v42-header__main,
.alkhatt-site-header.alkhatt-v42-header.alkhatt-v59-fixed .alkhatt-v42-brand img,
.alkhatt-site-header.alkhatt-v42-header.alkhatt-v59-fixed .alkhatt-v42-brand .custom-logo,
.alkhatt-site-header.alkhatt-v42-header.alkhatt-v59-fixed .alkhatt-combined-nav__inner{
    transition:
        min-height .22s cubic-bezier(.22,.61,.36,1),
        height .22s cubic-bezier(.22,.61,.36,1) !important;
}

@media (max-width:782px){
    .alkhatt-site-header.alkhatt-v42-header.alkhatt-v59-compact .alkhatt-v42-header__main{
        min-height:57px !important;
    }
    .alkhatt-site-header.alkhatt-v42-header.alkhatt-v59-compact .alkhatt-v42-brand img,
    .alkhatt-site-header.alkhatt-v42-header.alkhatt-v59-compact .alkhatt-v42-brand .custom-logo{
        height:39px !important;
    }
}

@media (prefers-reduced-motion: reduce){
    .alkhatt-site-header.alkhatt-v42-header.alkhatt-v59-fixed .alkhatt-v42-header__main,
    .alkhatt-site-header.alkhatt-v42-header.alkhatt-v59-fixed .alkhatt-v42-brand img,
    .alkhatt-site-header.alkhatt-v42-header.alkhatt-v59-fixed .alkhatt-v42-brand .custom-logo,
    .alkhatt-site-header.alkhatt-v42-header.alkhatt-v59-fixed .alkhatt-combined-nav__inner{
        transition:none !important;
    }
}


/* ===== Alkhatt Art v6.0 — mobile alignment / text visibility pass ===== */
@media (max-width: 782px) {
    html,
    body {
        max-width: 100%;
        overflow-x: clip;
    }

    .container,
    .alkhatt-inner-page__container,
    .alkhatt-policy-page__container,
    .alkhatt-policy-content,
    .entry-content,
    .woocommerce,
    .woocommerce-page,
    .wc-block-components-main,
    .wc-block-components-sidebar,
    .wc-block-cart,
    .wc-block-checkout,
    .alkhatt-v42-header__main,
    .alkhatt-combined-nav__inner,
    .alkhatt-product-card,
    .summary.entry-summary {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .entry-content h1,
    .entry-content h2,
    .entry-content h3,
    .entry-content h4,
    .entry-content p,
    .entry-content li,
    .alkhatt-policy-content h1,
    .alkhatt-policy-content h2,
    .alkhatt-policy-content h3,
    .alkhatt-policy-content h4,
    .alkhatt-policy-content p,
    .alkhatt-policy-content li,
    .woocommerce p,
    .woocommerce li,
    .woocommerce label,
    .wc-block-components-product-name,
    .wc-block-components-totals-item__label,
    .wc-block-components-totals-item__value {
        max-width: 100% !important;
        overflow-wrap: anywhere;
        word-break: normal;
        white-space: normal !important;
    }

    .alkhatt-policy-content table,
    .entry-content table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .alkhatt-policy-content img,
    .entry-content img,
    .woocommerce img {
        max-width: 100%;
        height: auto;
    }

    .alkhatt-product-search {
        width: 100%;
        min-width: 0;
    }

    .alkhatt-product-search .search-field {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
}

/* Policy RTL */
html[dir="rtl"] .alkhatt-policy-content,
body.rtl .alkhatt-policy-content {
    direction: rtl;
    text-align: right;
}

/* Checkout Terms must remain visible and readable. */
.woocommerce-terms-and-conditions-wrapper,
.woocommerce-privacy-policy-text,
.woocommerce-form__label-for-checkbox {
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere;
}


/* ===== Alkhatt Art v6.1 — mobile header / language-switch fix ===== */

/*
 * The previous mobile grid could let the action row become wider than its
 * available column. Because the language switch is the last action, "EN" or
 * "العربية" could be pushed beyond the left/right edge depending on direction.
 *
 * Mobile now uses one real flex row:
 *   LTR: logo | language | menu/search/cart
 *   RTL: logo | language | menu/search/cart (mirrored automatically)
 *
 * Only the alternate language is shown on mobile.
 */
@media (max-width: 767px) {
    .alkhatt-v42-header__main {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 70px !important;
        gap: 8px !important;
        padding-inline: 10px !important;
        overflow: visible !important;
    }

    .alkhatt-v42-header__balance {
        display: none !important;
    }

    .alkhatt-v42-brand {
        grid-column: auto !important;
        justify-self: auto !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: 145px !important;
        display: flex !important;
        align-items: center !important;
    }

    body.alkhatt-lang-en .alkhatt-v42-brand {
        justify-content: flex-start !important;
    }

    body.alkhatt-lang-ar .alkhatt-v42-brand {
        justify-content: flex-end !important;
    }

    .alkhatt-v42-brand img,
    .alkhatt-v42-brand .custom-logo {
        display: block !important;
        width: auto !important;
        height: 46px !important;
        max-width: 138px !important;
        object-fit: contain !important;
    }

    .alkhatt-v42-header__actions {
        grid-column: auto !important;
        justify-self: auto !important;
        flex: 0 0 auto !important;
        min-width: 0 !important;
        max-width: calc(100% - 138px - 12px) !important;
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        overflow: visible !important;
    }

    /* Keep only the language the customer can switch TO. */
    .alkhatt-v42-header__actions .alkhatt-language li.current-lang {
        display: none !important;
    }

    /*
     * Put the language control closest to the logo instead of at the outside
     * screen edge. This prevents it being clipped in both Arabic and English.
     */
    .alkhatt-v42-header__actions > .alkhatt-language {
        order: -10 !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        min-width: 0 !important;
        display: flex !important;
    }

    .alkhatt-v42-header__actions .alkhatt-language ul {
        display: flex !important;
        align-items: center !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .alkhatt-v42-header__actions .alkhatt-language a {
        width: auto !important;
        min-width: 42px !important;
        max-width: 68px !important;
        height: 36px !important;
        padding: 0 9px !important;
        margin: 0 !important;
        font-size: 11px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    .alkhatt-v42-header__actions .alkhatt-language .lang-item-ar a {
        min-width: 58px !important;
    }

    .alkhatt-v42-header__actions .alkhatt-icon-button {
        width: 36px !important;
        min-width: 36px !important;
        height: 36px !important;
        flex: 0 0 36px !important;
        padding: 0 !important;
    }

    .alkhatt-v42-header__actions .alkhatt-account,
    .alkhatt-v42-header__actions .alkhatt-v42-wishlist {
        display: none !important;
    }

    .alkhatt-v42-header__actions .alkhatt-cart-count {
        position: absolute !important;
        margin: 0 !important;
        inset-block-start: -5px !important;
        inset-inline-end: -4px !important;
    }

    .alkhatt-v42-header__actions > a.alkhatt-icon-button {
        position: relative !important;
    }
}

/* Extra-small phones: keep all four required controls comfortably inside. */
@media (max-width: 390px) {
    .alkhatt-v42-header__main {
        padding-inline: 8px !important;
        gap: 5px !important;
    }

    .alkhatt-v42-brand {
        max-width: 124px !important;
    }

    .alkhatt-v42-brand img,
    .alkhatt-v42-brand .custom-logo {
        max-width: 120px !important;
        height: 42px !important;
    }

    .alkhatt-v42-header__actions {
        max-width: calc(100% - 120px - 8px) !important;
        gap: 3px !important;
    }

    .alkhatt-v42-header__actions .alkhatt-icon-button {
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
        flex-basis: 34px !important;
    }

    .alkhatt-v42-header__actions .alkhatt-language a {
        min-width: 38px !important;
        height: 34px !important;
        padding-inline: 7px !important;
        font-size: 10.5px !important;
    }

    .alkhatt-v42-header__actions .alkhatt-language .lang-item-ar a {
        min-width: 54px !important;
    }
}


/* ===== Alkhatt Art v6.2 — mobile checkout form spacing fix ===== */
@media (max-width: 767px) {
    /* Give checkout fields more breathing room on mobile. */
    body.woocommerce-checkout .wc-block-checkout__main,
    body.woocommerce-checkout .wc-block-components-sidebar,
    body.woocommerce-checkout .wc-block-checkout__sidebar {
        padding-inline: 16px !important;
    }

    body.woocommerce-checkout .wc-block-components-address-form {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Force all field rows full width on mobile to avoid cramped side-by-side inputs. */
    body.woocommerce-checkout .wc-block-components-address-form > *,
    body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input,
    body.woocommerce-checkout .wc-block-components-form .wc-block-components-combobox,
    body.woocommerce-checkout .wc-block-components-text-input,
    body.woocommerce-checkout .wc-block-components-combobox,
    body.woocommerce-checkout .wc-block-components-country-input,
    body.woocommerce-checkout .wc-block-components-combobox-control,
    body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input,
    body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-combobox {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        grid-column: 1 / -1 !important;
    }

    /* Taller inputs with room for floating labels. */
    body.woocommerce-checkout .wc-block-components-text-input input,
    body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
    body.woocommerce-checkout .wc-block-components-combobox-control input,
    body.woocommerce-checkout select {
        min-height: 58px !important;
        height: 58px !important;
        padding: 24px 16px 10px !important;
        font-size: 16px !important;
        line-height: 1.25 !important;
        border-radius: 12px !important;
    }

    /* Make floating labels sit clearly at the top of the field. */
    body.woocommerce-checkout .wc-block-components-text-input,
    body.woocommerce-checkout .wc-block-components-combobox {
        position: relative !important;
    }

    body.woocommerce-checkout .wc-block-components-text-input label,
    body.woocommerce-checkout .wc-block-components-combobox label,
    body.woocommerce-checkout .wc-block-components-combobox-control label,
    body.woocommerce-checkout .wc-block-components-text-input.is-active label,
    body.woocommerce-checkout .wc-block-components-combobox.is-active label,
    body.woocommerce-checkout .wc-block-components-combobox-control.is-active label {
        position: absolute !important;
        top: 8px !important;
        left: 16px !important;
        right: auto !important;
        transform: none !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
        color: #6d6b67 !important;
        white-space: nowrap !important;
        max-width: calc(100% - 32px) !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        pointer-events: none !important;
        z-index: 2 !important;
        background: transparent !important;
    }

    body.alkhatt-lang-ar.woocommerce-checkout .wc-block-components-text-input label,
    body.alkhatt-lang-ar.woocommerce-checkout .wc-block-components-combobox label,
    body.alkhatt-lang-ar.woocommerce-checkout .wc-block-components-combobox-control label,
    body.alkhatt-lang-ar.woocommerce-checkout .wc-block-components-text-input.is-active label,
    body.alkhatt-lang-ar.woocommerce-checkout .wc-block-components-combobox.is-active label,
    body.alkhatt-lang-ar.woocommerce-checkout .wc-block-components-combobox-control.is-active label {
        right: 16px !important;
        left: auto !important;
        text-align: right !important;
    }

    body.woocommerce-checkout .wc-block-components-checkbox label,
    body.woocommerce-checkout .wc-block-components-radio-control label,
    body.woocommerce-checkout .wc-block-components-checkout-step p,
    body.woocommerce-checkout .wc-block-components-checkout-step__description {
        font-size: 14px !important;
        line-height: 1.45 !important;
    }

    body.woocommerce-checkout .wc-block-components-checkout-step__title,
    body.woocommerce-checkout .wc-block-components-title {
        font-size: 18px !important;
        line-height: 1.25 !important;
    }

    body.woocommerce-checkout .wc-block-components-checkout-step {
        margin-bottom: 18px !important;
        padding-bottom: 14px !important;
    }
}


/* ===== Alkhatt Art v6.3 — FiboSearch final integration ===== */
.alkhatt-search-panel{
    position:absolute;
    inset-inline:0;
    top:100%;
    z-index:100050;
    width:100%;
    padding:16px 0 18px;
    background:#fff;
    border-top:1px solid var(--alkhatt-border);
    border-bottom:1px solid var(--alkhatt-border);
    box-shadow:0 12px 28px rgba(17,17,17,.08);
}
.alkhatt-search-panel > .container{
    max-width:820px;
}
.alkhatt-search-panel .dgwt-wcas-search-wrapp,
.alkhatt-search-panel .dgwt-wcas-search-form,
.alkhatt-search-panel .alkhatt-fibosearch{
    width:100%!important;
    max-width:100%!important;
    margin:0 auto!important;
}
.alkhatt-search-panel .dgwt-wcas-sf-wrapp{
    background:#fff!important;
    border:1px solid #d8d6d1!important;
    border-radius:12px!important;
    box-shadow:none!important;
    min-height:52px!important;
}
.alkhatt-search-panel .dgwt-wcas-search-input{
    min-height:52px!important;
    height:52px!important;
    font-size:15px!important;
    border:0!important;
    border-radius:12px!important;
    box-shadow:none!important;
    padding-inline:48px 16px!important;
}
.alkhatt-search-panel .dgwt-wcas-search-submit{
    min-width:46px!important;
    border:0!important;
    background:transparent!important;
    color:#111!important;
}
.alkhatt-search-panel .dgwt-wcas-close{
    border:0!important;
}
body.alkhatt-lang-ar .alkhatt-search-panel .dgwt-wcas-search-input{
    direction:rtl!important;
    text-align:right!important;
    padding-inline:16px 48px!important;
}
body.alkhatt-lang-en .alkhatt-search-panel .dgwt-wcas-search-input{
    direction:ltr!important;
    text-align:left!important;
}

/* Autocomplete should sit above sticky header/content. */
.dgwt-wcas-suggestions-wrapp,
.dgwt-wcas-details-wrapp,
.dgwt-wcas-overlay-mobile{
    z-index:100100!important;
}
.dgwt-wcas-suggestion{
    min-height:58px;
}
.dgwt-wcas-si img{
    border-radius:6px;
}

@media (max-width:767px){
    .alkhatt-search-panel{
        padding:10px 10px 12px!important;
    }
    .alkhatt-search-panel > .container{
        width:100%!important;
        padding:0!important;
    }
    .alkhatt-search-panel .dgwt-wcas-sf-wrapp,
    .alkhatt-search-panel .dgwt-wcas-search-input{
        min-height:48px!important;
        height:48px!important;
    }
}


/* ===== Alkhatt Art v6.4 — universal Arabic search ===== */

/* When Arabic fallback is active, hide FiboSearch's own suggestion list only.
   The FiboSearch input itself remains unchanged. */
body.alkhatt-ar-search-active .dgwt-wcas-suggestions-wrapp,
body.alkhatt-ar-search-active .dgwt-wcas-details-wrapp {
    display: none !important;
}

.alkhatt-ar-search-results {
    position: absolute;
    z-index: 100050;
    inset-inline: 0;
    top: calc(100% + 6px);
    width: 100%;
    max-height: min(520px, 70vh);
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e5e2db;
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(17,17,17,.13);
    padding: 6px;
    direction: rtl;
    text-align: right;
}

.alkhatt-ar-search-results[hidden] {
    display: none !important;
}

.alkhatt-ar-search-item {
    display: grid;
    grid-template-columns: 58px minmax(0,1fr);
    gap: 12px;
    align-items: center;
    min-width: 0;
    padding: 9px;
    color: #171714;
    text-decoration: none;
    border-radius: 9px;
}

.alkhatt-ar-search-item:hover,
.alkhatt-ar-search-item:focus-visible {
    background: #f6f5f1;
    color: #171714;
    outline: none;
}

.alkhatt-ar-search-item__image {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 7px;
    background: #f4f3ef;
}

.alkhatt-ar-search-item__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.alkhatt-ar-search-item__name {
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
    white-space: normal;
    overflow-wrap: anywhere;
}

.alkhatt-ar-search-item__price {
    font-size: 11.5px;
    line-height: 1.35;
    color: #6c6a64;
}

.alkhatt-ar-search-empty {
    padding: 16px 14px;
    font-size: 13px;
    color: #6c6a64;
}

.alkhatt-ar-search-view-all {
    display: block;
    margin-top: 4px;
    padding: 11px 12px;
    border-top: 1px solid #ece9e2;
    color: #171714;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.alkhatt-ar-search-view-all:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .alkhatt-ar-search-results {
        position: fixed;
        left: 12px;
        right: 12px;
        top: auto;
        bottom: 18px;
        width: auto;
        max-height: 58vh;
        border-radius: 14px;
    }

    .alkhatt-ar-search-item {
        grid-template-columns: 52px minmax(0,1fr);
    }

    .alkhatt-ar-search-item__image {
        width: 52px;
        height: 52px;
    }
}
