html {
  scrollbar-width: thin;
}

body {
  overflow-x: hidden;
}

.search-header-bar > * {
  height: auto;
  min-height: 0;
  align-self: center;
}

/* Prevent listing pages from causing horizontal page scroll */
.products-listing-layout,
.products-container {
  max-width: 100%;
  min-width: 0;
}

.products-filter-new-design {
  max-width: 100%;
  position: relative;
  z-index: 20;
  overflow: visible;
}

/* Grid System for Product List
   >1024: 5 cols (no filters) / 3 cols (with filters)
   1024→900: 4 | 900→700: 3 | 700→320: 2
   IMPORTANT: never leave a high-specificity 5-col rule outside min-width —
   it beats responsive !important rules via specificity. */
.products-container .products-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 0 !important;
  margin-bottom: 32px !important;
  width: 100%;
  max-width: 100%;
}

.products-container .products-list .prod-col {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding: 0 !important;
  min-width: 0;
  overflow: visible;
}

.products-container .products-list.grid-compact {
  gap: 12px !important;
}

/* 700px → 320px stays at default 2 cols (base rule above) */
@media (max-width: 700px) {
  .products-container .products-list,
  .products-container .products-list.grid-compact {
    gap: 8px !important;
  }
}

/* 900px → 700px: 3 products */
@media (min-width: 701px) and (max-width: 900px) {
  .products-listing-layout:not(:has(.product-attributes)) .products-container .products-list,
  .products-listing-layout--no-filters .products-container .products-list,
  .products-listing-layout:has(.product-attributes) .products-container .products-list,
  .products-listing-layout--with-filters .products-container .products-list,
  .products-listing-layout .products-container .products-list,
  .products-container .products-list,
  .products-container .products-list--with-filters,
  .products-listing-layout:not(:has(.product-attributes)) .products-container .products-list.grid-compact,
  .products-listing-layout--no-filters .products-container .products-list.grid-compact,
  .products-listing-layout:has(.product-attributes) .products-container .products-list.grid-compact,
  .products-container .products-list.grid-compact,
  .products-container .products-list--with-filters.grid-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* 1024px → 900px: 4 products */
@media (min-width: 901px) and (max-width: 1024px) {
  .products-listing-layout:not(:has(.product-attributes)) .products-container .products-list,
  .products-listing-layout--no-filters .products-container .products-list,
  .products-listing-layout:has(.product-attributes) .products-container .products-list,
  .products-listing-layout--with-filters .products-container .products-list,
  .products-listing-layout .products-container .products-list,
  .products-container .products-list,
  .products-container .products-list--with-filters,
  .products-listing-layout:not(:has(.product-attributes)) .products-container .products-list.grid-compact,
  .products-listing-layout--no-filters .products-container .products-list.grid-compact,
  .products-listing-layout:has(.product-attributes) .products-container .products-list.grid-compact,
  .products-container .products-list.grid-compact,
  .products-container .products-list--with-filters.grid-compact {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* >1024px: 5 without filters / 3 with filters */
@media (min-width: 1025px) {
  .products-listing-layout:not(:has(.product-attributes)) .products-container .products-list,
  .products-listing-layout--no-filters .products-container .products-list,
  .products-listing-layout:not(:has(.product-attributes)) .products-container .products-list.grid-compact,
  .products-listing-layout--no-filters .products-container .products-list.grid-compact,
  .products-container .products-list.grid-compact {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }

  .products-listing-layout:has(.product-attributes) .products-container .products-list,
  .products-listing-layout--with-filters:has(.product-attributes) .products-container .products-list,
  .products-container .products-list--with-filters,
  .products-listing-layout:has(.product-attributes) .products-container .products-list.grid-compact,
  .products-container .products-list--with-filters.grid-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

.products-filter-page-title {
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  min-width: 0;
  color: #111;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-align: start;
}

.view-icons,
.btn-view-type {
  display: none !important;
}

/* New Filter Design Styles */
.products-filter-new-design {
  background-color: transparent;
  margin-bottom: 20px;
}

.products-filter-new-design .border-bottom {
  border-bottom: 1px solid #ececec !important;
}

.products-filter-new-design .border-top {
  border-top: none !important;
}

/* Desktop: title + controls in one row */
.products-filter-toolbar-row {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 16px;
  padding-top: 8px !important;
  padding-bottom: 16px !important;
}

.products-filter-inline-sizes {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Mobile: filter/sort row first, size scroller full width underneath */
@media (max-width: 991px) {
  .products-filter-toolbar-row {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .products-filter-page-title {
    order: 0;
    font-size: 18px;
  }

  .products-filter-toolbar-controls {
    order: 1;
    width: 100%;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .products-filter-inline-sizes {
    order: 2;
    padding-bottom: 2px;
    width: 100%;
    max-width: 100%;
  }

  .products-filter-inline-sizes .attribute-options {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .products-filter-toolbar-end {
    flex: 1;
    justify-content: flex-end;
    min-width: 0;
  }
}

.btn-view-type {
  padding: 8px;
  color: #ccc;
  border: none;
  background: transparent;
}

.btn-view-type.active {
  color: #333;
  background: #f5f5f5;
  border-radius: 4px;
}

.btn-sort-new {
  border: 1px solid #e6e6e6;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: #222;
  border-radius: 999px;
  padding: 8px 14px;
  line-height: 1;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.btn-sort-new:hover,
.btn-sort-new[aria-expanded="true"] {
  border-color: #111;
  background: #fafafa;
}

.btn-sort-new .sort-chevron {
  transition: transform 0.2s ease;
}

.btn-sort-new[aria-expanded="true"] .sort-chevron {
  transform: rotate(180deg);
}

.attribute-label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.btn-attr-opt {
  border: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  min-width: 45px;
  text-align: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-attr-opt:hover {
  border-color: #333;
  color: #333;
}

.btn-attr-opt.active {
  background: #000;
  border-color: #000;
  color: #fff;
  white-space: nowrap;
}

.btn-attr-opt--color,
.btn-attr-opt--icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: auto;
  padding: 4px 10px;
}

.btn-attr-opt__swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.btn-attr-opt__icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.btn-attr-opt--color.active .btn-attr-opt__swatch,
.btn-attr-opt--icon.active .btn-attr-opt__icon {
  outline: 2px solid #fff;
  outline-offset: 1px;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.attribute-options {
  width: 100%;
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-inline: 10px;
}

.sort-dropdown-wrap {
  position: relative;
}

.sort-dropdown-wrap .dropdown-menu,
.sort-dropdown-wrap .sort-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  inset-inline-start: auto;
  left: auto;
  right: 0;
  z-index: 1050;
  min-width: 220px;
  width: max-content;
  max-width: min(280px, calc(100vw - 24px));
  padding: 6px;
  margin: 0;
  border: 1px solid #ebebeb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

html[dir="rtl"] .sort-dropdown-wrap .dropdown-menu,
html[dir="rtl"] .sort-dropdown-wrap .sort-dropdown-menu {
  right: auto;
  left: 0;
}

.sort-dropdown-wrap .dropdown-item {
  display: block;
  width: 100%;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: #222;
  padding: 10px 14px;
  border-radius: 10px;
  white-space: nowrap;
  text-align: start;
  text-decoration: none;
  overflow: visible;
  text-overflow: clip;
}

.sort-dropdown-wrap .dropdown-item:hover,
.sort-dropdown-wrap .dropdown-item:focus {
  background: #f5f5f5;
  color: #111;
}

.products-filter-count {
  font-size: 13px;
  color: #777;
  white-space: nowrap;
}

.btn-filter-icon {
  padding: 8px 10px;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  line-height: 1;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-filter-icon:hover,
.btn-filter-icon:focus {
  border-color: #111;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.04);
  outline: none;
}

.btn-filter-icon[aria-expanded="true"] {
  border-color: #111;
  background: #111;
  color: #fff;
}

.products-filter-collapse.collapse:not(.show) {
  display: none;
}

.products-filter-collapse.collapse.show {
  display: block;
}

.products-filter-collapse .form-products-filter,
#filterModal .form-products-filter {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

/* —— Products filter form (elegant panel) —— */
.products-filter-collapse,
#filterModal .modal-content {
  border: 1px solid #ececec;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

#filterModal .modal-content {
  border: 0;
  box-shadow: none;
}

#filterModal .modal-body {
  padding: 20px 18px 18px;
}

.products-filter-collapse {
  margin-top: 12px !important;
  padding: 18px 16px 16px;
}

.form-products-filter {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.products-filter-form__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.products-filter-form__title {
  display: block !important;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8a8a !important;
  line-height: 1.2;
}

.products-filter-form__price-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: end;
}

.products-filter-form__field {
  min-width: 0;
}

.products-filter-form__label {
  display: block;
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 500;
  color: #666;
  line-height: 1.2;
}

.products-filter-form__sep {
  display: block;
  width: 12px;
  height: 1.5px;
  margin-bottom: 18px;
  background: #d8d8d8;
  border-radius: 999px;
  flex-shrink: 0;
}

.form-products-filter .products-filter-form__input.form-control,
.form-products-filter .form-control {
  height: 44px;
  padding: 10px 14px;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  background: #fafafa;
  color: #111;
  font-size: 14px;
  font-weight: 500;
  box-shadow: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-products-filter .products-filter-form__input.form-control:hover,
.form-products-filter .form-control:hover {
  background: #fff;
  border-color: #ddd;
}

.form-products-filter .products-filter-form__input.form-control:focus,
.form-products-filter .form-control:focus {
  background: #fff;
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
  outline: none;
}

.products-filter-form__slider-wrap {
  margin: 4px 2px 0;
  padding: 0 4px;
}

.products-filter-form__slider-wrap .ui-widget-bar {
  margin-top: 0 !important;
}

.products-filter-form__sale {
  margin: 0 !important;
}

.form-products-filter .btn-sale-price,
.products-filter-form__sale-label {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fafafa;
  text-align: start;
  white-space: normal;
  box-shadow: none;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-products-filter .btn-sale-price:hover,
.products-filter-form__sale-label:hover {
  background: #fff;
  border-color: #ddd;
}

.form-products-filter .btn-sale-price .custom-checkbox-label,
.products-filter-form__sale-label .custom-checkbox-label {
  font-size: 13px;
  font-weight: 500;
  color: #222;
  line-height: 1.35;
}

.form-products-filter .btn-sale-price .checkbox-container,
.products-filter-form__sale-label .checkbox-container {
  flex-shrink: 0;
  position: relative;
  top: 0;
}

.form-products-filter .btn-sale-price .custom-checkmark-small {
  top: 0 !important;
  left: 0 !important;
}

.products-filter-form__actions {
  display: flex !important;
  align-items: center;
  justify-content: stretch;
  gap: 10px;
  margin: 4px 0 0 !important;
}

.products-filter-form__btn {
  flex: 1 1 0;
  min-height: 44px;
  margin: 0 !important;
  padding: 0 16px !important;
  border-radius: 12px !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.products-filter-form__btn span {
  padding: 0 !important;
}

.products-filter-form__btn--ghost,
#products-list-filter-form-clear.products-filter-form__btn--ghost {
  background: #fff !important;
  border: 1px solid #e5e5e5 !important;
  color: #333 !important;
}

.products-filter-form__btn--ghost:hover,
#products-list-filter-form-clear.products-filter-form__btn--ghost:hover {
  background: #f7f7f7 !important;
  border-color: #ccc !important;
  color: #111 !important;
}

.products-filter-form__btn--solid,
#products-list-filter-form-save.products-filter-form__btn--solid {
  background: #111 !important;
  border: 1px solid #111 !important;
  color: #fff !important;
}

.products-filter-form__btn--solid:hover,
#products-list-filter-form-save.products-filter-form__btn--solid:hover {
  background: #222 !important;
  border-color: #222 !important;
  color: #fff !important;
  opacity: 0.96;
}

#filterModal #products-list-filter-form-close {
  width: 36px;
  height: 36px;
  top: 10px;
  inset-inline-end: 10px;
  right: auto;
  border-radius: 50%;
  border: 1px solid #eee;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  z-index: 2;
}

#filterModal #products-list-filter-form-close:hover {
  border-color: #111;
  background: #111;
  color: #fff;
}

@media (max-width: 575px) {
  .products-filter-collapse {
    padding: 16px 14px 14px;
    border-radius: 14px;
  }

  .products-filter-form__btn {
    min-height: 42px;
    font-size: 12px;
  }
}

@media (max-width: 768px) {

  .products-filter-new-design .d-flex {
    gap: 10px !important;
  }
}

.home-page-logo {
  display: none !important;
}

.search-input > div {
  width: 100%;
}

.search-input-icon {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.search-input-input {
  min-height: 45px;
  border: 0px !important;
  border-radius: 12px !important;
  font-size: 14px;
  width: 100%;
}

.icon-shopping_cart_black_36dp-1-1,
.sm-search-icon > span {
  font-size: 32px;
}

.icon-shopping_cart_black_36dp-1-1 .path1:before {
  color: unset;
}

.icon-shopping_cart_black_36dp-1-1 .path2:before {
  color: unset;
}

.icon-language_black_24dp .path1:before {
  color: unset;
}

.cart-badge {
  position: absolute;
  right: 12px;
  top: -8px;
  width: 18px;
  height: 18px;
  line-height: 18px;
  font-size: 10px;
  color: #fff;
  text-align: center;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.rtl .cart-badge {
  right: unset;
  left: 12px;
}

.ic.menu {
  text-align: left;
  position: relative;
  right: 4px;
}

.rtl .ic.menu {
  text-align: right;
  right: unset;
  left: 4px;
}

.ic.menu,
.sm-search-icon {
  margin-right: 20px;
}

.icon-menu-top {
  margin-right: 10px !important;
}

.rtl .ic.menu,
.sm-search-icon {
  margin-right: unset;
  margin-left: 20px;
}

.rtl .icon-menu-top {
  margin-right: unset !important;
  margin-left: 10px !important;
}

.icon-menu-top > span {
  font-size: 32px;
}

.icon-menu_open_black_24dp-1:before {
  color: unset;
}

.sm-search-div {
  display: none;
  visibility: hidden;
  position: absolute;
  left: 0;
  padding: 0px 15px 20px 15px;
  width: 100%;
  background-color: var(--header-primary-color, var(--primary-color));
  transform: translateY(-100%);
  transition: all 0.3s ease;
  z-index: 1;
}

.sm-search-div.show {
  visibility: visible;
  transform: translateY(0%);
  -webkit-transform: translate3d(0, 0, 0);
}

.footer .apps-social-icons:nth-child(2) {
  padding-left: 0px;
}

.rtl .footer .apps-social-icons:nth-child(2) {
  padding-right: 0px;
  padding-left: 15px;
}

.footer .google-app-stores {
  margin-left: -4px;
  margin-right: -4px;
}

.footer .icons-wrapper {
  padding: 0px;
}

.footer-about-us-div {
  padding-right: 20%;
}

.rtl .footer-about-us-div {
  padding-right: unset;
  padding-left: 20%;
}

.main-slider .slick-dots {
  bottom: 12px;
}

.main-slider .slick-dots li button:before {
  font-size: 14px;
}

.features-section-img {
  max-height: 90px;
  max-width: 90px;
}

.category-page-slider .category-item h3 {
  font-size: 1.2rem;
}

.categories-slider .category-item,
.cards-slider .card-item {
  width: 100%;
  max-width: 200px;
}

/* —— Category page: subcategories strip (base) —— */
/* Final overrides live at end of this file (cache-safe + cascade-safe). */
.category-page-slider + .products-listing-layout {
  padding-top: 10px;
}

.slider-container {
  padding-left: 15px;
  padding-right: 15px;
}

.section-title {
  padding-left: 0px;
  padding-right: 0px;
}

.products-slider .prod-col,
.categories-slider .cat-col,
.cards-slider .card-col {
  padding-left: 15px;
  padding-right: 15px;
  display: block;
  width: auto;
}

.category-page-slider .categories-slider.s-slider {
  margin-right: -15px;
  margin-left: -15px;
}

.category-page-slider .home-categories-section .section-title {
  margin-right: -15px;
  margin-left: -15px;
}

.category-page-slider .products-slider .prod-col,
.categories-slider .cat-col,
.cards-slider .card-col {
  padding-left: 15px;
  padding-right: 15px;
}

.products-list .prod-col,
.bundle-offer-products .prod-col {
  width: 100%;
  max-width: 100%;
  padding: 0;
  min-width: 0;
}

.products-list .prod-col-attr {
  width: 100%;
}

/* Propagate Bootstrap row's stretch height so all action buttons align */
.products-list .prod-col,
.bundle-offer-products .prod-col {
  display: flex;
  flex-direction: column;
}

.products-list .prod-col .product-item,
.bundle-offer-products .prod-col .product-item {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.products-list .prod-col .product-item > a,
.bundle-offer-products .prod-col .product-item > a {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.products-list .product-card-footer,
.bundle-offer-products .product-card-footer {
  margin-top: auto;
}

.select-dropdown.show {
  display: block;
}

.select-dropdown .dropdown-item {
  padding-bottom: 10px;
  padding-top: 10px;
}

#products-list-filter-form-close {
  width: 44px;
  height: 44px;
  position: absolute;
  right: 0;
  top: 0;
}

.rtl #products-list-filter-form-close {
  right: unset;
  left: 0;
}

.products-pagination {
  margin-bottom: 24px;
  padding: 0 15px;
}

.products-pagination ul {
  padding: 0px;
}

.products-pagination .page-link {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.products-pagination .page-link.active {
  color: #ffffff;
  background-color: var(--primary-color);
}

.rtl .products-pagination .page-item:first-child .page-link {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.rtl .products-pagination .page-item:last-child .page-link {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}

.products-container .products-list {
  margin-bottom: 32px;
}

.cart-header-total {
  margin-right: 10px;
  font-size: 1.6rem;
  color: var(--header-text-color-primary-bg, var(--text-color-primary-bg));
}

.rtl .cart-header-total {
  margin-right: unset;
  margin-left: 10px;
}

.form-control {
  border-radius: 3px;
}

.box-1-1 {
  position: relative;
  width: 100%;
}

.box-1-1:before {
  content: "";
  display: block;
  padding-top: 100%;
  /* initial ratio of 1:1*/
}

.box-1-1 .content {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/* Other ratios - just apply the desired class to the "box" element */
.box-1-1.ratio2_1:before {
  padding-top: 50%;
}

.box-1-1.ratio1_2:before {
  padding-top: 200%;
}

.box-1-1.ratio4_3:before {
  padding-top: 75%;
}

.box-1-1.ratio16_9:before {
  padding-top: 56.25%;
}

.box-1-1.ratio21_9:before {
  padding-top: 42.85%;
}

.product-item-out-of-stock img {
  filter: grayscale(1);
  opacity: 0.8;
}

.out-of-stock-label {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  left: auto;
  right: auto;
  transform: none;
  background: rgba(17, 17, 17, 0.88);
  color: #fff;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.04em;
  border: 0;
  z-index: 5;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: none;
  border-radius: 999px;
  text-transform: uppercase;
  line-height: 1;
}

.sm-search-div .autocomplete-items,
.lg-search-div .autocomplete-items {
  position: absolute;
  border: 1px solid #ececec;
  border-radius: 14px;
  overflow: hidden;
  z-index: 99;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.sm-search-div .autocomplete-items div,
.lg-search-div .autocomplete-items div {
  background-color: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.sm-search-div .autocomplete-items div:hover,
.lg-search-div .autocomplete-items div:hover {
  background-color: #fafafa;
}

.sm-search-div .autocomplete-items div a,
.lg-search-div .autocomplete-items div a {
  padding: 10px;
  cursor: pointer;
  color: inherit;
  display: block;
}

/* —— Search autocomplete product rows (modal + header) —— */
.autocomplete-items {
  display: none;
  flex-direction: column;
  gap: 0;
  max-height: min(58vh, 420px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  background: #fff;
}

.autocomplete-items.has-results {
  display: flex;
  margin-top: 10px;
  border-top: 1px solid #f0f0f0;
  padding-top: 6px;
}

.search-modal-content .autocomplete-items.has-results {
  margin: 0;
  padding: 6px 0 2px;
  border-top: 0;
  max-height: min(52vh, 380px);
}

.search-ac-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 8px !important;
  border-radius: 12px;
  text-decoration: none !important;
  color: inherit !important;
  -webkit-text-fill-color: inherit;
  background: transparent;
  transition: background 0.18s ease;
}

.search-ac-item:hover,
.search-ac-item:focus {
  background: #f7f7f5 !important;
  text-decoration: none !important;
  color: inherit !important;
  outline: none;
}

.search-ac-media {
  flex: 0 0 64px;
  width: 64px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f3f1;
  border: 1px solid #ececec;
}

.search-ac-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.search-ac-meta {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: start;
}

.search-ac-name {
  display: block;
  width: 100%;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #1a1a1a !important;
  -webkit-text-fill-color: #1a1a1a;
  text-decoration: none !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-ac-prices {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.search-ac-price {
  font-size: 13px;
  font-weight: 500;
  color: #111 !important;
  -webkit-text-fill-color: #111;
  line-height: 1.2;
}

.search-ac-price--sale {
  color: #e11d48 !important;
  -webkit-text-fill-color: #e11d48;
  font-weight: 600;
}

.search-ac-price-old {
  font-size: 11px;
  font-weight: 400;
  color: #9a9490 !important;
  -webkit-text-fill-color: #9a9490;
  text-decoration: line-through;
}

@media (max-width: 575px) {
  .search-ac-media {
    flex-basis: 56px;
    width: 56px;
    height: 70px;
    border-radius: 8px;
  }

  .search-ac-name {
    font-size: 13px;
  }

  .search-ac-price {
    font-size: 12px;
  }
}

.gallery-section + .gallery-section {
  padding-top: 0px;
}

.ic-menu-back {
  font-size: 22px;
  margin-right: 16px;
  font-weight: bold;
}

.rtl .ic-menu-back {
  margin-right: unset;
  margin-left: 16px;
}

@media (max-width: 768px) {
  .header-cart {
    flex-grow: 1;
    width: 30%;
  }

  .header-logo {
    width: 70%;
  }

  .footer .apps-social-icons:nth-child(2) {
    padding-left: 15px;
  }

  .rtl .footer .apps-social-icons:nth-child(2) {
    padding-right: 15px;
    padding-left: 15px;
  }

  .footer .icons-wrapper {
    padding-bottom: 10px;
    padding-top: 10px;
  }

  .footer-about-us-div {
    padding-right: 0;
  }

  .rtl .footer-about-us-div {
    padding-right: unset;
    padding-left: 0;
  }

  .category-page-slider .categories-slider {
    height: 225px;
  }

  .categories-slider .category-item,
  .cards-slider .card-item {
    width: 190px;
  }

  .category-page-slider .categories-slider .category-item {
    width: 165px;
  }

  .category-page-slider .categories-slider.s-slider {
    margin-right: -7.5px;
    margin-left: -7.5px;
  }

  .category-page-slider .products-slider .prod-col,
  .categories-slider .cat-col,
  .cards-slider .card-col {
    padding-left: 7.5px;
    padding-right: 7.5px;
  }

  .products-slider .prod-col,
  .categories-slider .cat-col,
  .cards-slider .card-col,
  .testimonials-slider .testimonials-customer-card,
  .partners-slider .partners-item {
    display: inline-block;
    vertical-align: top;
  }

  .partners-slider .partners-item {
    vertical-align: middle;
  }

  .categories-slider,
  .products-slider,
  .cards-slider,
  .testimonials-slider,
  .partners-slider {
    overflow-y: hidden;
    overflow-x: scroll;
    white-space: nowrap;
  }

  .product-crd-spec small {
    white-space: break-spaces;
  }

  .testimonials-slider::-webkit-scrollbar {
    width: 0 !important;
  }

  .categories-slider-wrapper,
  .products-slider-wrapper,
  .cards-slider-wrapper,
  .testimonials-slider-wrapper,
  .partners-slider-wrapper {
    overflow-x: hidden;
    margin-right: 0px;
    margin-left: 0px;
  }

  .slider-container {
    padding-left: 0px;
    padding-right: 0px;
  }

  .main-slider .slick-dots li button:before {
    font-size: 10px;
  }

  .main-slider .slick-dots {
    bottom: 4px;
  }

  .section-title {
    padding-right: 15px;
    padding-left: 15px;
  }

  .products-list .prod-col,
  .bundle-offer-products .prod-col {
    margin: 0 auto;
    width: auto;
  }

  .products-list .prod-col,
  .products-list .prod-col-attr {
    width: 50%;
  }

  .product-item {
    width: 135px;
  }

  .products-list .prod-col .product-item {
    width: 100%;
  }

  .sm-search-div {
    display: block;
  }

  .icon-shopping_cart_black_36dp-1-1,
  .sm-search-icon > span {
    font-size: 28px;
  }

  .icon-menu-top {
    width: 32px;
  }
}

.btn:focus,
.btn:active,
.page-link:focus,
.page-link:active {
  outline: none !important;
  box-shadow: none;
}

.gift-popover-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  width: 115px;
  height: 140px;
  max-width: 100%;
}

.popover {
  top: 40px;
}

.popover .arrow {
  top: -0.5rem;
  left: 5px;
}

.popover .arrow::before {
  top: 0;
  border-width: 0 0.5rem 0.5rem;
  border-bottom-color: #fff;
}

.popover .arrow ::after {
  top: 1px;
  border-width: 0 0.5rem 0.5rem;
  border-bottom-color: #fff;
}

.btn-product-card-out-of-stock {
  width: max-content;
}

.preorder-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 20px;
  font-weight: 300;
  line-height: 1.4;
  background-color: var(--primary-color);
  color: var(--text-color-primary-bg, #ffffff);
  white-space: nowrap;
  margin-bottom: 8px;
}

.preorder-badge.preorder-badge--product-card {
  border-radius: 10px;
  margin-bottom: 0;
}

.add-to-wishlist {
  position: absolute;
  right: 0;
  z-index: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
  width: 40px;
  height: 35px;
  cursor: pointer;
  border-radius: 5px;
  background-color: white;
}

.rtl .add-to-wishlist {
  right: unset;
  left: 0;
}

.icon-heart-mask {
  display: inline-block;
  width: 25px;
  height: 20px;
  mask-size: 100%;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-image: var(--heart-outlined-icon);
  background-color: var(--secondary, #a1a0a9);
}

.icon-heart-mask.filled {
  mask-image: var(--heart-filled-icon);
  background-color: var(--primary_color, #d86f6f);
}

/* ======================================== custom ======================================== */
.announcement-bar {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.announcement-bar .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.announcement-bar .announcement-link {
  text-decoration: none;
  width: 100%;
  display: block;
}

.announcement-bar .announcement-text {
  padding: 10px 14px;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .announcement-bar .announcement-text {
    font-size: 12px;
    padding: 8px 10px;
  }
}

.container {
  max-width: 1472px !important;
  margin: 0 auto !important;
  
  @media screen and (max-width: 768px) {
    padding: 0 16px !important;
  }
}
@media (min-width: 1600px) {
  .container {
    max-width: 1800px !important;
  }
}

.search-header-bar {
  display: flex;
  padding: 12px 0;
  align-items: center;
  justify-content: space-between;
}

a {
  text-decoration: none;
}

button {
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.header-nav-center {
  display: none;
}

.header-locale-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  max-height: 30px;
  font-size: 14px;
  line-height: 1;
  color: inherit;
}

.header-locale-controls.is-busy {
  opacity: 0.55;
  pointer-events: none;
}

.header-lang-toggle,
.header-currency-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

.header-lang-toggle {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}

.header-locale-divider {
  opacity: 0.55;
  line-height: 1;
  user-select: none;
}

.header-currency-dropdown {
  position: relative;
}

.header-currency-code {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.header-currency-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  z-index: 1200;
  min-width: 220px;
  max-height: min(320px, 60vh);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  color: #111;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  scrollbar-width: thin;
}

html[dir="rtl"] .header-currency-menu,
body.rtl .header-currency-menu {
  transform-origin: top left;
}

.header-currency-dropdown.is-open .header-currency-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.header-currency-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  text-align: start;
  cursor: pointer;
  transition: background 0.15s ease;
}

.header-currency-option:hover,
.header-currency-option.is-active {
  background: rgba(0, 0, 0, 0.05);
}

.header-currency-option-flag {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 18px;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 8%);
}

.header-currency-option-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.header-currency-option-name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-currency-option-currency {
  font-size: 11px;
  opacity: 0.65;
  letter-spacing: 0.04em;
}

.header-currency-loading,
.header-currency-empty {
  padding: 16px;
  text-align: center;
  font-size: 13px;
  opacity: 0.55;
}

.header-currency-loading::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-top-color: rgba(0, 0, 0, 0.55);
  border-radius: 50%;
  animation: header-currency-spin 0.7s linear infinite;
}

@keyframes header-currency-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 992px) {
  .search-header-bar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 28px;
    padding: 14px 0;
  }

  .search-header-bar .header-logo {
    justify-self: start;
    align-self: center;
    width: auto;
    max-width: 100%;
    height: auto;
    min-height: 0;
    flex-shrink: 0;
    z-index: 2;
  }

  .header-nav-center {
    display: flex !important;
    align-items: center;
    justify-content: center;
    justify-self: stretch;
    align-self: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 0;
    position: relative;
    overflow: visible;
    z-index: 30;
  }

  .header-nav-center .dark,
  .header-nav-center .top-main-menu-wrapper,
  .header-nav-center .main-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto !important;
    min-height: 0;
  }

  .search-header-bar .header-actions {
    justify-self: end;
    align-self: center;
    gap: 16px;
    height: auto;
    min-height: 0;
    flex-shrink: 0;
    z-index: 2;
  }

  .header-nav-center .dark {
    position: static !important;
  }

  .header-nav-center .main-nav-wrapper {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    padding-inline: 4px;
  }

  /* Allow dropdown to escape the scroll clip while hovering a menu item */
  .header-nav-center .main-nav-wrapper:has(.top-level-link:hover),
  .header-nav-center .main-nav-wrapper:has(.top-level-link:focus-within) {
    overflow: visible !important;
  }

  .header-nav-center .main-nav-wrapper::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .header-nav-center ul.main-nav {
    position: static;
    display: flex !important;
    overflow: visible;
    width: max-content;
    min-width: 100%;
    height: auto !important;
    min-height: 0;
    margin: 0;
    flex-wrap: nowrap !important;
    justify-content: center;
    align-items: center;
    gap: 0;
  }

  .header-nav-center ul.main-nav > li {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
  }

  .header-nav-center ul.main-nav > li > a,
  .header-nav-center .item-all-categories a {
    display: flex;
    align-items: center;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0.04em;
    padding: 0 10px;
    white-space: nowrap !important;
  }

  .header-nav-center ul.main-nav > li > a > span {
    white-space: nowrap !important;
  }
}

@media (max-width: 1024px) {
  .header-nav-center ul.main-nav {
    justify-content: start !important;
  }
}

@media (max-width: 500px) {
  .search-header-bar .header-locale-controls,
  .header-actions .header-locale-controls {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  .search-header-bar {
    display: flex;
    gap: 10px;
    min-height: 44px;
    position: relative;
  }

  .header-nav-center {
    display: none !important;
  }

  .search-header-bar .header-actions {
    order: 2;
    gap: 10px;
    position: relative;
    z-index: 2;
  }

  .search-header-bar .header-logo {
    order: 1;
    width: auto;
    gap: 10px !important;
    position: static;
    z-index: 2;
  }

  .header-actions .header-locale-controls {
    order: 3;
  }

  .header-actions .cart-area {
    order: 2;
  }

  .header-actions .account-area {
    order: 1;
  }

  .header-actions .search-area {
    display: none;
  }

  .header-logo > a,
  .header-logo > a.header-logo-link {
    order: 3;
    position: absolute;
    top: 50%;
    left: 50%;
    right: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
  }

  .header-logo > a .image-logo,
  .header-logo > a .home-page-logo {
    max-width: 96px;
    object-fit: contain;
  }

  .header-logo .mobile-header-search-btn {
    order: 2;
    margin-inline-end: 18px;
    position: relative;
    z-index: 2;
  }

  .header-logo .icon-menu-top {
    order: 1 !important;
    margin: 0 !important;
    position: relative;
    z-index: 2;
  }
}

.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-swiper {
  width: 100%;
  height: auto;
}

.hero-slide-link {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-image-wrapper {
  display: block;
  width: 100%;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Swiper Navigation & Pagination */
.hero-nav-btn {
  color: #fff !important;
  background: rgba(0, 0, 0, 0.5) !important;
  width: 45px !important;
  height: 75px !important;
  border-radius: 2px !important;
  backdrop-filter: blur(4px);
  transition: background 0.3s ease;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hero-nav-btn:hover {
  background: rgba(0, 0, 0, 0.7) !important;
}

.hero-nav-btn::after {
  font-size: 24px !important;
  font-weight: 400 !important;
}

.swiper-button-next.hero-nav-btn::after {
  content: "❯" !important;
}

.swiper-button-prev.hero-nav-btn::after {
  content: "❮" !important;
}

.hero-pagination {
  bottom: 20px !important;
}

.hero-pagination .swiper-pagination-bullet {
  background: #fff !important;
  opacity: 0.6;
  width: 10px;
  height: 10px;
  margin: 0 5px !important;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.hero-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}

@media (max-width: 768px) {
  .hero-nav-btn {
    display: none !important;
  }

  .hero-pagination {
    bottom: 10px !important;
  }
}

.css-fh1hs4 {
  background: #00000063;
  backdrop-filter: blur(1px);
}

.categories-section {
  padding: 56px 0;
}

.categories-section--shop .categories-section__header {
  margin: 0 auto 36px;
  max-width: 720px;
  text-align: center;
}

.categories-section--shop .categories-section__title {
  margin: 0 0 10px;
  color: #111;
  font-size: clamp(1.75rem, 2.4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
}

.categories-section--shop .categories-section__subtitle {
  margin: 0 0 12px;
  color: #777;
  font-size: 1rem;
  line-height: 1.6;
}

.categories-section--shop .categories-section__view-all {
  display: inline-block;
  color: #555;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.categories-section--shop .categories-section__view-all:hover {
  color: #111;
}

.categories-section--shop .categories-swiper {
  overflow: hidden;
  padding-bottom: 4px;
}

.categories-section--shop .category-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.categories-section--shop .category-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  border-radius: var(--cat-radius, 18px);
  background: #f3f3f3;
}

.categories-section--shop .category-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.categories-section--shop .category-card:hover .category-card__img {
  transform: scale(1.04);
}

/* No text overlay on images — baked into assets */
.categories-section--shop .category-overlay,
.categories-section--shop .category-item-title {
  display: none !important;
}

.categories-section--shop .category-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 0 2px;
}

.categories-section--shop .category-card__meta--split {
  justify-content: space-between;
}

.categories-section--shop .category-card__meta--center {
  justify-content: center;
  text-align: center;
}

.categories-section--shop .category-card__name,
.categories-section--shop .category-card__caption {
  font-weight: 500;
  line-height: 1.35;
}

.categories-section--shop .category-card__name {
  flex: 0 1 auto;
  min-width: 0;
  color: var(--cat-name-color, #000000);
  font-size: 14px;
  text-align: start;
}

.categories-section--shop .category-card__caption {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--cat-caption-color, #8a8a8a);
  font-size: 12px;
  text-align: end;
  opacity: 0.92;
}

.categories-section--shop .category-card__meta--center .category-card__name,
.categories-section--shop .category-card__meta--center .category-card__caption {
  flex: 0 1 auto;
  text-align: center;
}

/* Mobile/tablet: grid instead of slider */
@media (max-width: 575.98px) {
  .categories-section {
    padding: 40px 0;
  }

  .categories-section--shop .categories-section__header {
    margin-bottom: 24px;
  }

  .categories-section--shop .categories-swiper {
    overflow: visible;
  }

  .categories-section--shop .categories-swiper .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--cat-gap, 18px);
    transform: none !important;
    width: 100% !important;
    height: auto !important;
  }

  .categories-section--shop .categories-swiper .swiper-slide {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    height: auto !important;
  }

  .categories-section--shop .category-card__media {
    border-radius: var(--cat-radius, 14px);
  }

  .categories-section--shop .category-card__name {
    font-size: 14px;
  }

  .categories-section--shop .category-card__caption {
    font-size: 12px;
  }
}

@media (max-width: 389.98px) {
  .categories-section--shop .categories-swiper .swiper-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Legacy grid rules kept harmless if used elsewhere */
.section-header {
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color, #000);
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.6;
}

.categories-grid {
  display: none;
}

/* Banner Section */
.banner-section {
  padding: 20px 0;
}

.banner-wrapper {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
}

.banner-image-wrapper {
  display: block;
  width: 100%;
}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.banner-wrapper:hover .banner-img {
  transform: scale(1.03);
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.banner-content {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  color: #fff;
  width: 90%;
  max-width: 600px;
  text-align: center;
}

.banner-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 22px;
  line-height: 1.2;
}

.banner-subtitle {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 25px;
  opacity: 0.9;
}

.banner-btn {
  display: inline-block;
  padding: 8px 45px;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  font-weight: 500;
  font-size: 1.1rem;
  border-radius: 0;
  transition: all 0.3s ease;
}

.banner-wrapper:hover .banner-btn {
  background: #fff;
  color: #000;
}

@media (max-width: 768px) {
  .banner-title {
    font-size: 1.6rem;
  }

  .banner-subtitle {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .banner-btn {
    padding: 6px 30px;
    font-size: 0.9rem;
  }
}

body[data-template="home"].header-transparent-home {
  .search-header {
    position: absolute;
    left: 0;
    right: 0;
    background: none;
  }

  .sticky .search-header {
    background-color: var(--header-primary-color, var(--primary-color));
  }

  .div-bg-absolute {
    background: none;
  }
}

/* --- New Header Styling --- */

/* Header icons/text follow theme color settings (including transparent home header) */
.search-header-bar svg,
.search-header-bar .ic,
.search-header-bar .header-locale-controls,
.search-header-bar .header-lang-toggle,
.search-header-bar .header-currency-trigger,
.search-header-bar .search-btn,
.search-header-bar .account-area button,
.search-header-bar .a-shopping-cart,
.search-header-bar .cart-header-total,
.search-header-bar .mobile-header-search-btn,
.search-header-bar .icon-menu-top {
  color: var(--header-text-color-primary-bg, var(--text-color-primary-bg));
}

/* Transparent home: keep theme text/icon color (do not force white) */
body[data-template="home"].header-transparent-home #fixed-header:not(.sticky),
body[data-template="home"].header-transparent-home .search-header {
  color: var(--header-text-color-primary-bg, var(--text-color-primary-bg));
}

/* Home Page Logo Switching Logic */
.home-page-logo {
  display: none;
}

/* Hide default logo only when a dedicated home logo exists */
body[data-template="home"].header-transparent-home:has(.home-page-logo) {
  .image-logo:not(.home-page-logo) {
    display: none !important;
  }

  .home-page-logo {
    display: block !important;
  }

  #fixed-header.sticky .image-logo:not(.home-page-logo) {
    display: block !important;
  }

  #fixed-header.sticky .home-page-logo {
    display: none !important;
  }
}

/* Without home logo: keep the main logo visible on transparent header */
body[data-template="home"].header-transparent-home:not(:has(.home-page-logo)) {
  .image-logo {
    display: block;
  }

  .image-logo.d-none.d-lg-block {
    display: none;
  }

  @media (min-width: 992px) {
    .image-logo.d-none.d-lg-block {
      display: block !important;
    }

    .image-logo.d-block.d-lg-none {
      display: none !important;
    }
  }
}

/* Legacy logo-wrapper selectors (kept for compatibility) */
body[data-template="home"].header-transparent-home
  #fixed-header:not(.sticky)
  .logo-wrapper.is-home
  .home-logo {
  display: block !important;
}

body[data-template="home"].header-transparent-home
  #fixed-header:not(.sticky)
  .logo-wrapper.is-home
  .normal-logo {
  display: none !important;
}

body[data-template="home"].header-transparent-home
  #fixed-header.sticky
  .logo-wrapper.is-home
  .home-logo {
  display: none !important;
}

body[data-template="home"].header-transparent-home
  #fixed-header.sticky
  .logo-wrapper.is-home
  .normal-logo {
  display: block !important;
}

/* Desktop mega menu dropdown */
@media (min-width: 992px) {
  .search-header {
    position: relative;
    overflow: visible;
    z-index: 40;
  }

  .search-header .container,
  .search-header-bar,
  .search-header-bar .header-logo,
  .search-header-bar .header-actions {
    overflow: visible;
  }

  .header-nav-center .dark {
    position: static !important;
    height: auto !important;
  }

  .header-nav-center .main-nav-wrapper {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    height: auto;
  }

  .header-nav-center .main-nav-wrapper:has(.top-level-link:hover),
  .header-nav-center .main-nav-wrapper:has(.top-level-link:focus-within) {
    overflow: visible !important;
  }

  .header-nav-center ul.main-nav {
    position: static;
    overflow: visible;
    height: auto;
  }

  .header-nav-center ul.main-nav > li.top-level-link {
    position: relative;
  }

  .header-nav-center ul.main-nav > li > div.sub-menu-block {
    top: calc(100% + 2px);
    left: auto;
    right: auto;
    inset-inline-start: 0;
    width: max-content;
    min-width: 180px;
    max-width: min(280px, 80vw);
    padding: 8px 0;
    z-index: 1200 !important;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: none !important;
    transform-origin: top center;
    transition: opacity 0.18s ease, visibility 0.18s ease;
  }

  .header-nav-center ul.main-nav > li:hover > div.sub-menu-block,
  .header-nav-center ul.main-nav > li:focus-within > div.sub-menu-block {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto;
    transform: none !important;
  }

  .header-nav-center ul.main-nav > li > div.sub-menu-block > * {
    opacity: 1 !important;
  }

  .header-nav-center ul.main-nav > li > div.sub-menu-block .sub-menu-lists {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .header-nav-center ul.main-nav > li > div.sub-menu-block .sub-menu-lists > li {
    padding: 0;
    width: 100%;
    position: relative;
  }

  .header-nav-center ul.main-nav > li > div.sub-menu-block .sub-menu-lists > li > a {
    display: block;
    padding: 11px 18px;
    font-size: 1.05rem;
    line-height: 1.45;
    white-space: nowrap;
    color: #222;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .header-nav-center ul.main-nav > li > div.sub-menu-block .sub-menu-lists > li > a:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--primary-color, #111);
  }

  .header-nav-center ul.main-nav > li > div.sub-menu-block .sub-menu-lists--nested {
    padding-inline-start: 12px;
  }

  .header-nav-center ul.main-nav > li > div.sub-menu-block .sub-menu-lists--nested > li > a {
    padding: 9px 18px;
    font-size: 0.98rem;
    opacity: 0.85;
  }
}

/* products section  */
.products-section {
  padding: 48px 0;
  overflow-anchor: none;

  .container {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .section_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding-bottom: 16px;
    border-bottom: 1px solid #000;
    position: relative;

    .section_title__main {
      flex: 1 1 auto;
      min-width: 0;
    }

    h2 {
      margin: 0;
      font-size: 20px;
      color: var(--primary-color);
    }

    a,
    .section_title__link {
      flex: 0 0 auto;
      margin-inline-start: auto;
      font-size: 14px;
      color: var(--primary-color);
      text-decoration: none;
      white-space: nowrap;
      position: relative;
      z-index: 1;
    }
  }

  .section_title--align-right .section_title__main {
    text-align: right;
  }

  .section_title--align-left .section_title__main {
    text-align: left;
  }

  .section_title--align-center {
    justify-content: flex-end;
  }

  .section_title--align-center .section_title__main {
    position: absolute;
    inset-inline: 0;
    text-align: center;
    pointer-events: none;
  }

  .section_title--align-center .section_title__main h2 {
    pointer-events: auto;
  }

  .section_title--align-center .section_title__link {
    margin-inline-start: auto;
  }

  .products-section__view-all-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 16px;
  }

  .products-section__view-all-wrap.is-hidden {
    display: none;
  }

  .products-section__view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 10px 40px;
    background: var(--primary-color);
    color: var(--text-color-primary-bg, #fff);
    border: none;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity 0.2s ease, filter 0.2s ease;
  }

  .products-section__view-all:hover {
    opacity: 0.92;
    color: var(--text-color-primary-bg, #fff);
    text-decoration: none;
  }

  .products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;

    @media screen and (max-width: 768px) {
      grid-template-columns: repeat(2, 1fr);
    }
  }
}

@media (min-width: 769px) {
  .products-section__view-all-wrap--mobile-only {
    display: none;
  }

  .products-section .products-grid > .product-item.is-mobile-hidden {
    display: revert;
  }
}

@media (max-width: 768px) {
  .products-section .products-grid > .product-item.is-mobile-hidden {
    display: none;
  }
}

.product-item {
  min-width: 0;
  width: 100%;
}

.product-item .swiper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  display: block;
}

.product-item .swiper-wrapper {
  display: flex;
}

/* ── Product card (Mazrood-inspired) ── */
.product-item .product-card-link {
  color: inherit;
}

.product-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f5f5f3;
}

.product-card-media-inner {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.product-card-media .product-card-img,
.product-card-media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  transform-origin: center center;
}

.product-card-img--primary,
.product-card-img--hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  transform-origin: center center;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card-img--hover {
  display: none !important;
}

.product-item {
  transition: box-shadow 0.3s ease;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: #fff;
  overflow: visible;
}

@media (hover: hover) and (pointer: fine) {
  .product-item:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    z-index: 3;
  }

  .product-item:hover .product-card-img--primary {
    transform: scale(1.25);
  }
}

.product-card-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 11px 14px 18px;
  overflow: visible !important;
}

.product-card-meta-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.product-item .product-title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
  color: #1c1917 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-align: start;
  text-transform: uppercase;
}

.product-item .product-title > span {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-item .product-crd-spec {
  flex: 0 0 auto;
  margin: 0 !important;
  text-align: end;
}

.product-item .section-product-price {
  margin: 0 !important;
}

.product-item .product-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.2;
  color: #1c1917 !important;
  white-space: nowrap;
}

.product-item .product-price > span:first-child {
  color: #1c1917;
  font-size: 14px !important;
  font-weight: 400;
}

/* Sale price (after) in red when compare/previous price exists */
.product-item .product-price--sale .product-sale-price,
.product-item .product-price--sale > span:first-child,
.product-item .product-price:has(.product-prev-price) > span:first-child {
  color: #e11d48 !important;
  font-weight: 500;
}

.product-item .product-prev-price {
  font-size: 10px !important;
  font-weight: 300 !important;
  color: #9a9490 !important;
  text-decoration: line-through;
}

.product-card-tax-free {
  display: block;
  margin-top: 2px;
  font-size: 8px !important;
  color: #9a9490 !important;
}

.products-list .product-card-footer,
.bundle-offer-products .product-card-footer {
  margin-top: 0;
  text-align: start !important;
}

.product-card-preorder {
  margin-bottom: 6px;
  text-align: start;
}

.product-item .swiper-button-next,
.product-item .swiper-button-prev,
.product-item .swiper-pagination {
  display: none !important;
}

.product-item .swiper-slide {
  width: 100%;
  flex-shrink: 0;
}

.product-item .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/** Product Card Options Mini — Mazrood swatch interaction **/
.product-card-options-mini {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-card-options-mini .option-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-card-options-mini .option-values {
  display: flex;
  flex-wrap: wrap !important;
  align-items: center;
  align-content: flex-start;
  column-gap: 6px;
  row-gap: 5px;
  overflow: visible !important;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  padding: 2px 1px !important;
  box-sizing: border-box;
}

.product-card-options-mini .option-group--size .option-values {
  flex-wrap: wrap !important;
  overflow: visible !important;
  row-gap: 5px;
}

.product-card-options-mini .option-value-box {
  box-sizing: border-box;
  min-width: 28px;
  width: auto;
  height: 28px;
  min-height: 28px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #e5e2dc;
  border-radius: 999px;
  background: #eceae6;
  color: #1c1917;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  text-transform: uppercase;
  user-select: none;
  margin: 0 !important;
  flex-shrink: 0;
  line-height: 1;
  box-shadow: none !important;
  overflow: visible;
}

.product-card-options-mini .option-value-box--size {
  min-width: 28px;
}

.product-card-options-mini .option-value-box:hover {
  background: #e4e1db;
  border-color: #d6d2ca;
}

.product-card-options-mini .option-value-box.selected {
  background: #1c1917 !important;
  color: #fff !important;
  /* Entire selection ring stays inside the element box — never clipped */
  border: 2px solid #c4a882 !important;
  box-shadow: inset 0 0 0 1.5px #1c1917 !important;
  outline: none !important;
}

.product-card-options-mini .option-value-box.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background-color: #f0eeea;
  position: relative;
  overflow: hidden;
  pointer-events: none;
  box-shadow: none !important;
}

.product-card-options-mini .option-value-box.disabled::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 10%;
  width: 80%;
  height: 1px;
  background: #999;
  transform: rotate(-45deg);
}

.product-card-options-mini .option-value-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0 7px;
  border-radius: 999px;
  border: 1.5px solid #e5e2dc;
  background: #f3f1ed;
  font-size: 11px;
  font-weight: 600;
  color: #666;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
  overflow: visible;
}

.product-card-options-mini .option-value-more:hover {
  color: #111;
  background: #ebe8e2;
  text-decoration: none;
}

.product-card-options-mini .option-selected-label {
  font-size: 10px;
  font-weight: 400;
  color: #9a9490;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  margin-inline-start: 2px;
  flex-shrink: 0;
}

/* Cart button: always visible; Arabic → physical right */
.product-item .product-card-media > .option-value-box.cart-btn,
.product-item .swiper > .option-value-box.cart-btn {
  position: absolute;
  top: auto;
  bottom: 10px;
  left: auto !important;
  right: 10px !important;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #000 !important;
  color: #fff !important;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

html[dir="ltr"] .product-item .product-card-media > .option-value-box.cart-btn,
body.ltr .product-item .product-card-media > .option-value-box.cart-btn,
html[dir="ltr"] .product-item .swiper > .option-value-box.cart-btn,
body.ltr .product-item .swiper > .option-value-box.cart-btn {
  right: auto !important;
  left: 10px !important;
}

.product-card-options-mini--pending {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 28px;
}

.product-card-options-mini--pending::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid #eee;
  border-top-color: #000;
  border-radius: 50%;
  animation: pc-spinner 0.6s linear infinite;
}

@keyframes pc-spinner {
  to {
    transform: rotate(360deg);
  }
}

.cart-loader {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: pc-spinner 1s ease-in-out infinite;
}

.cart-btn .add-to-cart-progress:not(.d-none) ~ svg {
  display: none !important;
}

.product-card-footer .product-card-add-to-cart {
  display: none !important;
}

@media (max-width: 767.98px) {
  .product-card-meta {
    gap: 8px;
    padding: 8px 10px 12px;
  }

  .product-item .product-title {
    font-size: 14px !important;
    letter-spacing: 0.06em;
  }

  .product-item .product-price {
    font-size: 14px !important;
  }

  .product-item .product-card-media > .option-value-box.cart-btn {
    width: 36px;
    min-width: 36px;
    height: 36px;
    bottom: 8px;
    right: 8px !important;
  }

  html[dir="ltr"] .product-item .product-card-media > .option-value-box.cart-btn,
  body.ltr .product-item .product-card-media > .option-value-box.cart-btn {
    left: 8px !important;
    right: auto !important;
  }
}

/* Mobile ≤450px: price under product name */
@media (max-width: 450px) {
  .product-item .product-card-meta {
    gap: 8px;
    padding: 8px 10px 12px;
  }

  .product-item .product-card-meta-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    width: 100%;
  }

  .product-item .product-card-meta-row .product-title {
    flex: 0 0 auto !important;
    width: 100% !important;
    order: 1;
    text-align: start !important;
  }

  .product-item .product-card-meta-row .product-crd-spec {
    flex: 0 0 auto !important;
    width: 100% !important;
    order: 2;
    margin: 0 !important;
    text-align: start !important;
  }

  .product-item .product-card-meta-row .product-price,
  .product-item .product-card-meta-row .product-price--sale {
    align-items: flex-start !important;
    text-align: start !important;
  }

  .product-item .product-card-meta-row .product-title > span {
    -webkit-line-clamp: 2;
  }

  .product-item .product-card-meta-row .product-price {
    font-size: 13px !important;
    line-height: 1.25;
  }

  .product-item .product-card-meta-row .product-prev-price {
    font-size: 10px !important;
  }
}

.products-container .products-list {
  gap: 12px !important;
}

.featured-grid-section {
  padding: 48px 0;
}

.featured-grid-container {
  padding-inline: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.grid-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 2 / 3;
}

.grid-item-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none !important;
}

.grid-image-wrapper {
  width: 100%;
  height: 100%;
}

.featured-grid-container .grid-item:not(:first-child) .grid-image-wrapper img {
  width: 100%;
}

.grid-image-wrapper img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.grid-image-item:hover img {
  transform: scale(1.05);
}

.grid-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 20px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.grid-item-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.grid-item-btn {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 8px 25px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 2px;
  border: 1px solid #fff;
  transition: all 0.3s ease;
}

.grid-image-item:hover .grid-item-btn {
  background: #fff;
  color: #000;
}

.grid-text-item .grid-text-content {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
  white-space: pre-line;
}

.grid-item-arrow {
  transition: transform 0.3s ease;
}

.grid-text-item:hover .grid-item-arrow {
  transform: translateX(-10px);
}

.rtl .grid-text-item:hover .grid-item-arrow {
  transform: translateX(10px);
}

@media (max-width: 992px) {
  .featured-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .featured-grid-container {
    padding-inline: 20px;
  }
  .grid-item {
    aspect-ratio: 3 / 4;
  }
}

footer {
  position: relative;
}

.tp-footer-area {
  background-color: var(--footer-primary-color, var(--primary-color));
  color: var(--footer-text-color-primary-bg, var(--text-color-primary-bg));
}

.tp-footer-top {
  padding-top: 16px;
  padding-bottom: 16px;
  padding-left: 16px;
  padding-right: 16px;
}

.tp-footer-top > .container {
  padding-left: 16px;
  padding-right: 16px;
}

.tp-footer-top .row {
  justify-content: space-between;
}

.tp-footer-logo {
  margin-bottom: 16px;
}

.tp-footer-logo a {
  display: inline-block;
  padding-bottom: 16px;
}

.tp-footer-logo img {
  object-fit: contain;
  object-position: right;
  height: 60px;
}

.tp-footer-desc {
  max-width: 80%;
  font-size: 14px;
}

.google-apple-stores {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.tp-footer-widget-title {
  font-size: 16px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.footer-accordion-arrow {
  display: none !important;
}

.footer-accordion-arrow::before {
  content: none;
}

/* Keep footer sections always expanded (no accordion on any breakpoint) */
.tp-footer-widget-content.collapse {
  display: block !important;
  height: auto !important;
  visibility: visible !important;
  overflow: visible !important;
}

.tp-footer-widget-title[data-bs-toggle="collapse"],
.tp-footer-widget-title.collapsed {
  pointer-events: none !important;
  cursor: default !important;
}

.tp-footer-widget-title::after {
  display: none !important;
}

.tp-footer-widget-content ul {
  margin-bottom: 24px;
}

.tp-footer-widget-content li:not(:last-child) {
  margin-bottom: 10px;
}

.tp-footer-widget-content li a {
  position: relative;
  font-size: 14px;
  opacity: 0.9;
  color: var(--footer-text-color-primary-bg, var(--text-color-primary-bg)) !important;
}

.tp-footer-widget-content li a:hover {
  text-decoration: underline !important;
}

.tp-footer-talk {
  margin-bottom: 20px;
}

.tp-footer-talk span {
  font-size: 15px;
  opacity: 0.9;
}

.tp-footer-talk h4 {
  font-weight: 500;
  font-size: 22px;
}

.tp-footer-talk h4 a {
  direction: ltr;
  display: inline-block;
}

.tp-footer-contact .tp-footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 5px;
}

.tp-footer-contact .tp-footer-contact-icon svg {
  width: 20px;
  height: 20px;
}

.tp-footer-contact-content a {
  opacity: 0.9;
  direction: ltr;
  display: block;
  text-align: right;
}

.tp-footer-social {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.tp-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  text-align: center;
  border-radius: 6px;
  color: var(--primary-color);
  background: var(--primary-color);
  color: var(--text-color-primary-bg);
}

.tp-footer-social a svg {
  color: currentColor;
  width: 20px;
  height: 20px;
}

.tp-footer-social.social-sm {
  display: none;
}

.certificates-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}

.certificates {
  display: flex;
  align-items: center;
  gap: 12px;
  row-gap: 10px;
  flex-wrap: wrap;
}

.certificates .maroof-icon {
  display: flex;
  gap: 8px;
  align-items: center;
}

.certificates .maroof-icon img {
  height: 28px;
  width: 28px;
  min-width: 28px;
  object-fit: contain;
}

.certificates .maroof-icon .text-certificate {
  font-size: 13px;
  line-height: 19px;
}

.certificates .maroof-icon .text-certificate p {
  margin: 0;
}

.tp-footer-bottom-wrapper {
  padding: 16px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  @media (max-width: 992px) {
    flex-direction: column-reverse;
  }
}

.tp-footer-payment {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  row-gap: 10px;
}

.tp-footer-payment a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tp-footer-payment img {
  width: auto;
  height: 30px;
  max-width: 40px;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
  padding: 4px;
}

.tp-footer-bottom-wrapper .language-currency-btn {
  position: absolute;
  top: 16px;
  right: 0;
}

.lang-currency-display {
  cursor: pointer;
}

.lang-currency-display em {
  opacity: 0.7;
}

.tp-footer-bottom-wrapper .lang-currency-display svg {
  position: relative;
  top: -1px;
}

.subscribe-bar {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  overflow: hidden;
  height: 45px;
  max-width: 100%;
  display: flex;
  align-items: center;
}

#subscribe-input {
  background: #333;
  border: none;
  color: #333;
  padding: 0px 16px;
  font-size: 14px;
  border-radius: 0 !important;
  width: 100%;
}

#subscribe-input::placeholder {
  color: #666;
}

.subscribe-bar button,
.subscribe-bar button.c-btn {
  background: #ffffff !important;
  color: var(--footer-primary-color, var(--primary-color, #000)) !important;
  border: none !important;
  border-inline-start: none !important;
  border-radius: 0;
  min-height: 45px;
  height: 45px;
  padding: 0 18px;
  white-space: nowrap;
  font-weight: 600;
}

@media (max-width: 576px) {
  .tp-footer-top .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 28px;
  }

  .tp-footer-top .row > [class*="col-"] {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .tp-footer-widget,
  .tp-footer-widget-content,
  .tp-footer-widget-title,
  .tp-footer-desc,
  .tp-footer-copyright {
    text-align: center;
    width: 100%;
  }

  .tp-footer-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0 !important;
  }

  .tp-footer-widget-title {
    justify-content: center;
    width: 100%;
  }

  .tp-footer-logo {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .tp-footer-logo a {
    display: inline-flex;
    justify-content: center;
  }

  .tp-footer-logo img {
    object-position: center;
  }

  .tp-footer-desc {
    max-width: 100%;
    margin-inline: auto;
  }

  .tp-footer-widget-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .tp-footer-widget-content ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .tp-footer-widget-content li a {
    display: inline-block;
  }

  .tp-footer-social,
  .tp-footer-social.social-sm,
  .tp-footer-social.social-lg {
    justify-content: center;
  }

  .google-apple-stores {
    justify-content: center;
  }

  .tp-footer-widget.footer-col-4 p {
    text-align: center;
  }

  .subscribe-bar {
    margin-inline: auto;
    max-width: 100%;
    width: 100%;
    justify-content: center;
  }

  .tp-footer-bottom-wrapper {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
  }

  .certificates-methods {
    justify-content: center;
    width: 100%;
  }

  .tp-footer-payment {
    justify-content: center;
    flex-wrap: wrap;
  }
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Search Modal Styles */
/* Search Modal Styles - Redesigned */
.search-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.search-modal-overlay.active {
  display: flex !important;
  opacity: 1;
  justify-content: center;
  align-items: center;
}

.search-modal-content {
  background: #fff;
  width: 100%;
  max-width: 620px;
  border-radius: 20px;
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  /* Inherit page direction (ar/en) — do not force rtl */
  direction: inherit;
}

.search-modal-header {
  padding: 15px 20px;
  border-bottom: 1px solid #f5f5f5;
}

.search-header-title {
  font-size: 16px;
  font-weight: 500;
  color: #000;
}

.search-header-close .close-search-btn {
  color: #333;
}

.search-header-icon {
  color: #333;
}

.search-modal-input-wrapper {
  padding: 12px 16px 14px;
  border-bottom: 1px solid #f5f5f5;
}

.search-modal-form-group {
  position: static;
}

.search-modal-field {
  position: relative;
  display: block;
  width: 100%;
}

/*
  Search icon — exact inset from design QA:
  - EN/LTR: inset 12px 16px auto auto (top + right)
  - AR/RTL: inset 12px auto auto 15px (top + left)
*/
.search-modal-field .search-input-icon {
  position: absolute !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  inset: 12px 16px auto auto !important;
  transform: none !important;
  z-index: 3 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin: 0 !important;
  pointer-events: none;
}

.search-modal-input-wrapper .search-input-input {
  background: #f8f8f8;
  border: none;
  width: 100%;
  font-size: 15px;
  outline: none;
  height: 44px;
  min-height: 44px;
  color: #222;
  padding: 0 44px 0 14px !important;
  border-radius: 12px;
  text-align: left;
}

html[dir="rtl"] .search-modal-field .search-input-icon,
body.rtl .search-modal-field .search-input-icon,
html.rtl .search-modal-field .search-input-icon {
  left: auto !important;
  right: auto !important;
  inset: 12px auto auto 15px !important;
  transform: none !important;
}

html[dir="rtl"] .search-modal-input-wrapper .search-input-input,
body.rtl .search-modal-input-wrapper .search-input-input,
html.rtl .search-modal-input-wrapper .search-input-input {
  padding: 0 14px 0 44px !important;
  text-align: right;
}

html[dir="ltr"] .search-modal-field .search-input-icon,
body.ltr .search-modal-field .search-input-icon,
html.ltr .search-modal-field .search-input-icon {
  left: auto !important;
  right: auto !important;
  inset: 12px 16px auto auto !important;
  transform: none !important;
}

html[dir="ltr"] .search-modal-input-wrapper .search-input-input,
body.ltr .search-modal-input-wrapper .search-input-input,
html.ltr .search-modal-input-wrapper .search-input-input {
  padding: 0 44px 0 14px !important;
  text-align: left;
}

.search-modal-input-wrapper .autocomplete {
  position: relative;
  width: 100%;
}

.search-modal-input-wrapper .search-input-input:focus {
  background: #f3f3f1;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.search-modal-form-group > .autocomplete-items.has-results {
  margin-top: 10px;
  padding-top: 6px;
  border-top: 1px solid #f0f0f0;
  max-height: min(52vh, 380px);
}

.search-modal-body {
  padding: 20px;
  overflow-y: auto;
}

.search-section-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.clear-history-btn {
  font-size: 13px;
  color: #999;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.featured-product-wrapper {
  margin-bottom: 25px;
}

.search-large-product {
  width: 100%;
}

.search-product-info {
  text-align: right;
}

.search-product-info .product-name {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-top: 8px;
  line-height: 1.4;
}

.search-product-info .product-price {
  font-size: 13px;
  font-weight: 600;
  color: #000;
}

.search-thumbnail-link {
  display: block;
  transition: transform 0.2s;
}

.search-thumbnail-link:hover {
  transform: scale(0.95);
}

[dir="rtl"] #search-modal-input {
  text-align: right;
}

[dir="rtl"] .search-section-title {
  text-align: right;
}

[dir="rtl"] .clear-history-btn {
  text-align: left;
}

.block-side-cart .cart-product-delete {
  bottom: 8px !important;
  top: unset !important;
  left: 8px !important;
}

.block-side-cart .cart-products-action {
  justify-content: start !important;
  align-self: flex-start !important;
}

.quantity-wrapper {
  display: flex;
  border: 1px solid #c7c7c7;
  border-radius: 6px;
  overflow: hidden;
  max-height: 36px;
  height: 36px;
  width: fit-content;
  justify-content: center;

  input {
    width: 35px;
    border: 0;
    border-inline: 1px solid #ddd;
    padding: 0px;
    height: 100%;
    background: transparent;
  }

  button {
    width: 32px;
    color: black;
  }
}

.quantity-wrapper .minus,
.quantity-wrapper .plus {
  display: flex;
  align-items: center;
  padding: 0 8px;
  cursor: pointer;
  color: #333;
}

.quantity-wrapper input {
  width: 40px;
  text-align: center;
  border: none;
  outline: none;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  background: transparent;
}

.product-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 18px;
  width: 100%;
  margin: 1.5rem 0 0;
  padding: 18px 0;
  border: none;
}

.product-feature {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}

.product-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  color: #111;
}

.product-feature__icon img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.product-feature__icon--fallback {
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  background: #fafafa;
}

.product-feature__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.product-feature__title {
  color: #111;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.product-feature__text {
  color: #777;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

@media (max-width: 767.98px) {
  .product-card-options-mini .option-values {
    flex-wrap: wrap !important;
    column-gap: 5px;
    row-gap: 5px;
    overflow: visible !important;
    min-height: 0;
    padding: 2px 1px !important;
  }

  .product-card-options-mini .option-group--size .option-values {
    flex-wrap: wrap !important;
    overflow: visible !important;
    row-gap: 5px;
  }

  .product-card-options-mini .option-value-box {
    min-width: 26px;
    height: 26px;
    min-height: 26px;
    font-size: 10px;
    padding: 0 6px;
  }

  .product-card-options-mini .option-value-more {
    min-width: 26px;
    height: 26px;
    font-size: 10px;
  }

  .products-section__view-all-wrap {
    margin-top: 12px;
  }

  .products-section__view-all {
    min-width: 120px;
    padding: 9px 32px;
    font-size: 13px;
  }
}

@media (max-width: 499.98px) and (min-width: 375px) {
  .product-features {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 14px 0;
  }

  .product-card-options-mini .option-value-box {
    min-width: 23px;
    height: 23px;
    font-size: 12px;
    padding: 0 4px;
  }
}

@media (max-width: 374.98px) {
  .product-features {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 0;
  }

  .product-feature__icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  .product-feature__icon img {
    width: 24px;
    height: 24px;
  }
}

.product-features + .product-accordion-wrapper {
  margin-top: 0.5rem;
}

.product-accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border-radius: 0;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  width: 100%;
  background: #fff;
  border-top: 1px solid #ececec;
}

.product-accordion-item {
  background: #ffffff;
  border-bottom: 1px solid #ececec;
  overflow: hidden;
  transition: background-color 0.2s ease;
}

.product-accordion-header {
  width: 100%;
  padding: 14px 0;
  background: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #111;
  outline: none !important;
  text-align: inherit;
  transition: color 0.15s ease;
}

.product-accordion-header:hover {
  color: #444;
}

.product-accordion-header[aria-expanded="true"] {
  background-color: #ffffff;
  border-bottom: 0;
  color: #111;
}

.accordion-title {
  flex-grow: 1;
}

.accordion-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 1.15rem;
  color: #111;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.accordion-icon-wrap::before {
  content: "+";
  line-height: 1;
}

.product-accordion-header[aria-expanded="true"] .accordion-icon-wrap::before {
  content: "\2212";
}

.product-accordion-content {
  background: #ffffff;
}

.product-accordion-content .product-tab-section {
  padding: 0 0 16px;
  color: #444;
  font-size: 13px;
  line-height: 1.7;
  text-align: start;
}

.product-accordion-content .product-tab-section p,
.product-accordion-content .product-tab-section li,
.product-accordion-content .description-paragrah {
  font-size: 13px;
  line-height: 1.7;
  color: #444;
  text-align: start;
}

@media (max-width: 768px) {
  .product-accordion-header {
    padding: 12px 0;
    font-size: 13px;
  }

  .product-accordion-wrapper {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .product-accordion-content .product-tab-section {
    padding-bottom: 12px;
  }
}

.product-accordion-wrapper .collapse:not(.show) {
  display: none;
}

/* —— Vitrin product filters (vitrin:products/filters.jinja) —— */
.products-breadcrumb-section {
  background: #fafafa;
  border-bottom: 1px solid #eee;
}

.products-breadcrumb-section .breadcrumb {
  background: transparent;
  padding: 12px 0;
  margin: 0;
  font-size: 13px;
}

.products-breadcrumb-section .breadcrumb-item + .breadcrumb-item::before {
  color: #bbb;
}

.products-breadcrumb-section .breadcrumb-item a {
  color: #666;
  text-decoration: none;
}

.products-breadcrumb-section .breadcrumb-item a:hover {
  color: #111;
}

.products-breadcrumb-section .breadcrumb-item.active {
  color: #111;
  font-weight: 600;
}

.products-listing-layout {
  padding-top: 8px;
  padding-bottom: 40px;
  max-width: 100%;
}

.products-listing-layout > .d-flex {
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.products-container {
  min-width: 0;
  max-width: 100%;
}

.product-attributes {
  flex: 0 0 280px;
  width: 280px;
  max-width: 280px;
  min-width: 0;
  padding: 20px 16px !important;
  margin: 0 !important;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  align-self: flex-start;
}

.product-attributes .attribute-group,
.attribute-group {
  border: 0 !important;
  border-bottom: 1px solid #ebebeb !important;
  margin: 0 0 4px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.product-attributes .attribute-group:last-of-type {
  border-bottom: 0 !important;
}

.product-attributes .attribute-header,
.attribute-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 2px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #111 !important;
  cursor: pointer;
  background: transparent !important;
  border: 0 !important;
}

.product-attributes .attribute-body,
.attribute-body {
  padding: 0 2px 14px !important;
}

.product-attributes .attribute-body label,
.attribute-body label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 7px 0;
  font-size: 13px;
  font-weight: 400;
  color: #333;
  cursor: pointer;
}

.product-attributes .attribute-body input[type="checkbox"],
.attribute-body input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #111;
  flex-shrink: 0;
  cursor: pointer;
}

.attribute-price-body .form-row {
  display: flex !important;
  gap: 8px !important;
  align-items: stretch;
}

.attribute-price-body .form-row .form-group {
  flex: 1;
  min-width: 0;
  padding: 0 !important;
  margin: 0 !important;
}

.attribute-price-body .form-row label {
  display: none !important;
}

.attribute-price-body .form-control,
.attribute-price-body input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #ddd !important;
  border-radius: 10px !important;
  font-size: 13px;
  background: #fff;
  box-shadow: none !important;
}

.attribute-price-body .form-control:focus,
.attribute-price-body input:focus {
  border-color: #111 !important;
  outline: none;
}

.attribute-body.attribute-price-body {
  padding: 0 2px 14px !important;
}

.product-attributes .attribute-footer,
.attribute-footer {
  display: flex;
  gap: 10px;
  padding: 16px 2px 4px !important;
  position: sticky;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 28%);
}

.product-attributes .attribute-footer button,
.attribute-footer button {
  flex: 1;
  min-height: 44px;
  border-radius: 12px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  border: 1px solid #111 !important;
  cursor: pointer;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.product-attributes .attribute-footer button[type="submit"],
.product-attributes .attribute-footer .btn-primary,
.attribute-footer button[type="submit"],
.attribute-footer .btn-primary,
.attribute-footer button:last-child {
  background: #111 !important;
  color: #fff !important;
}

.product-attributes .attribute-footer button[type="button"],
.product-attributes .attribute-footer .btn-light,
.attribute-footer button[type="button"],
.attribute-footer .btn-light,
.attribute-footer button:first-child:not(:only-child) {
  background: #fff !important;
  color: #111 !important;
}

.product-attributes .attribute-footer button:hover {
  opacity: 0.92;
}

@media (max-width: 991px) {
  .product-attributes {
    position: fixed !important;
    top: 0 !important;
    inset-inline-start: 0;
    bottom: 0 !important;
    width: min(90vw, 360px) !important;
    max-width: min(90vw, 360px) !important;
    max-height: none !important;
    height: 100dvh !important;
    z-index: 10060 !important;
    border-radius: 0 !important;
    border: 0 !important;
    border-inline-end: 1px solid #eee !important;
    padding: 16px !important;
    padding-top: max(16px, env(safe-area-inset-top)) !important;
    padding-bottom: max(16px, env(safe-area-inset-bottom)) !important;
  }
}

/* —— Product listing: column on small screens, row on lg+ —— */
.products-listing-layout {
  max-width: 100%;
}

/* —— Product listing sidebar filters (chips + price / legacy checkboxes) —— */
.products-sidebar-filters-column {
  width: 100%;
  max-width: 300px;
  min-width: 0;
}

@media (max-width: 991px) {
  .products-sidebar-filters-column {
    flex: 0 0 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 0;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible;
    position: relative;
    z-index: auto;
  }

  .products-filters-panel {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 90% !important;
    height: 100dvh !important;
    min-height: -webkit-fill-available;
    margin: 0 !important;
    box-sizing: border-box;
    z-index: 10060 !important;
    display: flex;
    flex-direction: column;
    background: #fff;
    transition:
      transform 0.3s ease,
      visibility 0.3s;
  }

  .products-filters-panel:not(.is-open) {
    transform: translateX(-100%);
    visibility: hidden;
    pointer-events: none;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
  }

  html[dir="rtl"] .products-filters-panel:not(.is-open) {
    transform: translateX(100%);
  }

  .products-filters-panel.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .products-sidebar-filters {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
  }

  .products-filters-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px 16px;
  }
}

@media (min-width: 992px) {
  .products-filters-panel {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    z-index: auto !important;
    transform: none !important;
    visibility: visible !important;
    max-height: none;
    display: block;
    background: transparent;
  }

  .products-filters-scroll {
    padding: 0;
    overflow: visible;
  }
}

.products-filters-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: -webkit-fill-available;
  z-index: 10050 !important;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s;
  pointer-events: none;
}

.products-filters-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.products-filters-drawer-open {
  overflow: hidden;
  touch-action: none;
}

@media (min-width: 992px) {
  .products-filters-backdrop {
    display: none !important;
  }

  body.products-filters-drawer-open {
    overflow: visible;
    touch-action: auto;
  }
}

.products-filters-drawer-header {
  position: relative;
  flex-shrink: 0;
  padding: 16px;
  padding-top: max(14px, env(safe-area-inset-top));
  border-bottom: 1px solid #ebebeb;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.products-filters-drawer-close {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #111;
}

html[dir="rtl"] .products-filters-drawer-close {
  left: auto;
  right: 8px;
}

.products-filters-drawer-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #111;
}

.products-filters-drawer-footer {
  flex-shrink: 0;
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid #ebebeb;
  background: #fff;
}

.products-filters-drawer-footer--dual {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
}

.products-filters-drawer-footer--dual .products-filters-see-items-btn--primary {
  flex: 1 1 62%;
  min-width: 0;
  width: auto;
}

.products-filters-drawer-footer--dual .products-filters-clear-btn {
  flex: 0 1 34%;
  min-width: 0;
}

.products-filters-clear-btn {
  box-sizing: border-box;
  border: 1px solid #000;
  border-radius: 14px;
  padding: 14px 12px;
  font-size: 14px;
  font-weight: 400;
  background: #fff;
  color: #111;
  cursor: pointer;
}

.products-filters-clear-btn:hover {
  background: #f5f5f5;
}

.products-filters-see-items-btn {
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 400;
  background: #000;
  color: #fff;
  cursor: pointer;
}

.products-sidebar-filters__actions--dual .products-filters-see-items-btn--flex {
  flex: 1 1 62%;
  min-width: 0;
  width: auto;
}

.products-sidebar-filters__actions--dual .products-filters-clear-btn {
  flex: 0 1 34%;
  min-width: 0;
}

.products-filters-see-items-btn:hover {
  opacity: 0.92;
}

.products-sidebar-filters__price-hint {
  font-size: 12px;
  color: #666;
  margin: 10px 0 0;
  line-height: 1.4;
}

@media (max-width: 575px) {
  .products-sidebar-filters__chips {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .products-sidebar-filters__chip {
    padding: 8px 6px;
    font-size: 12px;
    min-height: 36px;
  }

  .products-sidebar-filters__section--size
    .products-sidebar-filters__chip:not(.products-sidebar-filters__chip--color):not(
      .products-sidebar-filters__chip--icon
    ) {
    padding: 6px 12px;
    font-size: 13px;
    min-height: auto;
  }
}

.products-sidebar-filters {
  direction: inherit;
  font-size: 14px;
  color: #111;
}

.products-sidebar-filters__title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
  text-align: inherit;
}

.products-sidebar-filters__section {
  border: none;
  margin: 0;
  padding: 0;
}

.products-sidebar-filters__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  padding: 8px 0;
  user-select: none;
}

.products-sidebar-filters__summary::-webkit-details-marker {
  display: none;
}

.products-sidebar-filters__summary-text {
  flex: 1;
  text-align: start;
}

.products-sidebar-filters__chev {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  opacity: 0.65;
}

.products-sidebar-filters__section:not([open]) .products-sidebar-filters__chev {
  transform: rotate(180deg);
}

.products-sidebar-filters__content {
  padding-bottom: 8px;
}

.products-sidebar-filters__divider {
  height: 1px;
  background: #e8e8e8;
  margin: 4px 0 12px;
}

.products-sidebar-filters__chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

/* Size sidebar: match top toolbar .btn-attr-opt (flex row, same padding/radius/colors) */

.products-sidebar-filters__section--size
  .products-sidebar-filters__chip:not(.products-sidebar-filters__chip--color):not(
    .products-sidebar-filters__chip--icon
  ):hover {
  border-color: #333;
  color: #333;
}

.products-sidebar-filters__section--size
  .products-sidebar-filters__chip:not(.products-sidebar-filters__chip--color):not(
    .products-sidebar-filters__chip--icon
  ):has(.products-sidebar-filters__chip-input:checked) {
  background: #000;
  border-color: #000;
  color: #fff;
  white-space: nowrap;
}

.products-sidebar-filters__chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 8px 14px;
  min-height: 38px;
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #222;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.products-sidebar-filters__chip-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

.products-sidebar-filters__chip:has(.products-sidebar-filters__chip-input:checked) {
  background: #000;
  border-color: #000;
  color: #fff;
}

.products-sidebar-filters__chip-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.products-sidebar-filters__chip-icon img {
  width: 22px;
  height: 22px;
  object-fit: cover;
  border-radius: 4px;
}

.products-sidebar-filters__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  margin: 0;
  cursor: pointer;
  font-weight: 400;
}

.products-sidebar-filters__row-text {
  flex: 1;
  text-align: start;
}

.products-sidebar-filters__square-wrap,
.products-sidebar-filters__color-dot-wrap,
.products-sidebar-filters__icon-wrap {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products-sidebar-filters__square-input {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid #c9c9c9;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
}

.products-sidebar-filters__square-input:checked {
  background: #000;
  border-color: #000;
  box-shadow: inset 0 0 0 2px #fff;
}

.products-sidebar-filters__color-dot-wrap .products-sidebar-filters__square-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 2;
  cursor: pointer;
}

.products-sidebar-filters__color-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.products-sidebar-filters__thumb {
  width: 22px;
  height: 22px;
  object-fit: cover;
  border-radius: 4px;
}

.products-sidebar-filters__icon-wrap .products-sidebar-filters__square-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 2;
}

.products-sidebar-filters__price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.products-sidebar-filters__price-field {
  position: relative;
  flex: 1;
  min-width: 0;
}

.products-sidebar-filters__price-input {
  width: 100%;
  padding: 10px 36px 10px 10px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  font-size: 13px;
  background: #fff;
  direction: inherit;
}

html[dir="rtl"] .products-sidebar-filters__price-input {
  padding: 10px 10px 10px 36px;
}

.products-sidebar-filters__currency {
  position: absolute;
  top: 50%;
  inset-inline-end: 10px;
  transform: translateY(-50%);
  font-size: 12px;
  color: #555;
  pointer-events: none;
  white-space: nowrap;
}

.products-sidebar-filters__price-between {
  flex-shrink: 0;
  font-size: 13px;
  color: #444;
  padding: 0 2px;
}

.products-sidebar-filters__actions {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}

.products-sidebar-filters__actions--dual {
  gap: 10px;
  align-items: stretch;
  justify-content: stretch;
  width: 100%;
}

html[dir="rtl"] .products-sidebar-filters__actions {
  justify-content: flex-start;
}

html[dir="rtl"] .products-sidebar-filters__actions--dual {
  justify-content: stretch;
}

/* Mobile side menu */
#sliding-menu.slide-menu {
  width: 365px;
  max-width: calc(100vw - 24px);
  background: var(--slide-menu-bg-color, #fff) !important;
  color: var(--slide-menu-text-color, #4b4b4b) !important;
  filter: none !important;
  z-index: 1001;
  box-shadow: none;
  overflow: hidden;
}

#sliding-menu .slide-menu-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  background: var(--slide-menu-bg-color, #fff);
  border-bottom: 1px solid rgb(0 0 0 / 8%);
}

#sliding-menu .slide-menu-mobile-logo {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0;
}

#sliding-menu .slide-menu-mobile-logo img {
  display: block;
  width: auto;
  object-fit: contain;
  max-height: 60px;
}

#sliding-menu .slide-menu-mobile-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--slide-menu-text-color, #414141);
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

#sliding-menu .slide-menu__slider {
  position: relative;
  height: calc(100vh - 58px);
  height: calc(100dvh - 58px);
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--slide-menu-bg-color, #fff);
  /* Disable broken horizontal slide — nested menus overlay instead (fixes RTL white panel) */
  transform: none !important;
}

#sliding-menu ul {
  background: var(--slide-menu-bg-color, #fff) !important;
  color: var(--slide-menu-text-color, #4b4b4b) !important;
  filter: none !important;
}

#sliding-menu .slide-menu__slider > ul {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0 14px !important;
  position: static;
}

#sliding-menu .slide-menu-ul-li {
  border-top: 0 !important;
  border-bottom: 1px solid rgb(0 0 0 / 8%);
}

#sliding-menu .slide-menu-ul-li > a,
#sliding-menu .slide-menu__backlink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  padding: 0 !important;
  color: var(--slide-menu-text-color, #4b4b4b) !important;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  text-align: start;
  text-decoration: none !important;
}

#sliding-menu .slide-menu-ul-li > a .clickable-span {
  padding: 0 !important;
  order: 0;
}

/* Arrow on the trailing side (left in RTL) — opposite end from the category name */
#sliding-menu .slide-menu__decorator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  order: 0;
  margin: 0;
  margin-inline-start: auto;
  color: var(--slide-menu-text-color, #3b3b3b);
  font-size: 0;
  line-height: 1;
  pointer-events: none;
}

#sliding-menu .slide-menu__decorator .slide-menu-arrow {
  font-size: 0;
  line-height: 1;
}

#sliding-menu .slide-menu__decorator .slide-menu-arrow::before {
  content: "›";
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: var(--slide-menu-text-color, #3b3b3b);
}

/* Only items with real nested menus get an arrow — never leaf categories */
#sliding-menu .slide-menu-ul-li > a::after {
  content: none !important;
  display: none !important;
}

#sliding-menu .slide-menu-ul-li:not(:has(> ul)) > a .slide-menu__decorator {
  display: none !important;
}

/* Nested menus: full-panel overlay (works in RTL + LTR, no blank white screen) */
#sliding-menu ul ul {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 0 14px !important;
  background: var(--slide-menu-bg-color, #fff) !important;
  z-index: 8;
  box-sizing: border-box;
}

#sliding-menu ul ul.slide-menu__submenu--active {
  display: block !important;
}

#sliding-menu .slide-menu__backlink {
  gap: 10px;
  text-transform: none;
  cursor: pointer;
  flex-direction: row;
  justify-content: flex-start;
}

/* Back arrow sits on the start side (right in RTL), next to the category name */
html[dir="rtl"] #sliding-menu .slide-menu__backlink,
body.rtl #sliding-menu .slide-menu__backlink {
  flex-direction: row;
  justify-content: flex-start;
}

html[dir="ltr"] #sliding-menu .slide-menu__backlink,
body:not(.rtl) #sliding-menu .slide-menu__backlink {
  flex-direction: row;
  justify-content: flex-start;
}

#sliding-menu .slide-menu__backlink .slide-menu-arrow-back {
  font-size: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  order: 0;
  margin: 0;
  pointer-events: none;
}

#sliding-menu .slide-menu__backlink .slide-menu-arrow-back::before {
  content: "‹";
  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  color: var(--slide-menu-text-color, #3b3b3b);
}

#sliding-menu .slide-menu-region-item {
  margin-top: auto;
  padding: 26px 0 20px;
  list-style: none;
}

#sliding-menu .slide-menu-region-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--slide-menu-text-color, #555);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

#sliding-menu .slide-menu-region-flag {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 8%);
}

.header-language-flag {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 8%);
}

.language-currency .header-region-divider,
.language-currency .header-region-chevron,
.header-locale-controls .header-region-chevron {
  display: none;
}

#sliding-menu .slide-menu-region-arrow {
  color: var(--slide-menu-text-color, #444);
  font-family: Arial, sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 0.8;
}

#sliding-menu .slide-menu-products-item {
  margin: 0 -14px;
  padding: 0 0 36px;
  list-style: none;
}

#sliding-menu .slide-menu-products {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 36px 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

#sliding-menu .slide-menu-products::-webkit-scrollbar {
  display: none;
}

#sliding-menu .slide-menu-product-card {
  flex: 0 0 110px;
  display: block;
  padding: 0 !important;
  color: var(--slide-menu-text-color, #4d4d4d) !important;
  text-decoration: none !important;
}

#sliding-menu .slide-menu-product-image {
  display: block;
  aspect-ratio: 4 / 5;
  margin-bottom: 20px;
  overflow: hidden;
  background: #f6f6f6;
}

#sliding-menu .slide-menu-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#sliding-menu .slide-menu-product-title,
#sliding-menu .slide-menu-product-price {
  display: block;
  color: var(--slide-menu-text-color, #4d4d4d);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  text-align: left;
}

body.rtl #sliding-menu .slide-menu-product-title,
body.rtl #sliding-menu .slide-menu-product-price,
html[dir="rtl"] #sliding-menu .slide-menu-product-title,
html[dir="rtl"] #sliding-menu .slide-menu-product-price {
  text-align: right;
}

#sliding-menu .slide-menu-product-title {
  min-height: 35px;
  margin-bottom: 3px;
}

#sliding-menu .slide-menu-product-price {
  white-space: nowrap;
}

#sidenav-overlay {
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
}

.filter-count {
  display: none !important;
}

.home section:first-child {
  padding-top: 0 !important;
}

/* ─── Video Banner Section ───────────────────────── */
.video-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0a0a0a;
  margin-block: 48px;
}

.video-banner__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.video-banner__video,
.video-banner__iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  pointer-events: none;
}

.video-banner__embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-banner__embed iframe,
.video-banner__embed video {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  border: 0;
  object-fit: cover;
}

.video-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #000;
  pointer-events: none;
}

.video-banner__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 90%;
  max-width: 720px;
  text-align: center;
  color: #fff;
  pointer-events: none;
}

.video-banner__title {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
}

.video-banner__description {
  margin: 0 0 24px;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 400;
  line-height: 1.5;
  opacity: 0.92;
}

.video-banner__btn {
  display: inline-block;
  padding: 10px 40px;
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  pointer-events: auto;
  transition: background 0.3s ease, color 0.3s ease;
}

a.video-banner__btn:hover {
  background: #fff;
  color: #000;
  text-decoration: none;
}

span.video-banner__btn {
  cursor: default;
  pointer-events: none;
}

/* Heights */
.video-banner--auto {
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 220px;
}

.video-banner--small {
  height: 280px;
}

.video-banner--medium {
  height: 420px;
}

.video-banner--large {
  height: 560px;
}

.video-banner--fullscreen {
  height: 100vh;
  min-height: 420px;
}

@media (max-width: 991px) {
  .video-banner--small {
    height: 240px;
  }

  .video-banner--medium {
    height: 360px;
  }

  .video-banner--large {
    height: 460px;
  }

  .video-banner--fullscreen {
    height: 100svh;
    min-height: 360px;
  }
}

@media (max-width: 768px) {
  .video-banner--auto {
    aspect-ratio: 9 / 12;
    min-height: 280px;
    max-height: 70vh;
  }

  .video-banner--small {
    height: 220px;
  }

  .video-banner--medium {
    height: 300px;
  }

  .video-banner--large {
    height: 380px;
  }

  .video-banner__btn {
    padding: 8px 28px;
    font-size: 0.9rem;
  }

  .video-banner__description {
    margin-bottom: 18px;
  }
}

.footer {
  margin-top: 15px;
}

/* ─── Customer Reviews Section ───────────────────── */
.customer-reviews {
  --cr-ink: #1a1a1a;
  --cr-title: var(--primary-color, #5c1f24);
  --cr-muted: #6a6a6a;
  --cr-line: rgba(20, 20, 20, 0.08);
  --cr-card: #ffffff;
  --cr-star: #e0b84a;
  --cr-star-off: #d7d7d7;
  --cr-verified: #2f9e5b;
  position: relative;
  overflow: hidden;
  padding: 48px 0;
  background: var(--cr-bg, transparent);
}

.customer-reviews__inner {
  position: relative;
  z-index: 1;
}

.customer-reviews__header {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(28px, 4vw, 44px);
  text-align: center;
}

.customer-reviews__title {
  margin: 0 0 14px;
  color: var(--cr-title);
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.customer-reviews__desc {
  margin: 0 auto;
  max-width: 620px;
  color: var(--cr-muted);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  font-weight: 400;
  line-height: 1.75;
}

.customer-reviews__stage {
  position: relative;
}

.customer-reviews--slider .customer-reviews__stage {
  padding-inline: 56px;
}

.customer-reviews__swiper {
  overflow: hidden;
  padding-block: 10px 24px;
}

.customer-reviews__swiper .swiper-wrapper {
  align-items: stretch;
}

.customer-reviews__swiper .swiper-slide {
  height: auto;
  display: flex;
  box-sizing: border-box;
}

.customer-reviews__swiper .swiper-slide > .cr-card {
  flex: 1 1 auto;
}

.customer-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.cr-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 30px 26px 22px;
  background: var(--cr-card);
  border: none;
  border-radius: 20px 5px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.cr-card:hover {
  transform: translateY(-4px);
}

.cr-card__quote {
  position: absolute;
  top: 2px;
  right: 18px;
  left: auto;
  color: rgba(0, 0, 0, 0.08);
  font-size: 4.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.cr-card__stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.cr-star {
  width: 18px;
  height: 18px;
  fill: var(--cr-star-off);
}

.cr-star.is-on {
  fill: var(--cr-star);
}

.cr-card__text {
  position: relative;
  z-index: 1;
  flex: 1;
  margin: 0 0 22px;
  color: var(--cr-ink);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  font-weight: 400;
  line-height: 1.8;
  text-align: center;
}

.cr-card__footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--cr-line);
  margin-top: auto;
}

.cr-card__person {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.cr-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.cr-card__avatar--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--primary-color, #5c1f24) 12%, #fff);
  color: var(--primary-color, #5c1f24);
  font-size: 1rem;
  font-weight: 700;
}

.cr-card__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  text-align: start;
}

.cr-card__name {
  color: var(--cr-ink);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.cr-card__role,
.cr-card__date {
  color: var(--cr-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.cr-card__verified {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: var(--cr-verified);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.cr-card__verified-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cr-verified);
}

.cr-card__verified-icon svg {
  width: 12px;
  height: 12px;
  fill: #fff;
}

.customer-reviews__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  background: #fff;
  color: #2a2a2a;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.customer-reviews__nav svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Physical sides: left arrow always left, right arrow always right */
.customer-reviews__prev {
  left: 0;
  right: auto;
}

.customer-reviews__next {
  right: 0;
  left: auto;
}

.customer-reviews__nav:hover {
  background: var(--primary-color, #5c1f24);
  color: var(--text-color-primary-bg, #fff);
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.customer-reviews__nav.swiper-button-disabled,
.customer-reviews__nav.swiper-button-lock {
  display: none !important;
}

.customer-reviews__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 2px;
}

.customer-reviews__dots .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  background: #d2d2d2;
  opacity: 1;
  transition: width 0.25s ease, background 0.25s ease, border-radius 0.25s ease;
}

.customer-reviews__dots .swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 999px;
  background: var(--primary-color, #5c1f24);
}

@media (max-width: 1099px) {
  .customer-reviews--slider .customer-reviews__stage {
    padding-inline: 48px;
  }

  .customer-reviews__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .cr-card {
    padding: 26px 22px 20px;
  }

  .customer-reviews__title {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
  }

  .customer-reviews__desc {
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .customer-reviews {
    padding: 48px 0;
  }

  .customer-reviews--slider .customer-reviews__stage {
    padding-inline: 0;
  }

  .customer-reviews__nav {
    display: none;
  }

  .customer-reviews__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .customer-reviews__header {
    margin-bottom: 24px;
    padding-inline: 4px;
  }

  .customer-reviews__title {
    font-size: 1.65rem;
  }

  .customer-reviews__desc {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .cr-card {
    border-radius: 18px 6px;
    padding: 24px 20px 18px;
  }

  .cr-card__text {
    font-size: 1rem;
    line-height: 1.75;
  }

  .cr-card__name {
    font-size: 1rem;
  }

  .cr-card__verified {
    font-size: 0.84rem;
  }

  .cr-card__avatar {
    width: 44px;
    height: 44px;
  }

  .cr-card__footer {
    flex-wrap: wrap;
    gap: 10px;
  }

  .cr-card__quote {
    font-size: 3.6rem;
  }
}

@media (max-width: 500px) {
  /* Tighten homepage section spacing */
  .categories-section {
    padding: 28px 0;
  }

  .products-section {
    padding: 28px 0;
  }

  .featured-grid-section {
    padding: 28px 0;
  }

  .banner-section {
    padding: 12px 0;
  }

  .marquee-slider-section {
    padding: 24px 0 !important;
  }

  .video-banner {
    margin-block: 24px;
  }

  .branches-map {
    margin-top: 15px;
    padding: 0;
  }

  .reels-videos {
    padding: 15px 0;
  }

  .footer {
    margin-top: 15px;
  }

  .tp-footer-top {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .customer-reviews {
    padding: 15px 0;
  }

  .customer-reviews__header {
    margin-bottom: 16px;
  }

  .customer-reviews__swiper {
    padding-block: 4px 14px;
  }

  /* Card order: avatar → name → stars → comment → verified */
  .cr-card {
    align-items: center;
    padding: 16px 14px 14px;
  }

  .cr-card__quote {
    display: none;
  }

  .cr-card__stars {
    order: 2;
    margin-bottom: 10px;
  }

  .cr-card__text {
    order: 3;
    flex: 0 1 auto;
    margin: 0 0 12px;
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .cr-card__footer {
    display: contents;
    border: none;
    padding: 0;
  }

  .cr-card__person {
    order: 1;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-bottom: 10px;
  }

  .cr-card__meta {
    align-items: center;
    text-align: center;
  }

  .cr-card__verified {
    order: 4;
    justify-content: center;
    width: 100%;
  }

  .cr-card__avatar,
  .cr-card__avatar--fallback {
    width: 52px;
    height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cr-card,
  .customer-reviews__nav,
  .customer-reviews__dots .swiper-pagination-bullet {
    transition: none !important;
  }

  .cr-card:hover {
    transform: none !important;
  }
}
/* --- Branches Map (exact Osan reference: tabs + image + visit) --------- */
.branches-map {
  position: relative;
  margin: 26px 0 0;
  padding: 0;
  background: transparent;
}

.branches-map__title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 20px;
  text-align: center;
}

.branches-map__title {
  margin: 0;
  color: #000;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.branches-map__subtitle {
  margin: 0;
  max-width: 640px;
  color: #555;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  opacity: 0.9;
}

.branches-map__tabs-wrap {
  position: relative;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.branches-map__tabs-stack {
  position: static;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 0 0 18px;
  pointer-events: auto;
}

.branches-map__tabs {
  list-style: none;
  margin: 0;
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  border: 0;
  background: #ffffff;
  padding: 8px 10px;
  border-radius: 50px;
  width: max-content;
  max-width: 100%;
  box-shadow: rgba(100, 100, 111, 0.2) 0 7px 29px 0;
  pointer-events: auto;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  cursor: default;
  touch-action: pan-x;
  user-select: none;
  -webkit-user-select: none;
}

@media (hover: none) and (pointer: coarse) {
  .branches-map__tabs {
    cursor: grab;
  }
}

.branches-map__tabs.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.branches-map__tabs.is-dragging .branches-map__tab {
  /* Only while finger-dragging — never block desktop mouse clicks */
  pointer-events: none;
}

.branches-map__tabs::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.branches-map__tabs--cities {
  padding: 6px 8px;
  border-radius: 40px;
}

.branches-map__tabs--cities[hidden] {
  display: none !important;
}

.branches-map__tabs--cities:not(.is-active) {
  display: none !important;
}

.branches-map__tab-item {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex: 0 0 auto;
}

.branches-map__tab {
  display: block;
  padding: 8px 24px;
  border: 0;
  width: auto;
  min-width: max-content;
  border-radius: 50px;
  background: transparent;
  color: #000;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  pointer-events: auto;
  position: relative;
  z-index: 2;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.branches-map__tab--city {
  padding: 6px 18px;
  font-size: 15px;
}

.branches-map__tab.is-active {
  background: var(--primary-color, #000);
  color: var(--text-color-primary-bg, #fff);
}

.branches-map__tab:hover:not(.is-active) {
  background: rgba(0, 0, 0, 0.04);
}

.branches-map__tab:focus {
  outline: none;
}

.branches-map__tab:focus-visible {
  outline: 2px solid var(--primary-color, #000);
  outline-offset: 2px;
}

.branches-map__panels {
  position: relative;
  width: 100%;
}

.branches-map__panel {
  position: relative;
  display: none;
  width: 100%;
}

.branches-map__panel.is-active {
  display: block;
}

.branches-map__panel[hidden] {
  display: none !important;
}

.branches-map__image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  -webkit-border-radius: 16px;
  overflow: clip;
}

.branches-map__map-wrap {
  position: relative;
  width: 100%;
  border-radius: 16px;
  -webkit-border-radius: 16px;
  overflow: hidden;
  background: #efefed;
}

.branches-map__map {
  width: 100%;
  display: block;
  border: 0;
  border-radius: 16px;
  -webkit-border-radius: 16px;
  height: 520px;
  min-height: 360px;
  background: #efefed;
}

.branches-map__image--empty {
  min-height: 420px;
  background: #efefed;
  border-radius: 16px;
}

.branches-map__visit {
  position: absolute;
  bottom: 24px;
  right: 0;
  left: 0;
  margin: auto;
  width: max-content;
  max-width: calc(100% - 32px);
  z-index: 3;
  pointer-events: none;
}

.branches-map__visit-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 26px;
  border: 1px solid #000;
  border-radius: 50px;
  -webkit-border-radius: 50px;
  background-color: #fff;
  color: #000;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(1, 15, 28, 0.12);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.branches-map__visit-btn svg {
  flex-shrink: 0;
  display: block;
  width: 18px;
  height: 18px;
}

.branches-map__visit-btn:hover {
  background-color: #000;
  border-color: #000;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 992px) {
  .branches-map__title {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .branches-map {
    margin-top: 24px;
  }

  .branches-map__tabs-stack {
    gap: 8px;
    margin-bottom: 14px;
  }

  .branches-map__tabs {
    border-radius: 40px;
    -webkit-border-radius: 40px;
    padding: 6px 8px;
  }

  .branches-map__tabs--cities {
    border-radius: 32px;
    -webkit-border-radius: 32px;
  }

  .branches-map__map {
    height: 420px;
  }

  .branches-map__map-wrap,
  .branches-map__image {
    border-radius: 16px;
  }

  .branches-map__tab {
    padding: 6px 16px;
    font-size: 15px;
  }

  .branches-map__image--empty {
    min-height: 280px;
  }

  .branches-map__visit {
    bottom: 18px;
  }
}

@media (max-width: 576px) {
  .branches-map__title-wrap {
    margin-bottom: 16px;
  }

  .branches-map__title {
    font-size: 22px;
  }

  .branches-map__subtitle {
    font-size: 14px;
    padding-inline: 8px;
  }

  .branches-map__tabs-stack {
    gap: 8px;
    margin-bottom: 12px;
    padding-inline: 4px;
  }

  .branches-map__tabs {
    padding: 5px 6px;
    gap: 2px;
  }

  .branches-map__tab {
    padding: 5px 12px;
    font-size: 14px;
    min-width: max-content;
  }

  .branches-map__tab--city {
    padding: 4px 10px;
    font-size: 13px;
  }

  .branches-map__map {
    height: 340px;
    min-height: 280px;
  }

  .branches-map__visit {
    bottom: 14px;
  }

  .branches-map__visit-btn {
    font-size: 14px;
    padding: 8px 18px;
    gap: 5px;
  }

  .branches-map__visit-btn svg {
    width: 16px;
    height: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .branches-map__tab,
  .branches-map__visit-btn {
    transition: none !important;
  }
}

/* =========================
   Reels Videos Section
   ========================= */
.reels-videos {
  --rv-bg: transparent;
  --rv-text: #171717;
  --rv-accent: #111111;
  --rv-radius: 24px;
  --rv-gap: 18px;
  --rv-desktop-cards: 3;
  --rv-muted: color-mix(in srgb, var(--rv-text) 58%, transparent);
  position: relative;
  overflow: hidden;
  padding: 48px 0;
  background: var(--rv-bg);
  color: var(--rv-text);
}

.reels-videos__inner {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.reels-videos__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 28px;
  margin-bottom: clamp(22px, 3.5vw, 36px);
}

.reels-videos__heading {
  flex: 1 1 auto;
  min-width: 0;
  text-align: start;
}

.reels-videos__title {
  margin: 0 0 10px;
  color: var(--rv-text);
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.reels-videos__desc {
  margin: 0;
  max-width: 42rem;
  color: var(--rv-muted);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.7;
}

.reels-videos__nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  direction: ltr;
}

.reels-videos__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--rv-text) 14%, transparent);
  border-radius: 999px;
  background: #fff;
  color: var(--rv-text);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.reels-videos__arrow svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.reels-videos__arrow:hover:not(:disabled) {
  background: var(--rv-accent);
  border-color: var(--rv-accent);
  color: #fff;
  transform: translateY(-1px);
}

.reels-videos__arrow:focus-visible {
  outline: 2px solid var(--rv-accent);
  outline-offset: 3px;
}

.reels-videos__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.reels-videos__viewport {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  padding-block: 8px 16px;
  margin-inline: calc(50% - 50vw);
  padding-inline: max(16px, calc(50vw - 50%));
  box-sizing: border-box;
}

.reels-videos__viewport::-webkit-scrollbar {
  display: none;
}

.reels-videos__track {
  display: flex;
  align-items: flex-start;
  gap: var(--rv-gap);
  width: max-content;
  min-width: 100%;
  justify-content: flex-start;
}

.reels-videos__card {
  --rv-card-w: min(320px, calc((100vw - 96px - (var(--rv-gap) * (var(--rv-desktop-cards) - 1))) / var(--rv-desktop-cards)));
  --rv-card-h: calc(var(--rv-card-w) * 16 / 9);
  flex: 0 0 var(--rv-card-w);
  width: var(--rv-card-w);
  height: var(--rv-card-h);
  max-width: 320px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.reels-videos__media {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--rv-radius);
  overflow: hidden;
  background: #111;
  box-shadow: 0 10px 28px rgba(15, 15, 15, 0.1);
  isolation: isolate;
}

.reels-videos__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border: 0;
  background: #111;
}

.reels-videos__controls {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 3;
  display: flex;
  flex-direction: row;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.reels-videos__card:hover .reels-videos__controls,
.reels-videos__card:focus-within .reels-videos__controls,
.reels-videos__card.is-playing .reels-videos__controls {
  opacity: 1;
  pointer-events: auto;
}

.reels-videos__ctrl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.45);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.reels-videos__ctrl:hover {
  background: rgba(20, 20, 20, 0.65);
  transform: scale(1.04);
}

.reels-videos__ctrl:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.reels-videos__ctrl svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.reels-videos__play .rv-icon-pause,
.reels-videos__card.is-playing .reels-videos__play .rv-icon-play {
  display: none;
}

.reels-videos__card.is-playing .reels-videos__play .rv-icon-pause {
  display: block;
}

.reels-videos__mute .rv-icon-unmuted,
.reels-videos__card.is-unmuted .reels-videos__mute .rv-icon-muted {
  display: none;
}

.reels-videos__card.is-unmuted .reels-videos__mute .rv-icon-unmuted {
  display: block;
}

.reels-videos__product {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  text-decoration: none;
  color: #fff;
  border-radius: calc(var(--rv-radius) * 0.55);
  background: rgba(18, 18, 18, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease;
}

.reels-videos__product:hover {
  background: rgba(18, 18, 18, 0.64);
  color: #fff;
}

.reels-videos__product:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.reels-videos__product-img {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.12);
}

.reels-videos__product-meta {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: start;
}

.reels-videos__product-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
}

.reels-videos__product-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

.reels-videos__product-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.reels-videos__product-old {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: line-through;
}

.reels-videos__product-cta {
  margin-top: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .reels-videos__card:not(:hover):not(.is-playing) .reels-videos__controls {
    opacity: 0;
    pointer-events: none;
  }

  .reels-videos__card:hover .reels-videos__controls,
  .reels-videos__card.is-playing:hover .reels-videos__controls,
  .reels-videos__card:focus-within .reels-videos__controls {
    opacity: 1;
    pointer-events: auto;
  }

  /* First playing card: show controls only on hover */
  .reels-videos__card.is-playing:not(:hover):not(:focus-within) .reels-videos__controls {
    opacity: 0;
    pointer-events: none;
  }
}

@media (hover: none) {
  .reels-videos__controls {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 1024px) {
  .reels-videos__card {
    --rv-card-w: calc((100vw - (var(--rv-gap) * 2) - 48px) / 2.4);
    --rv-card-h: calc(var(--rv-card-w) * 16 / 9);
    max-width: 280px;
  }
}

@media (max-width: 992px) {
  .reels-videos__nav {
    display: none;
  }
}

@media (max-width: 767px) {
  .reels-videos__top {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .reels-videos__viewport {
    margin-inline: 0;
    padding-inline: 16px;
  }

  .reels-videos__card {
    --rv-card-w: min(280px, 78vw);
    --rv-card-h: calc(var(--rv-card-w) * 16 / 9);
    max-width: none;
    width: var(--rv-card-w);
    height: var(--rv-card-h);
    flex-basis: var(--rv-card-w);
  }

  .reels-videos__ctrl {
    width: 40px;
    height: 40px;
  }

  .reels-videos__product {
    padding: 9px;
    gap: 8px;
  }
}

@media (max-width: 390px) {
  .reels-videos__title {
    font-size: 1.45rem;
  }

  .reels-videos__arrow {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 500px) {
  .reels-videos {
    padding: 15px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reels-videos__arrow,
  .reels-videos__ctrl,
  .reels-videos__product,
  .reels-videos__controls,
  .reels-videos__viewport {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   Category page subcategories — FINAL (must stay last)
   Fixes: clipped borders, blue link color, layout web+mobile
   ============================================================ */
.category-page-slider,
.category-page-slider > .container {
  overflow: visible !important;
}

.category-page-slider {
  padding: 22px 0 20px !important;
  margin: 0;
  border-bottom: 1px solid #ececec;
  background: #fff;
}

.category-subs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: visible;
}

.category-subs__title {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a8a8a !important;
  text-align: start;
  line-height: 1.2;
}

.category-subs__track {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  margin: 0 !important;
  padding: 4px 2px 2px !important;
  overflow: visible !important;
  list-style: none;
}

body a.category-subs__item,
body .category-subs__item,
a.category-subs__item,
.category-subs__item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #1a1a1a !important;
  -webkit-text-fill-color: #1a1a1a !important;
}

body a.category-subs__item:hover,
body a.category-subs__item:focus,
body a.category-subs__item:visited,
a.category-subs__item:hover,
a.category-subs__item:focus,
a.category-subs__item:visited {
  color: #1a1a1a !important;
  -webkit-text-fill-color: #1a1a1a !important;
  text-decoration: none !important;
  opacity: 1;
}

.category-subs__media {
  position: relative;
  display: block !important;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  border-radius: 18px;
  background: #f2f2f0;
  /* Use outline + inset shadow so the edge never looks “cut” */
  border: 0 !important;
  outline: 1px solid #e6e6e4;
  outline-offset: -1px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
  flex-shrink: 0;
}

.category-subs__media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

a.category-subs__item:hover .category-subs__media img {
  transform: scale(1.04);
}

body a.category-subs__item .category-subs__name,
body .category-subs__name,
.category-subs__name {
  display: block !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 4px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  letter-spacing: 0;
  color: #1a1a1a !important;
  -webkit-text-fill-color: #1a1a1a !important;
  text-align: center !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: break-word;
  text-decoration: none !important;
}

@media (max-width: 991px) {
  .category-page-slider {
    padding: 16px 0 14px !important;
  }

  .category-subs {
    gap: 12px;
  }

  .category-subs__track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 14px;
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 2px 8px !important;
  }

  .category-subs__track::-webkit-scrollbar {
    display: none;
  }

  body a.category-subs__item,
  a.category-subs__item,
  .category-subs__item {
    flex: 0 0 112px !important;
    width: 112px !important;
    gap: 10px !important;
  }

  .category-subs__media {
    border-radius: 14px;
  }

  body a.category-subs__item .category-subs__name,
  .category-subs__name {
    font-size: 13px !important;
  }
}

@media (max-width: 575px) {
  .category-subs__title {
    font-size: 12px !important;
  }

  body a.category-subs__item,
  a.category-subs__item,
  .category-subs__item {
    flex: 0 0 96px !important;
    width: 96px !important;
    gap: 8px !important;
  }

  .category-subs__media {
    border-radius: 12px;
  }

  body a.category-subs__item .category-subs__name,
  .category-subs__name {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }
}

/* Size chips: show all sizes, wrap rows, never clip circle/border */
.product-item .product-card-meta,
.product-card-options-mini,
.product-card-options-mini .option-group,
.product-card-options-mini .option-values,
.product-card-options-mini .option-group--size .option-values {
  overflow: visible !important;
}

.product-card-options-mini .option-values,
.product-card-options-mini .option-group--size .option-values {
  flex-wrap: wrap !important;
  row-gap: 5px !important;
}

.product-card-options-mini .option-value-box,
.product-card-options-mini .option-value-box.selected {
  box-sizing: border-box !important;
}

.product-card-options-mini .option-value-more {
  display: none !important;
}

/* —— Products infinite scroll loader (premium) —— */
.products-scroll-sentinel {
  width: 100%;
  height: 1px;
  margin: 0;
  padding: 0;
  pointer-events: none;
  visibility: hidden;
}

.products-infinite-loader {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  padding: 28px 16px 36px;
  margin: 8px 0 0;
  text-align: center;
}

.products-infinite-loader.is-active {
  display: flex;
}

.products-infinite-loader.is-done {
  display: none !important;
}

.products-infinite-loader__visual {
  position: relative;
  width: 44px;
  height: 44px;
}

.products-infinite-loader__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-top-color: #111;
  animation: products-infinite-spin 0.85s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.products-infinite-loader__dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: #111;
  opacity: 0.85;
  animation: products-infinite-pulse 1.1s ease-in-out infinite;
}

.products-infinite-loader__text {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a8a8a;
  line-height: 1.4;
}

@keyframes products-infinite-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes products-infinite-pulse {
  0%,
  100% {
    transform: scale(0.85);
    opacity: 0.45;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .products-infinite-loader__ring,
  .products-infinite-loader__dot {
    animation: none;
  }

  .products-infinite-loader__ring {
    border-top-color: #111;
    border-right-color: #111;
  }
}

/* Product features under the price (product details page) */
.products-details-page .product-info-section {
  gap: 0;
}

.products-details-page .product-info-section > h1 {
  margin-bottom: 8px;
}

.products-details-page .product-info-section > * + h1 {
  margin-top: 10px;
}

.products-details-page .product-info-section > .product-price-block {
  margin-bottom: 0;
}

.products-details-page .product-features.product-features--under-price {
  display: grid;
  margin: 16px 0 18px;
  padding: 0;
  border: none;
}

.products-details-page .product-info-section > .product-features:not(.product-features--under-price):not(:has(*)) {
  display: none !important;
}

.products-details-page .product-info-widget:not(:has(*)),
.products-details-page .product-info-widget--loyalty:not(:has(.loyalty-points-products-section:not(.loyalty-points-products-section-d-none))),
.products-details-page .product-info-widget--bank:has(#bank_discounts > .kit-container:empty):not(:has(#bank_discounts > :not(.kit-container, script, style))) {
  display: none !important;
}

@media (max-width: 499.98px) {
  .products-details-page .product-features.product-features--under-price {
    margin: 14px 0 16px;
  }
}
