html {
  scrollbar-width: thin;
}

.search-header-bar > * {
  height: 100%;
}

/* Grid System for Product List */
.products-container .products-list {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
}

.products-container .products-list.grid-compact {
  grid-template-columns: repeat(8, 1fr) !important;
  gap: 10px !important;

  .product-card-footer {
    display: none !important;
  }

  .product-item .product-price {
    font-size: 12px;
  }
}

.products-container .products-list.grid-compact .product-item h3,
.products-container
  .products-list.grid-compact
  .product-item
  .product-card-footer {
  font-size: 11px !important;
}

@media (max-width: 1200px) {
  .products-list {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .products-list.grid-compact {
    grid-template-columns: repeat(6, 1fr) !important;
  }
}

@media (max-width: 992px) {
  .products-list {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .products-list.grid-compact {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

@media (max-width: 576px) {
  .products-list,
  .products-list.grid-compact {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }

  .view-icons {
    display: none !important;
  }
}

/* New Filter Design Styles */
.products-filter-new-design {
  background-color: #fff;
  margin-bottom: 30px;
}

.products-filter-new-design .border-bottom {
  border-bottom: 1px solid #f0f0f0 !important;
}

.products-filter-new-design .border-top {
  border-top: none !important;
  flex-direction: column-reverse;
  align-items: flex-start !important;
}

@media (max-width: 991px) {
  .products-filter-new-design .border-top {
    flex-direction: column;
  }
}

/* Desktop: size rail + controls in one row (DOM: sizes first, controls second). */
.products-filter-toolbar-row {
  flex-direction: row;
  align-items: center;
}

.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-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: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.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 .dropdown-menu {
  min-width: 180px;
  padding: 8px 0;
  margin-top: 10px;
}

.sort-dropdown-wrap .dropdown-item {
  font-size: 14px;
  padding: 8px 20px;
}

.btn-filter-icon {
  padding: 8px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
}

@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;
}

.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: 20%;
  padding: 15px;
}

.products-list .prod-col-attr {
  width: 25%;
}

/* 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: 7.5px;
  padding-top: 7.5px;
}

#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: 24px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;

  @media (max-width: 576px) {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

.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: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-10deg);
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  padding: 6px 15px;
  font-size: 14px;
  font-weight: 700;
  font-style: italic;
  border: 1px solid #000;
  z-index: 5;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  text-transform: uppercase;
}

.sm-search-div .autocomplete-items,
.lg-search-div .autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}

.sm-search-div .autocomplete-items div,
.lg-search-div .autocomplete-items div {
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}

/*when hovering an item:*/
.sm-search-div .autocomplete-items div:hover,
.lg-search-div .autocomplete-items div:hover {
  background-color: #e9e9e9;
}

.sm-search-div .autocomplete-items div a,
.lg-search-div .autocomplete-items div a {
  padding: 10px;
  cursor: pointer;
  color: inherit;
  display: block;
}

.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;
}

@media (max-width: 991.98px) {
  .search-header-bar {
    gap: 10px;
    min-height: 44px;
    position: relative;
  }

  .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 .language-currency {
    order: 3;
  }

  .header-actions .cart-area {
    order: 2;
  }

  .header-actions .account-area {
    order: 1;
  }

  .header-actions .search-area {
    display: none;
  }

  .header-logo > a {
    order: 3;
    position: absolute;
    top: 50%;
    left: 59%;
    z-index: 1;
    transform: translate(-50%, -50%);
  }

  .header-logo > a .image-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: 48px 0;
}

.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: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.category-item {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
}

.category-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.category-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.category-item:hover .category-img {
  transform: scale(1.05);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0) 40%
  );
  display: flex;
  align-items: flex-end;
  padding: 30px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.category-item-title {
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  margin: 0 auto 32px;
}

@media (max-width: 991px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .section-title {
    font-size: 1.8rem;
  }
}

/* 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 --- */

/* Force consistency for all header icons and text using the primary variable */
.search-header-bar svg,
.search-header-bar .ic,
.search-header-bar .language-currency,
.search-header-bar .search-btn,
.search-header-bar .account-area button,
.search-header-bar .a-shopping-cart,
.search-header-bar .cart-header-total {
  color: var(--header-text-color-primary-bg, var(--text-color-primary-bg));
}

/* Home Page Specific: Force white color when transparent and NOT sticky */
body[data-template="home"].header-transparent-home #fixed-header:not(.sticky) {
  --header-text-color-primary-bg: #fff !important;
  --text-color-primary-bg: #fff !important;
}

/* Home Page Logo Switching Logic */
/* Only switch if .logo-wrapper has .is-home (meaning logo_home is set) */
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;
}

body[data-template="home"].header-transparent-home {
  .image-logo {
    display: none !important;
  }

  .home-page-logo {
    display: block !important;
  }

  #fixed-header.sticky .image-logo {
    display: block !important;
  }

  #fixed-header.sticky .home-page-logo {
    display: none !important;
  }
}

/* Desktop mega menu dropdown */
@media (min-width: 992px) {
  .search-header {
    position: relative;
    overflow: visible;
  }

  .search-header .container,
  .search-header-bar,
  .search-header-bar .header-logo {
    overflow: visible;
  }

  .header-logo .dark {
    position: static !important;
    height: auto !important;
  }

  .header-logo .main-nav-wrapper {
    overflow: visible;
    height: auto;
  }

  .header-logo ul.main-nav {
    position: static;
    overflow: visible;
    height: auto;
  }

  .header-logo ul.main-nav > li {
    position: static;
  }

  .header-logo ul.main-nav > li > div.sub-menu-block {
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
  }

  .header-logo ul.main-nav > li:hover > div.sub-menu-block {
    transform: rotateX(0deg);
  }
}

/* products section  */
.products-section {
  padding: 48px 0;

  .container {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .section_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid #000;

    h2 {
      font-size: 20px;
      color: var(--primary-color);
    }

    a {
      font-size: 14px;
      color: var(--primary-color);
    }
  }

  .products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;

    @media screen and (max-width: 768px) {
      grid-template-columns: repeat(2, 1fr);
    }
  }
}

.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-item .swiper-slide {
  width: 100%;
  flex-shrink: 0;
}

.product-item .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-item .swiper-button-next,
.product-item .swiper-button-prev {
  width: 24px !important;
  height: 24px !important;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #000 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.product-item:hover .swiper-button-next,
.product-item:hover .swiper-button-prev {
  opacity: 1;
}

.product-item .swiper-button-next::after,
.product-item .swiper-button-prev::after {
  font-size: 10px !important;
  font-weight: bold;
}

.product-item .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: #ccc;
  opacity: 1;
}

.product-item .swiper-pagination-bullet-active {
  background: var(--primary-color) !important;
  width: 12px;
  border-radius: 4px;
}

.product-item .box-1-1 {
  width: 100%;
  aspect-ratio: 4 / 5;
}

/* Product Card Size Pills */
.product-card-size-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 12px;
  justify-content: center;
}

.product-size-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
  color: #000;
  font-weight: 500;
}

.product-size-pill:hover {
  border-color: #000;
}

.product-size-pill.selected {
  background: #000;
  color: #fff;
  border-color: #000;
}

.footer-pills {
  margin-top: 0;
  padding: 8px 0;
}

/** Product Card Options Mini **/
.product-card-options-mini {
  min-height: 38px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-card-options-mini .option-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-card-options-mini .option-values {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.product-card-options-mini .option-values::-webkit-scrollbar {
  display: none;
}

.product-card-options-mini .option-value-box {
  min-width: 26px;
  height: 26px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fff;
  color: #000;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  user-select: none;
  margin: 0 !important;
  flex-shrink: 0;

  & svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }
}

.product-item .swiper > .option-value-box.cart-btn {
  position: absolute;
  top: auto;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  border-radius: 4px;
  padding: 6px 10px;
}

.product-card-options-mini .option-value-box:hover {
  border-color: #000;
  background-color: #f8f8f8;
}

.product-card-options-mini .option-value-box.selected {
  background: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}

.product-card-options-mini .option-value-box.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background-color: #f5f5f5;
  position: relative;
  overflow: hidden;
  pointer-events: none;
}

.product-card-options-mini .option-value-box.disabled::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #999;
  transform: rotate(-45deg);
}

.product-card-options-mini--pending {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-options-mini--pending::after {
  content: "";
  width: 20px;
  height: 20px;
  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);
  }
}

/* Loader for cart button */
.cart-loader {
  width: 20px;
  height: 20px;
  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 {
  width: 100%;
  height: 40px;

  @media (max-width: 576px) {
    height: 32px;
  }
}

.featured-grid-section {
  padding: 40px 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: 32px;
  padding-bottom: 24px;
}

.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: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}

@media (min-width: 992px) {
  .footer-accordion-arrow {
    display: none !important;
  }
}

.footer-accordion-arrow::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-bottom: 3px;
}

.tp-footer-widget-title:not(.collapsed) .footer-accordion-arrow {
  transform: rotate(-180deg);
}

/* Disable footer collapse on large screens */
@media (min-width: 992px) {
  .tp-footer-widget-content.collapse {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
  }

  .tp-footer-widget-title {
    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: space-between;
  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 0;
  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: 0;
  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 {
  background: transparent !important;
  color: #fff !important;
  border: none !important;
  font-weight: 500;
  padding: 0 15px;
  white-space: nowrap;
  border-inline-start: 1px solid #333;
}

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);
  direction: rtl;
}

.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: 8px 16px;
  border-bottom: 1px solid #f5f5f5;
}

#search-modal-input {
  background: #f8f8f8;
  border: none;
  width: 100%;
  font-size: 16px;
  outline: none;
  height: 40px;
  color: #333;
  padding: 0 15px;
  border-radius: 12px;
  text-align: center;
}

.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-accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 0;
  border-radius: 16px;
  margin-top: 2rem;
  margin-bottom: 2rem;
  width: 100%;
  background: #fff;
}

.product-accordion-item {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  overflow: hidden;
  transition: all 0.2s ease-in-out;
}

.product-accordion-header {
  width: 100%;
  padding: 14px 18px;
  background: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--primary-color);
  outline: none !important;
  text-align: inherit;
  transition: background-color 0.2s ease;
}

.product-accordion-header[aria-expanded="true"] {
  background-color: #ffffff;
  border-bottom: 1px solid #f3f4f6;
}

.accordion-title {
  flex-grow: 1;
}

.accordion-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.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: 24px;
  color: #374151;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .product-accordion-header {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .product-accordion-wrapper {
    gap: 12px;
  }
}

.product-accordion-wrapper .collapse:not(.show) {
  display: none;
}

.attribute-group {
  border: 0 !important;
  border-bottom: 1px solid #e4e4e4 !important;
  margin-bottom: 12px !important;
  border-radius: 0 !important;
}

.attribute-price-body .form-row {
  display: flex !important;
  gap: 0 !important;

  .form-group {
    padding: 0 4px !important;
  }

  label {
    display: none !important;
  }
}

.attribute-footer {
  padding: 0.75rem 6px !important;

  button {
    background: var(--primary-color) !important;
    color: #fff !important;
  }
}

.attribute-body.attribute-price-body {
  padding: 0 !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 {
  height: calc(100vh - 58px);
  height: calc(100dvh - 58px);
  overflow-y: auto;
  background: var(--slide-menu-bg-color, #fff);
}

#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;
}

#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;
  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: left;
  text-decoration: none !important;
}

#sliding-menu .slide-menu-ul-li > a .clickable-span {
  padding: 0 !important;
}

#sliding-menu .slide-menu__decorator {
  display: none;
}

#sliding-menu .slide-menu-ul-li > a::after {
  content: "›";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline-end: 4px;
  color: var(--slide-menu-text-color, #3b3b3b);
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

#sliding-menu .slide-menu__backlink {
  gap: 10px;
  text-transform: none;
}

#sliding-menu .slide-menu__backlink .slide-menu-arrow-back {
  font-size: 0;
}

#sliding-menu .slide-menu__backlink .slide-menu-arrow-back::before {
  content: "‹";
  font-family: Arial, sans-serif;
  font-size: 26px;
}

#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 {
  display: inline-flex;
  align-items: center;
  color: currentColor;
  line-height: 1;
}

.language-currency .header-region-divider {
  margin: 0 2px;
}

.language-currency .header-region-chevron {
  margin-inline-start: 2px;
}

#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;
}

#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;
}

.footer {
  margin-top: 40px;
}