/* ========================= AFTERDARK THEME (GLOBAL VARIABLES) ========================= */
:root{
  /* 🎨 Base colors */
  --bg: #ffffff;
  --surface: #f6f6f6;
  --text: #111111;
  --muted: #555555;
  --muted-2: #999999;

  /* Borders / shadows */
  --border: #eeeeee;
  --border-2: #e6e6e6;
  --border-3: #cfcfcf;

  /* Brand */
  --primary: #111111;
  --on-primary: #ffffff;

  /* Badges */
  --badge-new: #111111;
  --badge-best: #e11;

  /* Typography */
  --font-main: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Font weights (🔥 yahi se future me change karna easy) */
  --fw-thin: 300;     /* super patla */
  --fw-light: 350;    /* patla but readable */
  --fw-regular: 400;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 900;

  /* Sizes */
  --radius-sm: 12px;
  --radius-md: 14px;
  --shadow-btn: 0 12px 28px rgba(0,0,0,.18);
  --shadow-btn-hover: 0 16px 36px rgba(0,0,0,.22);
}

body{
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
}

/* ========================= PRODUCT DETAIL START ========================= */
.pdp-wrap{
  max-width:1200px;
  margin:60px auto 60px;
  padding:0 24px;
}

.pdp{
  display:flex;
  gap:48px;
  align-items:flex-start;
}

.pdp-left{ flex:1.05; }
.pdp-right{ flex:0.95; }

.pdp-main-img img{
  width:100%;
  height:560px;
  object-fit:cover;
  display:block;
  opacity:1;
  transition:opacity .18s ease;
}
.pdp-main-img img.is-swapping{ opacity:.15; }

@media(max-width:980px){
  .pdp-main-img img{ height:520px; }
}
@media(max-width:520px){
  .pdp-main-img img{
    height:auto;
    aspect-ratio:1 / 1.2;
    object-fit:cover;
  }
}

.pdp-thumbs{
  margin-top:12px;
  display:flex;
  gap:10px;
}

.thumb{
  width:84px;
  height:92px;
  border-radius:12px;
  overflow:hidden;
  border:1px solid var(--border);
  background:var(--surface);
  cursor:pointer;
  transition:transform .15s ease,border-color .15s ease;
}
.thumb:hover{
  transform:translateY(-2px);
  border-color:var(--border-3);
}
.thumb.active{ border-color:var(--primary); }

.thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* ✅ Product name patla */
.pdp-title{
  font-size:26px;
  font-weight:var(--fw-light); /* 👈 patla */
  letter-spacing:.2px;
  margin-bottom:6px;
}

.pdp-price{
  font-size:18px;
  font-weight:var(--fw-semibold);
  margin-bottom:18px;
  display:flex;
  gap:10px;
  align-items:center;
}
.pdp-price .old{
  color:var(--muted-2);
  text-decoration:line-through;
  font-weight:var(--fw-regular);
}

.pdp-divider{
  height:1px;
  background:var(--border);
  margin:16px 0;
}

.pdp-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}

/* ✅ labels thode light (professional) */
.pdp-label{
  font-size:12px;
  letter-spacing:1.6px;
  text-transform:uppercase;
  color:#444;
  font-weight:var(--fw-semibold);
}

.pdp-value{
  font-size:13px;
  color:var(--text);
  font-weight:var(--fw-light); /* 👈 patla */
}

.colors{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:10px;
}

.color-dot{
  width:28px;
  height:28px;
  border-radius:999px;
  border:1px solid #e5e5e5;
  cursor:pointer;
  position:relative;
  transition:transform .15s ease,border-color .15s ease;
}
.color-dot:hover{
  transform:translateY(-1px);
  border-color:#bdbdbd;
}
.color-dot.active{
  border-color:var(--primary);
  outline:2px solid var(--primary);
  outline-offset:2px;
}

.qty{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:10px;
}

.qty-btn{
  width:38px;
  height:38px;
  border-radius:var(--radius-sm);
  border:1px solid var(--border-2);
  background:var(--bg);
  cursor:pointer;
  font-size:18px;
  font-weight:var(--fw-black);
  line-height:1;
}
.qty-btn:hover{ border-color:var(--border-3); }

.qty-input{
  width:56px;
  height:38px;
  border-radius:var(--radius-sm);
  border:1px solid var(--border-2);
  text-align:center;
  font-weight:var(--fw-semibold);
  outline:none;
}

.sizes{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 12px;
  margin-bottom: 8px; /* 👈 NEW: size aur link ke beech space */
}

.size-btn{
  min-width:54px;
  height:38px;
  padding:0 14px;
  border-radius:var(--radius-sm);
  border:1px solid var(--border-2);
  background:var(--bg);
  cursor:pointer;

  /* ✅ size text patla */
  font-weight:var(--fw-light);
  font-size:13px;
}
.size-btn:hover{ border-color:var(--border-3); }

.size-btn.active{
  background:var(--primary);
  color:var(--on-primary);
  border-color:var(--primary);
  font-weight:var(--fw-regular);
}

.pdp-points{
  margin:14px 0 16px;
  padding-left:18px;
  color:#222;
  line-height:1.6;
  font-size:14px;
  font-weight:var(--fw-light); /* 👈 patla */
}
.pdp-points li{ margin:6px 0; }

/* ✅ button strong hi theek lagta */
.add-to-cart{
  width:100%;
  height:50px;
  border-radius:var(--radius-md);
  border:1px solid var(--primary);
  background:var(--primary);
  color:var(--on-primary);
  font-weight:var(--fw-black);
  letter-spacing:1px;
  text-transform:uppercase;
  cursor:pointer;
  transition:transform .15s ease,opacity .15s ease,box-shadow .15s ease;
  box-shadow: var(--shadow-btn);
}
.add-to-cart:hover{
  transform:translateY(-1px);
  opacity:.92;
  box-shadow: var(--shadow-btn-hover);
}

.is-error{
  outline: 2px solid #ff3b3b;
  outline-offset: 4px;
  border-radius: 10px;
  animation: shake .18s ease-in-out 0s 3;
}

@keyframes shake{
  0%{ transform: translateX(0); }
  33%{ transform: translateX(-4px); }
  66%{ transform: translateX(4px); }
  100%{ transform: translateX(0); }
}

.acc{ margin-top:18px; }

.acc-item{ border-bottom:1px solid var(--border); }
.acc-item:first-child{ border-top:1px solid var(--border); }

/* ✅ Accordion heading patla */
.acc-btn{
  width:100%;
  background:transparent;
  border:none;
  padding:18px 0;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;

  font-weight:var(--fw-light); /* 👈 patla */
  letter-spacing:2px;
  text-transform:uppercase;
}

.acc-btn span:first-child{
  font-size:13px;
  color:var(--text);
}

.acc-icon{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}

.acc-icon::before{
  content:"";
  width:9px;
  height:9px;
  border-right:2px solid var(--primary);
  border-bottom:2px solid var(--primary);
  transform:rotate(45deg);
  transition:transform .2s ease;
}

.acc-item.active .acc-icon::before{ transform:rotate(-135deg); }

/* ✅ Accordion Panel (BEST PRACTICE) */
.acc-panel{
  max-height:0;
  overflow:hidden;
  transition:max-height .22s ease;
  will-change: max-height;
}

/* ✅ Content spacing only inside panel */
.acc-content{
  padding:0 0 18px;
  color:#333;
  font-size:14px;
  line-height:1.8;
  font-weight:var(--fw-light);
}


@media(max-width:980px){
  .pdp{ flex-direction:column; gap:24px; }
  .pdp-main-img img{ height:520px; }
}

@media(max-width:520px){
  .pdp-wrap{ padding:0 16px; }
  .pdp-main-img img{ height:420px; }
  .thumb{ width:72px; height:82px; }
}

/* ================= PRODUCT SECTION START (RECOMMENDED SLIDER) ================= */
.products-section{
  padding: 32px 50px 48px;
  background:var(--bg);
  overflow: hidden;
}

.products-header{
  margin-bottom: 22px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
}

/* ✅ Recommended heading patla */
.products-header h3{
  font-size: 34px;
  font-weight: var(--fw-light); /* 👈 patla */
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color:var(--text);
  position:relative;
}
.products-header h3::after{
  content:"";
  display:block;
  width:72px;
  height:3px;
  background:var(--primary);
  margin-top:14px;
}

/* SLIDER WRAP */
.products-slider{ position:relative; }

/* Arrow buttons */
.p-nav{
  position:absolute;
  top: 170px;
  transform: translateY(-50%);
  width:46px;
  height:46px;

  border-radius:999px;
  border:1px solid var(--border-2);
  background:var(--bg);
  cursor:pointer;

  display:flex;
  align-items:center;
  justify-content:center;

  z-index:5;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}
.p-nav:hover{ border-color:var(--border-3); }
.p-nav.prev{ left:6px; }
.p-nav.next{ right:6px; }

.p-nav::before{
  content:"";
  width:10px;
  height:10px;
  border-right:2px solid var(--primary);
  border-bottom:2px solid var(--primary);
  display:block;
}
.p-nav.prev::before{ transform: rotate(135deg); }
.p-nav.next::before{ transform: rotate(-45deg); }

.products-track{
  display:flex;
  gap: 12px;
  overflow-x:auto;
  overflow-y:hidden;

  scroll-snap-type: x mandatory;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling: touch;

  padding: 2px 54px 10px 2px;
  scrollbar-width: none;
}
.products-track::-webkit-scrollbar{ display:none; }

.product-card{
  flex: 0 0 260px;
  scroll-snap-align: start;
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color:inherit;
}

.product-img{
  width:100%;
  height: 350px;
  background:#f5f5f5;
  overflow:hidden;
  position:relative;
  border:1px solid #f0f0f0;
  border-radius: 0;
}

.product-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.product-badge{
  position:absolute;
  top:0;
  left:0;
  color:var(--on-primary);
  font-size:10px;
  font-weight:var(--fw-semibold);
  padding:6px 10px;
  text-transform:uppercase;
  letter-spacing:.7px;
  border-radius:0;
  z-index:3;
}
.product-badge.new{ background:var(--badge-new); }
.product-badge.best{ background:var(--badge-best); }

.product-info{
  margin-top:12px;
  display:flex;
  flex-direction:column;
  gap:6px;
}

/* ✅ product name patla */
.product-name{
  font-size:14px;
  font-weight:var(--fw-light); /* 👈 patla */
  line-height:1.25;
}

.product-price{
  font-size:13px;
  display:flex;
  gap:8px;
  align-items:center;
}
.old-price{ color:var(--muted-2); text-decoration:line-through; }
.new-price{ font-weight:var(--fw-semibold); }

@media(max-width:768px){
  .products-section{ padding: 28px 16px; }
  .products-header h3{ font-size:24px; letter-spacing:1px; }

  .products-track{
    gap: 10px;
    padding: 2px 2px 10px;
  }

  .product-card{ flex-basis: 220px; }
  .product-img{ height: 290px; }

  .p-nav{ display:none; }
}

/* ================= INFO STRIP STARTS ================= */
.info-strip{
  background:var(--bg);
  padding:60px 50px;
  border-top:1px solid #f0f0f0;
}

.info-strip-inner{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  gap:80px;
  justify-content:space-between;
  align-items:flex-start;
}

.info-box{
  flex:1;
  text-align:center;
}

.info-box i{
  font-size:28px;
  margin-bottom:18px;
  color:var(--primary);
}

.info-box h4{
  font-size:18px;
  font-weight:var(--fw-semibold); /* ✅ thoda refined */
  margin-bottom:14px;
}

.info-box p{
  font-size:14px;
  line-height:1.7;
  color:var(--muted);
  max-width:420px;
  margin:0 auto;
  font-weight:var(--fw-light); /* 👈 patla */
}

@media(max-width:900px){
  .info-strip-inner{
    flex-direction:column;
    gap:50px;
  }
}
/* ========================= END ========================= */

/* ✅ Light red highlight (ONLY for qty + button) — UI clean rahegi */
.is-soft-error{
  background: rgba(255, 59, 59, 0.10) !important;
  border-color: rgba(255, 59, 59, 0.55) !important;
  box-shadow: 0 0 0 4px rgba(255, 59, 59, 0.12) !important;
  border-radius: 12px;
}

/* ✅ optional: soft pulse feel */
.is-soft-error{
  animation: softPulse .25s ease-in-out 0s 2;
}
@keyframes softPulse{
  0%{ transform: scale(1); }
  50%{ transform: scale(1.04); }
  100%{ transform: scale(1); }
}

/*------------ ✅ Know your perfect size — airy & premium */
.size-help-link{
  margin-top: 10px;        /* 👈 top se halka gap */
  padding: 4px 0;          /* 👈 text ko saans mile */

  background: transparent;
  border: 0;
  display: inline-block;   /* 👈 ek line, stable */

  font-size: 12px;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 1.3px;

  cursor: pointer;
  color: var(--text);
  opacity: .9;

  text-decoration: none;
  background-image: linear-gradient(
    rgba(0,0,0,.55),
    rgba(0,0,0,.55)
  );
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
}

.size-help-link:hover{
  opacity: 1;
  background-image: linear-gradient(
    rgba(0,0,0,.8),
    rgba(0,0,0,.8)
  );
}

.size-help-link:disabled{
  opacity: .4;
  cursor: not-allowed;
  background-image: none;
}


/* ========================= SIZE CHART MODAL ========================= */
.modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 9998;
}

.modal{
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(.98);
  width: min(520px, calc(100vw - 28px));
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 9999;
  overflow: hidden;
}

/* ✅ Open state */
.modal.is-open,
.modal-overlay.is-open{
  opacity: 1;
  pointer-events: auto;
}
.modal.is-open{
  transform: translate(-50%,-50%) scale(1);
}

.modal-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.modal-header h3{
  margin:0;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: var(--fw-semibold);
}

.modal-close{
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 34px;
  cursor: pointer;
}

.modal-body{
  padding: 14px 16px 16px;
}

.modal-note{
  margin: 0 0 10px;
  font-size: 12px;
  opacity: .85;
  font-weight: var(--fw-light);
}

.size-table-wrap{
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 12px;
  overflow: hidden;
}

.size-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.size-table th,
.size-table td{
  padding: 10px 10px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  text-align: left;
}

.size-table thead th{
  background: rgba(0,0,0,.04);
  font-weight: var(--fw-bold);
}

.size-table tr:last-child td{
  border-bottom: 0;
}

.modal-foot{
  margin-top: 10px;
}

.modal-foot .muted{
  opacity: .75;
  font-size: 12px;
  font-weight: var(--fw-light);
}

/* ✅ Breadcrumb (Home > Shop) — cart style exact */
.ad-crumbs{
  max-width:1200px;
  margin: 28px auto -28px;  /* 👈 neeche ka extra gap remove */
  padding: 0 24px;
  display:flex;
  align-items:center;
  gap:10px;

  font-size:14px;
  color: var(--text);    /* 👈 same color for all */
}

.ad-crumb-link{
  color: var(--text);    /* 👈 Home bhi same color */
  text-decoration:none;
  font-weight: var(--fw-light);
}

.ad-crumb-link:hover{
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ad-crumb-sep{
  opacity:.6;
}

.ad-crumb-current{
  color: var(--text);    /* 👈 Shop bhi same color */
  font-weight: var(--fw-light);
}

@media(max-width:520px){
  .ad-crumbs{
    padding: 0 16px;
    margin-top: 22px;
    font-size: 13px;
  }
}



/* review section start */
/* ========================= REVIEW SECTION (FLEXBOX) ========================= */
/* ========================= REVIEW SECTION (FLEXBOX) ========================= */
.reviews-section{
  max-width:1200px;
  margin:0 auto;
  padding:30px 22px 80px;
}

.reviews-head{
  display:flex;
  align-items:baseline;
  gap:12px;
  margin-bottom:18px;
}
.reviews-head h2{
  font-size:28px;
  font-weight:600;   /* ✅ thin heading */
  letter-spacing:-0.3px;
}
.reviews-count{
  font-size:13px;
  color:#777;
  font-weight:500;
}

.reviews-wrap{
  display:flex;
  gap:28px;
  align-items:flex-start;
}

/* LEFT LIST */
.reviews-left{
  flex:1;
  min-width:0;
}

.review-card{
  padding:18px 0;
  border-bottom:1px solid #eee;
}

.review-top{
  display:flex;
  justify-content:space-between;
  gap:14px;
  margin-bottom:10px;
}

.review-user{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}

.review-userline{
  display:flex;
  align-items:center;
  gap:12px;
}

.review-avatar{
  width:44px;
  height:44px;
  border-radius:50%;
  overflow:hidden;
  border:1px solid #eee;
  flex-shrink:0;
  background:#fafafa;
}
.review-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.review-name{
  font-weight:600;   /* ✅ thin name */
  font-size:14px;
  color:#111;
}

.review-stars{
  display:flex;
  gap:3px;
  color:#111;
  font-size:13px;
  opacity:0.9;
}

.review-date{
  font-size:12px;
  color:#777;
  white-space:nowrap;
  margin-top:6px;
  font-weight:400;
}

.review-text{
  color:#333;
  line-height:1.6;
  font-size:14px;
  margin:10px 0 12px;
  font-weight:400;
  max-width:860px;
}

.review-recommend{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  color:#2f7a2f;
  font-weight:500;
  margin-bottom:12px;
}
.review-recommend .dot{
  width:18px;height:18px;
  border-radius:50%;
  background:#2f7a2f;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
}

.review-images{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:12px;
}
.review-images img{
  width:70px;
  height:70px;
  object-fit:cover;
  border-radius:12px;
  border:1px solid #eee;
  background:#fafafa;
}

.review-actions{
  display:flex;
  align-items:center;
  gap:12px;
  color:#666;
  font-size:13px;
}
.helpful{
  display:flex;
  align-items:center;
  gap:10px;
}
.help-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border:1px solid #eee;
  background:#fff;
  border-radius:999px;
  cursor:pointer;
  font-size:12px;
  color:#111;
  font-weight:500;
}
.help-btn i{ color:#111; }
.help-count{
  font-weight:600;
  color:#111;
}

/* RIGHT SUMMARY BOX */
.reviews-right{
  width:360px;
  flex:0 0 360px;
  position:sticky;
  top:130px;
}
.summary-box{
  border:1px solid #eee;
  border-radius:14px;
  padding:18px;
  background:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,0.04);
}

.summary-score{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-top:4px;
}
.score{
  font-size:34px;
  font-weight:600; /* ✅ thin score */
}
.summary-stars{
  display:flex;
  gap:3px;
  font-size:16px;
  opacity:0.9;
}

.summary-sub{
  text-align:center;
  margin:10px 0 14px;
  font-size:13px;
  color:#777;
  line-height:1.4;
  font-weight:400;
}

/* ADD REVIEW BUTTON */
.add-review-btn{
  width:100%;
  padding:14px 14px;
  border:none;
  border-radius:10px;
  background:#111;
  color:#fff;
  font-weight:500; /* ✅ thin button text */
  cursor:pointer;
  letter-spacing:.4px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-decoration:none;
}
.add-review-btn i{
  width:18px;
  height:18px;
}
.add-review-btn:hover{ 
  opacity:.92;
  text-decoration:none;
} 


/* ========================= RESPONSIVE ========================= */
@media (max-width:768px){
  .reviews-section{ padding:22px 18px 70px; }
  .reviews-wrap{
    flex-direction:column;
    gap:18px;
  }
  .reviews-right{
    width:100%;
    flex:1 1 auto;
    position:static;
    top:auto;
  }
  .summary-box{ width:100%; }
  .review-top{ flex-direction:column; }
  .review-date{ white-space:normal; }
}

@media (max-width:441px){
  .reviews-section{ padding:18px 14px 60px; }
  .reviews-head h2{ font-size:24px; }
  .score{ font-size:30px; }

  .review-avatar{
    width:40px;
    height:40px;
  }

  .review-text{ font-size:13px; }

  .review-images img{
    width:62px;
    height:62px;
    border-radius:12px;
  }

  .help-btn{
    padding:7px 9px;
    font-size:12px;
  }
}


/* review section ends */


