.fij {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-logo, .header-cart {
    width: 20%;
}

.header-cart {
    flex-grow: unset;
}

.search-header-bar {
    height: 100px;
}

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

.search-input > div {
    width: 100%;
}

.search-input-icon {
    position: absolute;
    font-size: 22px;
    top: 8px;
    left: 4px;
}


.rtl .search-input-icon {
    left: unset;
    right: 4px;
    top: 9px;
}

.search-input-input {
    padding-left: 30px;
    min-height: 40px;
    max-height: 40px;
}

.rtl .search-input-input {
    padding-left: inherit;
    padding-right: 30px;
}


.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: 20px;
    top: -8px;
    width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: 10px;
    color: #fff;
    text-align: center;
    border-radius: 50%;
    background-color: #AB0000;
}

.rtl .cart-badge {
    right: unset;
    left: 20px;
}

.top-main-menu-wrapper {
    margin-right: -22px;
    margin-left: -22px;
}

.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 .3s ease;
    z-index: 1;
}

.sm-search-div.show {
    visibility: visible;
    transform: translateY(0%);
    -webkit-transform:translate3d(0,0,0);
}

.slick-dotted.slick-slider {
    margin-bottom: 0px;
}

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

.slick-next.slick-arrow > span, .slick-prev.slick-arrow > span {
    color: var( --primary-color);
    font-size: 3.3rem;
}

.category-item a, .category-item img, .card-item a, .card-item img {
    display: block;
    text-align: center;
    width: 100%;
}

.category-item img, .card-item img {
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.category-item h3, .card-item h3 {
    margin-top: 15px;
    font-size: 1.6rem;
    font-weight: 400;
    text-align: center;
    color: var( --primary-color);
    white-space: break-spaces;
}

.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;
}
.main-slider .slider-item {

}

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

.categories-slider-wrapper, .products-slider-wrapper, .cards-slider-wrapper, .testimonials-slider-wrapper, .partners-slider-wrapper  {
    margin-right: -15px;
    margin-left: -15px;
}

.sort-block-width {
    margin-left: 30px;
}

.rtl .sort-block-width {
    margin-left: 0px;
    margin-right: 30px;
}

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

.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 {
    filter: grayscale(1);
}


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

    .search-header-bar {
        height: 64px;
    }

    .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, .main-slider .slider-item {

    }

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

.add-to-wishlist {
  position: absolute;
  right: 0;
  z-index: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.rtl .add-to-wishlist {
  right: unset;
  left: 0;
}

.icon-heart-mask {
  display: inline-block;
  width: 21px;
  height: 18px;
  mask-size: 100%;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-image: var(--heart-outlined-icon);
  background-color: #DB9772;
}

.icon-heart-mask.filled {
  mask-image: var(--heart-filled-icon);
  background-color: #DB9772;
}

form#product-form .form-group, form#product-form .form-group * {
  max-width: 100%;
}

/* Footer flower — ~1/4 peeks outside */
.anam-footer {
  isolation: isolate;
}

.anam-footer .footer-flower {
  opacity: 0.95;
}

/* ===== Anam products filter — compact inline ===== */
.anam-products-filter {
  gap: 10px 16px;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #e6dfd3;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(61, 48, 32, 0.04);
}

.anam-products-filter .filter-buttons-container {
  gap: 8px 14px;
  align-items: center;
}

.anam-products-filter .anam-filter-field {
  min-width: 0;
  gap: 6px;
}

.anam-products-filter .anam-filter-label,
.anam-products-filter .filter-result,
.anam-products-filter .filter-order {
  display: inline-block;
  margin-bottom: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #5a5348;
  white-space: nowrap;
}

.anam-products-filter .btn-filter,
.anam-products-filter .anam-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 32px;
  min-width: 0;
  width: auto;
  padding: 4px 10px;
  background: #faf6ef;
  border: 1px solid #e6dfd3;
  border-radius: 8px;
  color: #2f2a24;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.anam-products-filter .btn-filter:hover,
.anam-products-filter .btn-filter:focus,
.anam-products-filter .anam-filter-btn:hover,
.anam-products-filter .anam-filter-btn:focus {
  background: #fff;
  border-color: var(--primary-color, #90aeac);
  box-shadow: 0 2px 8px rgba(144, 174, 172, 0.18);
  transform: none;
  outline: none;
}

.anam-products-filter .btn-filter i,
.anam-products-filter .anam-filter-btn i {
  color: var(--primary-color, #90aeac);
  font-size: 0.9rem;
  line-height: 1;
}

.anam-products-filter #products-list-filter.d-lg-flex {
  min-width: 32px;
  width: 32px;
  padding: 4px;
  justify-content: center;
}

.anam-products-filter .sort-block-width {
  margin-left: 0;
  margin-right: 0;
}

.anam-products-filter .anam-filter-count {
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f8f3ea;
  border: 1px solid #e6dfd3;
  color: #5a5348;
  white-space: nowrap;
}

.anam-products-filter .anam-filter-count-label {
  font-size: 0.8rem;
  font-weight: 500;
}

.anam-products-filter .anam-filter-count-number {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-color, #90aeac);
}

.anam-products-filter .anam-filter-dropdown {
  margin-top: 4px !important;
  padding: 6px;
  min-width: 160px;
  border: 1px solid #e6dfd3;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(61, 48, 32, 0.1);
}

.anam-products-filter .anam-filter-dropdown .dropdown-item {
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2f2a24;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.anam-products-filter .anam-filter-dropdown .dropdown-item:hover,
.anam-products-filter .anam-filter-dropdown .dropdown-item:focus {
  background: #f8f3ea;
  color: var(--primary-color, #90aeac);
}

.anam-filter-collapse {
  padding: 16px;
  background: #fff;
  border: 1px solid #e6dfd3;
  border-radius: 14px;
}

.anam-filter-modal .modal-content {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #f8f3ea;
  box-shadow: 0 18px 40px rgba(61, 48, 32, 0.16);
}

.anam-filter-modal .modal-body {
  position: relative;
  padding: 28px 24px 24px;
  background: #fff;
}

.anam-filter-modal .anam-filter-modal-close,
.anam-filter-modal #products-list-filter-form-close {
  width: 40px;
  height: 40px;
  top: 10px;
  inset-inline-end: 10px;
  inset-inline-start: auto;
  right: 10px;
  left: auto;
  border-radius: 50%;
  background: #faf6ef;
  border: 1px solid #e6dfd3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.rtl .anam-filter-modal .anam-filter-modal-close,
.rtl .anam-filter-modal #products-list-filter-form-close {
  right: auto;
  left: 10px;
}

.anam-filter-modal .form-products-filter .text-color-primary,
.anam-filter-collapse .form-products-filter .text-color-primary {
  color: #2f2a24 !important;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.anam-filter-modal .form-products-filter .form-control,
.anam-filter-collapse .form-products-filter .form-control {
  min-height: 44px;
  border-radius: 10px;
  border-color: #e6dfd3;
  background: #faf6ef;
}

.anam-filter-modal .form-products-filter .form-control:focus,
.anam-filter-collapse .form-products-filter .form-control:focus {
  border-color: var(--primary-color, #90aeac);
  box-shadow: 0 0 0 3px rgba(144, 174, 172, 0.2);
  background: #fff;
}

.anam-filter-modal .form-products-filter .btn.round.primary,
.anam-filter-collapse .form-products-filter .btn.round.primary {
  min-height: 44px;
  border-radius: 10px;
  background: var(--primary-color, #90aeac);
  border-color: var(--primary-color, #90aeac);
  color: var(--text-color-primary-bg, #f8f3ea);
  font-weight: 700;
}

.anam-filter-modal .form-products-filter .btn.round.btn-white,
.anam-filter-collapse .form-products-filter .btn.round.btn-white {
  min-height: 44px;
  border-radius: 10px;
  background: #faf6ef;
  border: 1px solid #e6dfd3;
  color: #5a5348;
  font-weight: 700;
}

.anam-filter-modal .form-products-filter .btn-sale-price,
.anam-filter-collapse .form-products-filter .btn-sale-price {
  border-radius: 10px;
  border: 1px solid #e6dfd3;
  background: #faf6ef;
  padding: 10px 14px;
}

.anam-filter-range-wrap {
  margin: 24px 4px 8px;
}

.anam-filter-actions {
  gap: 10px;
}

.anam-filter-form-title {
  margin-bottom: 10px !important;
}

@media (max-width: 767.98px) {
  .anam-products-filter {
    padding: 8px 10px;
    border-radius: 10px;
  }

  .anam-products-filter .filter-buttons-container {
    width: 100%;
    gap: 8px;
  }

  .anam-products-filter .anam-filter-field,
  .anam-products-filter .sort-block-width {
    flex: 1 1 auto;
  }

  .anam-products-filter .dropdown {
    width: 100%;
    justify-content: space-between;
  }

  .anam-products-filter .btn-filter,
  .anam-products-filter .anam-filter-btn {
    min-width: 0;
    flex: 1;
  }
}