/* ---------- GLOBAL: remove mobile tap highlight site-wide ---------- */
*,
*::before,
*::after {
  -webkit-tap-highlight-color: transparent; /* Android/Chrome */
}

/* optional extra safety for iOS */
html,
body {
  -webkit-touch-callout: none;
  
}
 
body{
  margin-bottom: 7vh;
}

* {
  margin: 0;
  padding: 0;
}

/* AI Wrapper for whole slider */
#store-wrapper {
  overflow: hidden;
  width: 100vw;
  position: relative;
  margin-top: 4vh;
}



/* Horizontal sliding container */
#slider {
  display: flex;
  transition: none;
  width: 300vw; /* 3 sections * 100vw */
  transform: translateX(-100vw);
}

/* Each section */
.store-section {
  flex: 0 0 100vw;
  box-sizing: border-box;
 
  margin: 0; /* remove gap */
  padding: 0;
}

/* Image container with nav arrows */
.image-refurb {
  position: relative;   /* new line */
  aspect-ratio: 4240/2808;
  width: 100vw;
  background: url("/images/store-refurb.jpeg") center/cover no-repeat;
  overflow: hidden;
  padding: 0;
  
}

.image-new {
  position: relative; 
  aspect-ratio: 4240/2808;
  width: 100vw;
  background: url("/images/store-new.jpg") center/cover no-repeat;
  overflow: hidden;
  padding: 0;
  
}

.image-accessory {
  position: relative; 
  aspect-ratio: 4240/2808;
  width: 100vw;
  background: url("/images/store-accessory.jpg") center/cover no-repeat;
  overflow: hidden;
  padding: 0;
  
}

.image-container img {
  width: 100%;

  object-fit: contain;
}

/* Left/right nav buttons */

ul {
  margin-top: 15px;
  list-style: none;
  padding: 0;
}

ul li {
  margin: 5px 0;
  font-size: 1.1rem;
}

.nav-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  z-index: 2;
  user-select: none;
}

/* Hover & click animation */
.nav-icon:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.nav-icon:active {
  transform: translateY(-50%) scale(0.95);
}

/* Left and Right placement */

.nav-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block; /* allow transforms/positioning */
  font-size: 6vw;
  color: #fff;
  cursor: pointer;

  /* remove any default/native visuals */
  background: transparent !important;
  border: 0;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;

  /* prevent selection / dragging / highlight */
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  touch-action: manipulation; /* avoids some default gestures */
}

/* explicitly forbid any hover/active style so there's no visual change */
.nav-icon,
.nav-icon:hover,
.nav-icon:active,
.nav-icon:focus {
  transform: translateY(-50%); /* keep always same position */
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

/* keep keyboard accessibility — visible only when focused by keyboard */
.nav-icon:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 4px;
}

/* left / right placement */
.left-icon {
  left: 5px;
}
.right-icon {
  right: 5px;
}

/* test */

.card-Section{
  margin-top: 2vh;
   padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  
}

.Mobile-Card {
  width: 95vw;
  border: 0.3px solid rgba(0, 0, 0, 0.225);
  border-radius: 14px;
  position: relative;
  display: flex;
  gap:2vw;
}

.card-Image{
  width: 36vw;
  display: flex;
  align-items: center;
  object-fit: contain;
  background-color: #f6f6f6;
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;

}

#cardImg{
   width: 36vw;
  height: auto;
  object-fit: contain;
}

#card-discout{
  display: flex;
  gap:20px;
  margin-top: 5px;
}

.card-data{
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

#card-name {
  color: #323a40;
  font-size: 2.4vh;
  font-family: 'Arsenal', sans-serif;
  font-weight:bold;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; 
  line-clamp: 2; 
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.2em;
  max-height: 2.4em;
   word-break: break-word;   /* modern */
  overflow-wrap: anywhere;
}

.mobilecCondition {
  font-size: 3.5vw;
  color: #3a3a3a;
  margin-top: 0.6vh;
 font-family: "Alice", serif;
}

.mobileDiscount {
  text-align: center;
  font-size: 4.5vw;
  color: #d32f2f;
  font-weight: bold;
   font-family: "Alice", serif;
}

.mobileMRP{
  text-decoration: line-through;
  color: #454545ca;
  font-size: 4.5vw;
   font-family: "Alice", serif;
   letter-spacing: 1px;
}

.finalPrice {
  position: relative;
  color:#192f49;
  letter-spacing: 2px;
   font-family: "Alice", serif;
  font-size: 6.5vw;
  font-weight: bold;
  margin-top: 6px;
  z-index: 1;
}

.add-cart {
  width: 96%;
  margin: 10px auto 0;
  border-radius: 20px;
  height: 3.5vh;
  background: linear-gradient(135deg, #192f49, #27496d);
  color: #fff;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  font-family: "Alice", serif;
  letter-spacing: 2px;
}




.card-delivery{
  font-family: "Alice", serif;
  margin-top: 8px;
  font-size: 2.1vh;
  display: flex;
  color: #0e192a;
}

.mobileRating {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-top: 7px;
}

/* wrapper that holds both layers */
.mobileRating .star-wrapper {
  position: relative;
  display: inline-block;
  font-size: 1.3vh; /* keep your preferred sizing */
  line-height: 1;
}

/* background (empty) stars */
.mobileRating .stars-empty {
  color: #ddd;
  display: block;
  white-space: nowrap;
}

/* filled stars overlay; width will be controlled by JS */
.mobileRating .stars-filled {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  width: 0;               /* default, JS will set to e.g. 84% */
  color: #f5c518;         /* golden filled color */
  pointer-events: none;
}

/* keep star spacing same in both layers */
.mobileRating .stars-empty i,
.mobileRating .stars-filled i {
  margin-right: 2px;
  font-size: inherit;
}

/* number styling (you already had this) */
.rating-number {
  font-size: 1.6vh;
  color: #192f49c5;
  margin-left: 5px;
   font-family: "Alice", serif;
}














/* --- Tab Content Sections --- */
.mobile-sections {
  position: relative;
  background-color: #e0e0e0;
}

.mobile-section {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
  z-index: 0;
}

.mobile-section.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.CardSection {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #e0e0e0;
}

.MobileCard {
  width: 85vw;
  border-radius: 14px;
  background: #e0e0e0;
  box-shadow: 3px 3px 5px #9d9d9d, -3px -3px 5px #fcfcfc;
  padding: 0.8rem;
  position: relative;
  left: 2.5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cardLogo {
  position: absolute;
  top: 0.5rem;
  left: 0.8rem;
  width: 5rem;
  height: 0.8rem;
}

.statusBadge {
  position: absolute;
  top: 0.4rem;
  right: 0.8rem;
  font-size: 0.75rem;
  font-weight: bold;
  background-color: #323a40;
  color: #ffffff;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

.cardContent {
  display: flex;
  height: 100%;
  max-width: 100%;
  gap: 0.6rem;
  padding-top: 1rem;
}

.cardImage img {
  width: 28vw;
  height: auto;
  object-fit: contain;
}

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

.cardDetails {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.mobileName {
  font-size: 5vw;
  font-weight: bold;
  color: #0e192a;
}

.condition {
  font-size: 0.85rem;
  color: #282727;
}

.discount {
  font-size: 0.9rem;
  font-weight: bold;
  display: inline-block;
  align-self: flex-start;
  background-color: #d23d3d;
  color: #ffffff;
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
}

.priceRow {
  display: flex;
  gap: 4vw;
  margin-top: -0.2rem;
}

.mrp {
  padding-top: 0.3rem;
}

.mrpLabel {
  font-size: 4.5vw;
  font-weight: 700;
  color: #0e192a;
}

.mrpValue {
  margin-left: 0.3rem;
  color: #0e192a96;
}

.priceBuy {
  margin-top: 1vh;
  display: flex;
  gap: 9vw;
  align-items: center;
}

.price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0e192a;
}

.cartBtn {
  background-color: #0e192a;
  color: #fff;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  z-index: 3;
  align-items: center;
}

.buyBtn {
  background-color: #0e192a;
  color: #fff;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  z-index: 3;
}

.detailsOverlay {
  position: absolute;
  background: transparent;
  border: none;
  text-indent: -9999px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
