/** Shopify CDN: Minification failed

Line 1895:95 Unexpected "-item"
Line 1906:46 Unexpected "-item"
Line 1918:46 Unexpected "-item"
Line 1934:46 Unexpected "-item"
Line 1947:48 Unexpected "-item"
Line 1953:46 Unexpected "-item"
Line 1967:48 Unexpected "-item"
Line 1974:46 Unexpected "-item"
Line 1987:46 Unexpected "-item"
Line 1992:46 Unexpected "-item"
... and 6 more hidden warnings

**/
/* Max Beauty mobile product card — Design 5 */
.t4s-mobile-card-price,
.t4s-mobile-card-footer,
.t4s-mobile-card-action {
  display: none;
}

@media (max-width: 767px) {
  .t4s-pr-style5 .t4s-product-wrapper {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e6d7b5;
    border-radius: 14px;
    box-shadow: 0 7px 22px rgba(5, 5, 5, 0.08);
  }

  .t4s-pr-style5 .t4s-product-inner {
    padding-bottom: 44px;
    background: linear-gradient(145deg, #fff 0%, #fffcf5 100%);
    border-radius: 13px 13px 0 0;
    isolation: isolate;
  }

  .t4s-pr-style5 .t4s-product-img.t4s_ratio::before {
    padding-top: 100% !important;
  }

  .t4s-pr-style5 .t4s-product-img img {
    padding: 14px 12px 10px;
    object-fit: contain !important;
    object-position: center !important;
  }

  .t4s-pr-style5 .t4s-product-badge {
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    align-items: flex-start;
    z-index: 6;
  }

  .t4s-pr-style5 .t4s-product-badge > span {
    min-width: 0;
    min-height: 26px;
    height: auto !important;
    margin: 0 0 3px;
    padding: 5px 9px;
    border-radius: 0 0 0 10px !important;
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
    box-shadow: 0 4px 10px rgba(5, 5, 5, 0.12);
  }

  .t4s-pr-style5 .t4s-product-badge > .t4s-badge-sale {
    background: #8a641f;
    color: #fff;
  }

  .t4s-pr-style5 .t4s-product-badge > .t4s-badge-new {
    background: #050505;
    color: #fff;
  }

  .t4s-pr-style5 .t4s-product-btns2 {
    top: 9px !important;
    right: auto !important;
    left: 9px !important;
    gap: 6px;
    overflow: visible;
    background: transparent;
    opacity: 1;
    visibility: visible;
    z-index: 6;
  }

  .t4s-pr-style5 .t4s-product-btns2 > .t4s-pr-item-btn,
  .t4s-pr-style5 .t4s-product-btns2 > div > a {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border: 1px solid rgba(5, 5, 5, 0.1);
    border-radius: 50% !important;
    color: #050505 !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 4px 12px rgba(5, 5, 5, 0.1);
  }

  .t4s-pr-style5 .t4s-mobile-card-price {
    position: absolute;
    left: 9px;
    right: auto;
    bottom: 54px;
    z-index: 6;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 1px;
    max-width: calc(100% - 18px);
    padding: 6px 8px 5px;
    color: #8a641f;
    background: rgba(255, 255, 255, 0.94);
    border-left: 3px solid #c89b3c;
    border-radius: 8px;
    box-shadow: 0 4px 13px rgba(5, 5, 5, 0.11);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    font-size: 12px;
    font-weight: 600;
    line-height: 17px;
    direction: ltr;
  }

  .t4s-pr-style5 .t4s-mobile-card-price ins,
  .t4s-pr-style5 .t4s-mobile-card-price .t4s-price__sale {
    color: #8a641f;
    text-decoration: none;
  }

  .t4s-pr-style5 .t4s-mobile-card-price del {
    color: #7b8795;
    font-size: 10px;
    font-weight: 400;
  }

  .t4s-pr-style5 .t4s-product-inner > .t4s-product-btns {
    display: flex;
    width: 100%;
    height: 44px;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    z-index: 7;
    pointer-events: auto;
    background: #050505;
  }

  .t4s-pr-style5 .t4s-product-inner > .t4s-product-btns > [data-replace-atc] {
    display: block;
    width: 100%;
    height: 44px;
  }

  .t4s-pr-style5 .t4s-product-inner > .t4s-product-btns .t4s-product-atc-qty {
    width: 100% !important;
    max-width: 100%;
    height: 44px !important;
    min-height: 44px !important;
    border-radius: 0 !important;
    background: #050505 !important;
  }

  .t4s-pr-style5
    .t4s-product-inner
    > .t4s-product-btns
    .t4s-product-atc-qty
    .t4s-quantity-wrapper {
    display: none;
  }

  .t4s-pr-style5 .t4s-product-inner > .t4s-product-btns .t4s-pr-addtocart {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100% !important;
    max-width: 100%;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 9px;
    border: 0;
    border-radius: 0 !important;
    color: #fff !important;
    background: #050505 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto;
  }

  .t4s-pr-style5
    .t4s-product-inner
    > .t4s-product-btns
    .t4s-pr-addtocart
    .t4s-text-pr {
    display: inline-block !important;
    overflow: hidden;
    line-height: 44px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .t4s-pr-style5
    .t4s-product-inner
    > .t4s-product-btns
    .t4s-pr-addtocart
    .t4s-svg-pr-icon {
    display: flex;
    flex: 0 0 auto;
  }

  .t4s-pr-style5 .t4s-product-info {
    padding: 11px 10px 13px;
    text-align: right;
  }

  .t4s-pr-style5 .t4s-product-vendor {
    min-height: 17px;
    overflow: hidden;
    color: #7a5a20;
    font-size: 11px;
    line-height: 17px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .t4s-pr-style5 .t4s-product-title {
    display: -webkit-box;
    min-height: 42px;
    margin: 3px 0 0;
    overflow: hidden;
    color: #050505;
    font-size: 13px;
    font-weight: 600;
    line-height: 21px;
    text-align: right;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .t4s-pr-style5
    .t4s-product-info__inner
    > .t4s-product-price {
    display: none;
  }

  /* Compact footer: price and cart action stay below the image. */
  .t4s-pr-style5 .t4s-product-inner {
    padding-bottom: 0;
  }

  .t4s-pr-style5 .t4s-product-inner > .t4s-product-btns {
    display: none !important;
  }

  .t4s-pr-style5 .t4s-mobile-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 48px;
    margin-top: 9px;
    padding-top: 9px;
    border-top: 1px solid #edf0f4;
  }

  .t4s-pr-style5 .t4s-mobile-card-price {
    position: static;
    z-index: auto;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-width: 0;
    max-width: none;
    padding: 0;
    color: #8a641f;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
    white-space: nowrap;
    direction: ltr;
  }

  .t4s-pr-style5 .t4s-mobile-card-price del {
    color: #8a939f;
    font-size: 10px;
    font-weight: 400;
    line-height: 14px;
  }

  .t4s-pr-style5 .t4s-mobile-card-action {
    display: flex;
    flex: 0 0 auto;
  }

  .t4s-pr-style5 .t4s-mobile-card-action .t4s-product-atc-qty {
    display: block;
    width: auto;
    background: transparent;
    overflow: visible;
  }

  .t4s-pr-style5
    .t4s-mobile-card-action
    .t4s-product-atc-qty
    .t4s-quantity-wrapper {
    display: none;
  }

  .t4s-pr-style5 .t4s-mobile-card-action .t4s-pr-addtocart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: auto !important;
    min-width: 88px;
    max-width: 104px;
    height: 36px;
    min-height: 36px;
    padding: 0 10px;
    overflow: hidden;
    color: #fff !important;
    background: #050505 !important;
    border: 0;
    border-radius: 20px !important;
    box-shadow: 0 5px 12px rgba(5, 5, 5, 0.16);
    line-height: 36px;
  }

  .t4s-pr-style5
    .t4s-mobile-card-action
    .t4s-pr-addtocart
    .t4s-text-pr {
    display: block !important;
    overflow: hidden;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 36px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .t4s-pr-style5
    .t4s-mobile-card-action
    .t4s-pr-addtocart
    .t4s-svg-pr-icon {
    display: flex;
    flex: 0 0 auto;
  }

  .t4s-pr-style5
    .t4s-mobile-card-action
    .t4s-pr-addtocart
    .t4s-svg-pr-icon
    svg {
    width: 15px;
    height: 15px;
  }
}

/* Final mobile cascade for the Max Beauty Signature Card. */
@media (max-width: 767px) {
  .t4s-pr-style5 .t4s-product-wrapper {
    border: 1px solid rgba(5, 5, 5, 0.08);
    border-radius: 18px;
    box-shadow:
      0 1px 2px rgba(5, 5, 5, 0.03),
      0 10px 30px rgba(5, 5, 5, 0.07);
  }

  .t4s-pr-style5 .t4s-product-inner {
    padding-bottom: 0;
    background:
      radial-gradient(circle at 72% 18%, rgba(234, 211, 160, 0.28), transparent 34%),
      linear-gradient(155deg, #fff 0%, #fffcf5 100%);
    border-radius: 17px 17px 14px 14px;
  }

  .t4s-pr-style5 .t4s-product-img.t4s_ratio::before {
    padding-top: 125% !important;
  }

  .t4s-pr-style5 .t4s-product-img img {
    padding: 18px 14px 22px;
  }

  .t4s-pr-style5 .t4s-product-badge {
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
  }

  .t4s-pr-style5 .t4s-product-badge > span {
    display: none;
    min-width: 0;
    min-height: 25px;
    height: 25px !important;
    margin: 0;
    padding: 0 9px;
    border: 0;
    border-radius: 999px !important;
    font-size: 10px;
    line-height: 25px;
  }

  .t4s-pr-style5 .t4s-product-badge > .t4s-badge-sale,
  .t4s-pr-style5 .t4s-product-badge > .t4s-badge-soldout,
  .t4s-pr-style5
    .t4s-product-badge:not(:has(.t4s-badge-sale)):not(:has(.t4s-badge-soldout))
    > .t4s-badge-new {
    display: inline-flex;
  }

  .t4s-pr-style5 .t4s-product-btns2 {
    top: 10px !important;
    right: auto !important;
    left: 10px !important;
  }

  .t4s-pr-style5 .t4s-product-btns2 > :nth-child(n + 2) {
    display: none !important;
  }

  .t4s-pr-style5 .t4s-product-btns2 > :first-child,
  .t4s-pr-style5 .t4s-product-btns2 > :first-child > a {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    margin: 0;
    border: 1px solid rgba(5, 5, 5, 0.08);
    border-radius: 50% !important;
    color: #050505 !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 5px 16px rgba(5, 5, 5, 0.1);
  }

  .t4s-pr-style5 .t4s-product-info {
    padding: 13px 12px 12px;
  }

  .t4s-pr-style5 .t4s-product-vendor {
    min-height: 16px;
    color: #7a5a20;
    font-size: 10px;
    line-height: 16px;
  }

  .t4s-pr-style5 .t4s-product-title {
    min-height: 40px;
    margin-top: 4px;
    font-size: 13px;
    line-height: 20px;
  }

  .t4s-pr-style5 .t4s-mobile-card-footer {
    display: flex;
    min-height: 44px;
    margin-top: 11px;
    padding-top: 0;
    border-top: 0;
  }

  .t4s-pr-style5 .t4s-mobile-card-price {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: none;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 13px;
    line-height: 18px;
  }

  .t4s-pr-style5 .t4s-mobile-card-action .t4s-pr-addtocart {
    display: inline-flex !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 50% !important;
    box-shadow: 0 7px 18px rgba(5, 5, 5, 0.22);
  }

  .t4s-pr-style5
    .t4s-mobile-card-action
    .t4s-pr-addtocart
    .t4s-text-pr {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  .t4s-pr-style5
    .t4s-mobile-card-action
    .t4s-pr-addtocart
    .t4s-svg-pr-icon {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .t4s-pr-style5
    .t4s-mobile-card-action
    .t4s-pr-addtocart
    .t4s-svg-pr-icon
    svg {
    width: 18px;
    height: 18px;
  }
}

/* Max Beauty Logo Card v4 — authoritative mobile cascade */
@media (max-width: 767px) {
  .t4s-pr-style5 .t4s-product-wrapper {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(5, 5, 5, 0.09);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(5, 5, 5, 0.075);
  }

  .t4s-pr-style5 .t4s-product-wrapper::before {
    position: absolute;
    z-index: 9;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #050505 0 52%, #c89b3c 52% 100%);
    content: "";
    pointer-events: none;
  }

  .t4s-pr-style5 .t4s-product-inner {
    padding-bottom: 0;
    background: linear-gradient(160deg, #fff 0%, #fffcf5 100%);
    border-radius: 15px 15px 12px 12px;
  }

  .t4s-pr-style5 .t4s-product-img.t4s_ratio::before {
    padding-top: 110% !important;
  }

  .t4s-pr-style5 .t4s-product-img img {
    padding: 17px 14px 18px;
  }

  .t4s-pr-style5 .t4s-product-badge {
    top: 11px !important;
    right: 9px !important;
  }

  .t4s-pr-style5 .t4s-product-badge > span {
    min-height: 23px;
    height: 23px !important;
    padding: 0 8px;
    border-radius: 999px !important;
    box-shadow: none;
    font-size: 9px;
    line-height: 23px;
  }

  .t4s-pr-style5 .t4s-product-badge > .t4s-badge-sale {
    color: #fff;
    background: #c89b3c;
  }

  .t4s-pr-style5 .t4s-product-btns2 {
    top: 11px !important;
    left: 9px !important;
  }

  .t4s-pr-style5 .t4s-product-btns2 > :first-child,
  .t4s-pr-style5 .t4s-product-btns2 > :first-child > a {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    border-color: rgba(5, 5, 5, 0.09);
    color: #050505 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 4px 12px rgba(5, 5, 5, 0.08);
  }

  .t4s-pr-style5 .t4s-product-btns2 svg {
    width: 15px;
    height: 15px;
  }

  .t4s-pr-style5 .t4s-product-info {
    padding: 12px 11px 11px;
  }

  .t4s-pr-style5 .t4s-product-vendor {
    min-height: 15px;
    color: #c89b3c;
    font-size: 10px;
    line-height: 15px;
  }

  .t4s-pr-style5 .t4s-product-title {
    min-height: 38px;
    margin-top: 3px;
    color: #050505;
    font-size: 12px;
    font-weight: 500;
    line-height: 19px;
  }

  .t4s-pr-style5 .t4s-mobile-card-footer {
    min-height: 38px;
    margin-top: 9px;
    padding-top: 9px;
    border-top: 1px solid rgba(5, 5, 5, 0.075);
  }

  .t4s-pr-style5 .t4s-mobile-card-price {
    flex-direction: column-reverse;
    color: #050505;
    font-size: 13px;
    font-weight: 600;
    line-height: 17px;
  }

  .t4s-pr-style5 .t4s-mobile-card-price ins,
  .t4s-pr-style5 .t4s-mobile-card-price .t4s-price__sale {
    color: #050505;
  }

  .t4s-pr-style5 .t4s-mobile-card-price del {
    margin-top: 1px;
    color: #9aa2ac;
    font-size: 9px;
    font-weight: 400;
    line-height: 13px;
  }

  .t4s-pr-style5 .t4s-mobile-card-action .t4s-pr-addtocart {
    position: relative;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    color: #fff !important;
    background: #c89b3c !important;
    border-radius: 50% !important;
    box-shadow: 0 5px 14px rgba(200, 155, 60, 0.28);
  }

  .t4s-pr-style5
    .t4s-mobile-card-action
    .t4s-pr-addtocart
    .t4s-svg-pr-icon
    svg {
    width: 14px;
    height: 14px;
  }

  .t4s-pr-style5
    .t4s-mobile-card-action
    .t4s-pr-addtocart.is--loading
    .t4s-svg-pr-icon {
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .t4s-pr-style5
    .t4s-mobile-card-action
    .t4s-pr-addtocart.is--loading::before {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 13px;
    height: 13px;
    margin: auto;
    border-width: 1.5px;
    color: #fff;
  }
}

/* Max Beauty Editorial Card v5 — direction-aware mobile layout */
@media (max-width: 767px) {
  .t4s-pr-style5 .t4s-product-wrapper {
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .t4s-pr-style5 .t4s-product-wrapper::before {
    display: none;
  }

  .t4s-pr-style5 .t4s-product-inner {
    overflow: hidden;
    background: linear-gradient(155deg, #fff 0%, #fffcf5 100%);
    border: 1px solid rgba(5, 5, 5, 0.07);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(5, 5, 5, 0.055);
  }

  .t4s-pr-style5 .t4s-product-img.t4s_ratio::before {
    padding-top: 112% !important;
  }

  .t4s-pr-style5 .t4s-product-img img {
    padding: 15px 13px 16px;
  }

  .t4s-pr-style5 .t4s-product-badge {
    top: 9px !important;
    right: 9px !important;
  }

  .t4s-pr-style5 .t4s-product-badge > span {
    height: 22px !important;
    min-height: 22px;
    padding: 0 8px;
    font-size: 9px;
    line-height: 22px;
  }

  .t4s-pr-style5 .t4s-product-btns2 {
    top: 9px !important;
    left: 9px !important;
  }

  .t4s-pr-style5 .t4s-product-btns2 > :first-child,
  .t4s-pr-style5 .t4s-product-btns2 > :first-child > a {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
  }

  .t4s-pr-style5 .t4s-product-btns2 svg {
    width: 14px;
    height: 14px;
  }

  .t4s-pr-style5 .t4s-product-info {
    padding: 10px 2px 5px;
    text-align: start;
  }

  .t4s-pr-style5 .t4s-product-vendor {
    min-height: 14px;
    color: #c89b3c;
    font-size: 10px;
    line-height: 14px;
    text-align: start;
  }

  .t4s-pr-style5 .t4s-product-title {
    min-height: 38px;
    margin-top: 3px;
    color: #050505;
    font-size: 12px;
    font-weight: 500;
    line-height: 19px;
    text-align: start;
  }

  .t4s-pr-style5 .t4s-product-colors {
    margin-top: 5px;
  }

  .t4s-pr-style5 .t4s-mobile-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 36px;
    margin-top: 7px;
    padding-top: 7px;
    border-top: 1px solid rgba(5, 5, 5, 0.07);
  }

  .t4s-pr-style5 .t4s-mobile-card-action {
    order: 1;
  }

  .t4s-pr-style5 .t4s-mobile-card-price {
    order: 2;
    flex: 0 1 auto;
    flex-direction: column-reverse;
    color: #050505;
    font-size: 12px;
    line-height: 16px;
  }

  .rtl_true .t4s-pr-style5 .t4s-mobile-card-price {
    align-items: flex-start;
    text-align: left;
  }

  .rtl_false .t4s-pr-style5 .t4s-mobile-card-price {
    align-items: flex-end;
    text-align: right;
  }

  .t4s-pr-style5 .t4s-mobile-card-price del {
    margin-top: 1px;
    color: #9aa2ac;
    font-size: 9px;
    line-height: 12px;
  }

  .t4s-pr-style5 .t4s-mobile-card-action .t4s-pr-addtocart {
    position: relative;
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    color: #fff !important;
    background: #050505 !important;
    border: 0;
    border-radius: 50% !important;
    box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.16);
  }

  .t4s-pr-style5
    .t4s-mobile-card-action
    .t4s-pr-addtocart
    .t4s-svg-pr-icon
    svg {
    width: 13px;
    height: 13px;
  }

  .t4s-pr-style5
    .t4s-mobile-card-action
    .t4s-pr-addtocart.is--loading::before {
    width: 12px;
    height: 12px;
    border-width: 1.25px;
  }
}

/* Max Beauty Editorial Card v6 — compact typography and quick view */
@media (max-width: 767px) {
  .t4s-pr-style5 .t4s-product-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .t4s-pr-style5 .t4s-product-img.t4s_ratio::before {
    padding-top: 108% !important;
  }

  .t4s-pr-style5 .t4s-product-img img {
    padding: 14px 12px 14px;
  }

  .t4s-pr-style5 .t4s-product-btns2 {
    top: 8px !important;
    left: 8px !important;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .t4s-pr-style5 .t4s-product-btns2 > :nth-child(2) {
    display: flex !important;
  }

  .t4s-pr-style5 .t4s-product-btns2 > :nth-child(n + 3) {
    display: none !important;
  }

  .t4s-pr-style5 .t4s-product-btns2 > :first-child,
  .t4s-pr-style5 .t4s-product-btns2 > :first-child > a,
  .t4s-pr-style5 .t4s-product-btns2 > :nth-child(2),
  .t4s-pr-style5 .t4s-product-btns2 > :nth-child(2) > a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 27px !important;
    height: 27px !important;
    min-width: 27px !important;
    margin: 0;
    border: 1px solid rgba(5, 5, 5, 0.08);
    border-radius: 50% !important;
    color: #050505 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 3px 10px rgba(5, 5, 5, 0.07);
  }

  .t4s-pr-style5 .t4s-product-btns2 svg {
    width: 13px;
    height: 13px;
  }

  .t4s-pr-style5 .t4s-product-info {
    display: flex;
    flex: 1 1 auto;
    padding: 7px 2px 4px;
  }

  .t4s-pr-style5 .t4s-product-info__inner {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
  }

  .t4s-pr-style5 .t4s-product-vendor {
    min-height: 0;
    margin: 0;
    color: #c89b3c;
    font-size: 9.5px;
    font-weight: 500;
    line-height: 14px;
    text-align: start;
  }

  .t4s-pr-style5 .t4s-product-title {
    min-height: 0;
    max-height: 34px;
    margin: 2px 0 0;
    color: #050505;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 17px;
    text-align: start;
  }

  .t4s-pr-style5 .t4s-product-colors {
    min-height: 0;
    margin-top: 4px;
  }

  .t4s-pr-style5 .t4s-mobile-card-footer {
    flex: 0 0 auto;
    min-height: 34px;
    margin-top: auto;
    padding-top: 6px;
  }

  .t4s-pr-style5 .t4s-mobile-card-price {
    font-size: 11.5px;
    line-height: 15px;
  }

  .t4s-pr-style5 .t4s-mobile-card-price del {
    font-size: 8.5px;
    line-height: 11px;
  }

  .t4s-pr-style5 .t4s-mobile-card-action .t4s-pr-addtocart {
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
  }

  .t4s-pr-style5
    .t4s-mobile-card-action
    .t4s-pr-addtocart
    .t4s-svg-pr-icon
    svg {
    width: 12px;
    height: 12px;
  }

  .t4s-pr-style5
    .t4s-mobile-card-action
    .t4s-pr-addtocart.is--loading::before {
    width: 11px;
    height: 11px;
  }
}

/* Max Beauty Unified Card v7 — one continuous surface */
@media (max-width: 767px) {
  .t4s-pr-style5 .t4s-product-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background:
      linear-gradient(
        180deg,
        rgba(200, 155, 60, 0.075) 0%,
        rgba(200, 155, 60, 0.025) 55%,
        #fff 72%
      );
    border: 1px solid rgba(5, 5, 5, 0.085);
    border-radius: 16px;
    box-shadow:
      0 2px 5px rgba(5, 5, 5, 0.025),
      0 10px 26px rgba(5, 5, 5, 0.07);
  }

  .t4s-pr-style5 .t4s-product-wrapper::before {
    display: block;
    position: absolute;
    z-index: 9;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, #050505 0 50%, #c89b3c 50% 100%);
    content: "";
    pointer-events: none;
  }

  .t4s-pr-style5 .t4s-product-inner {
    overflow: hidden;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .t4s-pr-style5 .t4s-product-img.t4s_ratio::before {
    padding-top: 106% !important;
  }

  .t4s-pr-style5 .t4s-product-img img {
    padding: 14px 13px 10px;
  }

  .t4s-pr-style5 .t4s-product-info {
    display: flex;
    flex: 1 1 auto;
    padding: 6px 10px 10px;
    background: transparent;
  }

  .t4s-pr-style5 .t4s-product-info__inner {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
  }

  .t4s-pr-style5 .t4s-product-vendor {
    margin: 0;
    line-height: 14px;
  }

  .t4s-pr-style5 .t4s-product-title {
    margin-top: 2px;
  }

  .t4s-pr-style5 .t4s-mobile-card-footer {
    min-height: 32px;
    margin-top: auto;
    padding-top: 5px;
    border-top: 0;
  }

  .t4s-pr-style5 .t4s-product-colors {
    margin-top: 3px;
  }
}

/* Max Beauty Responsive Card v8 — one white card on every device */
.t4s-pr-style5 {
  height: 100%;
}

.t4s-pr-style5 .t4s-product-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff !important;
  border: 1px solid rgba(5, 5, 5, 0.09);
  border-radius: 16px;
  box-shadow:
    0 2px 5px rgba(5, 5, 5, 0.025),
    0 10px 25px rgba(5, 5, 5, 0.065);
}

.t4s-pr-style5 .t4s-product-wrapper::before {
  display: none !important;
}

.t4s-pr-style5 .t4s-product-inner {
  overflow: hidden;
  padding-bottom: 0;
  background: #fff !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.t4s-pr-style5 .t4s-product-img {
  background: #fff !important;
}

.t4s-pr-style5 .t4s-product-img.t4s_ratio::before {
  padding-top: 112% !important;
}

.t4s-pr-style5 .t4s-product-img img {
  padding: 18px 16px 12px;
  object-fit: contain !important;
  object-position: center !important;
}

.t4s-pr-style5 .t4s-product-info {
  display: flex;
  flex: 1 1 auto;
  padding: 10px 12px 12px;
  background: #fff !important;
  text-align: start;
}

.t4s-pr-style5 .t4s-product-info__inner {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
}

.t4s-pr-style5 .t4s-product-vendor {
  min-height: 0;
  margin: 0;
  color: #c89b3c;
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
  text-align: start;
}

.t4s-pr-style5 .t4s-product-title {
  display: -webkit-box;
  min-height: 0;
  max-height: 42px;
  margin: 3px 0 0;
  overflow: hidden;
  color: #050505;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  text-align: start;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.t4s-pr-style5 .t4s-product-info__inner > .t4s-product-price {
  display: none !important;
}

.t4s-pr-style5 .t4s-product-inner > .t4s-product-btns {
  display: none !important;
}

.t4s-pr-style5 .t4s-mobile-card-footer {
  display: flex !important;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 0;
}

.t4s-pr-style5 .t4s-mobile-card-action {
  display: flex !important;
  flex: 0 0 auto;
  order: 1;
}

.t4s-pr-style5 .t4s-mobile-card-price {
  position: static;
  display: flex !important;
  flex: 0 1 auto;
  flex-direction: column-reverse;
  align-items: flex-start;
  order: 2;
  min-width: 0;
  max-width: none;
  padding: 0;
  color: #050505 !important;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 19px;
  white-space: nowrap;
  direction: ltr;
}

.t4s-pr-style5 .t4s-mobile-card-price ins,
.t4s-pr-style5 .t4s-mobile-card-price .t4s-price__sale {
  color: #050505 !important;
  text-decoration: none;
}

.t4s-pr-style5 .t4s-mobile-card-price del {
  margin-top: 1px;
  color: #c89b3c !important;
  font-size: 10px;
  font-weight: 400;
  line-height: 14px;
  opacity: 0.82;
}

.rtl_true .t4s-pr-style5 .t4s-mobile-card-price {
  align-items: flex-start;
  text-align: left;
}

.rtl_false .t4s-pr-style5 .t4s-mobile-card-price {
  align-items: flex-end;
  text-align: right;
}

.t4s-pr-style5 .t4s-mobile-card-action .t4s-product-atc-qty {
  display: block;
  width: auto;
  overflow: visible;
  background: transparent;
}

.t4s-pr-style5
  .t4s-mobile-card-action
  .t4s-product-atc-qty
  .t4s-quantity-wrapper {
  display: none;
}

.t4s-pr-style5 .t4s-mobile-card-action .t4s-pr-addtocart {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  overflow: hidden;
  color: #fff !important;
  background: #050505 !important;
  border: 0;
  border-radius: 50% !important;
  box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.15);
}

.t4s-pr-style5
  .t4s-mobile-card-action
  .t4s-pr-addtocart
  .t4s-text-pr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.t4s-pr-style5
  .t4s-mobile-card-action
  .t4s-pr-addtocart
  .t4s-svg-pr-icon {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.t4s-pr-style5
  .t4s-mobile-card-action
  .t4s-pr-addtocart
  .t4s-svg-pr-icon
  svg {
  width: 15px;
  height: 15px;
}

.t4s-pr-style5
  .t4s-mobile-card-action
  .t4s-pr-addtocart.is--loading
  .t4s-svg-pr-icon {
  opacity: 0 !important;
  visibility: hidden !important;
}

.t4s-pr-style5
  .t4s-mobile-card-action
  .t4s-pr-addtocart.is--loading::before {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 13px;
  height: 13px;
  margin: auto;
  border-width: 1.4px;
  color: #fff;
}

.t4s-pr-style5 .t4s-product-btns2 {
  top: 11px;
  right: auto;
  left: 11px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: visible;
  background: transparent;
  opacity: 1;
  visibility: visible;
  z-index: 7;
}

.t4s-pr-style5 .t4s-product-btns2 > :nth-child(2) {
  display: flex !important;
}

.t4s-pr-style5 .t4s-product-btns2 > :nth-child(n + 3) {
  display: none !important;
}

.t4s-pr-style5 .t4s-product-btns2 > :first-child,
.t4s-pr-style5 .t4s-product-btns2 > :first-child > a,
.t4s-pr-style5 .t4s-product-btns2 > :nth-child(2),
.t4s-pr-style5 .t4s-product-btns2 > :nth-child(2) > a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  margin: 0;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 50% !important;
  color: #050505 !important;
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 4px 12px rgba(5, 5, 5, 0.08);
}

.t4s-pr-style5 .t4s-product-btns2 svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 767px) {
  .t4s-pr-style5 .t4s-product-img.t4s_ratio::before {
    padding-top: 106% !important;
  }

  .t4s-pr-style5 .t4s-product-img img {
    padding: 13px 11px 9px;
  }

  .t4s-pr-style5 .t4s-product-info {
    padding: 6px 9px 9px;
  }

  .t4s-pr-style5 .t4s-product-vendor {
    font-size: 9.5px;
    line-height: 14px;
  }

  .t4s-pr-style5 .t4s-product-title {
    max-height: 34px;
    font-size: 11.5px;
    line-height: 17px;
  }

  .t4s-pr-style5 .t4s-mobile-card-price {
    font-size: 11.5px;
    line-height: 15px;
  }

  .t4s-pr-style5 .t4s-mobile-card-price del {
    font-size: 8.5px;
    line-height: 11px;
  }

  .t4s-pr-style5 .t4s-mobile-card-action .t4s-pr-addtocart {
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
  }

  .t4s-pr-style5
    .t4s-mobile-card-action
    .t4s-pr-addtocart
    .t4s-svg-pr-icon
    svg {
    width: 12px;
    height: 12px;
  }

  .t4s-pr-style5 .t4s-product-btns2 {
    top: 8px;
    left: 8px;
    gap: 5px;
  }

  .t4s-pr-style5 .t4s-product-btns2 > :first-child,
  .t4s-pr-style5 .t4s-product-btns2 > :first-child > a,
  .t4s-pr-style5 .t4s-product-btns2 > :nth-child(2),
  .t4s-pr-style5 .t4s-product-btns2 > :nth-child(2) > a {
    width: 27px !important;
    height: 27px !important;
    min-width: 27px !important;
  }

  .t4s-pr-style5 .t4s-product-btns2 svg {
    width: 13px;
    height: 13px;
  }
}

/* Keep sold-out status separate from the discount corner. */
.t4s-pr-style5
  .t4s-product-badge:has(.t4s-badge-soldout)
  > .t4s-badge-new {
  display: none !important;
}

.t4s-pr-style5 .t4s-product-badge > .t4s-badge-soldout {
  position: absolute;
  top: 49px;
  right: 6px;
  left: auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 58px;
  height: 22px !important;
  min-height: 22px;
  margin: 0 !important;
  padding: 0 8px;
  color: #fff !important;
  background: #050505 !important;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px !important;
  box-shadow: 0 4px 12px rgba(5, 5, 5, 0.14);
  font-size: 8.5px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
}

.t4s-pr-style5
  .t4s-product-badge:not(:has(.t4s-badge-sale))
  > .t4s-badge-soldout {
  top: 9px;
  right: 9px;
}

@media (max-width: 767px) {
  .t4s-pr-style5 .t4s-product-badge > .t4s-badge-soldout {
    top: 44px;
    right: 5px;
    min-width: 52px;
    height: 20px !important;
    min-height: 20px;
    padding: 0 6px;
    font-size: 8px;
    line-height: 18px;
  }

  .t4s-pr-style5
    .t4s-product-badge:not(:has(.t4s-badge-sale))
    > .t4s-badge-soldout {
    top: 7px;
    right: 7px;
  }
}

/* Keep Design 5 measurable inside homepage and recommendation carousels. */
.t4s_box_pr_slider .t4s-pr-style5,
.t4s_box_pr_slider .t4s-pr-style5 .t4s-product-wrapper {
  height: auto !important;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .t4s-pr-style5 .t4s-product-img.t4s_ratio::before {
    padding-top: 110% !important;
  }

  .t4s-pr-style5 .t4s-product-title {
    font-size: 13px;
    line-height: 19px;
  }

  .t4s-pr-style5 .t4s-mobile-card-action .t4s-pr-addtocart {
    width: 35px !important;
    min-width: 35px !important;
    max-width: 35px !important;
    height: 35px !important;
    min-height: 35px !important;
  }
}

/* Restore the theme's original clean wishlist and quick-view icons. */
.t4s-pr-style5 .t4s-product-btns2 > :first-child,
.t4s-pr-style5 .t4s-product-btns2 > :first-child > a,
.t4s-pr-style5 .t4s-product-btns2 > :nth-child(2),
.t4s-pr-style5 .t4s-product-btns2 > :nth-child(2) > a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.t4s-pr-style5 .t4s-product-btns2 > :first-child,
.t4s-pr-style5 .t4s-product-btns2 > :first-child > a {
  color: var(--wishlist-cl, #050505) !important;
}

.t4s-pr-style5 .t4s-product-btns2 > :nth-child(2),
.t4s-pr-style5 .t4s-product-btns2 > :nth-child(2) > a {
  color: var(--quickview-cl, #050505) !important;
}

.t4s-pr-style5 .t4s-product-btns2 svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 767px) {
  .t4s-pr-style5 .t4s-product-btns2 > :first-child,
  .t4s-pr-style5 .t4s-product-btns2 > :first-child > a,
  .t4s-pr-style5 .t4s-product-btns2 > :nth-child(2),
  .t4s-pr-style5 .t4s-product-btns2 > :nth-child(2) > a {
    width: 27px !important;
    height: 27px !important;
    min-width: 27px !important;
  }

  .t4s-pr-style5 .t4s-product-btns2 svg {
    width: 16px;
    height: 16px;
  }
}

/* Max Beauty integrated discount corner. */
.t4s-pr-style5 .t4s-product-badge {
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  gap: 4px;
  align-items: flex-end;
  z-index: 8;
}

.t4s-pr-style5 .t4s-product-badge > .t4s-badge-sale {
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-width: 48px;
  height: 43px !important;
  min-height: 43px;
  margin: 0;
  padding: 3px 5px 5px;
  color: #fff !important;
  background: #c89b3c !important;
  border: 0;
  border-radius: 0 15px 0 13px !important;
  box-shadow:
    inset 0 -2px #050505,
    0 5px 14px rgba(5, 5, 5, 0.09);
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
  text-align: center;
  direction: ltr;
  unicode-bidi: isolate;
}

.t4s-pr-style5 .t4s-product-badge > .t4s-badge-sale::after {
  display: none !important;
  margin-top: 1px;
  font-size: 8px;
  font-weight: 500;
  line-height: 9px;
  letter-spacing: 0.3px;
  content: none !important;
}

html[lang^="ar"]
  .t4s-pr-style5
  .t4s-product-badge
  > .t4s-badge-sale::after {
  letter-spacing: 0;
  content: "خصم";
}

.t4s-pr-style5
  .t4s-product-badge:has(.t4s-badge-sale)
  > .t4s-badge-new {
  display: none !important;
}

.t4s-pr-style5 .t4s-product-badge > .t4s-badge-soldout {
  margin: 0 5px 0 0;
  border-radius: 999px !important;
}

@media (max-width: 767px) {
  .t4s-pr-style5 .t4s-product-badge > .t4s-badge-sale {
    width: 43px;
    min-width: 43px;
    height: 39px !important;
    min-height: 39px;
    padding: 3px 4px 5px;
    border-radius: 0 15px 0 11px !important;
    font-size: 10px;
    line-height: 12px;
  }

  .t4s-pr-style5 .t4s-product-badge > .t4s-badge-sale::after {
    font-size: 7px;
    line-height: 8px;
  }
}

/* Max Beauty Card v10: branded top edge, compact image and review spacing. */
.t4s-pr-style5 .t4s-product-wrapper {
  overflow: hidden;
  background: #fff !important;
  border-color: rgba(5, 5, 5, 0.1);
}

.t4s-pr-style5 .t4s-product-wrapper::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9;
  display: block !important;
  height: 3px;
  background: linear-gradient(
    90deg,
    #050505 0,
    #050505 50%,
    #c89b3c 50%,
    #c89b3c 100%
  );
  content: "";
  pointer-events: none;
}

.t4s-pr-style5 .t4s-product-inner,
.t4s-pr-style5 .t4s-product-img,
.t4s-pr-style5 .t4s-product-info {
  background: #fff !important;
}

.t4s-pr-style5 .t4s-product-inner {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.t4s-pr-style5 .t4s-product-img {
  margin: 0;
}

.t4s-pr-style5 .t4s-product-img.t4s_ratio::before {
  padding-top: 100% !important;
}

.t4s-pr-style5 .t4s-product-img img {
  padding: 13px 13px 0;
  object-fit: contain !important;
  object-position: center bottom !important;
}

.t4s-pr-style5 .t4s-product-info {
  margin: 0;
  padding: 3px 12px 12px;
}

.t4s-pr-style5 .t4s-product-vendor {
  margin: 0;
  padding: 0;
  line-height: 14px;
}

.t4s-pr-style5 .t4s-product-title {
  margin-top: 2px;
}

.t4s-pr-style5 .t4s-product-rating {
  min-height: 0 !important;
  margin: 2px 0 0;
  padding: 0;
  line-height: 14px;
}

.t4s-pr-style5 .t4s-product-rating:has(.t4s-grid-rating:empty) {
  margin: 0;
}

.t4s-pr-style5 .t4s-product-rating .t4s-grid-rating {
  min-height: 0;
  line-height: 14px;
}

@media (max-width: 767px) {
  .t4s-pr-style5 .t4s-product-img.t4s_ratio::before {
    padding-top: 98% !important;
  }

  .t4s-pr-style5 .t4s-product-img img {
    padding: 10px 9px 0;
  }

  .t4s-pr-style5 .t4s-product-info {
    padding: 2px 9px 9px;
  }

  .t4s-pr-style5 .t4s-product-vendor {
    line-height: 12px;
  }

  .t4s-pr-style5 .t4s-product-title {
    margin-top: 2px;
  }

  .t4s-pr-style5 .t4s-product-rating {
    margin-top: 1px;
    line-height: 12px;
  }
}

/* Max Beauty finishing touches: subtle, responsive and layout-safe. */
.t4s-pr-style5 .t4s-product-wrapper {
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.t4s-pr-style5 .t4s-product-wrapper::before {
  background: linear-gradient(
    90deg,
    #050505 0,
    #050505 46%,
    #c89b3c 54%,
    #c89b3c 100%
  );
  box-shadow: 0 1px 0 rgba(200, 155, 60, 0.12);
}

.t4s-pr-style5 .t4s-product-vendor {
  display: flex;
  align-items: center;
  gap: 5px;
}

.t4s-pr-style5 .t4s-product-vendor::before {
  flex: 0 0 auto;
  width: 9px;
  height: 3px;
  background: linear-gradient(90deg, #050505 0 45%, #c89b3c 45% 100%);
  border-radius: 999px;
  content: "";
}

.t4s-pr-style5 .t4s-product-title a,
.t4s-pr-style5 .t4s-product-vendor a {
  transition: color 0.22s ease;
}

.t4s-pr-style5 .t4s-product-badge > .t4s-badge-sale {
  background: linear-gradient(145deg, #d9b65f 0%, #b88a2d 100%) !important;
  box-shadow:
    inset 0 -2px #050505,
    inset 1px 1px rgba(255, 255, 255, 0.24),
    0 6px 16px rgba(5, 5, 5, 0.12);
}

.t4s-pr-style5 .t4s-product-badge > .t4s-badge-soldout {
  background: linear-gradient(145deg, #050505 0%, #2a2418 100%) !important;
}

.t4s-pr-style5 .t4s-mobile-card-action .t4s-pr-addtocart {
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.t4s-pr-style5 .t4s-mobile-card-action .t4s-pr-addtocart:active {
  transform: scale(0.92);
}

@media (hover: hover) and (pointer: fine) {
  .t4s-pr-style5 .t4s-product-wrapper:hover {
    transform: translateY(-3px);
    border-color: rgba(200, 155, 60, 0.28);
    box-shadow:
      0 4px 8px rgba(5, 5, 5, 0.04),
      0 16px 34px rgba(5, 5, 5, 0.1);
  }

  .t4s-pr-style5 .t4s-product-title a:hover,
  .t4s-pr-style5 .t4s-product-vendor a:hover {
    color: #c89b3c;
  }

  .t4s-pr-style5 .t4s-mobile-card-action .t4s-pr-addtocart:hover {
    background: #c89b3c !important;
    box-shadow: 0 0 0 3px rgba(5, 5, 5, 0.13);
  }
}

@media (max-width: 767px) {
  .t4s-pr-style5 .t4s-product-wrapper {
    box-shadow:
      0 2px 4px rgba(5, 5, 5, 0.025),
      0 8px 20px rgba(5, 5, 5, 0.06);
  }

  .t4s-pr-style5 .t4s-product-vendor {
    gap: 4px;
  }

  .t4s-pr-style5 .t4s-product-vendor::before {
    width: 7px;
    height: 2px;
  }
}

/* Max Beauty collection-group list: New and Our Choice. */
:is(.t4s-group-products, .t4-suggest-products) {
  align-items: flex-start;
}

:is(.t4s-group-products, .t4-suggest-products) > :is(.t4s-group-products, .t4-suggest-products)-item {
  overflow: hidden;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(5, 5, 5, 0.09);
  border-radius: 18px;
  box-shadow:
    0 2px 5px rgba(5, 5, 5, 0.025),
    0 12px 28px rgba(5, 5, 5, 0.065);
}

:is(.t4s-group-products, .t4-suggest-products)-item
  .t4s-block-heading.t4s-heading-style2 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 43px;
  margin: 0 0 4px;
  padding: 0 2px 11px;
  border: 0;
}

:is(.t4s-group-products, .t4-suggest-products)-item
  .t4s-block-heading.t4s-heading-style2::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(5, 5, 5, 0.14),
    rgba(200, 155, 60, 0.48),
    rgba(5, 5, 5, 0.14)
  );
  content: "";
}

:is(.t4s-group-products, .t4-suggest-products)-item
  .t4s-block-heading.t4s-heading-style2
  .t4s-heading {
  position: relative;
  margin: 0 !important;
  padding: 0 13px 0 0;
  color: #050505;
  font-size: 21px;
  font-weight: 600;
  line-height: 30px;
}

.rtl_false
  :is(.t4s-group-products, .t4-suggest-products)-item
  .t4s-block-heading.t4s-heading-style2
  .t4s-heading {
  padding: 0 0 0 13px;
}

:is(.t4s-group-products, .t4-suggest-products)-item
  .t4s-block-heading.t4s-heading-style2
  .t4s-heading::before {
  position: absolute;
  top: 5px;
  right: 0;
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, #050505 0 50%, #c89b3c 50% 100%);
  border-radius: 999px;
  content: "";
}

.rtl_false
  :is(.t4s-group-products, .t4-suggest-products)-item
  .t4s-block-heading.t4s-heading-style2
  .t4s-heading::before {
  right: auto;
  left: 0;
}

:is(.t4s-group-products, .t4-suggest-products)-item .t4s-head-btn .t4s-btn {
  min-height: 0;
  height: auto;
  padding: 4px 0;
  color: #050505 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 11px;
  font-weight: 500;
  line-height: 18px;
}

:is(.t4s-group-products, .t4-suggest-products)-item .t4s-head-btn .t4s-btn svg {
  width: 11px;
  color: #c89b3c;
}

:is(.t4s-group-products, .t4-suggest-products)-item .t4s_box_pr_grid {
  row-gap: 0;
  margin-top: 0;
}

:is(.t4s-group-products, .t4-suggest-products) .t4s-product.t4s-pr-group {
  margin-top: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid rgba(5, 5, 5, 0.07);
}

:is(.t4s-group-products, .t4-suggest-products) .t4s-product.t4s-pr-group:last-child {
  border-bottom: 0;
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-product.t4s-pr-group
  > .t4s-product-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 116px;
  margin: 0 !important;
  padding: 10px 2px;
  background: #fff;
  transition: background-color 0.22s ease;
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-product.t4s-pr-group
  .t4s-product-img {
  flex: 0 0 96px;
  width: 96px;
  max-width: 96px;
  padding: 0 !important;
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-product.t4s-pr-group
  .t4s-product-img
  > a {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 3px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(145deg, #050505 0%, #7a5a20 48%, #c89b3c 100%)
      border-box;
  border: 1px solid transparent;
  border-radius: 14px;
  box-shadow:
    0 3px 10px rgba(5, 5, 5, 0.08),
    0 0 0 2px rgba(200, 155, 60, 0.06);
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-product.t4s-pr-group
  .t4s-product-img
  .t4s_ratio {
  overflow: hidden;
  background: #fff;
  border-radius: 10px;
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-product.t4s-pr-group
  .t4s-product-img
  .t4s_ratio::before {
  padding-top: 100% !important;
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-product.t4s-pr-group
  .t4s-product-img
  img {
  padding: 5px;
  object-fit: contain !important;
  object-position: center !important;
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-product.t4s-pr-group
  .t4s-product-info {
  position: relative;
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: minmax(0, 1fr) minmax(72px, auto);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  row-gap: 4px;
  min-width: 0;
  padding: 4px 12px !important;
  text-align: start;
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-product.t4s-pr-group.t4s-has-group-atc
  .t4s-product-info {
  padding-inline-end: 12px !important;
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-product.t4s-pr-group
  .t4s-widget__pr-title {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  display: -webkit-box;
  max-height: 42px;
  margin: 0;
  overflow: hidden;
  color: #050505;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 21px;
  text-align: start;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-product.t4s-pr-group
  .t4s-widget__pr-price {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  justify-self: center;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-width: 68px;
  margin: 0;
  color: #050505;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  direction: ltr;
}

.rtl_true
  :is(.t4s-group-products, .t4-suggest-products)
  .t4s-product.t4s-pr-group
  .t4s-widget__pr-price {
  align-items: center;
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-product.t4s-pr-group
  .t4s-widget__pr-price
  ins {
  order: 1;
  margin: 0 !important;
  color: #050505 !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-product.t4s-pr-group
  .t4s-widget__pr-price
  del {
  order: 2;
  margin: 1px 0 0;
  color: #8a641f !important;
  font-size: 10px;
  font-weight: 400;
  line-height: 14px;
  opacity: 0.86;
}

:is(.t4s-group-products, .t4-suggest-products) .t4s-pr-group .t4s-group-card-action {
  position: static;
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  justify-self: center;
  z-index: 2;
  display: flex;
  margin-top: 1px;
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-pr-group
  .t4s-group-card-action
  .t4s-product-atc-qty {
  display: block;
  width: auto;
  overflow: visible;
  background: transparent;
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-pr-group
  .t4s-group-card-action
  .t4s-product-atc-qty
  .t4s-quantity-wrapper {
  display: none;
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-pr-group
  .t4s-group-card-action
  .t4s-pr-addtocart {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  overflow: hidden;
  color: #fff !important;
  background: #050505 !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.14);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-pr-group
  .t4s-group-card-action
  .t4s-pr-addtocart
  .t4s-text-pr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-pr-group
  .t4s-group-card-action
  .t4s-pr-addtocart
  .t4s-svg-pr-icon {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-pr-group
  .t4s-group-card-action
  .t4s-pr-addtocart
  .t4s-svg-pr-icon
  svg {
  width: 15px;
  height: 15px;
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-pr-group
  .t4s-group-card-action
  .t4s-pr-addtocart.is--loading
  .t4s-svg-pr-icon {
  opacity: 0 !important;
  visibility: hidden !important;
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-pr-group
  .t4s-group-card-action
  .t4s-pr-addtocart.is--loading::before {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 13px;
  height: 13px;
  margin: auto;
  color: #fff;
  border-width: 1.4px;
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-pr-group
  .t4s-group-card-action
  .t4s-pr-addtocart:active {
  transform: scale(0.93);
}

@media (hover: hover) and (pointer: fine) {
  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    > .t4s-product-wrapper:hover {
    background: rgba(234, 211, 160, 0.055);
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-pr-group
    .t4s-group-card-action
    .t4s-pr-addtocart:hover {
    background: #c89b3c !important;
    box-shadow: 0 0 0 3px rgba(5, 5, 5, 0.12);
  }
}

@media (max-width: 767px) {
  :is(.t4s-group-products, .t4-suggest-products) > :is(.t4s-group-products, .t4-suggest-products)-item {
    padding: 11px;
    border-radius: 16px;
    box-shadow:
      0 2px 4px rgba(5, 5, 5, 0.025),
      0 9px 22px rgba(5, 5, 5, 0.06);
  }

  :is(.t4s-group-products, .t4-suggest-products)-item
    .t4s-block-heading.t4s-heading-style2 {
    min-height: 39px;
    margin-bottom: 2px;
    padding-bottom: 9px;
  }

  :is(.t4s-group-products, .t4-suggest-products)-item
    .t4s-block-heading.t4s-heading-style2
    .t4s-heading {
    padding-right: 11px;
    font-size: 19px;
    line-height: 27px;
  }

  .rtl_false
    :is(.t4s-group-products, .t4-suggest-products)-item
    .t4s-block-heading.t4s-heading-style2
    .t4s-heading {
    padding-right: 0;
    padding-left: 11px;
  }

  :is(.t4s-group-products, .t4-suggest-products)-item
    .t4s-block-heading.t4s-heading-style2
    .t4s-heading::before {
    top: 5px;
    width: 3px;
    height: 17px;
  }

  :is(.t4s-group-products, .t4-suggest-products)-item .t4s-head-btn .t4s-btn {
    font-size: 10.5px;
    line-height: 16px;
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    > .t4s-product-wrapper {
    min-height: 103px;
    padding: 8px 0;
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-product-img {
    flex-basis: 82px;
    width: 82px;
    max-width: 82px;
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-product-img
    img {
    padding: 4px;
  }

  :is(.t4s-group-products, .t4-suggest-products)
  .t4s-product.t4s-pr-group
  .t4s-product-info {
    grid-template-columns: minmax(0, 1fr) minmax(65px, auto);
    column-gap: 7px;
    row-gap: 3px;
    padding: 3px 8px !important;
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group.t4s-has-group-atc
    .t4s-product-info {
    padding-inline-end: 8px !important;
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-widget__pr-title {
    max-height: 36px;
    margin-bottom: 5px;
    font-size: 12.5px;
    line-height: 18px;
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-widget__pr-price,
  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-widget__pr-price
    ins {
    font-size: 12px;
    line-height: 16px;
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-widget__pr-price
    del {
    font-size: 9px;
    line-height: 12px;
  }

  :is(.t4s-group-products, .t4-suggest-products) .t4s-pr-group .t4s-group-card-action {
    position: static;
    margin-top: 0;
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-pr-group
    .t4s-group-card-action
    .t4s-pr-addtocart {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    border-radius: 10px !important;
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-pr-group
    .t4s-group-card-action
    .t4s-pr-addtocart
    .t4s-svg-pr-icon
    svg {
    width: 14px;
    height: 14px;
  }
}

/* Final cascade for the compact collection-group rows. */
:is(.t4s-group-products, .t4-suggest-products) .t4s-product.t4s-pr-group {
  border-bottom: 0 !important;
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-product.t4s-pr-group
  > .t4s-product-wrapper {
  min-height: 112px !important;
  padding: 11px 4px !important;
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-product.t4s-pr-group
  .t4s-product-img
  > a {
  padding: 3px;
  background: #fff;
  border: 1px solid rgba(5, 5, 5, 0.17);
  border-radius: 14px;
  box-shadow:
    inset 0 -2px 0 rgba(200, 155, 60, 0.72),
    0 4px 12px rgba(5, 5, 5, 0.08);
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-product.t4s-pr-group
  .t4s-product-img
  img {
  padding: 4px;
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-product.t4s-pr-group
  .t4s-product-info,
:is(.t4s-group-products, .t4-suggest-products)
  .t4s-product.t4s-pr-group.t4s-has-group-atc
  .t4s-product-info {
  padding: 2px 0 !important;
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-product.t4s-pr-group
  .t4s-widget__pr-title {
  max-height: 42px;
  margin: 0 !important;
  font-size: 14px;
  line-height: 21px;
}

@media (max-width: 767px) {
  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    > .t4s-product-wrapper {
    min-height: 98px !important;
    padding: 10px 2px !important;
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-product-img
    > a {
    padding: 2px;
    border-radius: 12px;
    box-shadow:
      inset 0 -2px 0 rgba(200, 155, 60, 0.72),
      0 3px 9px rgba(5, 5, 5, 0.075);
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-product-info,
  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group.t4s-has-group-atc
    .t4s-product-info {
    padding: 1px 0 !important;
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-widget__pr-title {
    max-height: 38px;
    margin: 0 !important;
    font-size: 13px;
    line-height: 19px;
  }
}

/* Mobile fit: three-line title and a cart button fully inside the frame. */
@media (max-width: 767px) {
  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    > .t4s-product-wrapper {
    gap: 8px !important;
    min-height: 96px !important;
    padding: 9px 7px !important;
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-product-img {
    flex-basis: 72px !important;
    width: 72px !important;
    max-width: 72px !important;
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-product-info,
  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group.t4s-has-group-atc
    .t4s-product-info {
    gap: 7px !important;
    padding: 0 !important;
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-widget__pr-title {
    display: -webkit-box;
    max-height: 51px !important;
    font-size: 12.5px !important;
    line-height: 17px !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3 !important;
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-group-product-meta {
    gap: 5px !important;
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-group-product-meta
    .t4s-widget__pr-price,
  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-group-product-meta
    .t4s-widget__pr-price
    ins {
    font-size: 11.5px !important;
    line-height: 15px !important;
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-group-product-meta
    .t4s-widget__pr-price
    del {
    font-size: 8.5px !important;
    line-height: 11px !important;
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-group-product-meta
    .t4s-group-card-action {
    margin-inline-end: 4px !important;
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-group-product-meta
    .t4s-pr-addtocart {
    box-sizing: border-box !important;
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    border-radius: 8px !important;
    box-shadow:
      0 0 0 1px rgba(200, 155, 60, 0.18),
      0 2px 5px rgba(5, 5, 5, 0.11);
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-group-product-meta
    .t4s-pr-addtocart
    .t4s-svg-pr-icon
    svg {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 389px) {
  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    > .t4s-product-wrapper {
    gap: 7px !important;
    padding: 8px 5px !important;
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-product-img {
    flex-basis: 66px !important;
    width: 66px !important;
    max-width: 66px !important;
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-product-info,
  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group.t4s-has-group-atc
    .t4s-product-info {
    gap: 5px !important;
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-widget__pr-title {
    max-height: 48px !important;
    font-size: 11.75px !important;
    line-height: 16px !important;
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-group-product-meta {
    gap: 4px !important;
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-group-product-meta
    .t4s-widget__pr-price,
  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-group-product-meta
    .t4s-widget__pr-price
    ins {
    font-size: 10.75px !important;
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-group-product-meta
    .t4s-pr-addtocart {
    width: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
    height: 26px !important;
    min-height: 26px !important;
    border-radius: 7px !important;
  }
}

/* Final one-line layout for the collection-group list. */
:is(.t4s-group-products, .t4-suggest-products)
  .t4s-product.t4s-pr-group
  .t4s-product-info,
:is(.t4s-group-products, .t4-suggest-products)
  .t4s-product.t4s-pr-group.t4s-has-group-atc
  .t4s-product-info {
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px;
}

.rtl_true
  :is(.t4s-group-products, .t4-suggest-products)
  .t4s-product.t4s-pr-group
  .t4s-product-info {
  direction: rtl;
}

.rtl_false
  :is(.t4s-group-products, .t4-suggest-products)
  .t4s-product.t4s-pr-group
  .t4s-product-info {
  direction: ltr;
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-product.t4s-pr-group
  .t4s-widget__pr-title {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0;
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-product.t4s-pr-group
  .t4s-group-product-meta {
  display: flex !important;
  flex: 0 0 auto !important;
  flex-flow: row nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
}

:is(.t4s-group-products, .t4-suggest-products)
  .t4s-product.t4s-pr-group
  .t4s-group-product-meta
  .t4s-widget__pr-price {
  flex: 0 0 auto;
}

@media (max-width: 767px) {
  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-product-info,
  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group.t4s-has-group-atc
    .t4s-product-info {
    gap: 8px;
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-group-product-meta {
    gap: 7px;
  }
}

@media (max-width: 389px) {
  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-product-info,
  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group.t4s-has-group-atc
    .t4s-product-info {
    gap: 6px;
  }

  :is(.t4s-group-products, .t4-suggest-products)
    .t4s-product.t4s-pr-group
    .t4s-group-product-meta {
    gap: 5px;
  }
}

/* Max Atelier: distinct visual identity; reference geometry and action positions remain. */
body .t4s-pr-style5 .t4s-product-wrapper {
  border: 1px solid #ede9e1;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 4px 18px rgba(42,36,24,.055) !important;
  transition: border-color .2s ease, box-shadow .2s ease;
}
body .t4s-pr-style5 .t4s-product-wrapper::before { display: none !important; }
body .t4s-pr-style5 .t4s-product-wrapper:hover,
body .t4s-pr-style5 .t4s-product-wrapper:focus-within { border-color: #c89b3c; box-shadow: 0 5px 18px rgba(122,90,32,.12) !important; }
body .t4s-pr-style5 .t4s-product-info { background: #fff !important; }
body .t4s-pr-style5 :is(.t4s-product-info__inner,.t4s-product-inner,.t4s-product-img,.t4s-mobile-card-footer,.t4s-mobile-card-action) {
  background: transparent !important; border: 0 !important; box-shadow: none !important;
}
body .t4s-pr-style5 .t4s-product-vendor a { color: #7a5a20 !important; font-size: 10px; letter-spacing: .4px; }
body .t4s-pr-style5 .t4s-product-title a { color: #17140e !important; font-weight: 600; }
body .t4s-pr-style5 .t4s-product-title a:hover { color: #7a5a20 !important; }
body .t4s-pr-style5 .t4s-mobile-card-footer { border-top: 0; padding-top: 8px; }
body .t4s-pr-style5 .t4s-mobile-card-price { color: #17140e !important; }
body .t4s-pr-style5 .t4s-mobile-card-price ins { color: #17140e !important; font-weight: 700; }
body .t4s-pr-style5 .t4s-mobile-card-price del { color: #837864 !important; }
body .t4s-pr-style5 .t4s-product-badge { top: 0 !important; right: 0 !important; left: auto !important; }
body .t4s-pr-style5 .t4s-product-badge > .t4s-badge-sale {
  display: inline-flex; align-items: center; justify-content: center;
  width: auto !important; min-width: 50px; height: 31px !important; min-height: 31px;
  margin: 0; padding: 4px 10px 5px; border-radius: 0 17px 0 17px !important;
  background: #17140e !important; border: 0; border-bottom: 2px solid #c89b3c;
  color: #edcf8a !important; box-shadow: none !important; font-size: 11px; font-weight: 700; line-height: 18px;
}
body .t4s-pr-style5 .t4s-mobile-card-action .t4s-pr-addtocart,
body :is(.t4s-group-products, .t4-suggest-products) .t4s-group-card-action .t4s-pr-addtocart {
  border-radius: 50% !important; background: #17140e !important; color: #edcf8a !important;
  border: 1px solid #17140e !important; box-shadow: none !important;
}
body .t4s-pr-style5 .t4s-mobile-card-action .t4s-pr-addtocart:is(:hover,:focus-visible,:active),
body :is(.t4s-group-products, .t4-suggest-products) .t4s-group-card-action .t4s-pr-addtocart:is(:hover,:focus-visible,:active) {
  background: #c89b3c !important; color: #17140e !important; border-color: #c89b3c !important;
}
body .t4s-pr-style5 .t4s-mobile-card-action .t4s-pr-addtocart:not(.is--loading)::before,
body .t4s-pr-style5 .t4s-mobile-card-action .t4s-pr-addtocart::after { display: none !important; }
/* The theme toggles is--loading while its cart request is in flight. */
body :is(.t4s-mobile-card-action,.t4s-group-card-action) .t4s-pr-addtocart.is--loading { position: relative; }
body :is(.t4s-mobile-card-action,.t4s-group-card-action) .t4s-pr-addtocart.is--loading .t4s-svg-pr-icon {
  opacity: 0 !important; visibility: hidden !important;
}
body :is(.t4s-mobile-card-action,.t4s-group-card-action) .t4s-pr-addtocart.is--loading::before {
  content: "" !important; display: block !important; position: absolute !important;
  inset: 0 !important; margin: auto !important; width: 17px !important; height: 17px !important;
  border: 2px solid currentColor !important; border-inline-end-color: transparent !important;
  border-radius: 50% !important; background: transparent !important;
  opacity: 1 !important; visibility: visible !important; z-index: 2;
  animation: max-cart-spin .65s linear infinite !important;
}
@keyframes max-cart-spin { to { transform: rotate(360deg); } }
@media(prefers-reduced-motion:reduce) {
  body :is(.t4s-mobile-card-action,.t4s-group-card-action) .t4s-pr-addtocart.is--loading::before { animation: none !important; }
}
body :is(.t4s-group-products, .t4-suggest-products) .t4s-pr-group .t4s-product-wrapper { border-radius: 14px; border-color: #ede9e1; background: #fff; box-shadow: none; }
body .t4s-pr-style5 .t4s-pr-item-btn:focus-visible { outline: 2px solid #c89b3c; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { body .t4s-pr-style5 .t4s-product-wrapper { transition: none; } }

/* Neutralize the legacy border-style-3 grid outside the actual card. */
html.pr_border_style_3 .t4s-product.t4s-pr-style5,
body.pr_border_style_3 .t4s-product.t4s-pr-style5,
body .pr_border_style_3 .t4s-product.t4s-pr-style5 {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
html.pr_border_style_3 .t4s-product.t4s-pr-style5::before,
body.pr_border_style_3 .t4s-product.t4s-pr-style5::before,
body .pr_border_style_3 .t4s-product.t4s-pr-style5::before,
html.pr_border_style_3 .t4s_box_pr_slider:has(.t4s-pr-style5) .flickityt4s-viewport::before,
body.pr_border_style_3 .t4s_box_pr_slider:has(.t4s-pr-style5) .flickityt4s-viewport::before,
body .pr_border_style_3 .t4s_box_pr_slider:has(.t4s-pr-style5) .flickityt4s-viewport::before {
  display: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
/* Match the reference's text inset, hierarchy and action alignment even when
   the original theme's border preset adds its own div-level declarations. */
body .t4s-product.t4s-pr-style5 div.t4s-product-info {
  padding: 3px 12px 12px !important;
  text-align: start !important;
  min-width: 0;
}
body .t4s-product.t4s-pr-style5 .t4s-product-title {
  margin: 2px 0 0 !important;
  font-size: 14px;
  line-height: 21px;
  max-height: 42px;
  text-align: start !important;
  -webkit-line-clamp: 2;
}
body .t4s-product.t4s-pr-style5 .t4s-product-title a {
  font-weight: 500;
  text-decoration: none !important;
}
body .t4s-product.t4s-pr-style5 .t4s-product-vendor {
  margin: 0 !important;
  padding: 0;
  line-height: 14px;
  text-align: start !important;
}
@media(max-width:767px) {
  body .t4s-product.t4s-pr-style5 .t4s-product-title {
    font-size: 12px;
    line-height: 18px;
    max-height: 54px;
    -webkit-line-clamp: 3;
  }
}
