/* Track Speed — Apple-style cards for the curated products section */
.ts-apple-tabs .product-card {
  background: #fff !important;
  border: 1px solid #e8e8ed !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  overflow: hidden;
}
.ts-apple-tabs .product-card__image {
  height: 208px !important;
  background: #fff;
}
.ts-apple-tabs .product-card__content {
  padding: 16px 16px 12px !important;
}
.ts-apple-tabs .product-card__title a {
  color: #1d1d1f !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.55 !important;
  min-height: 3.1em;
  font-size: 16px !important;
  font-weight: 600 !important;
}
.ts-apple-tabs .product-card__subtitle {
  display: none !important;
}
.ts-apple-tabs .s-product-card-rating {
  margin-top: 8px !important;
}
.ts-apple-tabs .product-card__addToCart .s-button-element {
  min-height: 44px !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
}
@media (max-width: 640px) {
  .ts-apple-tabs .product-card__image { height: 170px !important; }
  .ts-apple-tabs .product-card__content { padding: 12px 12px 10px !important; }
  .ts-apple-tabs .product-card__title a { font-size: 14px !important; }
}

/* Match popular-tab card height to the latest-products tab */
.ts-apple-tabs .product-tab-content[data-tab-id$="-1"] .s-product-card-rating {
  display: none !important;
}

/* Keep homepage product cards compact when a product has variants */
.ts-apple-tabs .product-options {
  display: none !important;
}

/* Apple-style recently viewed section */
#viewed-section .product-card {
  background: #fff !important;
  border: 1px solid #e8e8ed !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  overflow: hidden;
}
#viewed-section .product-card__image {
  height: 208px !important;
  background: #fff;
}
#viewed-section .product-card__content {
  padding: 16px 16px 12px !important;
}
#viewed-section .product-card__title a {
  color: #1d1d1f !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.55 !important;
  min-height: 3.1em;
  font-size: 16px !important;
  font-weight: 600 !important;
}
#viewed-section .product-card__subtitle,
#viewed-section .s-product-card-rating,
#viewed-section .product-options {
  display: none !important;
}
#viewed-section .product-card__enhanced-mini-cart .s-button-element {
  min-height: 44px !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
}
@media (max-width: 640px) {
  #viewed-section .product-card__image { height: 170px !important; }
  #viewed-section .product-card__content { padding: 12px 12px 10px !important; }
  #viewed-section .product-card__title a { font-size: 14px !important; }
}

/* Apple-style customer reviews */
.s-block--custom-reviews {
  background: #f5f5f7 !important;
  padding-top: 28px !important;
  padding-bottom: 30px !important;
}
.s-block--custom-reviews .home-block-title {
  margin-bottom: 16px !important;
}
.s-block--custom-reviews .review > div {
  background: #fff !important;
  border: 1px solid #e8e8ed !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  padding: 20px !important;
}
.s-block--custom-reviews .review p {
  color: #1d1d1f !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
  text-align: center;
}
.s-block--custom-reviews .review img {
  display: none !important;
}
.s-block--custom-reviews .review .flex.items-center {
  justify-content: center !important;
  margin: 16px 0 0 !important;
  min-height: 0 !important;
}
.s-block--custom-reviews .review .mx-2 {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: center;
}
.s-block--custom-reviews .review .sicon-quote {
  color: #6e1aa7 !important;
  opacity: .12 !important;
}
@media (max-width: 640px) {
  .s-block--custom-reviews {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }
  .s-block--custom-reviews .review > div { padding: 18px !important; }
}/* Track Speed — Apple-style cards for the curated products section */
.ts-apple-tabs .product-card {
  background: #fff !important;
  border: 1px solid #e8e8ed !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  overflow: hidden;
}
.ts-apple-tabs .product-card__image {
  height: 208px !important;
  background: #fff;
}
.ts-apple-tabs .product-card__content {
  padding: 16px 16px 12px !important;
}
.ts-apple-tabs .product-card__title a {
  color: #1d1d1f !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.55 !important;
  min-height: 3.1em;
  font-size: 16px !important;
  font-weight: 600 !important;
}
.ts-apple-tabs .product-card__subtitle {
  display: none !important;
}
.ts-apple-tabs .s-product-card-rating {
  margin-top: 8px !important;
}
.ts-apple-tabs .product-card__addToCart .s-button-element {
  min-height: 44px !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
}
@media (max-width: 640px) {
  .ts-apple-tabs .product-card__image { height: 170px !important; }
  .ts-apple-tabs .product-card__content { padding: 12px 12px 10px !important; }
  .ts-apple-tabs .product-card__title a { font-size: 14px !important; }
}

/* Match popular-tab card height to the latest-products tab */
.ts-apple-tabs .product-tab-content[data-tab-id$="-1"] .s-product-card-rating {
  display: none !important;
}

/* Keep homepage product cards compact when a product has variants */
.ts-apple-tabs .product-options {
  display: none !important;
}

/* Apple-style recently viewed section */
#viewed-section .product-card {
  background: #fff !important;
  border: 1px solid #e8e8ed !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  overflow: hidden;
}
#viewed-section .product-card__image {
  height: 208px !important;
  background: #fff;
}
#viewed-section .product-card__content {
  padding: 16px 16px 12px !important;
}
#viewed-section .product-card__title a {
  color: #1d1d1f !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.55 !important;
  min-height: 3.1em;
  font-size: 16px !important;
  font-weight: 600 !important;
}
#viewed-section .product-card__subtitle,
#viewed-section .s-product-card-rating,
#viewed-section .product-options {
  display: none !important;
}
#viewed-section .product-card__enhanced-mini-cart .s-button-element {
  min-height: 44px !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
}
@media (max-width: 640px) {
  #viewed-section .product-card__image { height: 170px !important; }
  #viewed-section .product-card__content { padding: 12px 12px 10px !important; }
  #viewed-section .product-card__title a { font-size: 14px !important; }
}

/* Apple-style customer reviews */
.s-block--custom-reviews {
  background: #f5f5f7 !important;
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}
.s-block--custom-reviews .home-block-title {
  margin-bottom: 8px !important;
}
.s-block--custom-reviews .review > div {
  background: #fff !important;
  border: 1px solid #e8e8ed !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  padding: 20px !important;
}
.s-block--custom-reviews .review p {
  color: #1d1d1f !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
  text-align: center;
}
.s-block--custom-reviews .review img {
  display: none !important;
}
.s-block--custom-reviews .review .flex.items-center {
  justify-content: center !important;
  margin: 16px 0 0 !important;
  min-height: 0 !important;
}
.s-block--custom-reviews .review .mx-2 {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: center;
}
.s-block--custom-reviews .review .sicon-quote {
  color: #6e1aa7 !important;
  opacity: .12 !important;
}
@media (max-width: 640px) {
  .s-block--custom-reviews {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
  .s-block--custom-reviews .review > div { padding: 18px !important; }
}/* Track Speed — Apple-style cards for the curated products section */
.ts-apple-tabs .product-card {
  background: #fff !important;
  border: 1px solid #e8e8ed !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  overflow: hidden;
}
.ts-apple-tabs .product-card__image {
  height: 208px !important;
  background: #fff;
}
.ts-apple-tabs .product-card__content {
  padding: 16px 16px 12px !important;
}
.ts-apple-tabs .product-card__title a {
  color: #1d1d1f !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.55 !important;
  min-height: 3.1em;
  font-size: 16px !important;
  font-weight: 600 !important;
}
.ts-apple-tabs .product-card__subtitle {
  display: none !important;
}
.ts-apple-tabs .s-product-card-rating {
  margin-top: 8px !important;
}
.ts-apple-tabs .product-card__addToCart .s-button-element {
  min-height: 44px !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
}
@media (max-width: 640px) {
  .ts-apple-tabs .product-card__image { height: 170px !important; }
  .ts-apple-tabs .product-card__content { padding: 12px 12px 10px !important; }
  .ts-apple-tabs .product-card__title a { font-size: 14px !important; }
}

/* Match popular-tab card height to the latest-products tab */
.ts-apple-tabs .product-tab-content[data-tab-id$="-1"] .s-product-card-rating {
  display: none !important;
}

/* Keep homepage product cards compact when a product has variants */
.ts-apple-tabs .product-options {
  display: none !important;
}

/* Apple-style recently viewed section */
#viewed-section .product-card {
  background: #fff !important;
  border: 1px solid #e8e8ed !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  overflow: hidden;
}
#viewed-section .product-card__image {
  height: 208px !important;
  background: #fff;
}
#viewed-section .product-card__content {
  padding: 16px 16px 12px !important;
}
#viewed-section .product-card__title a {
  color: #1d1d1f !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.55 !important;
  min-height: 3.1em;
  font-size: 16px !important;
  font-weight: 600 !important;
}
#viewed-section .product-card__subtitle,
#viewed-section .s-product-card-rating,
#viewed-section .product-options {
  display: none !important;
}
#viewed-section .product-card__enhanced-mini-cart .s-button-element {
  min-height: 44px !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
}
@media (max-width: 640px) {
  #viewed-section .product-card__image { height: 170px !important; }
  #viewed-section .product-card__content { padding: 12px 12px 10px !important; }
  #viewed-section .product-card__title a { font-size: 14px !important; }
}

/* Track Speed — Apple editorial cards */
.ts-apple-cards {
  position: relative;
  overflow: hidden;
  background: #f5f5f7;
  padding: 34px 0 46px !important;
  margin-top: 20px;
}
.ts-apple-cards::before {
  content: "مختارات تستحق التجربة";
  display: block;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 20px;
  color: #1d1d1f;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.25;
  font-weight: 800;
  text-align: right;
}
.ts-apple-cards .container { max-width: 1180px !important; overflow: visible !important; }
.ts-apple-cards .swiper,
.ts-apple-cards .swiper-container { overflow: visible !important; }
.ts-apple-cards .swiper-wrapper { align-items: stretch !important; }
.ts-apple-cards .swiper-slide {
  position: relative !important;
  width: 370px !important;
  height: 510px !important;
  overflow: hidden !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: 0 8px 28px rgba(0,0,0,.08) !important;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ts-apple-cards .swiper-slide:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.12) !important; }
.ts-apple-cards .swiper-slide > a { display: block !important; position: relative !important; width: 100%; height: 100%; background: #fff; overflow: hidden; }
.ts-apple-cards .swiper-slide img {
  position: absolute !important;
  inset-inline: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 345px !important;
  object-fit: cover !important;
  object-position: center !important;
  margin: 0 !important;
}
.ts-apple-cards .swiper-slide > a::before,
.ts-apple-cards .swiper-slide > a::after {
  position: absolute;
  z-index: 3;
  right: 24px;
  left: 24px;
  text-align: right;
  pointer-events: none;
}
.ts-apple-cards .swiper-slide > a::before { top: 25px; color: #1d1d1f; font-size: 25px; line-height: 1.35; font-weight: 800; }
.ts-apple-cards .swiper-slide > a::after { top: 70px; color: #6e6e73; font-size: 15px; line-height: 1.55; font-weight: 500; }
.ts-apple-cards .swiper-slide:nth-child(1) > a::before { content: "اطمئن على كل كفر"; }
.ts-apple-cards .swiper-slide:nth-child(1) > a::after { content: "راقب الضغط والحرارة أثناء الطريق"; }
.ts-apple-cards .swiper-slide:nth-child(2) > a::before { content: "هواء أنظف داخل سيارتك"; }
.ts-apple-cards .swiper-slide:nth-child(2) > a::after { content: "فلتر K&N قابل للغسيل وإعادة الاستخدام"; }
.ts-apple-cards .swiper-slide:nth-child(3) > a::before { content: "حماية مصممة للأف جي"; }
.ts-apple-cards .swiper-slide:nth-child(3) > a::after { content: "تغطية أفضل وحرارة أقل داخل المقصورة"; }
.ts-apple-cards .swiper-slide:nth-child(4) > a::before { content: "تحكم أسرع بضغط الإطارات"; }
.ts-apple-cards .swiper-slide:nth-child(4) > a::after { content: "حلول APEX المختارة للبر والطرق"; }
@media (max-width: 640px) {
  .ts-apple-cards { padding: 28px 0 36px !important; }
  .ts-apple-cards::before { width: calc(100% - 28px); margin-bottom: 16px; font-size: 26px; }
  .ts-apple-cards .container { padding-inline: 14px !important; }
  .ts-apple-cards .swiper-slide { width: 82vw !important; max-width: 330px !important; height: 440px !important; border-radius: 22px !important; }
  .ts-apple-cards .swiper-slide img { height: 285px !important; }
  .ts-apple-cards .swiper-slide > a::before { top: 22px; right: 20px; left: 20px; font-size: 21px; }
  .ts-apple-cards .swiper-slide > a::after { top: 59px; right: 20px; left: 20px; font-size: 14px; }
}
/* Apple cards structure fix */
.ts-apple-cards .swiper-slide::before,
.ts-apple-cards .swiper-slide::after {
  position:absolute; z-index:3; right:24px; left:24px;
  text-align:right; pointer-events:none;
}
.ts-apple-cards .swiper-slide::before { top:25px; color:#1d1d1f; font-size:25px; line-height:1.35; font-weight:800; }
.ts-apple-cards .swiper-slide::after { top:70px; color:#6e6e73; font-size:15px; line-height:1.55; font-weight:500; }
.ts-apple-cards .swiper-slide:nth-child(1)::before { content:"اطمئن على كل كفر"; }
.ts-apple-cards .swiper-slide:nth-child(1)::after { content:"راقب الضغط والحرارة أثناء الطريق"; }
.ts-apple-cards .swiper-slide:nth-child(2)::before { content:"هواء أنظف داخل سيارتك"; }
.ts-apple-cards .swiper-slide:nth-child(2)::after { content:"فلتر K&N قابل للغسيل وإعادة الاستخدام"; }
.ts-apple-cards .swiper-slide:nth-child(3)::before { content:"حماية مصممة للأف جي"; }
.ts-apple-cards .swiper-slide:nth-child(3)::after { content:"تغطية أفضل وحرارة أقل داخل المقصورة"; }
.ts-apple-cards .swiper-slide:nth-child(4)::before { content:"تحكم أسرع بضغط الإطارات"; }
.ts-apple-cards .swiper-slide:nth-child(4)::after { content:"حلول APEX المختارة للبر والطرق"; }
@media (max-width:640px){
 .ts-apple-cards .swiper-slide::before{top:22px;right:20px;left:20px;font-size:21px}
 .ts-apple-cards .swiper-slide::after{top:59px;right:20px;left:20px;font-size:14px}
}