/* TATA Books & Sports Centre — stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root{
  --primary:#0b1e3d;
  --primary-dark:#081530;
  --accent:#14294f;
  --secondary:#d4af37;
  --secondary-dark:#b9932a;
  --bg:#f8fafc;
  --white:#ffffff;
  --text:#1b2534;
  --muted:#64748b;
  --border:#e2e8f0;
  --destructive:#dc2626;
  --radius:14px;
  --font-serif:'Playfair Display', serif;
  --font-sans:'Plus Jakarta Sans', sans-serif;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-sans);
  color:var(--text);
  background:var(--white);
  line-height:1.55;
}
h1,h2,h3,h4,h5,h6{font-family:var(--font-serif); color:var(--primary); margin:0 0 .5em;}
p{margin:0 0 1em;}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
ul{margin:0; padding:0;}
.container{max-width:1200px; margin:0 auto; padding:0 1.5rem;}
.italic{font-style:italic;}
.text-secondary{color:var(--secondary);}
.section{padding:5rem 0;}
.section-tight{padding:3rem 0;}
.bg-bg{background:var(--bg);}
.bg-primary{background:var(--primary); color:#fff;}
.bg-white{background:#fff;}
.center{text-align:center;}
.muted{color:var(--muted);}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  font-family:var(--font-sans); font-weight:700; font-size:.95rem;
  padding:.9rem 2rem; border-radius:999px; border:2px solid transparent;
  cursor:pointer; transition:.25s ease; text-align:center;
}
.btn-lg{padding:1.1rem 2.2rem; font-size:1rem;}
.btn-sm{padding:.5rem 1.1rem; font-size:.8rem; border-radius:999px;}
.btn-primary{background:var(--primary); color:#fff;}
.btn-primary:hover{background:var(--accent);}
.btn-gold{background:var(--secondary); color:var(--primary);}
.btn-gold:hover{background:var(--secondary-dark);}
.btn-outline{background:transparent; border-color:var(--primary); color:var(--primary);}
.btn-outline:hover{background:var(--primary); color:#fff;}
.btn-outline-white{background:transparent; border-color:rgba(255,255,255,.6); color:#fff;}
.btn-outline-white:hover{background:rgba(255,255,255,.15);}
.btn-full{width:100%;}
.btn:disabled{opacity:.6; cursor:not-allowed;}

/* Header */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  background:rgba(255,255,255,.96); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border); transition:.25s ease;
}
.site-header .container{display:flex; align-items:center; justify-content:space-between; padding-top:1.1rem; padding-bottom:1.1rem;}
.brand{display:flex; flex-direction:column; line-height:1;}
.brand .brand-main{font-family:var(--font-serif); font-weight:800; font-size:1.6rem; color:var(--primary);}
.brand .brand-sub{font-size:.6rem; font-weight:800; letter-spacing:.15em; text-transform:uppercase; color:var(--secondary); margin-top:.25rem;}
.main-nav{display:flex; align-items:center; gap:2rem;}
.main-nav a{font-size:.9rem; font-weight:600; color:var(--text); transition:.2s;}
.main-nav a:hover, .main-nav a.active{color:var(--secondary);}
.header-actions{display:flex; align-items:center; gap:1.25rem;}
.header-phone{display:flex; align-items:center; gap:.5rem; font-weight:700; font-size:.85rem; color:var(--primary); border-right:1px solid var(--border); padding-right:1.25rem;}
.cart-icon{position:relative; cursor:pointer;}
.cart-badge{
  position:absolute; top:-8px; right:-10px; background:var(--secondary); color:var(--primary);
  font-size:.65rem; font-weight:800; height:18px; width:18px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}
.auth-actions{display:flex; align-items:center; gap:.5rem;}
.nav-toggle{display:none; background:none; border:none; font-size:1.6rem; color:var(--primary); cursor:pointer;}
.mobile-nav{display:none; flex-direction:column; gap:1rem; padding:1.25rem 1.5rem 1.75rem; border-top:1px solid var(--border); background:#fff;}
.mobile-nav.open{display:flex;}
.mobile-nav a{font-weight:600; padding:.4rem 0;}
.mobile-nav a.active{color:var(--secondary);}
.mobile-actions{display:flex; gap:.75rem; margin-top:.5rem;}

/* Hero */
.hero{
  position:relative; min-height:82vh; display:flex; align-items:center; color:#fff;
  padding-top:6rem;
}
.hero-bg{position:absolute; inset:0; z-index:0;}
.hero-bg img{width:100%; height:100%; object-fit:cover;}
.hero-bg::after{content:''; position:absolute; inset:0; background:linear-gradient(90deg, rgba(11,30,61,.94), rgba(11,30,61,.55));}
.hero-content{position:relative; z-index:1; max-width:640px;}
.eyebrow{display:inline-block; padding:.4rem .9rem; border-radius:999px; background:rgba(212,175,55,.18); border:1px solid rgba(212,175,55,.4); color:var(--secondary); font-size:.75rem; font-weight:800; text-transform:uppercase; letter-spacing:.12em; margin-bottom:1.5rem;}
.hero h1{font-size:clamp(2.4rem,5vw,4.2rem); color:#fff; line-height:1.1; margin-bottom:1.25rem;}
.hero p{font-size:1.1rem; color:rgba(255,255,255,.85); max-width:34rem; margin-bottom:2rem;}
.hero-actions{display:flex; gap:1rem; flex-wrap:wrap;}

/* page headers (inner pages) */
.page-hero{background:var(--primary); color:#fff; padding:9rem 0 6rem; text-align:center; position:relative; overflow:hidden;}
.page-hero h1{color:#fff; font-size:clamp(2.2rem,4vw,3rem);}
.page-hero p{color:rgba(255,255,255,.8); max-width:38rem; margin:0 auto;}
.page-hero.short{padding:8.5rem 0 5rem;}

/* Grids */
.grid{display:grid; gap:1.75rem;}
.grid-2{grid-template-columns:repeat(2,1fr);}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}
@media (max-width: 900px){ .grid-4{grid-template-columns:repeat(2,1fr);} .grid-3{grid-template-columns:repeat(2,1fr);} .grid-2{grid-template-columns:1fr;} }
@media (max-width: 600px){ .grid-4, .grid-3{grid-template-columns:1fr;} }

/* section heading */
.section-head{display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:3rem; gap:1rem; flex-wrap:wrap;}
.section-head p{margin:0; color:var(--muted);}
.divider{height:4px; width:64px; background:var(--secondary); margin:0 auto;}

/* Category card */
.cat-card{position:relative; border-radius:20px; overflow:hidden; aspect-ratio:4/5; box-shadow:0 2px 10px rgba(0,0,0,.06); transition:.3s;}
.cat-card:hover{box-shadow:0 18px 40px rgba(0,0,0,.18);}
.cat-card img{width:100%; height:100%; object-fit:cover; transition:transform .5s;}
.cat-card:hover img{transform:scale(1.06);}
.cat-card::after{content:''; position:absolute; inset:0; background:linear-gradient(to top, rgba(11,30,61,.92), rgba(11,30,61,.15) 60%, transparent);}
.cat-card-label{position:absolute; left:1.5rem; right:1.5rem; bottom:1.5rem; z-index:1; display:flex; justify-content:space-between; align-items:center; color:#fff;}
.cat-card-label h3{color:#fff; margin:0; font-size:1.15rem;}
.cat-arrow{height:38px; width:38px; border-radius:50%; background:rgba(255,255,255,.2); display:flex; align-items:center; justify-content:center;}

/* Product Card */
.product-card{background:#fff; border-radius:18px; overflow:hidden; box-shadow:0 2px 10px rgba(0,0,0,.05); border:1px solid var(--border); display:flex; flex-direction:column; transition:.3s;}
.product-card:hover{box-shadow:0 18px 34px rgba(0,0,0,.12); transform:translateY(-2px);}
.product-media{position:relative; aspect-ratio:4/3; background:#f1f5f9; overflow:hidden;}
.product-media img{width:100%; height:100%; object-fit:cover; mix-blend-mode:multiply; padding:1.25rem; transition:transform .5s;}
.product-card:hover .product-media img{transform:scale(1.08);}
.product-rating{position:absolute; top:.75rem; left:.75rem; background:rgba(255,255,255,.92); padding:.25rem .55rem; border-radius:8px; font-size:.72rem; font-weight:800; color:var(--primary); display:flex; align-items:center; gap:.25rem;}
.product-body{padding:1.25rem; display:flex; flex-direction:column; flex:1;}
.product-cat{font-size:.68rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-bottom:.35rem;}
.product-name{font-size:1.05rem; margin-bottom:.4rem;}
.product-desc{font-size:.85rem; color:var(--muted); margin-bottom:1rem; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;}
.product-footer{margin-top:auto; display:flex; align-items:center; justify-content:space-between; padding-top:1rem; border-top:1px solid var(--border);}
.product-price{font-weight:800; font-size:1.15rem; color:var(--primary);}

/* Why choose us */
.why-section{background:var(--primary); color:#fff; position:relative; overflow:hidden;}
.why-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:4rem; align-items:center;}
@media (max-width:900px){.why-grid{grid-template-columns:1fr;}}
.why-item{display:flex; gap:1rem; padding:1rem; border-radius:16px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08); margin-bottom:1rem;}
.why-item .dot{background:var(--secondary); color:var(--primary); height:28px; width:28px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:.15rem; font-weight:800;}
.why-image-wrap{position:relative;}
.why-image-wrap img{border-radius:24px; border:4px solid rgba(255,255,255,.1); aspect-ratio:4/5; object-fit:cover;}
.review-card{position:absolute; bottom:-1.75rem; left:-1.5rem; background:#fff; color:var(--text); padding:1.25rem; border-radius:16px; max-width:230px; box-shadow:0 18px 40px rgba(0,0,0,.25);}
.stars{color:var(--secondary); margin-bottom:.5rem;}

/* Newsletter */
.newsletter-card{max-width:640px; margin:0 auto; background:#fff; border:1px solid var(--border); border-radius:24px; padding:3rem; text-align:center; box-shadow:0 10px 30px rgba(0,0,0,.06);}
.newsletter-form{display:flex; gap:.75rem; max-width:420px; margin:0 auto; flex-wrap:wrap;}
.newsletter-form input{flex:1; min-width:200px;}

/* Forms */
.field{margin-bottom:1.25rem;}
.field label{display:block; font-weight:700; font-size:.85rem; color:var(--primary); margin-bottom:.4rem;}
.field-row{display:grid; grid-template-columns:1fr 1fr; gap:1.25rem;}
@media (max-width:640px){.field-row{grid-template-columns:1fr;}}
input[type=text], input[type=email], input[type=tel], input[type=password], textarea, select{
  width:100%; padding:.85rem 1rem; border:1px solid var(--border); border-radius:12px;
  background:var(--bg); font-family:var(--font-sans); font-size:.95rem; color:var(--text);
}
input:focus, textarea:focus, select:focus{outline:none; border-color:var(--secondary); box-shadow:0 0 0 3px rgba(212,175,55,.25);}
input.error, textarea.error{border-color:var(--destructive);}
.error-msg{color:var(--destructive); font-size:.78rem; margin-top:.3rem;}
.input-icon-wrap{position:relative;}
.input-icon-wrap input{padding-left:2.6rem;}
.input-icon{position:absolute; left:.9rem; top:50%; transform:translateY(-50%); color:var(--muted);}
.toggle-pass{position:absolute; right:.9rem; top:50%; transform:translateY(-50%); background:none; border:none; cursor:pointer; color:var(--muted);}
.checkbox-row{display:flex; align-items:flex-start; gap:.65rem; font-size:.85rem; color:var(--muted);}
.checkbox-row input{width:auto; margin-top:.2rem;}
.checkbox-row a{color:var(--primary); text-decoration:underline;}

.auth-shell{min-height:100vh; display:flex; align-items:center; justify-content:center; background:var(--bg); padding:8rem 1.25rem 3rem;}
.auth-card{width:100%; max-width:460px; background:#fff; border:1px solid var(--border); border-radius:24px; padding:2.75rem; box-shadow:0 20px 50px rgba(0,0,0,.08);}
.auth-card.wide{max-width:600px;}
.auth-card h1{text-align:center; margin-bottom:.4rem;}
.auth-card > p.center{margin-bottom:2rem;}
.auth-switch{text-align:center; margin-top:1.75rem; font-size:.9rem; color:var(--muted);}
.auth-switch a{color:var(--primary); font-weight:800;}

/* Cards general */
.info-card{background:#fff; border:1px solid var(--border); border-radius:18px; padding:2rem;}
.contact-row{display:flex; gap:1rem; margin-bottom:1.5rem;}
.contact-row .icon-badge{height:42px; width:42px; border-radius:50%; background:rgba(212,175,55,.15); color:var(--secondary-dark); display:flex; align-items:center; justify-content:center; flex-shrink:0;}

.service-card{background:#fff; padding:2rem; border-radius:18px; border:1px solid var(--border); transition:.25s;}
.service-card:hover{border-color:var(--secondary); box-shadow:0 16px 34px rgba(0,0,0,.08); transform:translateY(-3px);}
.service-icon{height:64px; width:64px; border-radius:16px; background:var(--bg); color:var(--primary); display:flex; align-items:center; justify-content:center; margin-bottom:1.5rem; font-size:1.6rem;}

.cta-banner{background:#fff; border:1px solid var(--border); border-radius:24px; padding:2.5rem; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:1.5rem; max-width:900px; margin:4rem auto 0;}

.help-card{background:#fff; border:1px solid var(--border); border-radius:18px; padding:1.75rem; text-align:center;}
.help-icon{margin:0 auto 1rem; height:48px; width:48px; border-radius:50%; background:rgba(11,30,61,.06); display:flex; align-items:center; justify-content:center; font-size:1.4rem;}

details.faq-item{border-bottom:1px solid var(--border); padding:1.1rem 0;}
details.faq-item:last-child{border-bottom:none;}
details.faq-item summary{cursor:pointer; font-weight:700; color:var(--primary); list-style:none; display:flex; justify-content:space-between; align-items:center;}
details.faq-item summary::-webkit-details-marker{display:none;}
details.faq-item summary::after{content:'+'; font-size:1.4rem; color:var(--secondary); font-weight:400;}
details.faq-item[open] summary::after{content:'−';}
details.faq-item p{margin-top:.85rem; color:var(--muted);}
.faq-wrap{background:#fff; border:1px solid var(--border); border-radius:18px; padding:0 1.5rem;}

.support-panel{background:var(--primary); color:#fff; border-radius:18px; padding:2.25rem;}
.support-panel .box{background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); border-radius:14px; padding:1.1rem; margin-bottom:1rem;}
.support-panel .box p{margin:0;}

/* Filters (products page) */
.products-layout{display:flex; gap:2.5rem; align-items:flex-start;}
.filters{width:280px; flex-shrink:0;}
.filters .info-card{position:sticky; top:110px;}
.filter-btn{display:block; width:100%; text-align:left; padding:.6rem .9rem; border-radius:10px; border:none; background:none; cursor:pointer; font-size:.9rem; color:var(--text); font-family:var(--font-sans); margin-bottom:.25rem;}
.filter-btn.active{background:var(--primary); color:#fff; font-weight:700;}
.filter-btn:hover:not(.active){background:var(--bg);}
.search-wrap{position:relative; margin-bottom:1.75rem;}
.search-wrap input{padding-left:2.5rem;}
@media (max-width: 960px){ .products-layout{flex-direction:column;} .filters{width:100%;} .filters .info-card{position:static;} }

/* Footer */
.site-footer{background:var(--primary); color:rgba(255,255,255,.85); padding:5rem 0 2rem; border-top:4px solid var(--secondary);}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:3rem; margin-bottom:3.5rem;}
@media (max-width:900px){.footer-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:560px){.footer-grid{grid-template-columns:1fr;}}
.site-footer h4{color:#fff; font-size:1.05rem; margin-bottom:1.4rem; position:relative; padding-bottom:.6rem;}
.site-footer h4::after{content:''; position:absolute; left:0; bottom:0; width:42px; height:2px; background:var(--secondary);}
.site-footer li{margin-bottom:.65rem; font-size:.88rem;}
.site-footer a:hover{color:var(--secondary);}
.footer-social{display:flex; gap:.75rem; margin-top:1.25rem;}
.footer-social a{height:38px; width:38px; border-radius:50%; background:rgba(255,255,255,.1); display:flex; align-items:center; justify-content:center;}
.footer-social a:hover{background:var(--secondary); color:var(--primary);}
.footer-perks{display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; padding:2rem 0; border-top:1px solid rgba(255,255,255,.12); border-bottom:1px solid rgba(255,255,255,.12); margin-bottom:2rem;}
@media (max-width:700px){.footer-perks{grid-template-columns:1fr;}}
.perk{display:flex; align-items:center; gap:.75rem; justify-content:center; text-align:left;}
.perk h5{color:#fff; margin:0; font-size:.9rem;}
.perk p{margin:0; font-size:.75rem; color:rgba(255,255,255,.6);}
.footer-bottom{display:flex; justify-content:space-between; flex-wrap:wrap; gap:.75rem; font-size:.78rem; color:rgba(255,255,255,.55);}

/* Chatbot */
.chatbot-wrap{position:fixed; right:1.5rem; bottom:1.5rem; z-index:200; display:flex; flex-direction:column; align-items:flex-end;}
.chat-panel{width:320px; margin-bottom:1rem; background:#fff; border:1px solid var(--border); border-radius:18px; box-shadow:0 20px 50px rgba(0,0,0,.25); overflow:hidden; transform:scale(0); opacity:0; transform-origin:bottom right; transition:.25s;}
.chat-panel.open{transform:scale(1); opacity:1;}
.chat-head{background:var(--primary); color:#fff; padding:1rem 1.1rem; display:flex; justify-content:space-between; align-items:center;}
.chat-head button{background:none; border:none; color:#fff; font-size:1.2rem; cursor:pointer;}
.chat-body{padding:1rem; height:260px; overflow-y:auto; background:var(--bg); display:flex; flex-direction:column; gap:.6rem;}
.chat-msg{max-width:82%; padding:.55rem .85rem; border-radius:14px; font-size:.85rem;}
.chat-msg.bot{background:#fff; border:1px solid var(--border); align-self:flex-start; border-bottom-left-radius:4px;}
.chat-msg.user{background:var(--primary); color:#fff; align-self:flex-end; border-bottom-right-radius:4px;}
.chat-quick{padding:.85rem; border-top:1px solid var(--border); background:#fff;}
.chat-quick p{margin:0 0 .5rem; font-size:.72rem; color:var(--muted); font-weight:700;}
.quick-btns{display:flex; flex-wrap:wrap; gap:.4rem;}
.quick-btns button{border:1px solid rgba(212,175,55,.4); background:rgba(212,175,55,.1); color:var(--primary); border-radius:999px; padding:.3rem .7rem; font-size:.72rem; cursor:pointer;}
.chat-fab{height:56px; width:56px; border-radius:50%; background:var(--primary); color:#fff; border:none; font-size:1.5rem; cursor:pointer; box-shadow:0 10px 25px rgba(0,0,0,.25); transition:.25s;}
.chat-fab:hover{transform:scale(1.08); background:var(--accent);}

.scroll-top{position:fixed; right:1.5rem; bottom:6.5rem; z-index:190; height:44px; width:44px; border-radius:50%; background:#fff; border:1px solid var(--border); box-shadow:0 8px 20px rgba(0,0,0,.15); display:none; align-items:center; justify-content:center; cursor:pointer; font-size:1.1rem; color:var(--primary);}
.scroll-top.show{display:flex;}

.toast-stack{position:fixed; top:5.5rem; right:1.5rem; z-index:300; display:flex; flex-direction:column; gap:.6rem;}
.toast{background:#fff; border:1px solid var(--border); border-left:4px solid var(--secondary); box-shadow:0 12px 30px rgba(0,0,0,.15); border-radius:10px; padding:.85rem 1.1rem; min-width:240px; animation:toast-in .25s ease;}
.toast strong{display:block; color:var(--primary); font-size:.9rem; margin-bottom:.15rem;}
.toast span{font-size:.8rem; color:var(--muted);}
@keyframes toast-in{from{opacity:0; transform:translateY(-8px);} to{opacity:1; transform:translateY(0);}}

.prose h2{margin-top:2rem;}
.prose p, .prose li{color:var(--muted);}
.prose ul{padding-left:1.25rem; margin-bottom:1em;}
.prose li{margin-bottom:.4rem;}
.page-content{max-width:840px; margin:0 auto; padding:8.5rem 1.5rem 5rem;}
.page-content .updated{color:var(--muted); padding-bottom:1.5rem; border-bottom:1px solid var(--border); margin-bottom:2rem;}

.no-results{background:#fff; border:1px solid var(--border); border-radius:18px; padding:3.5rem 2rem; text-align:center;}

@media (max-width: 1024px){
  .main-nav, .header-actions{display:none;}
  .nav-toggle{display:block;}
}
