:root{
  --navy:#1a2a6c;
  --blue:#1f3fb0;
  --pink:#e91e63;
  --bg:#f7f8fb;
  --card:#ffffff;
  --text:#1c1f26;
  --muted:#6b7280;
  --border:#e6e8ee;
  --success:#1a9e5c;
  --radius:14px;
}
html{scroll-behavior:smooth;}
*{box-sizing:border-box;}
body{
  margin:0;
  font-family:'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  -webkit-text-size-adjust:100%;
  overflow-x:hidden;
}
img,svg{max-width:100%;height:auto;}
.container{max-width:1120px;margin:0 auto;padding:0 20px;}
a{color:inherit;text-decoration:none;}
@media(max-width:480px){
  .container{padding:0 16px;}
}

/* Marquee */
.marquee-bar{
  background:linear-gradient(90deg,var(--navy),var(--blue));
  color:#fff;
  overflow:hidden;
  white-space:nowrap;
  padding:8px 0;
  font-weight:600;
  font-size:14px;
}
.marquee-track{display:flex;width:max-content;animation:scroll-left 18s linear infinite;}
.marquee-track span{padding-right:0;}
@keyframes scroll-left{
  0%{transform:translateX(0);}
  100%{transform:translateX(-50%);}
}
@media(max-width:480px){
  .marquee-bar{font-size:12px;padding:7px 0;}
}

/* Header */
.site-header{background:#fff;position:sticky;top:0;z-index:50;box-shadow:0 1px 0 rgba(20,30,60,.05);}
.header-row{display:flex;align-items:center;justify-content:space-between;height:64px;gap:12px;}
.logo{font-size:22px;font-weight:800;color:var(--navy);white-space:nowrap;}
.logo span{color:var(--pink);}
.nav-actions{display:flex;align-items:center;gap:14px;}
.nav-link{font-weight:600;color:var(--text);white-space:nowrap;font-size:14px;}
.nav-link:hover{color:var(--blue);}
.nav-link-btn{background:none;border:none;padding:0;font-family:inherit;cursor:pointer;}
.nav-profile-btn{display:flex;align-items:center;gap:8px;color:var(--text);}
.nav-profile-btn:hover{color:var(--blue);}
.nav-profile-icon{flex:0 0 auto;color:inherit;}
.nav-profile-label{display:inline;}

/* Logged-in profile menu — Logout lives inside here, not as its own
   top-level nav item */
.nav-profile-menu{position:relative;}
.nav-profile-toggle{display:flex;align-items:center;gap:8px;}
.nav-profile-avatar{
  flex:0 0 auto;width:28px;height:28px;border-radius:50%;
  background:linear-gradient(135deg,var(--navy),var(--blue));color:#fff;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:800;line-height:1;
}
.nav-profile-greeting{white-space:nowrap;}
.nav-profile-caret{transition:transform .15s ease;flex:0 0 auto;}
.nav-profile-menu.open .nav-profile-caret{transform:rotate(180deg);}
.nav-profile-dropdown{
  position:absolute;top:calc(100% + 10px);right:0;min-width:56px;
  background:#fff;border:1px solid var(--border);border-radius:12px;
  box-shadow:0 12px 28px rgba(20,30,60,.14);padding:6px;
  opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .15s ease,transform .15s ease,visibility .15s ease;
  z-index:60;
}
.nav-profile-menu.open .nav-profile-dropdown{opacity:1;visibility:visible;transform:translateY(0);}
.nav-profile-dropdown-item{
  display:block;padding:10px 12px;border-radius:8px;font-size:14px;
  font-weight:600;color:var(--text);white-space:nowrap;
}
.nav-profile-dropdown-item:hover{background:var(--bg);color:var(--blue);}
.nav-profile-dropdown-item-icon{
  display:flex;align-items:center;justify-content:center;
  width:40px;height:40px;padding:0;border-radius:10px;color:var(--navy);
}
.nav-profile-dropdown-item-icon:hover{background:var(--bg);color:var(--pink);}
.nav-profile-dropdown-logout{color:var(--pink);}
.nav-profile-dropdown-logout:hover{background:#fde9ec;color:var(--pink);}

@media(max-width:640px){
  .nav-profile-greeting{display:none;}
}

/* Cart / checkout icon — only shown once something is added to the cart */
.nav-cart-btn{position:relative;display:inline-flex;align-items:center;gap:7px;color:var(--text);}
.nav-cart-btn:hover{color:var(--blue);}
.nav-cart-icon{flex:0 0 auto;color:inherit;}
.nav-cart-count{background:var(--pink);color:#fff;font-size:11px;font-weight:800;min-width:18px;height:18px;line-height:18px;border-radius:999px;text-align:center;padding:0 4px;position:absolute;top:-8px;left:14px;box-shadow:0 0 0 2px #fff;}
.nav-cart-label{display:inline;}
.nav-cart-total{font-weight:800;color:var(--navy);font-size:13.5px;padding:2px 8px;background:#eef1fb;border-radius:999px;}

@media(max-width:640px){
  .nav-profile-label{display:none;}
  .nav-cart-label{display:none;}
  .nav-actions{gap:16px;}
}
@media(max-width:360px){
  .nav-cart-total{display:none;}
}
@media(max-width:420px){
  .header-row{height:56px;}
  .logo{font-size:18px;}
}

/* Buttons */
.btn{
  display:inline-block;
  padding:12px 22px;
  border-radius:999px;
  font-weight:700;
  cursor:pointer;
  border:2px solid transparent;
  transition:all .15s ease;
  text-align:center;
}
.btn-primary{background:var(--pink);color:#fff;}
.btn-primary:hover{background:#c2185b;}
.btn-outline{background:transparent;border-color:var(--navy);color:var(--navy);}
.btn-outline:hover{background:var(--navy);color:#fff;}
.btn-small{padding:8px 16px;font-size:13px;}
.btn-block{width:100%;}
.btn:disabled{opacity:.6;cursor:not-allowed;}

/* Hero / Product section */
.product-section{padding:36px 0 60px;}
.product-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;}
@media(max-width:860px){.product-grid{grid-template-columns:1fr;gap:24px;}}
@media(max-width:480px){.product-section{padding:20px 0 32px;}}

/* Slider */
.slider{
  position:relative;
  border-radius:20px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 10px 32px rgba(20,30,60,.12);
  border:1px solid var(--border);
}
.slider-track{display:flex;transition:transform .5s cubic-bezier(.4,0,.2,1);}
.slider-track img{width:100%;flex:0 0 100%;display:block;aspect-ratio:1/1;object-fit:cover;max-width:none;}
.slider-dots{position:absolute;bottom:16px;left:0;right:0;display:flex;justify-content:center;gap:7px;}
.slider-dots button{width:8px;height:8px;border-radius:999px;border:none;background:#ffffffb0;cursor:pointer;transition:width .25s ease,background .25s ease;box-shadow:0 1px 3px rgba(0,0,0,.25);}
.slider-dots button.active{width:26px;background:var(--pink);}
.slider-arrow{
  position:absolute;top:50%;transform:translateY(-50%);
  background:#ffffffe6;border:none;width:40px;height:40px;border-radius:50%;
  font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 14px rgba(20,30,60,.18);transition:background .15s ease,transform .15s ease;
}
.slider-arrow:hover{background:#fff;transform:translateY(-50%) scale(1.06);}
.slider-arrow.prev{left:14px;}
.slider-arrow.next{right:14px;}
@media(max-width:480px){
  .slider{border-radius:14px;}
  .slider-arrow{width:32px;height:32px;font-size:13px;}
  .slider-arrow.prev{left:8px;}
  .slider-arrow.next{right:8px;}
  .slider-dots{bottom:10px;}
}

/* Buy box */
.buy-box{background:var(--card);border-radius:var(--radius);padding:26px;box-shadow:0 6px 24px rgba(20,30,60,.06);}
.badge-off{display:inline-block;background:#fdecef;color:var(--pink);font-weight:700;font-size:12px;padding:4px 10px;border-radius:999px;margin-bottom:10px;}
.product-title{font-size:26px;font-weight:800;margin:0 0 6px;line-height:1.25;}
.price-row{display:flex;align-items:baseline;gap:10px;margin:14px 0;flex-wrap:wrap;}
.price-now{font-size:30px;font-weight:800;color:var(--navy);}
.price-mrp{text-decoration:line-through;color:var(--muted);font-size:16px;}
.price-off{color:var(--success);font-weight:700;font-size:14px;}
.helper-text{color:var(--muted);font-size:13px;margin-top:2px;}
.required-mark{color:#d92d20;font-weight:700;}

/* Prepaid discount promo banner */
.promo-banner{
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
  background:linear-gradient(90deg,#fff5f8,#fdecef);
  border:1.5px dashed var(--pink);
  border-radius:12px;
  padding:12px 16px;
  margin:16px 0;
}
.promo-banner-text{display:flex;flex-direction:column;gap:2px;}
.promo-banner-text strong{color:var(--pink);font-size:13px;text-transform:uppercase;letter-spacing:.03em;}
.promo-banner-text span{font-size:13.5px;color:var(--text);font-weight:600;}
.promo-banner .btn{white-space:nowrap;}
.promo-banner.claimed{border-style:solid;background:#eefaf3;border-color:var(--success);}
.promo-banner.claimed .promo-banner-text strong{color:var(--success);}
@media(max-width:480px){
  .promo-banner{padding:10px 14px;}
  .promo-banner-text span{font-size:13px;}
}

.option-group{margin:18px 0;}
.option-group h4{margin:0 0 8px;font-size:14px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;}
.pill-options{display:flex;flex-wrap:wrap;gap:10px;}
.pill-options label{
  border:2px solid var(--border);
  border-radius:12px;
  padding:10px 14px;
  cursor:pointer;
  font-weight:600;
  font-size:14px;
  position:relative;
  flex:1 1 auto;
}
.pill-options input{position:absolute;opacity:0;}
.pill-options label.selected,
.pill-options input:checked + span{color:var(--pink);}
.pill-options label:has(input:checked){border-color:var(--pink);background:#fff5f8;}
.pill-options .tag-free{display:block;font-size:11px;color:var(--success);font-weight:700;margin-top:2px;}
.pill-options .tag-note{display:block;font-size:11px;color:var(--muted);font-weight:700;margin-top:2px;}

.qty-stepper{display:inline-flex;align-items:center;border:2px solid var(--border);border-radius:12px;overflow:hidden;}
.qty-stepper button{background:#fff;border:none;width:40px;height:40px;font-size:18px;cursor:pointer;}
.qty-stepper input{width:52px;text-align:center;border:none;border-left:2px solid var(--border);border-right:2px solid var(--border);height:40px;font-size:16px;}

.summary-box{background:#f4f6fb;border-radius:12px;padding:14px 16px;margin:18px 0;font-size:14px;}
.summary-row{display:flex;justify-content:space-between;padding:3px 0;flex-wrap:wrap;gap:6px;}
.summary-row.total{font-weight:800;font-size:16px;border-top:1px dashed var(--border);margin-top:6px;padding-top:8px;}
.delivery-free{color:var(--success);font-weight:700;}

.trust-row{display:flex;gap:18px;flex-wrap:wrap;margin-top:16px;font-size:13px;color:var(--muted);}
.trust-row span{display:flex;align-items:center;gap:6px;}
.trust-row svg{flex:0 0 auto;color:var(--success);}

@media(max-width:480px){
  .buy-box{padding:18px;}
  .product-title{font-size:21px;}
  .price-now{font-size:24px;}
  .pill-options{gap:8px;}
  .pill-options label{padding:9px 12px;font-size:13px;}
  .trust-row{gap:10px 16px;font-size:12.5px;}
}

/* Sticky mobile checkout bar */
.mobile-buy-bar{display:none;}
@media(max-width:860px){
  .mobile-buy-bar{
    display:flex;align-items:center;justify-content:space-between;gap:14px;
    position:fixed;left:0;right:0;bottom:0;z-index:60;
    background:#fff;border-top:1px solid var(--border);
    padding:12px 16px calc(12px + env(safe-area-inset-bottom));
    box-shadow:0 -6px 20px rgba(20,30,60,.12);
  }
  .mobile-buy-bar-price{display:flex;flex-direction:column;line-height:1.2;min-width:0;}
  .mobile-buy-bar-label{font-size:11px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.03em;}
  .mobile-buy-bar-total{font-size:19px;font-weight:800;color:var(--navy);}
  .mobile-buy-bar .btn{flex:0 0 auto;padding:12px 26px;}
  /* keep content from hiding behind the fixed bar (only on pages that have it) */
  body:has(.mobile-buy-bar){padding-bottom:76px;}
}
@media(max-width:360px){
  .mobile-buy-bar{padding:10px 12px calc(10px + env(safe-area-inset-bottom));gap:8px;}
  .mobile-buy-bar-total{font-size:17px;}
  .mobile-buy-bar .btn{padding:11px 18px;font-size:14px;}
}

/* Forms */
.form-page{max-width:460px;margin:50px auto;background:#fff;padding:32px;border-radius:var(--radius);box-shadow:0 6px 24px rgba(20,30,60,.08);}
.form-page h2{margin-top:0;}
.form-group{margin-bottom:16px;}
.form-group label{display:block;font-weight:600;font-size:14px;margin-bottom:6px;}
.form-group input,.form-group select{
  width:100%;padding:11px 12px;border:2px solid var(--border);border-radius:10px;font-size:16px;
}
.form-group input:focus,.form-group select:focus{outline:none;border-color:var(--blue);}
.form-row{display:flex;gap:12px;}
.form-row .form-group{flex:1;min-width:0;}
@media(max-width:520px){
  .form-row{flex-direction:column;gap:0;}
  .form-page{margin:24px auto;padding:24px 18px;}
}
.form-alt{margin-top:14px;font-size:14px;text-align:center;color:var(--muted);}
.alert{padding:12px 14px;border-radius:10px;font-size:14px;margin-bottom:16px;}
.alert-error{background:#fdeceb;color:#b3261e;}
.alert-success{background:#e8f7ef;color:var(--success);}
.tabs{display:flex;gap:8px;margin-bottom:18px;}
.tabs button{flex:1;padding:10px;border-radius:10px;border:2px solid var(--border);background:#fff;font-weight:700;cursor:pointer;}
.tabs button.active{border-color:var(--blue);color:var(--blue);background:#eef2ff;}
.link-btn{background:none;border:none;color:var(--blue);font-weight:700;font-size:13px;cursor:pointer;padding:6px 0;}
.link-btn:hover{text-decoration:underline;}

/* OTP verification modal (shown during checkout, at "Place Order") */
.otp-overlay{
  display:none;position:fixed;inset:0;z-index:100;
  background:rgba(20,25,40,.55);
  align-items:center;justify-content:center;
  padding:16px;
}
.otp-overlay.open{display:flex;}
.otp-modal{
  position:relative;background:#fff;border-radius:var(--radius);
  padding:28px;width:100%;max-width:400px;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
  max-height:90vh;overflow-y:auto;
}
.otp-modal h3{margin:0 0 6px;font-size:19px;}
.otp-close{
  position:absolute;top:14px;right:14px;background:none;border:none;
  font-size:22px;line-height:1;cursor:pointer;color:var(--muted);
  width:32px;height:32px;display:flex;align-items:center;justify-content:center;
}
#otpInput{letter-spacing:.06em;font-weight:700;}
.otp-links{display:flex;justify-content:space-between;align-items:center;margin-top:14px;flex-wrap:wrap;gap:8px;}
@media(max-width:480px){
  .otp-modal{padding:22px 18px;}
}

/* Order success */
.success-page{max-width:520px;margin:60px auto;background:#fff;padding:36px;border-radius:var(--radius);text-align:center;box-shadow:0 6px 24px rgba(20,30,60,.08);}
.success-page .btn{margin:6px 6px 0;}
.success-icon{font-size:52px;}
.order-number{font-weight:800;font-size:18px;color:var(--navy);margin:10px 0;}
@media(max-width:480px){
  .success-page{margin:28px auto;padding:24px 18px;}
}

.site-footer{margin-top:60px;padding:26px 0;text-align:center;color:var(--muted);font-size:13px;border-top:1px solid var(--border);}
.footer-links a{margin:0 4px;}
.footer-contact{margin-top:8px;}
.footer-contact a{color:inherit;text-decoration:underline;}

.why-section{padding:0 0 50px;}
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
@media(max-width:960px){.why-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:520px){.why-grid{grid-template-columns:1fr;gap:14px;}}
.why-card{background:#fff;border-radius:12px;padding:22px 18px;text-align:center;box-shadow:0 4px 16px rgba(20,30,60,.05);}
.why-card .icon{display:flex;align-items:center;justify-content:center;width:52px;height:52px;margin:0 auto 12px;border-radius:50%;background:#fdecef;color:var(--pink);}
.why-card h3{margin:0 0 6px;font-size:15px;}
@media(max-width:480px){
  .why-section{padding:0 0 32px;}
  .why-card{padding:18px 16px;}
}

/* Description + Key Specs */
.desc-section{padding:0 0 50px;}
.desc-card{background:var(--card);border-radius:var(--radius);box-shadow:0 4px 16px rgba(20,30,60,.05);padding:30px;}
.desc-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:36px;}
@media(max-width:860px){.desc-grid{grid-template-columns:1fr;gap:24px;}}
.desc-heading{font-size:20px;font-weight:800;margin:0 0 12px;}
.desc-text p{color:var(--text);font-size:14.5px;line-height:1.7;margin:0 0 12px;word-wrap:break-word;}
.desc-list{margin:14px 0 0;padding:0;list-style:none;}
.desc-list li{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--text);margin-bottom:9px;line-height:1.5;}
.desc-list li svg{flex:0 0 auto;margin-top:2px;color:var(--success);}
.specs-heading{font-size:16px;font-weight:800;margin:0 0 12px;text-transform:uppercase;letter-spacing:.03em;color:var(--muted);}
.specs-table{width:100%;border-collapse:collapse;table-layout:fixed;}
.specs-table tr{border-bottom:1px solid var(--border);}
.specs-table tr:last-child{border-bottom:none;}
.specs-table th,.specs-table td{text-align:left;padding:10px 4px;font-size:13.5px;vertical-align:top;word-wrap:break-word;}
.specs-table th{color:var(--muted);font-weight:600;width:42%;}
.specs-table td{color:var(--text);font-weight:600;}
@media(max-width:480px){
  .desc-section{padding:0 0 32px;}
  .desc-card{padding:18px;}
  .desc-heading{font-size:18px;}
}

/* You may also like */
.related-section{padding:10px 0 60px;}
.related-heading{font-size:22px;font-weight:800;margin:0 0 18px;}
.related-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px;}
.related-card{
  display:block;background:var(--card);border-radius:var(--radius);overflow:hidden;
  box-shadow:0 6px 24px rgba(20,30,60,.06);transition:transform .15s ease,box-shadow .15s ease;
}
.related-card:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(20,30,60,.12);}
.related-card-img{aspect-ratio:1/1;background:#fff;}
.related-card-img img{width:100%;height:100%;object-fit:cover;display:block;}
.related-card-body{padding:16px;}
.related-card-body h3{margin:0 0 8px;font-size:15px;line-height:1.3;}
.related-card-price{display:flex;align-items:baseline;gap:8px;margin-bottom:6px;flex-wrap:wrap;}
.related-card-price .price-now{font-size:18px;}
.related-card-price .price-mrp{font-size:13px;}
.related-card-body .tag-free{display:block;font-size:11px;color:var(--success);font-weight:700;margin-bottom:10px;}
.related-card-btn{width:100%;}
@media(max-width:520px){
  .related-section{padding:6px 0 40px;}
  .related-heading{font-size:19px;}
  .related-grid{grid-template-columns:repeat(2,1fr);gap:12px;}
  .related-card-body{padding:12px;}
  .related-card-body h3{font-size:13.5px;}
}
@media(max-width:360px){
  .related-grid{gap:10px;}
}

/* Generic inner pages */
.checkout-page{padding:40px 20px;max-width:640px;margin:0 auto;}
.checkout-summary-box{margin-bottom:20px;}
.checkout-items-list{margin:10px 0;}
.checkout-item-row{padding:14px 0;border-bottom:1px solid var(--border);}
.checkout-item-row:last-child{border-bottom:none;}
.checkout-item-top{display:flex;justify-content:space-between;align-items:center;gap:10px;}
.checkout-item-img{flex:0 0 auto;width:56px;height:56px;border-radius:10px;overflow:hidden;background:#f5f6f8;border:1px solid var(--border);}
.checkout-item-img img{width:100%;height:100%;object-fit:contain;}
.checkout-item-info{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 auto;}
.checkout-item-info strong{font-size:14px;font-weight:700;}
.checkout-item-info span{font-size:12.5px;color:var(--muted);}
.checkout-item-amount{font-weight:700;font-size:14px;white-space:nowrap;}
.checkout-item-remove{background:none;border:none;color:var(--muted);cursor:pointer;font-size:12px;text-decoration:underline;padding:0;margin-top:2px;text-align:left;}
.checkout-item-remove:hover{color:var(--pink);}

.checkout-item-controls{display:flex;flex-wrap:wrap;gap:8px 10px;margin-top:10px;padding-left:66px;}
.ck-pill-group{display:flex;gap:6px;flex-wrap:wrap;}
.ck-pill{
  border:1.5px solid var(--border);background:#fff;border-radius:999px;
  padding:6px 12px;font-size:12.5px;font-weight:600;color:var(--text);
  cursor:pointer;transition:border-color .12s ease,color .12s ease,background .12s ease;
}
.ck-pill:hover{border-color:var(--blue);}
.ck-pill.selected{border-color:var(--pink);background:#fff5f8;color:var(--pink);}

@media(max-width:480px){
  .checkout-item-controls{padding-left:0;}
  .ck-pill{padding:5px 10px;font-size:12px;}
}
.account-page{padding:40px 20px;max-width:800px;margin:0 auto;}

.account-hero{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  background:linear-gradient(135deg,var(--navy),var(--blue));
  color:#fff;border-radius:var(--radius);padding:26px 28px;
  box-shadow:0 10px 30px rgba(26,42,108,.22);margin-bottom:20px;
}
.account-hero-identity{display:flex;align-items:center;gap:16px;}
.account-avatar{
  flex:0 0 auto;width:56px;height:56px;border-radius:50%;
  background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.35);
  display:flex;align-items:center;justify-content:center;
  font-size:22px;font-weight:700;color:#fff;
}
.account-hero-name{margin:0 0 6px;font-size:22px;color:#fff;}
.account-hero-meta{display:flex;flex-wrap:wrap;gap:8px;}
.account-hero-chip{
  display:inline-flex;align-items:center;gap:6px;
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);
  border-radius:999px;padding:4px 12px;font-size:12.5px;color:#eef1fb;
}
.account-hero-chip svg{flex:0 0 auto;opacity:.9;}
.account-logout-btn{
  flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;
  background:#fff;border-color:#fff;color:var(--navy);font-weight:700;
}
.account-logout-btn:hover{background:var(--pink);border-color:var(--pink);color:#fff;}

.account-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-bottom:28px;}
.account-stat-card{
  background:var(--card);border-radius:var(--radius);padding:18px 20px;
  box-shadow:0 6px 24px rgba(20,30,60,.06);text-align:center;
}
.account-stat-value{display:block;font-size:24px;font-weight:800;color:var(--navy);}
.account-stat-label{display:block;margin-top:4px;font-size:12.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;}
.account-stat-icon{
  display:inline-flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:50%;margin-bottom:8px;
  background:#eef1fb;color:var(--blue);
}

.account-section-title{margin:0 0 14px;}
.account-empty{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;}

.order-card{border-left:4px solid var(--border);}
.order-card-placed,.order-card-confirmed{border-left-color:var(--blue);}
.order-card-packed,.order-card-shipped{border-left-color:#e6a534;}
.order-card-delivered{border-left-color:var(--success);}
.order-card-cancelled{border-left-color:#d1453b;}

@media(max-width:560px){
  .account-hero{flex-direction:column;align-items:flex-start;}
  .account-logout-btn{align-self:flex-end;}
  .account-stats{grid-template-columns:1fr 1fr;}
}

.order-card{margin-bottom:16px;}
.order-card .btn{margin-top:12px;}

.order-card-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:10px;
  padding-bottom:10px;margin-bottom:4px;border-bottom:1px solid var(--border);
}
.order-card-head strong{font-size:14.5px;min-width:0;overflow-wrap:break-word;}
.order-card-date{font-size:12.5px;color:var(--muted);white-space:nowrap;flex:0 0 auto;}

.order-items{display:flex;flex-direction:column;}
.order-item-row{padding:10px 0;border-bottom:1px dashed var(--border);}
.order-item-row:last-child{border-bottom:none;}
.order-item-main{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}
.order-item-name{font-size:14px;font-weight:600;min-width:0;overflow-wrap:break-word;flex:1 1 auto;}
.order-item-amount{font-size:14px;font-weight:700;white-space:nowrap;flex:0 0 auto;}
.order-item-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin-top:5px;font-size:12px;color:var(--muted);}
.order-item-meta .status-badge{padding:2px 9px;font-size:11px;}
.order-item-payment-tag{
  display:inline-flex;align-items:center;font-size:11px;font-weight:700;
  padding:2px 9px;border-radius:999px;background:#eef1fb;color:var(--blue);
}
.order-item-payment-tag.cod{background:#fff7e6;color:#b45309;}

.order-card-total{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  font-weight:800;font-size:15px;padding-top:10px;margin-top:2px;
  border-top:1px dashed var(--border);
}
.order-shipping{margin-top:10px;overflow-wrap:break-word;}
.status-badge{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:700;padding:4px 11px;border-radius:999px;text-transform:capitalize;}
.status-badge.status-placed{background:#eef2ff;color:var(--blue);}
.status-badge.status-confirmed{background:#eef2ff;color:var(--blue);}
.status-badge.status-packed{background:#fef3e2;color:#b45309;}
.status-badge.status-shipped{background:#fff7e6;color:#b45309;}
.status-badge.status-delivered{background:#e8f7ef;color:var(--success);}
.status-badge.status-cancelled{background:#fdeceb;color:#b3261e;}
.status-badge.status-paid{background:#e8f7ef;color:var(--success);}
.status-badge.status-pending{background:#fff7e6;color:#b45309;}
.status-badge.status-failed{background:#fdeceb;color:#b3261e;}
.status-badge.status-cod_pending{background:#fff7e6;color:#b45309;}
@media(max-width:480px){
  .checkout-page,.account-page{padding:20px 14px;}
}

.success-icon{display:flex;align-items:center;justify-content:center;}
.icon-success{color:var(--success);}
.icon-warning{color:#c2410c;}

/* ============================================================
   Discount celebration graphics — confetti burst + price flash,
   triggered when the "Claim 10% Off" button is clicked on the
   product page (the discount can only be claimed there — checkout
   just displays whether it's already applied).
   ============================================================ */
.promo-banner{position:relative;overflow:visible;}
.promo-banner.claimed{animation:promoPulse .6s ease;}
@keyframes promoPulse{
  0%{ box-shadow:0 0 0 0 rgba(26,158,92,.45); }
  70%{ box-shadow:0 0 0 14px rgba(26,158,92,0); }
  100%{ box-shadow:0 0 0 0 rgba(26,158,92,0); }
}

.discount-confetti{position:absolute;inset:0;pointer-events:none;overflow:visible;z-index:5;}
.discount-confetti .confetto{
  position:absolute;top:50%;left:50%;width:8px;height:8px;border-radius:2px;
  opacity:0;animation:confettoBurst .9s ease-out forwards;
}
.discount-confetti .confetto.round{border-radius:50%;}
@keyframes confettoBurst{
  0%{ opacity:1; transform:translate(-50%,-50%) rotate(0deg) scale(1); }
  100%{ opacity:0; transform:translate(var(--tx),var(--ty)) rotate(var(--rot)) scale(.5); }
}

.price-flash{animation:priceFlash .7s ease;}
@keyframes priceFlash{
  0%{ color:var(--success); transform:scale(1.12); }
  100%{ color:var(--navy); transform:scale(1); }
}

.discount-toast{
  position:fixed;left:50%;bottom:26px;transform:translateX(-50%) translateY(20px);
  background:var(--success);color:#fff;font-weight:700;font-size:14px;
  padding:12px 22px;border-radius:999px;box-shadow:0 10px 30px rgba(26,158,92,.35);
  display:flex;align-items:center;gap:8px;z-index:999;opacity:0;
  transition:opacity .25s ease, transform .25s ease;
}
.discount-toast.show{opacity:1;transform:translateX(-50%) translateY(0);}
.discount-toast svg{flex:0 0 auto;}

/* Per-line discount indicator + Apply/Remove offer toggle inside the
   checkout item list. Apply is green (matches the site's success color),
   Remove is red, so the two are unmistakable at a glance. */
.checkout-item-discount{margin-top:6px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.checkout-item-discount-applied{
  display:inline-flex;align-items:center;gap:4px;color:var(--success);font-weight:700;font-size:11.5px;
}
.checkout-offer-btn{
  border:none;border-radius:8px;padding:5px 12px;font-size:11.5px;font-weight:700;cursor:pointer;
  transition:background .15s ease,transform .1s ease;
}
.checkout-offer-btn:active{transform:scale(0.97);}
.checkout-offer-apply{background:var(--success);color:#fff;}
.checkout-offer-apply:hover{background:#158049;}
.checkout-offer-remove{background:#fdeceb;color:#b3261e;}
.checkout-offer-remove:hover{background:#f8d5d1;}

/* "Apply Coupon" prompt shown on a prepaid line until the 10% offer is
   applied — a dashed callout so it's clearly noticeable, not just a bare
   button sitting among the other line-item text. */
.checkout-coupon-prompt{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  background:#fff8ea;border:1px dashed #e8b93a;border-radius:8px;padding:7px 10px;width:100%;
}
.checkout-coupon-prompt-text{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:700;color:#8a6100;}
.checkout-coupon-prompt .checkout-offer-btn{flex:0 0 auto;}

/* "You may also like" anchor target inside checkout */
#checkoutYouMayAlsoLike{scroll-margin-top:90px;}

/* "Added to Cart" persisted button state */
.btn.btn-added{background:var(--success);border-color:var(--success);}
.btn.btn-added:hover{background:var(--success);}
.btn.btn-added:disabled{opacity:1;}
