/* =========================================================
   SMARTER PRODUCTS HUB
   DARK BRAND VERSION
   Navy / Purple / Cyan
   ========================================================= */
.s-trust-badges-content {
  display: none;
}
.smartr-products-hub {
  --sm-purple: #6c36f4;
  --sm-purple-light: #8b5cff;
  --sm-purple-soft: #a585ff;

  --sm-cyan: #20d3ea;
  --sm-cyan-light: #65e8f6;
  --sm-cyan-dark: #08a9c2;

  --sm-bg: #08102b;
  --sm-bg-deep: #07102a;
  --sm-bg-soft: #0d1838;

  --sm-card: #101b3e;
  --sm-card-soft: #132148;
  --sm-card-hover: #16264f;

  --sm-ink: #ffffff;
  --sm-text: #f4f6ff;
  --sm-muted: #aeb9d6;

  --sm-border: rgba(139, 92, 255, .18);
  --sm-border-soft: rgba(255, 255, 255, .07);

  --sm-product-stage: #f5f7ff;

  position: relative;
  isolation: isolate;
  overflow: hidden;

  margin: 42px 0;
  padding: 76px 0 82px;

  color: var(--sm-text);

  background:
    radial-gradient(
      circle at 10% 15%,
      rgba(32, 211, 234, .14),
      transparent 27%
    ),
    radial-gradient(
      circle at 89% 78%,
      rgba(108, 54, 244, .24),
      transparent 31%
    ),
    radial-gradient(
      circle at 55% 105%,
      rgba(139, 92, 255, .10),
      transparent 32%
    ),
    linear-gradient(
      145deg,
      #07102a 0%,
      #0a1230 48%,
      #0d1740 100%
    );
}


/* =========================================================
   GLOBAL
   ========================================================= */

.smartr-products-hub *,
.smartr-products-hub *::before,
.smartr-products-hub *::after {
  box-sizing: border-box;
}


/* subtle outer frame */

.smartr-products-hub::before {
  content: "";

  position: absolute;
  z-index: -1;
  inset: 22px;

  border: 1px solid rgba(139, 92, 255, .11);
  border-radius: 40px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, .012),
      rgba(108, 54, 244, .018)
    );

  pointer-events: none;
}


/* very subtle light sweep */

.smartr-products-hub::after {
  content: "";

  position: absolute;
  z-index: -2;

  width: 540px;
  height: 540px;

  top: -280px;
  left: 50%;

  transform: translateX(-50%);

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(102, 74, 255, .14) 0%,
      rgba(32, 211, 234, .045) 42%,
      transparent 72%
    );

  filter: blur(6px);

  pointer-events: none;
}


.smartr-products-hub__inner {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}


/* =========================================================
   HEADING
   ========================================================= */

.smartr-products-hub__heading {
  max-width: 760px;
  margin: 0 auto 42px;

  text-align: center;
}


.smartr-products-hub__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  padding: 8px 14px;

  border: 1px solid rgba(139, 92, 255, .24);
  border-radius: 999px;

  color: #d9d0ff;

  background:
    linear-gradient(
      135deg,
      rgba(108, 54, 244, .14),
      rgba(32, 211, 234, .07)
    );

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  font-size: 12px;
  font-weight: 800;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07),
    0 8px 28px rgba(0,0,0,.12);
}


.smartr-products-hub__eyebrow::before {
  content: "";

  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: var(--sm-cyan);

  box-shadow:
    0 0 0 5px rgba(32,211,234,.10),
    0 0 18px rgba(32,211,234,.50);
}


.smartr-products-hub__heading h2 {
  margin: 16px 0 11px;

  color: #ffffff;

  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.25;

  text-shadow:
    0 5px 30px rgba(0,0,0,.16);
}


.smartr-products-hub__heading h2 span {
  background:
    linear-gradient(
      110deg,
      #9c76ff 0%,
      #8154ff 38%,
      #45d9ee 100%
    );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}


.smartr-products-hub__heading p {
  margin: 0;

  color: var(--sm-muted);

  font-size: 17px;
  line-height: 1.85;
}


/* =========================================================
   PRODUCTS GRID
   ========================================================= */

.smartr-products-hub__grid {
  position: relative;

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 24px;
  align-items: stretch;
}


/* old middle bubble disabled */

.smartr-products-hub__grid::before {
  display: none !important;
  content: none !important;
}


/* =========================================================
   BASE PRODUCT BLOCK
   ========================================================= */

.smartr-products-hub .smartr_product {
  position: relative;

  min-width: 0;
  height: 100%;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
}


.smartr-products-hub .smartr_product > .container {
  width: 100% !important;
  max-width: none !important;
  height: 100%;

  margin: 0 !important;
  padding: 0 !important;
}


.smartr-products-hub .smartr_product .home-block-title {
  display: none !important;
}


.smartr-products-hub .smartr_product .special-product__wrapper,
.smartr-products-hub .smartr_product .special-product__card {
  width: 100%;
  height: 100%;
}


.smartr-products-hub .smartr_product .special-product__wrapper {
  overflow: visible !important;

  padding: 0 !important;

  border: 0 !important;
  border-radius: 30px !important;

  background: transparent !important;

  box-shadow: none !important;
}


.smartr-products-hub .smartr_product .special-product__wrapper::before,
.smartr-products-hub .smartr_product .special-product__wrapper::after,
.smartr-products-hub .smartr_product .special-product__card::before,
.smartr-products-hub .smartr_product .special-product__card::after {
  display: none !important;
  content: none !important;
}


/* =========================================================
   FLEX STRUCTURE
   ========================================================= */

.smartr-products-hub .smartr_product .special-product__wrapper,
.smartr-products-hub .smartr_product .special-product__card,
.smartr-products-hub custom-salla-product-card.product-card,
.smartr-products-hub .product-card__content,
.smartr-products-hub .product-card__content-wrapper {
  display: flex !important;
  flex-direction: column !important;
}


/* =========================================================
   MAIN PRODUCT CARD
   ========================================================= */

.smartr-products-hub
.smartr_product
.special-product__card {

  position: relative;
  overflow: hidden;

  padding: 18px;

  border:
    1px solid rgba(139,92,255,.17);

  border-radius: 30px;

  background:
    linear-gradient(
      145deg,
      rgba(20,34,76,.96),
      rgba(12,23,55,.96)
    );

  box-shadow:
    0 24px 65px rgba(1,7,29,.34),
    inset 0 1px 0 rgba(255,255,255,.045);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease,
    background .35s ease;
}


.smartr-products-hub
.smartr_product
.special-product__card:hover {

  transform: translateY(-7px);

  border-color:
    rgba(139,92,255,.38);

  background:
    linear-gradient(
      145deg,
      rgba(23,39,85,.98),
      rgba(13,25,62,.98)
    );

  box-shadow:
    0 32px 78px rgba(2,6,29,.45),
    0 14px 45px rgba(108,54,244,.14),
    inset 0 1px 0 rgba(255,255,255,.06);
}


/* =========================================================
   SUBSCRIPTION CARD
   ========================================================= */

.smartr-products-hub
.smartr_product.is-subscription
.special-product__card {

  background:
    radial-gradient(
      circle at 90% 3%,
      rgba(32,211,234,.13),
      transparent 31%
    ),
    radial-gradient(
      circle at 4% 100%,
      rgba(108,54,244,.14),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      #14234d 0%,
      #0c183a 100%
    );
}


/* =========================================================
   DEVICE CARD
   ========================================================= */

.smartr-products-hub
.smartr_product.is-device
.special-product__card {

  background:
    radial-gradient(
      circle at 5% 95%,
      rgba(139,92,255,.16),
      transparent 31%
    ),
    radial-gradient(
      circle at 96% 4%,
      rgba(32,211,234,.08),
      transparent 28%
    ),
    linear-gradient(
      145deg,
      #111f47 0%,
      #0b1736 100%
    );
}


/* =========================================================
   BADGE
   ========================================================= */

.smartr-products-hub__badge {
  position: absolute;
  z-index: 7;

  top: 28px;
  right: 28px;

  display: inline-flex;
  align-items: center;

  min-height: 34px;

  padding: 0 13px;

  border:
    1px solid rgba(255,255,255,.10);

  border-radius: 999px;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #6331e8 0%,
      #7d4cff 55%,
      #20cfe7 100%
    );

  box-shadow:
    0 10px 28px rgba(89,43,220,.32),
    inset 0 1px 0 rgba(255,255,255,.18);

  font-size: 12px;
  font-weight: 800;
}


.smartr-products-hub
.is-device
.smartr-products-hub__badge {

  color: #dffcff;

  background:
    rgba(19,181,207,.15);

  border:
    1px solid rgba(32,211,234,.30);

  box-shadow:
    0 8px 25px rgba(0,0,0,.10);
}


/* =========================================================
   SALLA CARD
   ========================================================= */

.smartr-products-hub
custom-salla-product-card.product-card {

  width: 100% !important;
  height: 100%;

  flex: 1 1 auto;

  border: 0 !important;

  background: transparent !important;

  box-shadow: none !important;
}


/* =========================================================
   PRODUCT IMAGE STAGE
   ========================================================= */

/*
   intentional light stage:
   keeps product photography clean and readable
*/

.smartr-products-hub .product-card__image {

  position: relative;

  flex: 0 0 370px;

  width: 100%;

  height: 370px !important;
  min-height: 370px;
  max-height: 370px;

  padding: 18px;

  overflow: hidden;

  border:
    1px solid rgba(255,255,255,.08);

  border-radius: 22px;

  background:
    radial-gradient(
      circle at 50% 48%,
      #ffffff 0%,
      #f7f9ff 54%,
      #edf2ff 100%
    );

  box-shadow:
    inset 0 0 0 1px rgba(108,54,244,.025),
    0 12px 32px rgba(1,8,30,.14);
}


.smartr-products-hub
.is-subscription
.product-card__image,

.smartr-products-hub
.is-device
.product-card__image {

  min-height: 370px;
}


.smartr-products-hub
.product-card__image > a {

  display: flex !important;

  width: 100%;
  height: 100%;

  align-items: center;
  justify-content: center;
}


.smartr-products-hub
.product-card__image
.main-image {

  width: 100% !important;
  height: 100% !important;

  object-fit: contain !important;

  transition:
    transform .5s ease,
    opacity .3s ease;
}


.smartr-products-hub
.special-product__card:hover
.product-card__image
.main-image {

  transform: scale(1.035);
}


/* =========================================================
   PRODUCT CONTENT
   ========================================================= */

.smartr-products-hub
.product-card__content {

  flex: 1 1 auto;

  padding: 22px 8px 6px;

  color: var(--sm-text);

  text-align: right;
}


.smartr-products-hub
.product-card__content-wrapper {

  flex: 1 1 auto;
}


/* =========================================================
   TITLE
   ========================================================= */

.smartr-products-hub
.product-card__title {

  position: relative;

  display: flex;

  min-height: 72px;

  align-items: flex-start;
}


.smartr-products-hub
.product-card__title a {

  color: #ffffff !important;

  font-size: clamp(19px, 2vw, 25px);
  font-weight: 800;
  line-height: 1.45;

  transition:
    color .25s ease;
}


.smartr-products-hub
.product-card__title a:hover {

  color: #c5b3ff !important;
}


/* =========================================================
   SUBTITLE
   ========================================================= */

.smartr-products-hub
.product-card__subtitle {

  min-height: 24px;

  margin-bottom: 0 !important;

  color: #57dceb !important;

  font-weight: 700;
}


/* =========================================================
   DEVICE EXTRA LABEL
   ========================================================= */

.smartr-products-hub
.is-device
.product-card__title::after {

  content: "يشمل اشتراك سنة";

  position: absolute;

  margin-top: 46px;

  color: #54ddec;

  font-size: 13px;
  font-weight: 700;
}


/* =========================================================
   PRICE
   ========================================================= */

.smartr-products-hub
.product-card__price {

  justify-content: flex-start !important;

  margin-top: 15px;
}


.smartr-products-hub
.product-card__price
.total-price {

  color: #9b78ff !important;

  font-size: 27px !important;
  font-weight: 900;
}


/* old / crossed prices */

.smartr-products-hub
.product-card__price del,

.smartr-products-hub
.product-card__price .regular-price {

  color: #7f8baa !important;
}


/* =========================================================
   DISCOUNT
   ========================================================= */

.smartr-products-hub
.product-card__discount {

  display: inline-flex !important;

  align-self: flex-start !important;

  width: auto !important;
  max-width: max-content !important;

  min-height: 30px;

  margin: 10px 0 0 auto !important;

  padding: 5px 11px !important;

  border:
    1px solid rgba(255,100,100,.16);

  border-radius: 9px !important;

  background:
    rgba(217,45,32,.12) !important;

  line-height: 1.2;
}


.smartr-products-hub
.product-card__discount span {

  display: inline !important;

  white-space: nowrap;

  color: #ff7770 !important;
}


/* =========================================================
   CART AREA
   ========================================================= */

.smartr-products-hub
.product-card__normal-cart {

  margin-top: auto !important;

  padding-top: 16px;
}


.smartr-products-hub
.product-card__buttons {

  margin-top: auto;
}


/* =========================================================
   CTA BUTTON
   ========================================================= */

.smartr-products-hub
.product-card__normal-cart
.s-button-element,

.smartr-products-hub
.product-card__buttons
.addToCart
.s-button-element {

  position: relative;

  min-height: 50px;

  overflow: hidden;

  border:
    1px solid rgba(255,255,255,.08) !important;

  border-radius: 13px !important;

  color: #ffffff !important;

  background:
    linear-gradient(
      110deg,
      #6030e8 0%,
      #7848f5 45%,
      #18bfd8 100%
    ) !important;

  box-shadow:
    0 13px 30px rgba(80,39,204,.25),
    inset 0 1px 0 rgba(255,255,255,.18);

  font-weight: 800;

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    filter .25s ease;
}


.smartr-products-hub
.product-card__normal-cart
.s-button-element:hover,

.smartr-products-hub
.product-card__buttons
.addToCart
.s-button-element:hover {

  transform: translateY(-2px);

  filter: brightness(1.08);

  box-shadow:
    0 17px 38px rgba(80,39,204,.32),
    0 8px 28px rgba(32,211,234,.10);
}


/* =========================================================
   PIE / CART MINI UI
   ========================================================= */

.smartr-products-hub .pie-wrapper {

  border-color:
    rgba(32,211,234,.75) !important;

  background:
    #111d43 !important;

  color:
    #ffffff !important;
}


/* =========================================================
   GENERAL TEXT INSIDE CARD
   ========================================================= */

.smartr-products-hub
.product-card__content p,

.smartr-products-hub
.product-card__content span:not(.total-price):not(.product-card__discount span),

.smartr-products-hub
.product-card__content small {

  color: var(--sm-muted);
}


/* rating */

.smartr-products-hub
.s-rating-stars {

  color: #ffbf3d !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 820px) {

  .smartr-products-hub {
    margin: 28px 0;

    padding: 58px 0 62px;

    background:
      radial-gradient(
        circle at 0% 12%,
        rgba(32,211,234,.11),
        transparent 25%
      ),
      radial-gradient(
        circle at 100% 82%,
        rgba(108,54,244,.20),
        transparent 30%
      ),
      linear-gradient(
        155deg,
        #07102a,
        #0b1535
      );
  }


  .smartr-products-hub::before {
    inset: 10px;
    border-radius: 28px;
  }


  .smartr-products-hub__heading {
    margin-bottom: 28px;
  }


  .smartr-products-hub__grid {

    grid-template-columns: 1fr;

    gap: 18px;
  }


  .smartr-products-hub__grid::before {
    display: none !important;
  }


  .smartr-products-hub
  .smartr_product.is-subscription {

    order: -1;
  }


  .smartr-products-hub
  .smartr_product
  .special-product__card {

    padding: 14px;

    border-radius: 24px;
  }


  .smartr-products-hub
  .product-card__image,

  .smartr-products-hub
  .is-subscription
  .product-card__image,

  .smartr-products-hub
  .is-device
  .product-card__image {

    flex-basis: 300px;

    height: 300px !important;
    min-height: 300px;
    max-height: 300px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 480px) {

  .smartr-products-hub {
    margin: 20px 0;

    padding:
      48px 0 52px;
  }


  .smartr-products-hub__inner {

    width:
      min(
        calc(100% - 18px),
        1180px
      );
  }


  .smartr-products-hub__heading {

    padding-inline: 8px;
  }


  .smartr-products-hub__heading h2 {

    font-size: 31px;
  }


  .smartr-products-hub__heading p {

    font-size: 15px;
    line-height: 1.8;
  }


  .smartr-products-hub__eyebrow {

    font-size: 11px;
  }


  .smartr-products-hub
  .product-card__image,

  .smartr-products-hub
  .is-subscription
  .product-card__image,

  .smartr-products-hub
  .is-device
  .product-card__image {

    flex-basis: 245px;

    height: 245px !important;
    min-height: 245px;
    max-height: 245px;

    padding: 10px;

    border-radius: 18px;
  }


  .smartr-products-hub__badge {

    top: 20px;
    right: 20px;
  }


  .smartr-products-hub
  .product-card__content {

    padding:
      18px 5px 5px;
  }


  .smartr-products-hub
  .product-card__title a {

    font-size: 19px;
  }


  .smartr-products-hub
  .product-card__price
  .total-price {

    font-size:
      24px !important;
  }


  .smartr-products-hub__grid::before {

    display: none !important;
  }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .smartr-products-hub
  .special-product__card,

  .smartr-products-hub
  .product-card__image
  .main-image,

  .smartr-products-hub
  .s-button-element {

    transition: none;
  }
}
section.smartr-products-hub {
    margin-top: 0;
}
/* =========================================================
   SMARTER PRODUCTS HUB — VISUAL FIX V2
   Add AFTER the existing CSS
   ========================================================= */

.smartr-products-hub {
  --sm-purple: #7044f5;
  --sm-purple-light: #8c68ff;
  --sm-cyan: #20cbe7;
  --sm-cyan-dark: #15b8d3;

  --sm-bg: #0c1738;
  --sm-bg-2: #101d45;
  --sm-card: #142451;

  --sm-text: #ffffff;
  --sm-muted: #aeb9d8;

  margin: 32px 0;
  padding: 68px 0 74px;

  background:
    radial-gradient(
      circle at 8% 15%,
      rgba(25, 190, 224, .12),
      transparent 30%
    ),
    radial-gradient(
      circle at 92% 80%,
      rgba(113, 63, 243, .16),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      #0b1735 0%,
      #101c43 52%,
      #111944 100%
    );
}


/* remove big decorative frame */

.smartr-products-hub::before {
  inset: 0;
  border: 0;
  border-radius: 0;
  background: none;
}


/* remove central halo */

.smartr-products-hub::after {
  opacity: .45;
}


/* =========================================================
   HEADING
   ========================================================= */

.smartr-products-hub__heading {
  margin-bottom: 34px;
}

.smartr-products-hub__heading h2 {
  margin-top: 13px;

  color: #fff;

  font-size: clamp(28px, 3.2vw, 42px);
}

.smartr-products-hub__heading p {
  max-width: 620px;
  margin-inline: auto;

  color: #aeb9d8;

  font-size: 16px;
}

.smartr-products-hub__eyebrow {
  padding: 7px 13px;

  color: #d8d4ff;

  border-color: rgba(120, 92, 255, .28);

  background:
    rgba(255,255,255,.045);

  box-shadow: none;
}


/* =========================================================
   GRID
   ========================================================= */

.smartr-products-hub__grid {
  gap: 18px;
}


/* =========================================================
   CARD
   ========================================================= */

.smartr-products-hub
.smartr_product
.special-product__card {

  padding: 13px;

  border:
    1px solid rgba(132, 111, 255, .20);

  border-radius: 24px;

  background:
    linear-gradient(
      180deg,
      rgba(25, 42, 88, .98) 0%,
      rgba(17, 31, 70, .98) 100%
    );

  box-shadow:
    0 18px 42px rgba(3, 8, 31, .20);

  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  transform: none;
}


/* purple/cyan top accent */

.smartr-products-hub
.smartr_product
.special-product__card::before {

  content: "" !important;

  display: block !important;

  position: absolute;

  z-index: 5;

  top: 0;
  right: 28px;
  left: 28px;

  height: 2px;

  border-radius: 0 0 10px 10px;

  background:
    linear-gradient(
      90deg,
      transparent,
      #7044f5 25%,
      #8d62ff 53%,
      #20cbe7 80%,
      transparent
    );

  opacity: .85;
}


.smartr-products-hub
.smartr_product
.special-product__card:hover {

  transform: translateY(-4px);

  border-color:
    rgba(133, 102, 255, .36);

  background:
    linear-gradient(
      180deg,
      #1a2d5d 0%,
      #13244d 100%
    );

  box-shadow:
    0 24px 52px rgba(3, 8, 31, .28);
}


/* remove different heavy backgrounds */

.smartr-products-hub
.smartr_product.is-subscription
.special-product__card,

.smartr-products-hub
.smartr_product.is-device
.special-product__card {

  background:
    linear-gradient(
      180deg,
      #192b59 0%,
      #112044 100%
    );
}


/* =========================================================
   PRODUCT IMAGE
   ========================================================= */

.smartr-products-hub
.product-card__image {

  flex: 0 0 315px;

  height: 315px !important;
  min-height: 315px !important;
  max-height: 315px !important;

  padding: 14px;

  border:
    1px solid rgba(139, 118, 255, .11);

  border-radius: 18px;

  background:
    radial-gradient(
      circle at 50% 45%,
      #fbfcff 0%,
      #f2f5ff 54%,
      #e9effc 100%
    );

  box-shadow:
    inset 0 0 32px rgba(91, 77, 190, .035);
}


.smartr-products-hub
.is-subscription
.product-card__image,

.smartr-products-hub
.is-device
.product-card__image {

  min-height: 315px !important;
}


/* product should not touch image edges */

.smartr-products-hub
.product-card__image
.main-image {

  width: 94% !important;
  height: 94% !important;

  object-fit: contain !important;
}


/* softer image hover */

.smartr-products-hub
.special-product__card:hover
.product-card__image
.main-image {

  transform: scale(1.018);
}


/* =========================================================
   CONTENT
   ========================================================= */

.smartr-products-hub
.product-card__content {

  padding:
    18px 10px 7px;
}


/* TITLE */

.smartr-products-hub
.product-card__title {

  min-height: 58px;
}


.smartr-products-hub
.product-card__title a {

  color: #fff !important;

  font-size:
    clamp(18px, 1.55vw, 22px);

  font-weight: 800;

  line-height: 1.5;
}


/* SUBTITLE */

.smartr-products-hub
.product-card__subtitle {

  min-height: 22px;

  color:
    #35d0e7 !important;

  font-size: 14px;

  font-weight: 700;
}


/* DEVICE EXTRA TEXT */

.smartr-products-hub
.is-device
.product-card__title::after {

  margin-top: 39px;

  color:
    #3bd4e9;

  font-size: 12px;
}


/* =========================================================
   PRICE
   ========================================================= */

.smartr-products-hub
.product-card__price {

  margin-top: 11px;
}


.smartr-products-hub
.product-card__price
.total-price {

  color:
    #9b7bff !important;

  font-size:
    25px !important;

  font-weight: 900;
}


.smartr-products-hub
.product-card__price del,

.smartr-products-hub
.product-card__price
.regular-price {

  color:
    #7f8aac !important;
}


/* =========================================================
   BADGES
   ========================================================= */

.smartr-products-hub__badge {

  top: 22px;
  right: 22px;

  min-height: 31px;

  padding:
    0 12px;

  border: 0;

  color:
    #fff;

  background:
    linear-gradient(
      100deg,
      #6937ef,
      #895cff 55%,
      #27cbe4
    );

  box-shadow:
    0 8px 22px rgba(84, 49, 209, .22);

  font-size: 11px;
}


.smartr-products-hub
.is-device
.smartr-products-hub__badge {

  color:
    #dffcff;

  border:
    1px solid rgba(53, 211, 234, .28);

  background:
    rgba(18, 173, 202, .16);
}


/* =========================================================
   DISCOUNT
   ========================================================= */

.smartr-products-hub
.product-card__discount {

  min-height: 28px;

  margin-top: 8px !important;

  padding:
    4px 9px !important;

  border:
    1px solid rgba(255, 97, 105, .17);

  background:
    rgba(207, 56, 65, .13) !important;
}


.smartr-products-hub
.product-card__discount span {

  color:
    #ff7d82 !important;

  font-size: 12px;
}


/* =========================================================
   BUTTON
   ========================================================= */

.smartr-products-hub
.product-card__normal-cart {

  padding-top: 13px;
}


.smartr-products-hub
.product-card__normal-cart
.s-button-element,

.smartr-products-hub
.product-card__buttons
.addToCart
.s-button-element {

  min-height: 46px;

  border-radius:
    11px !important;

  background:
    linear-gradient(
      105deg,
      #6636ed 0%,
      #7749f5 52%,
      #19bcd7 100%
    ) !important;

  box-shadow:
    0 10px 22px rgba(73, 39, 190, .20);

  font-size: 14px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 820px) {

  .smartr-products-hub {

    padding:
      52px 0 58px;
  }

  .smartr-products-hub__grid {

    gap: 15px;
  }

  .smartr-products-hub
  .smartr_product
  .special-product__card {

    padding: 11px;

    border-radius: 20px;
  }

  .smartr-products-hub
  .product-card__image,

  .smartr-products-hub
  .is-subscription
  .product-card__image,

  .smartr-products-hub
  .is-device
  .product-card__image {

    flex-basis: 280px;

    height: 280px !important;
    min-height: 280px !important;
    max-height: 280px !important;
  }
}


@media (max-width: 480px) {

  .smartr-products-hub {

    margin:
      16px 0;

    padding:
      44px 0 48px;
  }


  .smartr-products-hub__heading h2 {

    font-size:
      28px;
  }


  .smartr-products-hub
  .product-card__image,

  .smartr-products-hub
  .is-subscription
  .product-card__image,

  .smartr-products-hub
  .is-device
  .product-card__image {

    flex-basis: 230px;

    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;

    padding: 8px;
  }


  .smartr-products-hub
  .product-card__content {

    padding:
      15px 7px 5px;
  }


  .smartr-products-hub
  .product-card__title {

    min-height: 53px;
  }


  .smartr-products-hub
  .product-card__title a {

    font-size:
      18px;
  }


  .smartr-products-hub
  .product-card__price
  .total-price {

    font-size:
      23px !important;
  }
}
/* =========================================================
   SMARTER PRODUCTS HUB — LAYOUT FIX V3
   add after current css
   ========================================================= */

/* section */
.smartr-products-hub {
  padding: 60px 0 66px;
}

.smartr-products-hub__heading {
  margin-bottom: 28px;
}

.smartr-products-hub__heading h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin: 10px 0 8px;
}

.smartr-products-hub__heading p {
  font-size: 15px;
  line-height: 1.8;
}

/* outer grid */
.smartr-products-hub__grid {
  gap: 16px;
  align-items: stretch;
}

/* main card */
.smartr-products-hub .smartr_product .special-product__card {
  padding: 16px;
  border-radius: 22px;
}

/* =========================================================
   turn product card into 2 columns on desktop
   ========================================================= */

.smartr-products-hub custom-salla-product-card.product-card {
  display: grid !important;
  grid-template-columns: minmax(280px, 42%) minmax(0, 58%);
  gap: 18px;
  align-items: center;
  height: 100%;
}

/* image column */
.smartr-products-hub .product-card__image {
  flex: unset !important;
  height: 100% !important;
  min-height: 290px !important;
  max-height: none !important;
  padding: 14px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 40%, #fbfcff 0%, #f1f4ff 58%, #e9eefb 100%);
}

.smartr-products-hub .product-card__image > a {
  min-height: 100%;
}

.smartr-products-hub .product-card__image .main-image {
  width: 88% !important;
  height: 88% !important;
  object-fit: contain !important;
}

/* content column */
.smartr-products-hub .product-card__content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center;
  padding: 6px 8px 4px;
  min-height: 290px;
}

.smartr-products-hub .product-card__content-wrapper {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center;
  min-height: 100%;
}

/* title */
.smartr-products-hub .product-card__title {
  min-height: auto;
  margin-bottom: 8px;
}

.smartr-products-hub .product-card__title a {
  font-size: clamp(20px, 1.6vw, 28px);
  line-height: 1.35;
}

/* subtitle */
.smartr-products-hub .product-card__subtitle {
  min-height: auto;
  margin-bottom: 6px !important;
  font-size: 14px;
}

/* device helper text */
.smartr-products-hub .is-device .product-card__title::after {
  position: static;
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
}

/* rating + small meta */
.smartr-products-hub .s-rating-stars {
  margin-top: 8px;
}

.smartr-products-hub .product-card__price {
  margin-top: 14px;
  align-items: flex-end;
  gap: 8px;
}

.smartr-products-hub .product-card__price .total-price {
  font-size: 32px !important;
  line-height: 1;
}

.smartr-products-hub .product-card__price del,
.smartr-products-hub .product-card__price .regular-price {
  font-size: 16px !important;
}

/* discount badge */
.smartr-products-hub .product-card__discount {
  margin: 10px 0 0 0 !important;
  align-self: flex-start !important;
}

/* CTA area */
.smartr-products-hub .product-card__normal-cart,
.smartr-products-hub .product-card__buttons {
  margin-top: 16px !important;
  padding-top: 0 !important;
}

.smartr-products-hub .product-card__normal-cart .s-button-element,
.smartr-products-hub .product-card__buttons .addToCart .s-button-element {
  min-height: 48px;
  font-size: 15px;
}

/* badge */
.smartr-products-hub__badge {
  top: 18px;
  right: 18px;
}

/* make both cards visually cleaner */
.smartr-products-hub .smartr_product.is-device .special-product__card,
.smartr-products-hub .smartr_product.is-subscription .special-product__card {
  background:
    linear-gradient(180deg, #182a58 0%, #122147 100%);
}

/* =========================================================
   tablet
   ========================================================= */
@media (max-width: 980px) {
  .smartr-products-hub custom-salla-product-card.product-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .smartr-products-hub .product-card__image {
    min-height: 260px !important;
    height: 260px !important;
  }

  .smartr-products-hub .product-card__content {
    min-height: auto;
    padding: 8px 6px 4px;
  }

  .smartr-products-hub .product-card__title a {
    font-size: 22px;
  }

  .smartr-products-hub .product-card__price .total-price {
    font-size: 28px !important;
  }
}

/* =========================================================
   mobile
   ========================================================= */
@media (max-width: 480px) {
  .smartr-products-hub {
    padding: 42px 0 46px;
  }

  .smartr-products-hub .smartr_product .special-product__card {
    padding: 12px;
    border-radius: 18px;
  }

  .smartr-products-hub .product-card__image {
    min-height: 220px !important;
    height: 220px !important;
    padding: 10px;
  }

  .smartr-products-hub .product-card__title a {
    font-size: 18px;
    line-height: 1.45;
  }

  .smartr-products-hub .product-card__price .total-price {
    font-size: 24px !important;
  }

  .smartr-products-hub .product-card__normal-cart .s-button-element,
  .smartr-products-hub .product-card__buttons .addToCart .s-button-element {
    min-height: 44px;
    font-size: 14px;
  }
}