.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;
}

/* Legacy cart badge — Theme header overrides for brand match */
.cart-badge {
    position: absolute;
    right: 20px;
    top: -8px;
    width: 15px;
    height: 15px;
    line-height: 15px;
    font-size: 9px;
    color: #001e7c;
    text-align: center;
    border-radius: 50%;
    background-color: #fff;
}
.cart-badge:empty {
    display: none;
}

.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);
}

.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-links-div {

}


.footer-about-us-div {
    padding-right: 20%;
}

.rtl .footer-about-us-div {
    padding-right: unset;
    padding-left: 20%;
}

.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;
}

.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;
}

/* Theme cards: pin purchase row to card bottom (equal-height columns) */
.products-list .theme-product-card .product-card-footer,
.bundle-offer-products .theme-product-card .product-card-footer,
.home-products-section .theme-product-card .product-card-footer,
.theme-pdp-related .theme-product-card .product-card-footer,
.products-slider .theme-product-card .product-card-footer {
    margin-top: auto !important;
}

.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;
}

.product-crd-spec {
    min-height: 81px;
}

.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;
    }


    .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: inherit;
    }
    .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, .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: 100%;
}

.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;
  top: 8px;
  inset-inline-end: 8px;
  z-index: 2;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  width: 32px;
  height: 32px;
  cursor: pointer;
  border-radius: 999px;
  background-color: transparent;
}

.rtl .add-to-wishlist {
  right: unset;
  left: unset;
}

.icon-heart-mask {
  display: inline-block;
  width: 20px;
  height: 18px;
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-image: var(--heart-outlined-icon);
  -webkit-mask-image: var(--heart-outlined-icon);
  background-color: #9ca3af;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.icon-heart-mask.filled {
  mask-image: var(--heart-filled-icon);
  -webkit-mask-image: var(--heart-filled-icon);
  background-color: var(--primary-color, #D86F6F);
}

/* Product card image hover swap (main ↔ 2nd gallery image) */
.product-card-image-swap {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.product-card-image-swap .product-card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.product-card-image-swap.has-hover-image .product-card-img--main,
.product-card-image-swap.has-hover-image .product-card-img--hover {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  height: 100%;
}

.product-card-image-swap.has-hover-image .product-card-img--hover {
  opacity: 0;
  pointer-events: none;
}

.product-item:hover .product-card-image-swap.has-hover-image .product-card-img--main,
.product-item:focus-within .product-card-image-swap.has-hover-image .product-card-img--main {
  opacity: 0;
}

.product-item:hover .product-card-image-swap.has-hover-image .product-card-img--hover,
.product-item:focus-within .product-card-image-swap.has-hover-image .product-card-img--hover {
  opacity: 1;
}

@media (hover: none) {
  .product-item:hover .product-card-image-swap.has-hover-image .product-card-img--main {
    opacity: 1;
  }

  .product-item:hover .product-card-image-swap.has-hover-image .product-card-img--hover {
    opacity: 0;
  }
}

/* Theme product card — matched to Al-Hilal V7 commerce reference
   px sizes (Zid root ~12px). text-align:start = right in AR / left in EN. */
.product-item.theme-product-card,
.theme-product-card.product-item {
  --theme-card-ink: #001852;
  --theme-card-blue: #0028f0;
  --theme-card-muted: #6b7891;
  --theme-card-line: #dce3ec;
  width: 100%;
  max-width: 100%;
  margin: 0;
  text-align: start;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  align-self: stretch;
  height: auto;
  min-height: 100%;
  border-radius: 0;
  overflow: visible;
  background: #fff;
  box-shadow: none;
}

.theme-product-card:hover {
  background: #fff;
  box-shadow: none;
  transform: none;
}

/* Reference: no wishlist / no «العبوة» overlay */
.theme-product-card > .add-to-wishlist {
  display: none !important;
}

.theme-product-card__media.box-1-1 {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  /* Branded navy stage — not flat white (feedback p7) */
  background:
    radial-gradient(circle at 50% 42%, rgba(141, 215, 255, 0.14), transparent 42%),
    radial-gradient(circle at 50% 50%, transparent 28%, rgba(0, 13, 41, 0.55) 72%),
    repeating-radial-gradient(
      circle at 50% 48%,
      transparent 0 18px,
      rgba(141, 215, 255, 0.06) 18px 19px
    ),
    linear-gradient(160deg, #001852 0%, #000d29 55%, #013e87 100%);
  aspect-ratio: 0.8 / 1;
  border: 1px solid rgba(0, 24, 82, 0.2);
  padding: 0;
}

.theme-product-card__media.box-1-1:before {
  content: none;
  display: none;
  padding-top: 0;
}

.theme-product-card__media-link {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none !important;
}

.theme-product-card__media .content,
.theme-product-card__media .product-card-media {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.theme-product-card__media .product-card-image-swap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.theme-product-card__media .product-card-img,
.theme-product-card__media img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Related / slider cards: keep media frame + image visible */
.theme-pdp-related .theme-product-card__media,
.products-slider .theme-product-card__media {
  min-height: 0;
}

.theme-pdp-related .theme-product-card__media .product-card-img--main,
.products-slider .theme-product-card__media .product-card-img--main {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Image hover: smooth crossfade + soft zoom (only when 2nd image exists) */
.theme-product-card .product-card-image-swap.has-hover-image .product-card-img--main,
.theme-product-card .product-card-image-swap.has-hover-image .product-card-img--hover {
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-product-card .product-card-image-swap.has-hover-image .product-card-img--main {
  object-fit: cover;
  opacity: 1;
  transform: scale(1);
}

.theme-product-card .product-card-image-swap.has-hover-image .product-card-img--hover {
  object-fit: cover;
  object-position: center;
  background: transparent;
  padding: 0;
  opacity: 0;
  transform: scale(1.02);
}

/* Override global .product-item:hover swap — only media hover for product cards */
.theme-product-card:hover .product-card-image-swap.has-hover-image .product-card-img--main,
.theme-product-card:focus-within .product-card-image-swap.has-hover-image .product-card-img--main {
  opacity: 1;
}

.theme-product-card:hover .product-card-image-swap.has-hover-image .product-card-img--hover,
.theme-product-card:focus-within .product-card-image-swap.has-hover-image .product-card-img--hover {
  opacity: 0;
  transform: scale(1.02);
}

@media (hover: hover) and (pointer: fine) {
  .theme-product-card__media:hover .product-card-image-swap.has-hover-image .product-card-img--main {
    opacity: 0;
    transform: scale(0.985);
  }

  .theme-product-card__media:hover .product-card-image-swap.has-hover-image .product-card-img--hover {
    opacity: 1;
    transform: scale(1);
  }
}

.theme-product-card__content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  gap: 0;
  padding: 8px 1px 0;
  text-align: start;
}

.theme-product-card__info {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  gap: 0;
  margin: 0;
  padding: 0;
  text-align: start;
}

/* Title: fixed 2-line slot so sibling cards share one height */
.product-item.theme-product-card .product-title,
.product-item.theme-product-card a.product-title,
.product-item.theme-product-card .theme-product-card__title,
.theme-product-card .product-title,
.theme-product-card__title {
  color: var(--primary-color, var(--theme-card-ink)) !important;
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: 0;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden !important;
  min-height: calc(1.3em * 2 + 23px) !important;
  height: auto !important;
  margin: 0 !important;
  padding: 10px 0 !important;
  width: 100%;
  text-align: start !important;
  text-decoration: none !important;
  white-space: normal !important;
}

.product-item.theme-product-card .product-title > span,
.product-item.theme-product-card .theme-product-card__title > span,
.theme-product-card .product-title > span,
.theme-product-card__title > span {
  display: inline !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  text-align: start !important;
  line-height: inherit !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
}

.product-item.theme-product-card .theme-product-card__subtitle,
.product-item.theme-product-card p.product-card-subtitle,
.theme-product-card__subtitle,
.theme-product-card .product-card-subtitle,
.theme-product-card p.theme-product-card__subtitle {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden !important;
  margin: 0 !important;
  margin-top: 2px !important;
  margin-bottom: 5px !important;
  padding: 0 !important;
  width: 100%;
  min-height: calc(1.85em * 3);
  color: var(--theme-card-muted) !important;
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 185% !important;
  text-align: start !important;
}

.theme-product-card__subtitle .theme-product-card__subtitle-lead,
.theme-product-card .product-card-subtitle .theme-product-card__subtitle-lead {
  font-weight: 700 !important;
  color: inherit;
}

.theme-product-card .product-card-rating-wrapper {
  display: none;
}

.product-item.theme-product-card .theme-product-card__price-block,
.product-item.theme-product-card .product-crd-spec,
.theme-product-card__price-block,
.theme-product-card .product-crd-spec {
  width: 100%;
  min-height: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  padding: 15px 0 15px !important;
  margin: 0 !important;
  border-top: 1px solid var(--theme-card-line);
  text-align: start;
}

.product-item.theme-product-card .section-product-price,
.theme-product-card .section-product-price {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  text-align: start;
}

.product-item.theme-product-card .theme-product-card__price,
.product-item.theme-product-card .product-price,
.theme-product-card__price,
.theme-product-card .product-price {
  color: var(--primary-color, var(--theme-card-ink)) !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
  text-align: start !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
}

.theme-product-card__price-amount {
  font-weight: 700;
  color: inherit;
}

.theme-product-card__tax {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--theme-card-muted) !important;
  white-space: nowrap;
}

.theme-product-card__unit {
  display: block;
  margin: 0;
  font-size: 9px !important;
  line-height: 1.4;
  color: var(--theme-card-muted) !important;
  text-transform: none;
}

.theme-product-card .product-card-discount-row {
  color: #494949;
  margin-top: 2px;
  font-size: 12px;
  text-align: start;
}

.theme-product-card .product-card-discount-pct {
  color: #f25f5f;
  margin-inline-start: 8px;
}

.theme-product-card .product-card-meta {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--theme-card-muted);
  white-space: break-spaces;
  text-align: start;
}

.theme-product-card .product-card-preorder {
  width: 100%;
  margin: 0 0 8px;
  text-align: start;
}

/* Button + qty always one row, pinned to bottom of every card */
.theme-product-card__info {
  flex: 0 0 auto;
}

.theme-product-card__price-block {
  flex: 0 0 auto;
}

.theme-product-card__purchase,
.theme-product-card .product-card-footer {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 8px;
  width: 100%;
  min-width: 0;
  padding: 0 !important;
  margin-top: auto !important;
  margin-bottom: 0 !important;
  margin-inline: 0 !important;
  text-align: start;
}

.theme-product-card__qty {
  display: flex;
  direction: ltr;
  align-items: center;
  flex: 0 0 auto;
  align-self: stretch;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  border: 1px solid var(--theme-card-line);
  background: #fff;
  box-sizing: border-box;
  border-radius: 12px;
}

.theme-product-card__qty-btn {
  width: 25px;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--theme-card-ink);
  font: 17px/1 Arial, sans-serif;
  cursor: pointer;
}

.theme-product-card__qty-btn:hover,
.theme-product-card__qty-btn:focus,
.theme-product-card__qty-btn:focus-visible {
  outline: none;
  background: transparent;
}

.theme-product-card__qty-input {
  width: 24px;
  border: 0;
  padding: 0;
  text-align: center;
  font: 12px/1 Arial, sans-serif;
  color: var(--theme-card-ink);
  background: transparent;
  appearance: textfield;
  -moz-appearance: textfield;
}

.theme-product-card__qty-input::-webkit-inner-spin-button,
.theme-product-card__qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.theme-product-card .product-card-action-btn,
.theme-product-card a.btn.product-card-action-btn,
.theme-product-card button.btn.product-card-action-btn {
  display: inline-flex !important;
  flex: 1 1 auto !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border-radius: var(--theme-btn-radius, 16px) !important;
  border: 1px solid var(--theme-card-blue) !important;
  background-color: var(--theme-card-blue) !important;
  background-image: none !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  white-space: nowrap;
  text-decoration: none !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background-color 0.2s ease;
  box-sizing: border-box;
}

.theme-product-card .product-card-action-btn:hover,
.theme-product-card a.btn.product-card-action-btn:hover,
.theme-product-card button.btn.product-card-action-btn:hover {
  background-color: var(--theme-btn-hover, #0021d6) !important;
  border-color: var(--theme-btn-hover, #0021d6) !important;
  color: #fff !important;
  text-decoration: none !important;
  filter: none;
}

.theme-product-card .product-card-action-btn:focus,
.theme-product-card .product-card-action-btn:focus-visible,
.theme-product-card a.btn.product-card-action-btn:focus,
.theme-product-card button.btn.product-card-action-btn:focus {
  background-color: var(--theme-card-blue) !important;
  border-color: var(--theme-card-blue) !important;
  color: #fff !important;
  outline: none !important;
  box-shadow: none !important;
}

.theme-product-card .btn-product-card-out-of-stock {
  background-color: #f4f6f9 !important;
  border-color: var(--theme-card-line) !important;
  color: var(--theme-card-ink) !important;
}

.theme-product-card .product-card-btn-label {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-product-card .product-card-btn-plus {
  font: 18px/1 Arial, sans-serif;
}

.theme-product-card .product-card-cart-icon {
  display: none !important;
}

.theme-product-card .product-card-add-to-cart .add-to-cart-progress {
  display: inline-block;
  width: 16px;
  height: 16px;
}

html[dir="ltr"] .theme-product-card .badge-name.badge-name-product-card {
  left: 28px;
  right: auto;
}

.products-list .prod-col:empty,
.products-slider .prod-col:empty,
.bundle-offer-products .prod-col:empty {
  display: none !important;
}

.products-list .prod-col .theme-product-card,
.bundle-offer-products .prod-col .theme-product-card,
.home-products-section .prod-col .theme-product-card {
  max-width: 100%;
  flex: 1 1 auto;
  height: auto;
  min-height: 100%;
}

.home-products-section .product-item {
  max-width: 100%;
}

/* Equal card heights so Add-to-cart rows share one baseline (home + related + lists) */
.home-products-section .slick-track,
.theme-pdp-related .slick-track,
.products-slider-wrapper .slick-track {
  display: flex !important;
  align-items: stretch;
}

.home-products-section .slick-slide,
.theme-pdp-related .slick-slide,
.products-slider-wrapper .slick-slide {
  height: auto !important;
  float: none;
}

.home-products-section .slick-slide > div,
.theme-pdp-related .slick-slide > div,
.products-slider-wrapper .slick-slide > div {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.home-products-section .prod-col,
.theme-pdp-related .prod-col,
.products-slider .prod-col,
.products-list .prod-col,
.bundle-offer-products .prod-col {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: visible;
}

.home-products-section .prod-col .theme-product-card,
.theme-pdp-related .prod-col .theme-product-card,
.products-slider .prod-col .theme-product-card {
  flex: 1 1 auto;
  height: auto;
  min-height: 100%;
}

@media (min-width: 992px) {
  .products-list .prod-col {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

/* Products list row: stretch columns so buttons align */
.products-list.row,
#products-list.row,
.home-products-section .products-slider,
.theme-pdp-related .products-slider,
.bundle-offer-products {
  align-items: stretch !important;
}

@media (hover: none) {
  .theme-product-card__media:hover .product-card-image-swap.has-hover-image .product-card-img--main {
    opacity: 1;
    transform: none;
  }

  .theme-product-card__media:hover .product-card-image-swap.has-hover-image .product-card-img--hover {
    opacity: 0;
    transform: scale(1.02);
  }
}

/*
 * Cart + all products — gap under fixed header
 * Zid data-template: cart_page · list_products (not "cart" / "products")
 */
body[data-template="cart_page"] .container.theme-cart,
body[data-template="cart_page"] .theme-cart,
body.theme-header-active[data-template="cart_page"] .main > .container.theme-cart {
  margin-top: 48px !important;
  padding-top: 0 !important;
  scroll-margin-top: 140px;
}

body[data-template="list_products"] .container.d-flex.flex-row,
body.theme-header-active[data-template="list_products"] .main > .container.d-flex {
  margin-top: 48px !important;
  scroll-margin-top: 140px;
}

@media (max-width: 760px) {
  body[data-template="cart_page"] .container.theme-cart,
  body[data-template="cart_page"] .theme-cart,
  body[data-template="list_products"] .container.d-flex.flex-row {
    margin-top: 36px !important;
  }
}

body[data-template="list_products"] .btn,
body[data-template="list_products"] .dropdown-toggle,
body[data-template="list_products"] select,
body[data-template="list_products"] .form-control,
body[data-template="list_products"] .btn-primary,
body[data-template="list_products"] .btn-outline-primary {
  border-radius: 0 !important;
}

body[data-template="list_products"] .btn-primary {
  background: #001e7c !important;
  border-color: #001e7c !important;
}

/* Products listing — sort instead of the single-price filter */
.theme-products-sort {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0 0 18px;
  font-family: var(--font-body);
}

.theme-products-sort__label {
  color: #001852;
  font-size: 13px;
  font-weight: 700;
}

.theme-products-sort__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.theme-products-sort__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid rgba(0, 30, 124, 0.28);
  background: #fff;
  color: #001e7c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none !important;
}

.theme-products-sort__item:hover,
.theme-products-sort__item:focus-visible {
  background: #e5edf2;
  color: #001e7c;
  text-decoration: none !important;
}

.theme-products-sort__item.is-active {
  background: #001e7c;
  border-color: #001e7c;
  color: #fff;
}

@media (max-width: 576px) {
  .theme-products-sort {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .theme-products-sort__item {
    min-height: 34px;
    padding: 6px 12px;
    font-size: 11px;
  }
}

/* Home products section header — Al-Hilal V7 commerce-heading */
.home-products-section {
  background: #fff;
  padding-top: 90px;
  padding-bottom: 100px;
  scroll-margin-top: 100px;
  font-family: var(--font-body) !important;
  -webkit-font-smoothing: antialiased;
}

.home-products-section .home-products-eyebrow,
.home-products-section .home-products-more-link {
  font-family: var(--font-body) !important;
}

.home-products-section .home-products-title {
  font-family: var(--font-display) !important;
}

.home-products-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 35px;
  margin-bottom: 45px;
}

.home-products-heading__titles {
  min-width: 0;
  text-align: start;
}

.home-products-eyebrow {
  display: block;
  margin: 0 0 14px;
  /* Reference: --blue */
  color: #001e7c !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.home-products-eyebrow::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 2px;
  margin-inline-end: 12px;
  vertical-align: middle;
  background: currentColor;
  opacity: 0.7;
}

.home-products-title {
  margin: 0 !important;
  /* Reference: --ink + commerce-heading h2 clamp(28px, 3.1vw, 46px) */
  color: #001852 !important;
  font-size: clamp(28px, 3.1vw, 46px) !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  letter-spacing: -0.04em;
  text-align: start !important;
}

/* EN homepage products — match reference commerce-heading */
html[lang="en"] .home-products-eyebrow {
  font-size: 13px !important;
  letter-spacing: 0.13em !important;
}

html[lang="en"] .home-products-title {
  letter-spacing: -0.045em !important;
  line-height: 1.14 !important;
}

/* Reference .text-link stays 11px in EN (only .button drops to 9px) */
html[lang="en"] .home-products-more-link {
  font-size: 11px !important;
  letter-spacing: 0 !important;
}

/* EN product cards — reference product-info / purchase */
html[lang="en"] .theme-product-card__title,
html[lang="en"] .product-item.theme-product-card .product-title {
  font-size: 14px !important;
  line-height: 1.4 !important;
}

html[lang="en"] .theme-product-card .product-card-action-btn,
html[lang="en"] .theme-product-card a.btn.product-card-action-btn,
html[lang="en"] .theme-product-card button.btn.product-card-action-btn {
  font-size: 8px !important;
  letter-spacing: 0.02em;
  text-transform: uppercase !important; /* reference ADD TO CART */
}

html[lang="en"] .theme-product-card__unit {
  font-size: 8px !important;
}

.home-products-more-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
  margin-bottom: 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid currentColor;
  color: #001852 !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none !important;
  white-space: nowrap;
}

.home-products-more-link:hover {
  color: #001852 !important;
  opacity: 0.85;
  text-decoration: none !important;
}

.home-products-more-link__arrow {
  font: 22px/1 Arial, sans-serif;
}

.home-products-section .category-products-display-more-section {
  display: none !important;
}

@media (max-width: 1150px) {
  .theme-product-card .product-title,
  .theme-product-card__title {
    font-size: 15px !important;
  }

  .theme-product-card .product-card-action-btn,
  .theme-product-card a.btn.product-card-action-btn,
  .theme-product-card button.btn.product-card-action-btn {
    font-size: 10px !important;
    padding: 0 8px !important;
    gap: 8px !important;
  }

  .theme-product-card__qty {
    height: 42px;
    min-height: 42px;
    max-height: 42px;
  }

  .theme-product-card .product-card-action-btn,
  .theme-product-card a.btn.product-card-action-btn,
  .theme-product-card button.btn.product-card-action-btn {
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
  }
}

/* Products + banners under header — 768 → 0 */
/* Reference .commerce-section @760 */
@media (max-width: 760px) {
  .home-products-section {
    padding: 60px 18px 65px !important;
  }

  .home-products-heading {
    display: block;
    margin-bottom: 28px;
  }

  .home-products-eyebrow {
    margin-bottom: 12px;
    font-size: 13px;
  }

  .home-products-title {
    font-size: 34px !important;
    line-height: 1.6 !important;
  }

  .home-products-more-link {
    margin-top: 18px;
    margin-bottom: 0;
    font-size: 11px;
    gap: 15px;
  }

  html[lang="en"] .home-products-more-link {
    font-size: 11px !important;
  }

  .theme-product-card__media.box-1-1 {
    aspect-ratio: 0.72 / 1;
  }

  .theme-product-card__content {
    padding-top: 6px;
  }

  .product-item.theme-product-card .product-title,
  .product-item.theme-product-card .theme-product-card__title,
  .theme-product-card .product-title,
  .theme-product-card__title {
    font-size: 14px !important;
    line-height: 1.25 !important;
    min-height: 0 !important;
  }

  .product-item.theme-product-card .theme-product-card__subtitle,
  .theme-product-card__subtitle,
  .theme-product-card .product-card-subtitle {
    margin-top: 2px !important;
    margin-bottom: 5px !important;
    line-height: 185% !important;
    font-size: 11px !important;
  }

  .product-item.theme-product-card .product-title > span,
  .theme-product-card__title > span {
    padding: 10px 0 !important;
  }

  .product-item.theme-product-card .theme-product-card__price-block,
  .theme-product-card__price-block {
    min-height: 0 !important;
    gap: 10px;
    padding: 15px 0 !important;
    margin: 0 !important;
  }

  .theme-product-card__price,
  .theme-product-card .product-price {
    font-size: 18px !important;
  }

  .theme-product-card__unit {
    font-size: 8px !important;
  }

  .theme-product-card__qty {
    height: 40px;
    min-height: 40px;
    max-height: 40px;
  }

  .theme-product-card .product-card-action-btn,
  .theme-product-card a.btn.product-card-action-btn,
  .theme-product-card button.btn.product-card-action-btn {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    font-size: 10px !important;
  }

  /*
   * Store-wide: 2 products per row from 768px → 350px
   * (home, related, products list, bundle, any products-slider)
   */
  .home-products-section .prod-col,
  .theme-pdp-related .prod-col,
  .theme-pdp-related .products-slider .prod-col,
  .products-slider .prod-col,
  .products-list .prod-col,
  .products-list .prod-col-attr,
  .bundle-offer-products .prod-col,
  #products-list .prod-col,
  #related-products .prod-col {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
    padding-left: 6.5px !important;
    padding-right: 6.5px !important;
    margin-bottom: 24px;
  }

  .home-products-section .products-slider,
  .theme-pdp-related .products-slider,
  .theme-pdp-related #related-products,
  .products-list,
  #products-list.row,
  .bundle-offer-products {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    margin-left: -6.5px;
    margin-right: -6.5px;
  }

  /* Keep button + qty on one row across this range */
  .theme-product-card__purchase,
  .theme-product-card .product-card-footer {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
  }

  .product-item.theme-product-card .product-title,
  .product-item.theme-product-card .theme-product-card__title,
  .theme-product-card .product-title,
  .theme-product-card__title {
    font-size: 15px !important;
  }

  .product-item.theme-product-card .product-title > span, .theme-product-card__title > span {
    font-size: 14px !important;
  }

  .theme-product-card__price-amount {
    font-size: 18px !important;
  }
}

/* Explicit store-wide 2-up: 768px → 350px (covers products list + all grids) */
@media (max-width: 768px) and (min-width: 350px) {
  .home-products-section .prod-col,
  .theme-pdp-related .prod-col,
  .products-slider .prod-col,
  .products-list .prod-col,
  .products-list .prod-col-attr,
  .bundle-offer-products .prod-col,
  #products-list .prod-col,
  #related-products .prod-col,
  .prod-col-tb {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
    display: flex !important;
    float: none !important;
  }

  .home-products-section .products-slider,
  .theme-pdp-related .products-slider,
  .theme-pdp-related #related-products,
  .products-list,
  #products-list.row,
  .bundle-offer-products,
  .products-list.row {
    display: flex !important;
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    white-space: normal !important;
  }

  /* Kill legacy fixed card width so 2-up fills each column */
  .home-products-section .product-item,
  .theme-pdp-related .product-item,
  .products-slider .product-item.theme-product-card,
  .products-list .prod-col .product-item,
  .bundle-offer-products .prod-col .product-item,
  .product-item.theme-product-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  .home-products-section .products-slider-wrapper,
  .theme-pdp-related .products-slider-wrapper {
    overflow: visible !important;
  }
}

/* Keep 2-up down to 350px — stack card actions only, not columns */
@media (max-width: 449px) and (min-width: 350px) {
  .home-products-section .prod-col,
  .theme-pdp-related .prod-col,
  .products-slider .prod-col,
  .products-list .prod-col,
  .products-list .prod-col-attr,
  .bundle-offer-products .prod-col,
  #products-list .prod-col,
  #related-products .prod-col {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  .theme-product-card__purchase,
  .theme-product-card .product-card-footer {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px;
  }

  .theme-product-card__qty {
    width: 100%;
    justify-content: space-between;
  }

  .theme-product-card .product-card-action-btn,
  .theme-product-card a.btn.product-card-action-btn,
  .theme-product-card button.btn.product-card-action-btn {
    width: 100% !important;
    min-width: 100% !important;
  }
}

/* Hide breadcrumbs store-wide */
.breadcrumb-section {
  display: none !important;
}

/* Kill store yellow accents (warning / bootstrap yellow → brand) */
:root {
  --yellow: #013e87 !important;
  --warning: #013e87 !important;
  --warning-color: #013e87 !important;
  --theme-btn-bg: #0028f0;
  --theme-btn-fg: #ffffff;
  --theme-btn-hover: #0021d6;
  --theme-btn-radius: 16px;
}

button:focus,
button:focus-visible,
button:active,
.btn:focus,
.btn:focus-visible,
.btn:active {
  outline: none !important;
  box-shadow: none !important;
}

/* Store-wide primary buttons */
.btn,
.btn-primary,
.btn-save,
a.btn,
a.btn-primary,
button.btn,
button.btn-primary,
.product-card-action-btn,
.btn-add-to-cart,
.theme-cart-related__btn,
.theme-side-cart__cta,
.d01-hero-btn.primary,
.plan-btn,
.plan-price-btn,
.sp-buy__cta,
#addQuestionButton,
.aah-btn,
.abo-btn,
.abo-btn--submit,
.theme-cart .theme-cart-summary .btn-primary,
.theme-cart .theme-cart-summary a.btn-primary {
  background-color: var(--theme-btn-bg) !important;
  background-image: none !important;
  border-color: var(--theme-btn-bg) !important;
  color: var(--theme-btn-fg) !important;
  border-radius: var(--theme-btn-radius) !important;
  box-shadow: none !important;
}

.btn:hover,
.btn:focus-visible,
.btn-primary:hover,
.btn-primary:focus-visible,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-save:hover,
a.btn:hover,
a.btn-primary:hover,
button.btn:hover,
button.btn-primary:hover,
.product-card-action-btn:hover,
.btn-add-to-cart:hover,
.theme-cart-related__btn:hover,
.theme-side-cart__cta:hover,
.theme-side-cart__cta:focus-visible,
.d01-hero-btn.primary:hover,
.plan-btn:hover,
.plan-price-btn:hover,
.sp-buy__cta:hover,
#addQuestionButton:hover,
.aah-btn:hover,
.aah-btn:focus-visible,
.abo-btn:hover,
.abo-btn:focus-visible,
.abo-btn--submit:hover,
.abo-btn--submit:focus-visible,
.theme-cart .theme-cart-summary .btn-primary:hover,
.theme-cart .theme-cart-summary a.btn-primary:hover {
  background-color: var(--theme-btn-hover) !important;
  border-color: var(--theme-btn-hover) !important;
  color: var(--theme-btn-fg) !important;
  filter: none !important;
  text-decoration: none !important;
}

.btn-outline-primary {
  color: var(--theme-btn-bg) !important;
  border-color: var(--theme-btn-bg) !important;
  background-color: transparent !important;
  border-radius: var(--theme-btn-radius) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus-visible {
  background-color: var(--theme-btn-bg) !important;
  border-color: var(--theme-btn-bg) !important;
  color: var(--theme-btn-fg) !important;
}

/* Keep non-CTA controls out of the filled blue style */
.theme-side-cart__continue,
.btn-buy-now,
.theme-pdp-info .btn-buy-now {
  background-color: #fff !important;
  border-color: #0028f0 !important;
  color: #0028f0 !important;
  border-radius: var(--theme-btn-radius, 16px) !important;
}

.theme-side-cart__continue:hover,
.theme-side-cart__continue:focus-visible,
.btn-buy-now:hover,
.theme-pdp-info .btn-buy-now:hover {
  background-color: #0028f0 !important;
  border-color: #0028f0 !important;
  color: #fff !important;
}

.btn-product-card-out-of-stock,
.product-card-action-btn.btn-product-card-out-of-stock,
.theme-product-card .btn-product-card-out-of-stock {
  background-color: #f4f6f9 !important;
  border-color: #dce3ec !important;
  color: #6b7891 !important;
}

.btn-cancel {
  background-color: transparent !important;
  border-color: #dce3ec !important;
  color: #494949 !important;
}

/* Mobile/tablet CTAs — navy #001852 */
@media (max-width: 960px) {
  .d01-hero-btn.primary,
  .aah-btn,
  .abo-btn {
    background-color: #001852 !important;
    border-color: #001852 !important;
    color: #ffffff !important;
  }

  .d01-hero-btn.primary:hover,
  .d01-hero-btn.primary:focus-visible,
  .aah-btn:hover,
  .aah-btn:focus-visible,
  .abo-btn:hover,
  .abo-btn:focus-visible {
    background-color: #00133f !important;
    border-color: #00133f !important;
    color: #ffffff !important;
  }
}

/* —— Global CTA type scale (feedback) —— */
.d01-hero-btn,
.aah-btn,
.abo-btn,
.theme-pdp-info .btn-add-to-cart,
.theme-pdp-info .btn-buy-now,
.theme-product-card .product-card-action-btn,
.theme-product-card a.btn.product-card-action-btn,
.theme-product-card button.btn.product-card-action-btn {
  font-size: 15px !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
}

@media (max-width: 960px) {
  .d01-hero-btn,
  .aah-btn,
  .abo-btn,
  .theme-pdp-info .btn-add-to-cart,
  .theme-pdp-info .btn-buy-now,
  .theme-product-card .product-card-action-btn,
  .theme-product-card a.btn.product-card-action-btn,
  .theme-product-card button.btn.product-card-action-btn {
    font-size: 12px !important;
  }
}

/* —— CMS / legal pages —— navy branded (feedback p13) —— */
.theme-cms-page {
  --cms-pad: clamp(24px, 5.5vw, 100px);
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 40, 240, 0.08), transparent 42%),
    linear-gradient(180deg, #eef4fb 0%, #f7fafc 38%, #ffffff 100%);
  color: #001852;
  font-family: var(--font-body);
}

.theme-cms-page.is-ltr {
  direction: ltr;
}

.theme-cms-page__hero {
  background:
    radial-gradient(circle at 50% 40%, transparent 20%, rgba(0, 13, 41, 0.35) 70%),
    repeating-radial-gradient(
      circle at 50% 45%,
      transparent 0 22px,
      rgba(141, 215, 255, 0.07) 22px 23px
    ),
    linear-gradient(135deg, #000d29 0%, #001852 55%, #013e87 100%);
  color: #fff;
  padding: 88px var(--cms-pad) 64px;
}

.theme-cms-page__hero-inner {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.theme-cms-page__title {
  margin: 0;
  font-family: var(--font-display) !important;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  color: #fff;
}

.theme-cms-page__body {
  padding: 48px var(--cms-pad) 80px;
}

.theme-cms-page__content {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-size: 15px;
  line-height: 2;
  color: #334155;
}

.theme-cms-page__content p,
.theme-cms-page__content li,
.theme-cms-page__content td,
.theme-cms-page__content th {
  font-family: var(--font-body) !important;
}

.theme-cms-page__content h1,
.theme-cms-page__content h2,
.theme-cms-page__content h3,
.theme-cms-page__content h4 {
  font-family: var(--font-display) !important;
  font-weight: 700;
  color: #001852;
  text-align: center;
  letter-spacing: 0;
}

.theme-cms-page__content ul,
.theme-cms-page__content ol {
  display: inline-block;
  text-align: start;
  margin-inline: auto;
  padding-inline-start: 1.25em;
}

.theme-cms-page__content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Legal: dark navy content plane + cyan accent CTA links */
.theme-cms-page--legal {
  background:
    radial-gradient(circle at 80% 0%, rgba(141, 215, 255, 0.12), transparent 45%),
    linear-gradient(180deg, #000d29 0%, #001229 40%, #00091a 100%);
  color: #e8eef8;
}

.theme-cms-page--legal .theme-cms-page__body {
  padding-top: 0;
  margin-top: -32px;
}

.theme-cms-page--legal .theme-cms-page__content {
  background:
    linear-gradient(180deg, rgba(0, 30, 90, 0.92) 0%, rgba(0, 13, 41, 0.96) 100%);
  border: 1px solid rgba(141, 215, 255, 0.16);
  border-radius: 24px;
  padding: clamp(32px, 5vw, 56px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  color: #c5d0e0;
  text-align: start;
  max-width: 880px;
}

.theme-cms-page--legal .theme-cms-page__content p,
.theme-cms-page--legal .theme-cms-page__content li,
.theme-cms-page--legal .theme-cms-page__content td,
.theme-cms-page--legal .theme-cms-page__content th {
  color: #c5d0e0;
}

.theme-cms-page--legal .theme-cms-page__content h1,
.theme-cms-page--legal .theme-cms-page__content h2,
.theme-cms-page--legal .theme-cms-page__content h3,
.theme-cms-page--legal .theme-cms-page__content h4 {
  color: #ffffff;
  text-align: start;
}

.theme-cms-page--legal .theme-cms-page__content a {
  color: #8dd7ff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(141, 215, 255, 0.45);
}

.theme-cms-page--legal .theme-cms-page__content a:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.theme-cms-page--legal .theme-cms-page__content ul,
.theme-cms-page--legal .theme-cms-page__content ol {
  display: block;
  margin-inline: 0;
}

/* PDP water description — softer panel + clearer numbers */
.theme-pdp-info .product-description,
.theme-pdp-info .theme-pdp-info__desc,
.theme-pdp-info .description,
.theme-pdp-info .product-short-description {
  background: linear-gradient(180deg, #f3f8ff 0%, #eef5fc 100%);
  border: 1px solid rgba(1, 62, 135, 0.1);
  border-radius: 16px;
  padding: 18px 20px;
  font-family: var(--font-body) !important;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* PDP main gallery — navy stage instead of flat white */
.theme-pdp-info .product-images,
.theme-pdp-info .product-gallery,
.theme-pdp-info .images-slider,
.theme-pdp-info .slider-for,
.theme-pdp-info .slick-list,
.product-details .product-images .slick-slide,
.product-details .images .slick-slide {
  background:
    radial-gradient(circle at 50% 42%, rgba(141, 215, 255, 0.12), transparent 42%),
    repeating-radial-gradient(
      circle at 50% 48%,
      transparent 0 18px,
      rgba(141, 215, 255, 0.05) 18px 19px
    ),
    linear-gradient(160deg, #001852 0%, #000d29 55%, #013e87 100%) !important;
}

