/* HMD-MODERN-ROUND-V06-START
 * Existing Hamad store only. Zid Soft v2.55.0, public DOM checked 25 Oct 2026.
 * APPEND to current custom CSS; do not replace it. Requires the paired v06 JavaScript for card enhancement/video.
 * Draft: not installed, not browser-tested. Roll back by removing this block.
 * Keeps sections/order/products. Only mobile first banner changes to supplied video.
 */
body.rtl[data-template="home"] {
  --hmd-mr-bg: #f1f3f1;
  --hmd-mr-surface: #fafbf9;
  --hmd-mr-ink: #202821;
  --hmd-mr-muted: #5e685f;
  --hmd-mr-line: #d7ddd6;
  --hmd-mr-dash: #7a887a;
  --hmd-mr-hover: #e5ebe4;
  background-color: var(--hmd-mr-bg) !important;
}
/* The original logo and native header structure are retained. */
body.rtl[data-template="home"] .header {
  --header-primary-color: var(--hmd-mr-bg);
  --header-text-color-primary-bg: var(--hmd-mr-ink);
  --menu-header-primary-color: var(--hmd-mr-bg);
  --menu-header-text-color-primary-bg: var(--hmd-mr-ink);
  background-color: var(--hmd-mr-bg);
}
body.rtl[data-template="home"] .header-theme-bg-primary,
body.rtl[data-template="home"] .menu-header-theme-bg-primary {
  background-color: var(--hmd-mr-bg);
}
body.rtl[data-template="home"] .header-theme-text-for-primary-bg,
body.rtl[data-template="home"] .header-theme-icon-primary,
body.rtl[data-template="home"] .menu-header-theme-text-for-primary-bg,
body.rtl[data-template="home"] .header .main-nav {
  color: var(--hmd-mr-ink);
}
body.rtl[data-template="home"] .upper-bar {
  border-bottom: 1px solid var(--hmd-mr-line);
}
body.rtl[data-template="home"] .header .account-btn {
  background: transparent;
  color: var(--hmd-mr-ink);
  border: 1px dashed var(--hmd-mr-dash);
  border-radius: 999px;
  min-height: 34px;
  padding-inline: 15px;
  box-shadow: none;
}
body.rtl[data-template="home"] .header .image-logo {
  border-radius: 24px;
}
/* Hollow search is the main dashed detail, not every surrounding surface. */
body.rtl[data-template="home"] .search-input-input {
  background: transparent;
  color: var(--hmd-mr-ink);
  border: 1.5px dashed var(--hmd-mr-dash);
  border-radius: 999px;
  min-height: 46px;
  max-height: none;
  box-shadow: none;
}
body.rtl[data-template="home"] .search-input-input::placeholder {
  color: var(--hmd-mr-muted);
  opacity: 1;
}
body.rtl[data-template="home"] .header .a-shopping-cart {
  border: 1px solid var(--hmd-mr-line);
  border-radius: 999px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: transparent;
}
body.rtl[data-template="home"] .header .main-nav > li {
  border-radius: 999px;
}
body.rtl[data-template="home"] .header .main-nav > li > a {
  border-radius: 999px;
  color: var(--hmd-mr-ink);
}
body.rtl[data-template="home"] .header .main-nav > li:hover {
  background: var(--hmd-mr-hover);
}
/* Existing banner slots stay in place. Only their frames and spacing change. */
body.rtl[data-template="home"] .home > .ss {
  margin-block: 18px;
}
body.rtl[data-template="home"] .home .main-slider .slider-item .content {
  border-radius: 36px;
  overflow: hidden;
}
/* Keep native slider geometry, item count, track position and behaviors. */
body.rtl[data-template="home"] .home-products-section {
  padding-block: 38px;
  background: transparent;
}
body.rtl[data-template="home"] .section-title {
  color: var(--hmd-mr-ink) !important;
  font-weight: 700;
  margin-bottom: 26px;
}
body.rtl[data-template="home"] .product-item {
  background: var(--hmd-mr-surface);
  color: var(--hmd-mr-ink);
  border: 1px solid var(--hmd-mr-line);
  border-radius: 30px;
  padding: 12px;
  box-sizing: border-box;
  box-shadow: none;
}
body.rtl[data-template="home"] .product-item .box-1-1 {
  background: #ffffff;
  border: 1px solid #e6eae4;
  border-radius: 22px;
}
/* Product pixels, proportions and colors are not altered or clipped. */
body.rtl[data-template="home"] .product-item .box-1-1 img {
  object-fit: contain;
  max-width: 94%;
  max-height: 94%;
  align-self: center;
}
/* Preserve the theme's original 48px/two-line title box and text metrics. */
body.rtl[data-template="home"] .product-item .product-title {
  color: var(--hmd-mr-ink);
}
body.rtl[data-template="home"] .product-item .product-price {
  color: var(--hmd-mr-ink) !important;
}
body.rtl[data-template="home"] .product-item small {
  color: var(--hmd-mr-muted);
}
body.rtl[data-template="home"] .product-item .product-card-footer {
  padding-top: 10px;
}
/* Purchase remains visually primary. Disabled/sold-out states are untouched. */
body.rtl[data-template="home"] .product-item:not(.product-item-out-of-stock) .product-card-footer > .btn:not(.btn-product-card-out-of-stock):not(:disabled):not([aria-disabled="true"]):not(.disabled) {
  background: var(--hmd-mr-ink);
  border-color: var(--hmd-mr-ink);
  border-radius: 999px;
  color: #ffffff;
  min-height: 42px;
  padding: 10px 14px;
  white-space: normal;
  box-shadow: none;
}
body.rtl[data-template="home"] .product-item:not(.product-item-out-of-stock) .product-card-footer > .btn:not(.btn-product-card-out-of-stock):not(:disabled):not([aria-disabled="true"]):not(.disabled):hover {
  background: #354638;
  border-color: #354638;
  color: #ffffff;
}
body.rtl[data-template="home"] .products-slider-wrapper .slick-arrow {
  border-radius: 999px;
  border: 1px dashed var(--hmd-mr-dash);
  background: transparent;
  color: var(--hmd-mr-ink);
  box-shadow: none;
}
body.rtl[data-template="home"] .testimonials-customer-card {
  border: 1px solid var(--hmd-mr-line);
  border-radius: 28px;
  color: var(--hmd-mr-ink);
  box-shadow: none;
}
body.rtl[data-template="home"] .testimonials-customer-name,
body.rtl[data-template="home"] .testimonials-customer-text {
  color: var(--hmd-mr-ink);
}
body.rtl[data-template="home"] .testimonials-customer-date {
  color: var(--hmd-mr-muted);
}
/* Preserve the legal/payment strip and its existing logos. */
body.rtl[data-template="home"] .footer-store-section {
  --footer-primary-color: #e8ede7;
  --footer-text-color-primary-bg: var(--hmd-mr-ink);
  background: #e8ede7;
  color: var(--hmd-mr-ink);
  border-top: 1px solid var(--hmd-mr-line);
  border-radius: 36px 36px 0 0;
}
body.rtl[data-template="home"] .header a:focus-visible,
body.rtl[data-template="home"] .header button:focus-visible,
body.rtl[data-template="home"] .search-input-input:focus-visible,
body.rtl[data-template="home"] .product-item a:focus-visible,
body.rtl[data-template="home"] .product-item button:focus-visible,
body.rtl[data-template="home"] .products-slider-wrapper .slick-arrow:focus-visible {
  outline: 2px solid #354638 !important;
  outline-offset: 3px;
}
@media (max-width: 767px) {
  body.rtl[data-template="home"] .home > .ss { margin-block: 12px; }
  body.rtl[data-template="home"] .home .main-slider .slider-item .content { border-radius: 28px; }
  body.rtl[data-template="home"] .product-item { border-radius: 26px; padding: 9px; }
  body.rtl[data-template="home"] .product-item .box-1-1 { border-radius: 18px; }
  body.rtl[data-template="home"] .home-products-section { padding-block: 28px; }
  body.rtl[data-template="home"] .footer-store-section { border-radius: 28px 28px 0 0; }
}
/* The original theme colors arrow spans explicitly, not by inheritance. */
body.rtl[data-template="home"] .products-slider-wrapper .slick-arrow > span { color: inherit; }

/* Country control has an existing clipping wrapper; round that wrapper, not only its inner button. */
body.rtl[data-template="home"] .header .language-currency {
  background: transparent;
  border: 1px dashed var(--hmd-mr-dash);
  border-radius: 999px;
  max-height: none;
  min-height: 34px;
}
body.rtl[data-template="home"] .header .currency-button-area { max-height: none; }
body.rtl[data-template="home"] .header .currency-btn {
  background: transparent;
  border: 0;
  color: var(--hmd-mr-ink);
  border-radius: 999px;
  min-height: 34px;
}


/* v02: Keep the actual cards and original actions; use space more efficiently. */
body.rtl[data-template="home"] .home-products-section .products-slider .prod-col { padding-inline: 6px; }
body.rtl[data-template="home"] .product-item.hmd-v02-card { padding: 10px; border-radius: 28px; width:100%; max-width:none; }
body.rtl[data-template="home"] .hmd-v02-card .product-title { margin-top: 10px !important; text-align: right; }
body.rtl[data-template="home"] .hmd-v02-card .product-title > span { text-align: right; }
body.rtl[data-template="home"] .hmd-v02-card .product-card-rating-wrapper.hmd-v02-empty-rating { display: none; }
body.rtl[data-template="home"] .hmd-v02-card .product-card-footer {
  display: grid; grid-template-columns: 44px minmax(0,1fr); direction:ltr;
  align-items:center; gap:8px; padding-top:9px; text-align:initial;
}
body.rtl[data-template="home"] .hmd-v02-card .product-card-footer > a:not(.btn) { display:none; }
body.rtl[data-template="home"] .hmd-v02-card .product-card-footer > .product-crd-spec {
  grid-column:2; grid-row:1; min-height:0; min-width:0; direction:rtl; text-align:right;
}
body.rtl[data-template="home"] .hmd-v02-card .product-price { font-size:15px; line-height:1.5; white-space:normal; margin:0; }
body.rtl[data-template="home"] .hmd-v02-card .product-price > span { white-space:nowrap; }
body.rtl[data-template="home"] .hmd-v02-card .product-card-footer > .hmd-v02-icon-cta {
  grid-column:1; grid-row:1; display:inline-flex; align-items:center; justify-content:center;
  position:relative; width:44px; min-width:44px; height:44px; min-height:44px; padding:0 !important;
  font-size:0; line-height:0; border-radius:50%;
}
body.rtl[data-template="home"] .hmd-v02-icon-cta::before {
  content:""; display:block; flex:0 0 23px; width:23px; height:23px; background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.55%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5.5%207.5h13l1%2013h-15l1-13Z%22%2F%3E%3Cpath%20d%3D%22M8.5%208V6a3.5%203.5%200%200%201%207%200v2%22%2F%3E%3Cpath%20d%3D%22M9.5%2014h5M12%2011.5v5%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.55%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5.5%207.5h13l1%2013h-15l1-13Z%22%2F%3E%3Cpath%20d%3D%22M8.5%208V6a3.5%203.5%200%200%201%207%200v2%22%2F%3E%3Cpath%20d%3D%22M9.5%2014h5M12%2011.5v5%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}
body.rtl[data-template="home"] .hmd-v02-icon-cta .add-to-cart-progress { position:absolute; width:20px; height:20px; }
body.rtl[data-template="home"] .hmd-v02-icon-cta:has(.add-to-cart-progress:not(.d-none))::before { visibility:hidden; }
body.rtl[data-template="home"] .hmd-v02-options-caption {
  display:block; width:100%; padding:8px 4px 0; margin:0; text-align:center;
  color:var(--hmd-mr-muted); font-size:12px !important; line-height:1.6; white-space:normal !important;
}
/* Video is an alternate view INSIDE the existing first banner slot, mobile only. */
body.rtl[data-template="home"] .hmd-v02-mobile-hero { display:none; }
@media (max-width:767px) {
  body.rtl[data-template="home"] .home-products-section .products-slider:not(.slick-initialized) {
    font-size:0; scroll-snap-type:x proximity; scroll-padding-inline:4px;
    -webkit-overflow-scrolling:touch;
  }
  body.rtl[data-template="home"] .home-products-section .products-slider:not(.slick-initialized) > .prod-col {
    box-sizing:border-box; width:calc((100% - 24px) / 2); min-width:148px;
    padding-inline:4px; font-size:14px; white-space:normal; scroll-snap-align:start;
  }
  body.rtl[data-template="home"] .product-item.hmd-v02-card { padding:8px; border-radius:24px; width:100%; max-width:none; }
  body.rtl[data-template="home"] .hmd-v02-card .box-1-1 { border-radius:17px; }
  body.rtl[data-template="home"] .hmd-v02-card .product-card-footer { gap:5px; }
  body.rtl[data-template="home"] .hmd-v02-card .product-price { font-size:14px; }
  body.rtl[data-template="home"] [section-id="2540a943-2cb2-4f88-940b-2a31d1a2649d"].hmd-v02-video-ready .main-slider { display:none; }
  body.rtl[data-template="home"] .hmd-v02-video-ready .hmd-v02-mobile-hero {
    display:block; width:100%; aspect-ratio:9/16; overflow:hidden; border-radius:0;
    background:#0d1517; position:relative;
  }
  body.rtl[data-template="home"] .hmd-v02-mobile-hero video { display:block; width:100%; height:100%; object-fit:contain; pointer-events:none; }
  /* GIF-like decoration: no native player overlays or tap-to-fullscreen surface. */
  body.rtl[data-template="home"] .hmd-v02-mobile-hero video::-webkit-media-controls { display:none !important; }
  body.rtl[data-template="home"] .hmd-v02-mobile-hero video::-webkit-media-controls-enclosure { display:none !important; }
  body.rtl[data-template="home"] .hmd-v02-mobile-hero video::-webkit-media-controls-start-playback-button { display:none !important; }
}
@media (max-width:359px) {
  body.rtl[data-template="home"] .home-products-section .products-slider:not(.slick-initialized) > .prod-col { width:50%; min-width:0; }
}
/* Loading/temporarily disabled actions retain compact geometry, not active colors. */
body.rtl[data-template="home"] .hmd-v02-card.product-item-out-of-stock .product-card-footer > .hmd-v02-icon-cta,
body.rtl[data-template="home"] .hmd-v02-card .product-card-footer > .hmd-v02-icon-cta.btn-product-card-out-of-stock {
  grid-column:1 / -1; grid-row:2; width:100%; min-width:0; height:auto;
  font-size:14px; line-height:1.5; padding:8px !important; border-radius:999px;
}
body.rtl[data-template="home"] .hmd-v02-card.product-item-out-of-stock .hmd-v02-icon-cta::before,
body.rtl[data-template="home"] .hmd-v02-icon-cta.btn-product-card-out-of-stock::before { display:none; }


/* v03: normalize the native mobile rail, never reverse its nodes or Slick track. */
@media (max-width:767px) {
  body.rtl[data-template="home"] .home-products-section .container.slider-container { padding-inline:15px; }
  body.rtl[data-template="home"] .home-products-section .products-slider-wrapper { margin-inline:0; }
  body.rtl[data-template="home"] .home-products-section .products-slider:not(.slick-initialized) {
    direction:rtl; text-align:right; margin-inline:0; padding-inline:0; scroll-padding-inline:0;
  }
  body.rtl[data-template="home"] .home-products-section .products-slider:not(.slick-initialized) > .prod-col {
    padding-inline-start:0; padding-inline-end:8px;
  }
}
/* v04: hide favorites in homepage product cards only; data and original nodes remain. */
body.rtl[data-template="home"] .home-products-section .product-item .add-to-wishlist { display:none !important; }
/* v05: approved 1192 x 340 artwork. No cropping, overlays, redraw or section move. */
body.rtl[data-template="home"] .hmd-v05-approved-banner { display:none; }
body.rtl[data-template="home"] .hmd-v05-detail-ready .box-1-1::before { display:none; }
body.rtl[data-template="home"] .hmd-v05-detail-ready .box-1-1 { height:auto; }
body.rtl[data-template="home"] .hmd-v05-detail-ready .slider-item .content { position:static; height:auto; padding:0!important; border:0!important; border-radius:0!important; overflow:visible!important; background:transparent!important; }
body.rtl[data-template="home"] .hmd-v05-detail-link { display:block!important; height:auto!important; background:transparent!important; }
body.rtl[data-template="home"] .hmd-v05-detail-link > img:not(.hmd-v05-approved-banner),
body.rtl[data-template="home"] .hmd-v05-detail-link > div { display:none!important; }
body.rtl[data-template="home"] .hmd-v05-detail-link > .hmd-v05-approved-banner { position:static!important; display:block!important; width:100%!important; height:auto!important; max-width:100%!important; object-fit:contain!important; border-radius:0; }
/* Restyle only actual footer components; all existing content, payment and tax links remain. */
body.rtl[data-template="home"] .footer-store-section { padding:32px 0 20px; border-top:1px solid #d1d9cf; }
body.rtl[data-template="home"] .footer-about-us-links-div { margin:0 0 16px; }
body.rtl[data-template="home"] .footer-about-us-links-div h2 { font-size:17px; line-height:1.6; margin:0 0 8px; }
body.rtl[data-template="home"] .footer-about-us-links-div p { font-size:13px; line-height:1.9; margin:0; max-width:650px; }
body.rtl[data-template="home"] .social-icons { gap:8px; }
body.rtl[data-template="home"] .social-icons a { display:flex; align-items:center; justify-content:center; width:36px; height:36px; border:1px solid #b4c3b2; border-radius:50%; margin:0; }
body.rtl[data-template="home"] .social-icons a span,
body.rtl[data-template="home"] .social-icons a svg { width:18px; height:18px; font-size:18px; }
body.rtl[data-template="home"] .footer-companies,
body.rtl[data-template="home"] .footer-copyrights-vat-certificate { background:#e8ede7; color:#28382c; }
body.rtl[data-template="home"] .footer-store-section-bars { padding:14px 0; margin:0; border-color:#d1d9cf; }
body.rtl[data-template="home"] .logistics-pay-icons { gap:8px; align-items:center; }
body.rtl[data-template="home"] .logistics-pay-icons a { display:flex; align-items:center; justify-content:center; width:64px; height:36px; padding:6px; margin:0; border:1px solid #d1d9cf; border-radius:10px; background:#f6f8f3; }
body.rtl[data-template="home"] .logistics-pay-icons img { display:block; width:auto!important; height:auto!important; max-height:24px!important; max-width:50px!important; object-fit:contain; }
body.rtl[data-template="home"] .footer-copyrights-vat-certificate .vat-crn-sections { padding:8px 0!important; font-size:12px; }
body.rtl[data-template="home"] .footer-copyrights p { margin:0; }
@media (max-width:767px) {
 body.rtl[data-template="home"] .footer-store-section { padding:24px 0 12px; }
 body.rtl[data-template="home"] .footer-store-section > .container > .row > .col-12 { flex:0 0 100%; max-width:100%; }
 body.rtl[data-template="home"] .footer-about-us-links-div { margin-bottom:12px; }
 body.rtl[data-template="home"] .footer-about-us-links-div h2:empty { margin:0; padding:0!important; }
 body.rtl[data-template="home"] .footer-copyrights-vat-certificate .footer-store-section-bars { gap:8px; }
}


/* Normalize footer rail widths without removing a single logo or legal line. */
body.rtl[data-template="home"] .footer-companies .icons { width:100%; }
body.rtl[data-template="home"] .logistics-pay-icons { display:flex; flex-direction:row; flex-wrap:wrap; justify-content:center; width:100%; margin:0; padding:0!important; }
body.rtl[data-template="home"] .footer-store-section-bars { min-height:0; }
@media (max-width:767px) {
 body.rtl[data-template="home"] .footer-store-section .col-12 { width:100%; max-width:100%; flex-basis:100%; }
 body.rtl[data-template="home"] .footer-store-section .col-lg-7 { display:block!important; }
 body.rtl[data-template="home"] .footer-store-section .row { display:block; }
}

body.rtl[data-template="home"] .footer-about-us-div { padding:0; }

/* v06: an inset rounded FRAME, never a mask over the approved source photo. */
body.rtl[data-template="home"] .hmd-v05-detail-ready .slider-item .content {
 padding:16px!important; border:1px solid #cbd5c9!important; border-radius:30px!important;
 background:#e5ebe2!important; overflow:visible!important; box-sizing:border-box;
}
body.rtl[data-template="home"] .hmd-v05-detail-ready .slider-item,
body.rtl[data-template="home"] .hmd-v05-detail-ready .box-1-1,
body.rtl[data-template="home"] .hmd-v05-detail-link {overflow:visible!important; border-radius:0!important; clip-path:none!important; mask:none!important;}
body.rtl[data-template="home"] .hmd-v05-detail-link > .hmd-v05-approved-banner {
 border-radius:0!important;clip-path:none!important;mask:none!important;object-fit:contain!important;
}
/* Footer is explicitly structured from existing nodes. No generated facts or duplicate links. */
body.rtl[data-template="home"] footer.hmd-v06-footer {margin-top:24px;}
body.rtl[data-template="home"] .hmd-v06-footer .footer-store-section {background:#e9eee6;border:0;border-radius:32px 32px 0 0;padding:26px 0 20px;}
body.rtl[data-template="home"] .hmd-v06-footer .footer-store-section > .container > .row {display:flex;align-items:start;gap:32px;}
body.rtl[data-template="home"] .hmd-v06-footer .footer-store-section > .container > .row > .col-lg-5 {flex:1;max-width:none;}
body.rtl[data-template="home"] .hmd-v06-footer .footer-store-section > .container > .row > .col-lg-7 {flex:1;max-width:none;}
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-empty-col {display:none!important;}
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-contact-col {flex:0 0 100%;max-width:100%;}
body.rtl[data-template="home"] .hmd-v06-footer .footer-about-us-links-div {margin:0;}
body.rtl[data-template="home"] .hmd-v06-footer .footer-about-us-links-div h2 {font-size:15px;line-height:1.5;margin:0 0 10px;padding:0!important;font-weight:700;}
body.rtl[data-template="home"] .hmd-v06-footer .footer-about-us-div p {font-size:13px;line-height:1.9;color:#53604f;max-width:540px;}
body.rtl[data-template="home"] .hmd-v06-direct-contact {display:flex;gap:8px;margin:0 0 20px;flex-wrap:wrap;}
body.rtl[data-template="home"] .hmd-v06-direct-contact a {display:flex;align-items:center;justify-content:center;gap:9px;padding:10px 13px;min-height:44px;border:1px solid #9ba995;border-radius:999px;color:#263324;background:transparent;text-decoration:none;font-size:12px;}
body.rtl[data-template="home"] .hmd-v06-direct-contact .hmd-v06-contact-value {direction:ltr;unicode-bidi:isolate;}
body.rtl[data-template="home"] .hmd-v06-direct-contact a>span:first-child {font-size:17px;width:18px;height:18px;}
body.rtl[data-template="home"] .hmd-v06-footer .social-icons {gap:10px;}
body.rtl[data-template="home"] .hmd-v06-footer .social-icons a {width:44px;height:44px;border:1px solid #9ba995;background:transparent;}
body.rtl[data-template="home"] .hmd-v06-footer .social-icons a span,
body.rtl[data-template="home"] .hmd-v06-footer .social-icons a svg {width:18px;height:18px;font-size:18px;}
body.rtl[data-template="home"] .hmd-v06-footer .footer-companies {background:#f5f7f2;padding:20px 0 18px;border-top:1px solid #d9e0d4;}
body.rtl[data-template="home"] .hmd-v06-footer .footer-companies .footer-store-section-bars {padding:0;border:0;}
body.rtl[data-template="home"] .hmd-v06-footer .logistics-pay-icons {display:flex;gap:20px;align-items:flex-start;justify-content:space-between;}
body.rtl[data-template="home"] .hmd-v06-method-group {flex:1;min-width:0;}
body.rtl[data-template="home"] .hmd-v06-method-group h3 {font-size:12px;line-height:1.5;color:#53604f;margin:0 0 10px;font-weight:600;text-align:right;}
body.rtl[data-template="home"] .hmd-v06-method-logos {display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
body.rtl[data-template="home"] .hmd-v06-footer .logistics-pay-icons a {width:56px;height:34px;padding:5px;border:1px solid #dce2d7;border-radius:9px;background:#fff;box-sizing:border-box;}
body.rtl[data-template="home"] .hmd-v06-footer .logistics-pay-icons img {max-width:46px!important;max-height:22px!important;}
body.rtl[data-template="home"] .hmd-v06-footer .footer-copyrights-vat-certificate {background:#f5f7f2;color:#66705f;}
body.rtl[data-template="home"] .hmd-v06-footer .footer-copyrights-vat-certificate .footer-store-section-bars {padding:14px 0 18px;border-top:1px solid #dce2d7;gap:12px;}
body.rtl[data-template="home"] .hmd-v06-footer .vat-number {font-size:11px;line-height:1.8;}
body.rtl[data-template="home"] .hmd-v06-footer .vat-number span:last-child {direction:ltr;unicode-bidi:isolate;display:inline-block;}
body.rtl[data-template="home"] .hmd-v06-footer a:focus-visible {outline:2px solid #43543c;outline-offset:4px;}
@media(max-width:767px){
 body.rtl[data-template="home"] .hmd-v05-detail-ready .slider-item .content {padding:12px!important;border-radius:26px!important;}
 body.rtl[data-template="home"] .hmd-v06-footer .footer-store-section > .container > .row {display:flex;flex-direction:column;gap:22px;}
 body.rtl[data-template="home"] .hmd-v06-footer .footer-store-section > .container > .row > .col-lg-5,
 body.rtl[data-template="home"] .hmd-v06-footer .footer-store-section > .container > .row > .col-lg-7 {flex:0 0 auto;width:100%;}
 body.rtl[data-template="home"] .hmd-v06-footer .footer-store-section > .container > .row > .col-lg-7 {order:-1;}
 body.rtl[data-template="home"] .hmd-v06-footer .footer-about-us-div {border-top:1px solid #cdd7c7;padding-top:18px;}
 body.rtl[data-template="home"] .hmd-v06-direct-contact {display:flex;flex-direction:column;margin-bottom:18px;gap:8px;}
 body.rtl[data-template="home"] .hmd-v06-direct-contact a {width:100%;box-sizing:border-box;justify-content:flex-start;padding-inline:15px;}
 body.rtl[data-template="home"] .hmd-v06-footer .logistics-pay-icons {flex-direction:column;gap:18px;}
 body.rtl[data-template="home"] .hmd-v06-method-group {width:100%;flex:auto;}
 body.rtl[data-template="home"] .hmd-v06-footer .footer-copyrights-vat-certificate .footer-store-section-bars {flex-direction:column-reverse;align-items:center;}
}

body.rtl[data-template="home"] .footer-copyrights img {width:28px;height:auto;display:block;}

body.rtl[data-template="home"] .hmd-v06-method-logos {direction:rtl;justify-content:flex-start;}
body.rtl[data-template="home"] .hmd-v06-footer .footer-copyrights a {white-space:nowrap;gap:6px!important;}
body.rtl[data-template="home"] .hmd-v06-footer .footer-copyrights p {white-space:nowrap;width:auto!important;flex-shrink:0;}
body.rtl[data-template="home"] .hmd-v06-footer .logistics-pay-icons a {height:38px;}
body.rtl[data-template="home"] .hmd-v06-footer .logistics-pay-icons img[src*="visa-circle"],
body.rtl[data-template="home"] .hmd-v06-footer .logistics-pay-icons img[src*="mastercard-circle"],
body.rtl[data-template="home"] .hmd-v06-footer .logistics-pay-icons img[src*="amex"],
body.rtl[data-template="home"] .hmd-v06-footer .logistics-pay-icons img[src*="footer_native_3"],
body.rtl[data-template="home"] .hmd-v06-footer .logistics-pay-icons img[src*="footer_native_4"],
body.rtl[data-template="home"] .hmd-v06-footer .logistics-pay-icons img[src*="footer_native_6"] {max-height:28px!important;}

body.rtl[data-template="home"] .hmd-v06-footer .logistics-pay-icons a {direction:ltr;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 56px;min-width:0;max-width:56px;margin:0!important;transform:none!important;position:static!important;}
body.rtl[data-template="home"] .hmd-v06-footer .logistics-pay-icons img {margin:0!important;padding:0!important;transform:none!important;position:static!important;flex-shrink:1;}
body.rtl[data-template="home"] .hmd-v06-method-logos {display:grid;grid-template-columns:repeat(7,56px);gap:8px;justify-content:start;direction:rtl;}
@media(max-width:1100px){body.rtl[data-template="home"] .hmd-v06-method-logos {grid-template-columns:repeat(5,56px);}}
@media(max-width:359px){body.rtl[data-template="home"] .hmd-v06-method-logos {grid-template-columns:repeat(4,56px);}}
body.rtl[data-template="home"] .hmd-v06-method-logos {width:max-content;max-width:100%;margin-left:auto;margin-right:0;}
body.rtl[data-template="home"] .hmd-v06-method-group:last-child .hmd-v06-method-logos {grid-template-columns:repeat(2,56px);}
/* Compact rhythm: readable copy and 44px contact targets are unchanged. */
body.rtl[data-template="home"] .hmd-v06-footer .footer-store-section {padding-top:20px;padding-bottom:16px;}
body.rtl[data-template="home"] .hmd-v06-footer .footer-about-us-links-div h2 {margin-bottom:6px;}
body.rtl[data-template="home"] .hmd-v06-direct-contact {margin-bottom:12px;}
body.rtl[data-template="home"] .hmd-v06-footer .footer-companies {padding-top:14px;padding-bottom:10px;}
body.rtl[data-template="home"] .hmd-v06-method-group {margin:0!important;padding:0!important;min-height:0!important;height:auto!important;}
body.rtl[data-template="home"] .hmd-v06-method-group h3 {padding:0!important;margin:0 0 6px!important;}
body.rtl[data-template="home"] .hmd-v06-method-logos {padding:0!important;margin-top:0!important;margin-bottom:0!important;}
body.rtl[data-template="home"] .hmd-v06-footer .footer-copyrights-vat-certificate .footer-store-section-bars {padding:8px 0 12px;gap:6px;}
body.rtl[data-template="home"] .hmd-v06-footer .footer-copyrights-vat-certificate .vat-crn-sections {padding:0!important;}
@media(max-width:767px){
 body.rtl[data-template="home"] .hmd-v06-footer .footer-store-section > .container > .row {gap:14px;}
 body.rtl[data-template="home"] .hmd-v06-footer .footer-about-us-div {padding-top:12px;}
 body.rtl[data-template="home"] .hmd-v06-direct-contact {margin-bottom:12px;}
 body.rtl[data-template="home"] .hmd-v06-footer .logistics-pay-icons {gap:12px;}
}
body.rtl[data-template="home"] .hmd-v06-social-row {display:flex;align-items:center;justify-content:space-between;gap:12px;}
body.rtl[data-template="home"] .hmd-v06-social-row h2 {margin:0!important;}
@media(max-width:767px){
 body.rtl[data-template="home"] .hmd-v06-contact-col > .footer-about-us-links-div {display:block;width:100%;}
 body.rtl[data-template="home"] .hmd-v06-direct-contact {display:flex;flex-direction:row;gap:8px;margin-bottom:12px;width:100%;}
 body.rtl[data-template="home"] .hmd-v06-direct-contact a {flex:1 1 0;width:auto;justify-content:center;padding-inline:10px;min-height:44px;font-size:12px;}
 body.rtl[data-template="home"] .hmd-v06-direct-contact .hmd-v06-contact-value {direction:rtl;}
 body.rtl[data-template="home"] .hmd-v06-social-row .social-icons {flex-wrap:nowrap;}
}
body.rtl[data-template="home"] .hmd-v06-social-row {direction:ltr;flex-direction:row-reverse;}
body.rtl[data-template="home"] .hmd-v06-social-row h2 {direction:rtl;flex:0 0 auto;}
body.rtl[data-template="home"] .hmd-v06-social-row .social-icons {direction:ltr;flex-direction:row-reverse;width:152px;flex:0 0 152px;justify-content:flex-start;}
body.rtl[data-template="home"] .hmd-v06-social-row .social-icons a {flex:0 0 44px;box-sizing:border-box;}
body.rtl[data-template="home"] .hmd-v06-direct-contact .hmd-v06-contact-value {white-space:nowrap;flex:0 0 auto;}
@media(max-width:767px){body.rtl[data-template="home"] .hmd-v06-direct-contact a {height:44px;box-sizing:border-box;}}
/* HMD-MODERN-ROUND-V06-END */
/* HMD-HEADER10-V07-START
 * INTERNAL CANDIDATE ONLY. Append AFTER the existing v06 CSS.
 * Approved Header_10: original logo above menu / search / cart capsule.
 * Existing Zid Soft header nodes, icons, hrefs and handlers are untouched.
 * New JavaScript: ZERO. Native theme JavaScript is still required for menu/search.
 * Mobile only (through 767px); desktop and footer have no matching rules here.
 * Rollback: remove this entire standalone block. No markup rollback required.
 */
@media (max-width: 767px) {
  body.rtl[data-template="home"] .header .search-header {
    /* The native logo is a white-backed JPEG: keep its source/colours intact. */
    background: #fff;
    padding: 16px 0 20px !important;
  }
  body.rtl[data-template="home"] .header .search-header-bar {
    position: relative;
    display: block !important;
    box-sizing: border-box;
    width: 288px;
    max-width: 100%;
    height: 178px !important;
    margin: 0 auto;
    padding: 0;
  }
  body.rtl[data-template="home"] .header .search-header-bar::before {
    /* Decoration only: never intercept native buttons, badge or popover. */
    content: "";
    position: absolute;
    inset: auto 0 0;
    box-sizing: border-box;
    height: 60px;
    border: 1.5px solid #d5dbd2;
    border-radius: 999px;
    pointer-events: none;
  }
  body.rtl[data-template="home"] .header .search-header-bar > .header-logo {
    position: static;
    display: block !important;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
  }
  body.rtl[data-template="home"] .header .header-logo > a {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px !important;
    height: 100px !important;
    padding: 0;
    margin: 0;
  }
  body.rtl[data-template="home"] .header .header-logo .image-logo {
    width: 100px !important;
    height: 100px !important;
    max-width: 100%;
    max-height: 100% !important;
    object-fit: contain;
    border-radius: 0;
  }
  body.rtl[data-template="home"] .header .header-logo > .icon-menu-top {
    /* !important is intentional: native button has inline all:unset. */
    position: absolute !important;
    inset: auto auto 0 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 33.333333% !important;
    height: 60px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px 0 0 999px !important;
    background: transparent !important;
    color: var(--hmd-mr-ink, #202821) !important;
    cursor: pointer !important;
  }
  body.rtl[data-template="home"] .header .search-header-bar > .header-cart {
    /* Occupy only the two right cells; never cover the menu click target. */
    position: absolute;
    inset: auto 0 0 auto;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: flex-start !important;
    direction: ltr;
    width: 66.666667%;
    height: 60px;
    margin: 0;
    padding: 0;
    gap: 0;
    flex-grow: 0;
    overflow: visible;
  }
  body.rtl[data-template="home"] .header .header-cart > .sm-search-icon,
  body.rtl[data-template="home"] .header .header-cart > div:last-child {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex: 0 0 50%;
    width: 50%;
    height: 60px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    margin: 0;
  }
  body.rtl[data-template="home"] .header .header-cart > .sm-search-icon::before,
  body.rtl[data-template="home"] .header .header-cart > div:last-child::before {
    content: "";
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: 0;
    width: 1px;
    background: #d5dbd2;
    pointer-events: none;
  }
  body.rtl[data-template="home"] .header .header-cart .a-shopping-cart {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 60px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0 999px 999px 0;
    background: transparent;
  }
  body.rtl[data-template="home"] .header .icon-menu-top > span,
  body.rtl[data-template="home"] .header .sm-search-icon > span,
  body.rtl[data-template="home"] .header .a-shopping-cart > .icon-shopping_cart_black_36dp-1-1 {
    display: inline-block;
    font-size: 28px;
    line-height: 1;
    color: var(--hmd-mr-ink, #202821);
  }
  body.rtl[data-template="home"] .header .a-shopping-cart .cart-badge {
    top: 5px;
    right: 15px;
    left: auto;
    /* Native .d-none and count text continue to control visibility/content. */
  }
  body.rtl[data-template="home"] .header .header-logo > a:focus-visible,
  body.rtl[data-template="home"] .header .icon-menu-top:focus-visible,
  body.rtl[data-template="home"] .header .sm-search-icon:focus-visible,
  body.rtl[data-template="home"] .header .a-shopping-cart:focus-visible {
    outline: 2px solid #596952 !important;
    outline-offset: 3px !important;
  }
}
/* HMD-HEADER10-V07-END */
/* HMD-FOOTER04-V07-START
 * INTERNAL CANDIDATE ONLY. CSS presentation over unchanged v06 footer structure.
 * Approved Footer_04: one rounded panel, right-side row labels, original content.
 * No added JavaScript; keep the existing v06 one-time semantic grouping script.
 * All original text, nine logo files, contact/social/legal links remain intact.
 */
body.rtl[data-template="home"] footer.hmd-v06-footer {
  width: calc(100% - 24px);
  max-width: 940px;
  box-sizing: border-box;
  margin: 28px auto 20px;
  padding: 20px 14px 16px;
  border: 1px solid #d7ded1;
  border-radius: 28px;
  background: #edf1e9;
  color: #263324;
}
body.rtl[data-template="home"] .hmd-v06-footer .footer-store-section,
body.rtl[data-template="home"] .hmd-v06-footer .footer-companies,
body.rtl[data-template="home"] .hmd-v06-footer .footer-copyrights-vat-certificate {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
body.rtl[data-template="home"] .hmd-v06-footer .container,
body.rtl[data-template="home"] .hmd-v06-footer .row,
body.rtl[data-template="home"] .hmd-v06-footer .footer-store-section .col-12,
body.rtl[data-template="home"] .hmd-v06-footer .footer-store-section .col-lg-4 {
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body.rtl[data-template="home"] .hmd-v06-footer .footer-store-section > .container > .row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
body.rtl[data-template="home"] .hmd-v06-footer .footer-store-section > .container > .row > .col-lg-5,
body.rtl[data-template="home"] .hmd-v06-footer .footer-store-section > .container > .row > .col-lg-7 {
  display: block;
  flex: 0 0 auto;
  width: 100%;
}
body.rtl[data-template="home"] .hmd-v06-footer .footer-store-section > .container > .row > .col-lg-7 {order:-1;}
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-contact-col > .footer-about-us-links-div,
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-social-row,
body.rtl[data-template="home"] .hmd-v06-footer .footer-about-us-div,
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-method-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  column-gap: 14px;
  direction: ltr;
  width: 100%;
  margin: 0;
}
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-contact-col > .footer-about-us-links-div > h2,
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-social-row > h2,
body.rtl[data-template="home"] .hmd-v06-footer .footer-about-us-div > h2,
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-method-group > h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 5px 0 5px 12px !important;
  border-left: 1px dashed #cbd4c5;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  text-align: right;
  direction: rtl;
  color: #263324;
}
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-direct-contact,
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-social-row > .social-icons,
body.rtl[data-template="home"] .hmd-v06-footer .footer-about-us-div > p,
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-method-logos {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  margin: 0 !important;
}
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-direct-contact {
  display: flex;
  flex-direction: row;
  direction: rtl;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  width: 100%;
}
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-direct-contact a {
  flex: 1 1 0;
  box-sizing: border-box;
  width: auto;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  gap: 6px;
  padding: 8px 7px;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-direct-contact a > span:first-child {flex:0 0 17px;}
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-contact-value {direction:rtl;}
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-social-row {
  grid-column: 1 / -1;
  grid-row: 2;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #dce3d7;
}
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-social-row .social-icons {
  display: flex;
  flex-direction: row-reverse;
  direction: ltr;
  flex-wrap: nowrap;
  justify-content: flex-start;
  justify-self: start;
  gap: 12px;
  width: auto;
  max-width: 100%;
  padding: 0;
}
body.rtl[data-template="home"] .hmd-v06-footer .social-icons a {
  display: flex;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 46px;
  height: 46px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
}
body.rtl[data-template="home"] .hmd-v06-footer .social-icons a span,
body.rtl[data-template="home"] .hmd-v06-footer .social-icons a svg {
  width: 21px;
  height: 21px;
  font-size: 21px;
}
body.rtl[data-template="home"] .hmd-v06-footer .footer-about-us-div {
  margin-top: 16px;
  padding: 16px 0;
  border-top: 1px dashed #cbd4c5;
  border-bottom: 1px dashed #cbd4c5;
}
body.rtl[data-template="home"] .hmd-v06-footer .footer-about-us-div p {
  max-width: none;
  font-size: 13px;
  line-height: 1.95;
  text-align: right;
  direction: rtl;
  color: #53604f;
}
body.rtl[data-template="home"] .hmd-v06-footer .footer-companies .footer-store-section-bars,
body.rtl[data-template="home"] .hmd-v06-footer .footer-icons,
body.rtl[data-template="home"] .hmd-v06-footer .icons-wrapper,
body.rtl[data-template="home"] .hmd-v06-footer .icons {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}
body.rtl[data-template="home"] .hmd-v06-footer .logistics-pay-icons {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
  width: 100%;
}
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-method-group {
  margin: 0 !important;
  padding: 16px 0 !important;
}
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-method-group + .hmd-v06-method-group {border-top:1px dashed #cbd4c5;}
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-method-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-start;
  direction: rtl;
  width: 100%;
  max-width: 100%;
  padding: 0 !important;
}
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-method-group:last-child .hmd-v06-method-logos {width:100%;}
body.rtl[data-template="home"] .hmd-v06-footer .logistics-pay-icons a {
  display: flex !important;
  flex: 0 0 44px;
  box-sizing: border-box;
  width: 44px;
  min-width: 44px;
  max-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 4px;
  border: 1px solid #d1d9ca;
  border-radius: 9px;
  background: #fff;
}
body.rtl[data-template="home"] .hmd-v06-footer .logistics-pay-icons img {
  max-width: 34px !important;
  max-height: 28px !important;
  object-fit: contain;
}
body.rtl[data-template="home"] .hmd-v06-footer .footer-copyrights-vat-certificate .footer-store-section-bars {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 0 0;
  border-top: 1px solid #bac5b4;
}
body.rtl[data-template="home"] .hmd-v06-footer .vat-crn-sections {padding:0!important;}
body.rtl[data-template="home"] .hmd-v06-footer .vat-number {font-size:11px;line-height:1.8;text-align:center;}
body.rtl[data-template="home"] .hmd-v06-footer .footer-copyrights a {min-height:44px;}
body.rtl[data-template="home"] .hmd-v06-footer .footer-copyrights p {margin:0;}
@media(max-width:767px) {
  body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-contact-col > .footer-about-us-links-div,
  body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-social-row,
  body.rtl[data-template="home"] .hmd-v06-footer .footer-about-us-div,
  body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-method-group {
    grid-template-columns: minmax(0, 1fr) 72px;
    column-gap: 12px;
  }
  body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-contact-col > .footer-about-us-links-div > h2,
  body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-social-row > h2,
  body.rtl[data-template="home"] .hmd-v06-footer .footer-about-us-div > h2,
  body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-method-group > h3 {
    font-size: 14px;
    padding-left: 8px !important;
  }
}
@media(max-width:359px) {
  body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-contact-col > .footer-about-us-links-div,
  body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-social-row,
  body.rtl[data-template="home"] .hmd-v06-footer .footer-about-us-div,
  body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-method-group {
    grid-template-columns: minmax(0, 1fr) 62px;
    column-gap: 10px;
  }
  body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-direct-contact {flex-wrap:wrap;}
  body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-direct-contact a {flex-basis:100%;}
}
/* Stable contact row: native heading / contact block / social block, no nested
   spanning grid needed. Four columns below 390px preserve 44px logo targets. */
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-contact-col > .footer-about-us-links-div {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  direction: rtl;
  gap: 0 14px;
}
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-contact-col > .footer-about-us-links-div > h2 {flex:0 0 110px;}
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-direct-contact {flex:1 1 0;width:auto;}
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-social-row {flex:0 0 100%;}
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-method-logos {
  display: grid;
  grid-template-columns: repeat(7,44px);
  justify-content: end;
}
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-method-group:last-child .hmd-v06-method-logos {grid-template-columns:repeat(2,44px);}
@media(max-width:767px) {
  body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-contact-col > .footer-about-us-links-div {column-gap:12px;}
  body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-contact-col > .footer-about-us-links-div > h2 {flex-basis:72px;}
  body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-method-logos {grid-template-columns:repeat(5,44px);}
}
@media(max-width:389px) {
  body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-method-logos {grid-template-columns:repeat(4,44px);}
}
@media(max-width:359px) {
  body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-contact-col > .footer-about-us-links-div {column-gap:10px;}
  body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-contact-col > .footer-about-us-links-div > h2 {flex-basis:62px;}
}
/* Match approved original-logo sequence left-to-right without RTL grid ambiguity. */
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-method-logos {direction:ltr;justify-content:start;}
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-method-group:last-child .hmd-v06-method-logos {
  width:94px;
  justify-self:end;
  margin-left:auto!important;
  margin-right:0!important;
}
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-social-row > h2 {min-width:0;white-space:normal;overflow-wrap:normal;}


/* Shipping has two native links: single-line flex avoids double grid alignment. */
body.rtl[data-template="home"] .hmd-v06-footer .hmd-v06-method-group:last-child .hmd-v06-method-logos {
  display:flex;
  flex-wrap:nowrap;
  width:100%;
  justify-self:stretch;
  justify-content:flex-end;
  margin-left:0!important;
  margin-right:0!important;
}
/* HMD-FOOTER04-V07-END */
/* HMD-REFINEMENTS-V08-START
 * Internal candidate: unified section tone, radius on the approved image itself,
 * transparent initial header and strongly frosted glass after scrolling.
 * Native logo/image bytes and Header10/Footer04 nodes remain unchanged.
 * .hmd-v08-scrolled is owned only by the small optional v08 state helper;
 * it is NOT presented as a verified native theme scroll-state class.
 */
body.rtl[data-template="home"] {
  --hmd-mr-bg: #f1f3f1;
  background-color: var(--hmd-mr-bg) !important;
}
body.rtl[data-template="home"] .app,
body.rtl[data-template="home"] .main,
body.rtl[data-template="home"] .home,
body.rtl[data-template="home"] .home > section,
body.rtl[data-template="home"] .home > .home-products-section,
body.rtl[data-template="home"] footer.hmd-v06-footer {
  background: var(--hmd-mr-bg) !important;
}
/* Remove the former padded frame. Only the actual approved image is rounded. */
body.rtl[data-template="home"] .hmd-v05-detail-ready .slider-item .content,
body.rtl[data-template="home"] .hmd-v05-detail-ready .box-1-1,
body.rtl[data-template="home"] .hmd-v05-detail-link {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}
body.rtl[data-template="home"] .hmd-v05-detail-link > .hmd-v05-approved-banner {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 24px !important;
}
/* Preserve the source JPEG. Browser compositing removes its white rectangle. */
body.rtl[data-template="home"] .header .image-logo {mix-blend-mode:multiply;padding:0!important;}
@media(max-width:767px) {
  body.rtl[data-template="home"] .header {
    position: sticky;
    top: 0;
    z-index: 3;
    min-height: 214px;
    background: transparent;
  }
  body.rtl[data-template="home"] .header .search-header,
  body.rtl[data-template="home"] .header #fixed-header {
    background: transparent;
  }
  body.rtl[data-template="home"] .header #fixed-header {
    /* Do not clip native search suggestions, cart badge, menu or gift popover. */
    overflow: visible;
  }
  body.rtl[data-template="home"] .hmd-v05-detail-link > .hmd-v05-approved-banner {border-radius:22px!important;}
  body.rtl[data-template="home"].hmd-v08-scrolled .header #fixed-header {
    /* Dense opaque fallback: rear details stay obscured without filter support. */
    background: rgba(241,243,241,.98);
    box-shadow: inset 0 -1px 0 rgba(255,255,255,.7), 0 8px 22px rgba(32,40,33,.07);
  }
  @supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
    body.rtl[data-template="home"].hmd-v08-scrolled .header #fixed-header {
      background: rgba(241,243,241,.88);
      -webkit-backdrop-filter: blur(28px) saturate(.7);
      backdrop-filter: blur(28px) saturate(.7);
    }
  }
}
/* HMD-REFINEMENTS-V08-END */
/* HMD-GLASS-TRANSPARENCY-V09-START
 * Narrow correction: true transparent header, NO colour/tint fill in either state.
 * Existing 1619-byte v08 class-only state helper is unchanged.
 * Native original JPEG logo still uses multiply; no regenerated/recoloured asset.
 * Browsers without backdrop-filter remain transparent but UNBLURRED.
 */
@media(max-width:767px) {
  body.rtl[data-template="home"] .header,
  body.rtl[data-template="home"] .header > header,
  body.rtl[data-template="home"] .header #fixed-header,
  body.rtl[data-template="home"] .header #fixed-header > div,
  body.rtl[data-template="home"] .header .search-header,
  body.rtl[data-template="home"] .header .search-header > .container,
  body.rtl[data-template="home"] .header .search-header-bar,
  body.rtl[data-template="home"] .header .search-header-bar::before,
  body.rtl[data-template="home"] .header .header-logo,
  body.rtl[data-template="home"] .header .header-logo > a,
  body.rtl[data-template="home"] .header .header-cart,
  body.rtl[data-template="home"] .header .header-cart > div,
  body.rtl[data-template="home"] .header .a-shopping-cart,
  body.rtl[data-template="home"] .header .icon-menu-top,
  body.rtl[data-template="home"] .header .sm-search-icon,
  body.rtl[data-template="home"] .header .upper-bar {
    background: transparent !important;
    background-image: none !important;
  }
  body.rtl[data-template="home"] .header #fixed-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  body.rtl[data-template="home"].hmd-v08-scrolled .header #fixed-header {
    /* The actual page colours transmit through blurred glass, not a paint layer. */
    background: transparent !important;
    -webkit-backdrop-filter: blur(28px);
    backdrop-filter: blur(28px);
  }
}


/* Glyph-local contrast only: no header/control fill and no additional JS. */
@media(max-width:767px) {
  body.rtl[data-template="home"].hmd-v08-scrolled .header .icon-menu-top > span,
  body.rtl[data-template="home"].hmd-v08-scrolled .header .sm-search-icon > span,
  body.rtl[data-template="home"].hmd-v08-scrolled .header .a-shopping-cart > .icon-shopping_cart_black_36dp-1-1 {
    text-shadow: -1px 0 rgba(255,255,255,.9), 1px 0 rgba(255,255,255,.9), 0 -1px rgba(255,255,255,.9), 0 1px rgba(255,255,255,.9);
  }
}
/* HMD-GLASS-TRANSPARENCY-V09-END */
/* HMD-TRANSPARENT-LOGO-V10-START
 * User-authorized generated transparent PNG, NOT a pixel-identical extraction.
 * Replace the existing native logo media source with the supplied PNG through
 * the existing theme setting when installation/upload is separately authorized.
 * No URL is invented here and no new JS/element/handler is added.
 * PNG guard prevents changing the still-original JPEG before that replacement.
 */
body.rtl[data-template="home"] .header .image-logo[src*=".png"] {
  mix-blend-mode: normal !important;
}
/* HMD-TRANSPARENT-LOGO-V10-END */

/* Original-theme overlay only; homepage mobile; existing v08 state helper required. */
@media (max-width:767px) {
  body.rtl[data-template="home"] .header {
    position:fixed !important; inset:0 0 auto !important; width:100% !important;
    min-height:0 !important; margin:0 !important; background:transparent !important;
    visibility:hidden; opacity:0; pointer-events:none; transform:translateY(-100%);
    transition:opacity .18s ease,transform .18s ease,visibility .18s; z-index:30;
  }
  body.rtl[data-template="home"].hmd-v08-scrolled .header {
    visibility:visible; opacity:1; pointer-events:auto; transform:translateY(0);
  }
  /* Observed native sticky padding must not reserve a blank hero strip. */
  body.rtl[data-template="home"] .app-content,
  body.rtl[data-template="home"] .app-content-padded {padding-top:0 !important;}
  body.rtl[data-template="home"] .home > [section-id="2540a943-2cb2-4f88-940b-2a31d1a2649d"] {padding-top:0 !important; margin-top:0 !important;}
  body.rtl[data-template="home"] .home-products-section {scroll-margin-top:230px;}
}
@media (max-width:767px) and (prefers-reduced-motion:reduce) {
  body.rtl[data-template="home"] .header {transition:none;}
}
