/* =========================
   SR Enterprise V2
   Premium Ecommerce Theme
========================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

:root{
--bg:#f5f7fb;
--card:#ffffff;
--black:#050505;
--blue:#0ea5e9;
--blue2:#2563eb;
--text:#111827;
--muted:#6b7280;
--line:#e5e7eb;
}

body{
font-family:Inter,Arial,sans-serif;
background:var(--bg);
color:var(--text);
line-height:1.6;
}

img{
max-width:100%;
display:block;
}

a{
text-decoration:none;
color:inherit;
}

.wrap{
width:min(1200px,92%);
margin:auto;
}

/* ================= HEADER ================= */

.topbar{
position:sticky;
top:0;
z-index:1000;
background:var(--black);
box-shadow:0 8px 30px rgba(0,0,0,.18);
}

.nav{
display:flex;
align-items:center;
justify-content:space-between;
gap:20px;
padding:16px 0;
}

.brand{
display:flex;
align-items:center;
gap:14px;
color:#fff;
font-size:22px;
font-weight:700;
}

.brand img{
width:52px;
height:52px;
object-fit:contain;
}

.search{
flex:1;
display:flex;
max-width:560px;
}

.search input{
flex:1;
padding:14px 16px;
border:none;
outline:none;
border-radius:12px 0 0 12px;
font-size:15px;
}

.search button{
padding:0 24px;
border:none;
background:linear-gradient(135deg,var(--blue),var(--blue2));
color:#fff;
font-weight:700;
border-radius:0 12px 12px 0;
cursor:pointer;
}

.cart{
color:#fff;
font-weight:700;
display:flex;
align-items:center;
gap:8px;
}

#cartCount{
background:var(--blue);
width:26px;
height:26px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
font-size:13px;
}

/* ================= HERO ================= */

.hero{
display:grid;
grid-template-columns:1.2fr .8fr;
gap:50px;
align-items:center;
padding:70px 0;
}

.tag{
display:inline-block;
background:#dbeafe;
color:#0369a1;
padding:8px 16px;
border-radius:50px;
font-size:13px;
font-weight:700;
margin-bottom:18px;
}

.hero h1{
font-size:56px;
line-height:1.1;
margin-bottom:18px;
}

.hero p{
font-size:18px;
color:var(--muted);
margin-bottom:28px;
}

.hero-image{
display:flex;
justify-content:center;
}

.hero-image img{
width:340px;
filter:drop-shadow(0 20px 45px rgba(0,0,0,.25));
}

/* ================= BUTTON ================= */

.btn{
display:inline-flex;
align-items:center;
justify-content:center;
padding:14px 24px;
border:none;
border-radius:12px;
background:linear-gradient(135deg,var(--blue),var(--blue2));
color:#fff;
font-weight:700;
cursor:pointer;
transition:.25s;
}

.btn:hover{
transform:translateY(-2px);
box-shadow:0 10px 28px rgba(37,99,235,.35);
}

.block{
width:100%;
}

/* ================= OFFER ================= */

.offer{
margin-bottom:55px;
}

.offer-box{
display:flex;
justify-content:space-between;
align-items:center;
gap:25px;
padding:35px;
border-radius:22px;
background:linear-gradient(135deg,var(--blue),var(--blue2));
color:#fff;
}

.offer-tag{
display:inline-block;
padding:6px 12px;
border-radius:50px;
background:#fff;
color:#0369a1;
font-size:12px;
font-weight:700;
margin-bottom:10px;
}

/* ================= CATEGORIES ================= */

.categories{
display:flex;
gap:12px;
overflow:auto;
padding-bottom:18px;
margin-bottom:28px;
}

.categories a{
padding:10px 18px;
background:#fff;
border:1px solid var(--line);
border-radius:999px;
font-weight:600;
cursor:pointer;
white-space:nowrap;
}

.categories .active{
background:linear-gradient(135deg,var(--blue),var(--blue2));
color:#fff;
border:none;
}

/* ================= PRODUCTS ================= */

.page{
padding-bottom:60px;
}

.page h2{
font-size:34px;
margin-bottom:28px;
}

.grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:24px;
}

.card{
background:var(--card);
border-radius:20px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,.08);
transition:.25s;
}

.card:hover{
transform:translateY(-8px);
box-shadow:0 20px 45px rgba(0,0,0,.12);
}

.card img{
width:100%;
height:240px;
object-fit:contain;
padding:18px;
background:#fff;
}

.cardbody{
padding:18px;
}

.cardbody small{
color:var(--blue);
font-weight:700;
text-transform:uppercase;
}

.cardbody h3{
font-size:18px;
margin:8px 0 14px;
min-height:52px;
}

.price-box{
display:flex;
align-items:center;
gap:12px;
margin-bottom:16px;
}

.price{
font-size:28px;
font-weight:800;
color:var(--blue2);
}

.old{
color:#9ca3af;
text-decoration:line-through;
}

/* ================= FOOTER ================= */

.footer{
background:#050505;
color:#fff;
margin-top:60px;
}

.footer-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
padding:55px 0;
}

.footer h3,
.footer h4{
margin-bottom:14px;
}

.footer p{
color:#cbd5e1;
margin-bottom:8px;
}

.copy{
border-top:1px solid rgba(255,255,255,.08);
padding:18px;
text-align:center;
color:#94a3b8;
}

/* ================= RESPONSIVE ================= */

@media(max-width:992px){

.grid{
grid-template-columns:repeat(2,1fr);
}

.hero{
grid-template-columns:1fr;
text-align:center;
}

.search{
max-width:none;
}

.footer-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:640px){

.nav{
flex-wrap:wrap;
}

.brand{
width:100%;
justify-content:center;
}

.search{
width:100%;
}

.grid{
grid-template-columns:1fr;
}

.hero h1{
font-size:36px;
}

.offer-box{
flex-direction:column;
text-align:center;
}

.footer-grid{
grid-template-columns:1fr;
}

}/* =========================
   CART PAGE (PREMIUM)
========================= */

.cart-layout{
display:grid;
grid-template-columns:2fr 1fr;
gap:30px;
margin-top:30px;
}

.cart-left,
.cart-summary,
.checkout-card,
.summary-card{
background:#fff;
border-radius:22px;
padding:28px;
box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.cart-head{
display:grid;
grid-template-columns:2.4fr .8fr .8fr .8fr;
padding-bottom:18px;
margin-bottom:18px;
border-bottom:1px solid #e5e7eb;
font-weight:700;
font-size:14px;
}

.cart-item{
display:grid;
grid-template-columns:2.4fr .8fr .8fr .8fr;
align-items:center;
padding:22px 0;
border-bottom:1px solid #eef2f7;
gap:10px;
}

.item-info{
display:flex;
gap:18px;
align-items:center;
}

.item-info img{
width:110px;
height:110px;
object-fit:contain;
background:#fff;
border:1px solid #eef2f7;
border-radius:16px;
padding:10px;
}

.item-info small{
color:#0ea5e9;
font-weight:700;
text-transform:uppercase;
}

.item-info h3{
font-size:22px;
margin:6px 0;
}

.stock{
color:#16a34a;
font-weight:600;
font-size:14px;
}

.qty-box{
display:flex;
align-items:center;
justify-content:center;
border:1px solid #d1d5db;
border-radius:12px;
overflow:hidden;
width:120px;
}

.qty-box button{
width:36px;
height:36px;
border:none;
background:#fff;
cursor:pointer;
font-size:20px;
font-weight:700;
}

.qty-box span{
flex:1;
text-align:center;
font-weight:700;
}

.line-total{
font-size:22px;
font-weight:800;
color:#2563eb;
}

.remove{
margin-top:10px;
border:none;
background:#fee2e2;
color:#dc2626;
padding:8px 14px;
border-radius:10px;
cursor:pointer;
font-weight:700;
}

.cart-actions{
display:flex;
justify-content:space-between;
margin-top:24px;
}

.outline-btn{
padding:12px 20px;
border:2px solid #0ea5e9;
border-radius:12px;
color:#0ea5e9;
font-weight:700;
background:#fff;
cursor:pointer;
}

.cart-summary h2,
.summary-card h2{
font-size:32px;
margin-bottom:24px;
}

.summary-row,
.summary-total{
display:flex;
justify-content:space-between;
align-items:center;
margin:16px 0;
font-size:18px;
}

.summary-total{
font-size:34px;
font-weight:800;
color:#2563eb;
}

.delivery-box,
.delivery-card{
margin:22px 0;
padding:18px;
background:#f3f4f6;
border-radius:16px;
}

.delivery-box h4,
.delivery-card h3{
margin-bottom:12px;
}

.delivery-box label,
.delivery-card label{
display:flex;
align-items:center;
gap:10px;
margin:10px 0;
font-weight:600;
cursor:pointer;
}

.secure{
text-align:center;
margin-top:18px;
color:#64748b;
font-size:14px;
}

/* =========================
   EMPTY CART
========================= */

.empty-card{
background:#fff;
border-radius:24px;
padding:70px 20px;
text-align:center;
box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.empty-card h2{
font-size:42px;
margin-bottom:12px;
}

.empty-card p{
color:#64748b;
margin-bottom:24px;
}

/* =========================
   CHECKOUT PAGE
========================= */

.checkout-grid{
display:grid;
grid-template-columns:2fr 1fr;
gap:30px;
margin-top:25px;
}

.checkout-card label{
display:block;
font-weight:700;
margin:16px 0 8px;
}

.checkout-card input,
.checkout-card textarea,
.checkout-card select{
width:100%;
padding:14px;
border:1px solid #d1d5db;
border-radius:12px;
font-size:15px;
outline:none;
}

.checkout-card input:focus,
.checkout-card textarea:focus,
.checkout-card select:focus{
border-color:#2563eb;
box-shadow:0 0 0 4px rgba(37,99,235,.12);
}

.alert{
background:#fee2e2;
color:#b91c1c;
padding:14px;
border-radius:12px;
margin:18px 0;
font-weight:700;
}

/* =========================
   SUCCESS PAGE
========================= */

.success-page{
display:flex;
justify-content:center;
align-items:center;
min-height:100vh;
background:#f5f7fb;
}

.success-box{
background:#fff;
padding:45px;
border-radius:24px;
text-align:center;
box-shadow:0 20px 45px rgba(0,0,0,.08);
max-width:460px;
width:92%;
}

.success-icon{
width:90px;
height:90px;
margin:auto auto 22px;
border-radius:50%;
background:#16a34a;
display:flex;
align-items:center;
justify-content:center;
font-size:42px;
color:#fff;
font-weight:800;
}

.success-box h1{
font-size:34px;
margin-bottom:10px;
}

.success-box h2{
margin:18px 0;
color:#2563eb;
}

.success-box h3{
font-size:28px;
margin-bottom:24px;
}

/* =========================
   FEATURES STRIP
========================= */

.features{
margin-top:35px;
display:grid;
grid-template-columns:repeat(4,1fr);
background:#fff;
border-radius:22px;
padding:22px;
box-shadow:0 10px 30px rgba(0,0,0,.06);
gap:18px;
}

.feature{
display:flex;
align-items:center;
gap:14px;
}

.feature-icon{
width:52px;
height:52px;
border-radius:14px;
background:linear-gradient(135deg,#0ea5e9,#2563eb);
display:flex;
align-items:center;
justify-content:center;
color:#fff;
font-size:24px;
}

.feature h4{
font-size:17px;
margin-bottom:3px;
}

.feature p{
font-size:13px;
color:#64748b;
}

/* =========================
   MOBILE
========================= */

@media(max-width:992px){

.cart-layout,
.checkout-grid{
grid-template-columns:1fr;
}

.features{
grid-template-columns:repeat(2,1fr);
}

.cart-head{
display:none;
}

.cart-item{
grid-template-columns:1fr;
text-align:center;
}

.item-info{
flex-direction:column;
}

.qty-box{
margin:auto;
}

}

@media(max-width:640px){

.features{
grid-template-columns:1fr;
}

.item-info img{
width:90px;
height:90px;
}

.summary-total{
font-size:28px;
}

}/* PRODUCT DETAILS */

.product-detail{
display:grid;
grid-template-columns:1fr 1fr;
gap:50px;
align-items:start;
margin-top:40px;
}

.product-gallery{
background:#fff;
padding:30px;
border-radius:24px;
box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.main-image{
width:100%;
max-height:520px;
object-fit:contain;
cursor:zoom-in;
transition:.25s;
}

.main-image:hover{
transform:scale(1.05);
}

.product-info{
background:#fff;
padding:30px;
border-radius:24px;
box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.product-info h1{
font-size:38px;
margin:12px 0;
}

.related{
margin-top:70px;
}

@media(max-width:900px){

.product-detail{
grid-template-columns:1fr;
}

}/* =========================
   HERO PREMIUM V2
========================= */

.hero{
position:relative;
overflow:hidden;
background:linear-gradient(135deg,#050505,#0f172a,#2563eb);
color:#fff;
padding:80px 50px;
border-radius:32px;
margin:35px auto;
}

.hero::before{
content:"";
position:absolute;
width:420px;
height:420px;
background:rgba(14,165,233,.18);
border-radius:50%;
top:-120px;
right:-120px;
filter:blur(40px);
}

.hero::after{
content:"";
position:absolute;
width:280px;
height:280px;
background:rgba(37,99,235,.16);
border-radius:50%;
bottom:-80px;
left:-60px;
filter:blur(35px);
}

.hero-buttons{
display:flex;
gap:15px;
margin-top:28px;
flex-wrap:wrap;
}

.trust-row{
display:flex;
gap:18px;
margin-top:35px;
flex-wrap:wrap;
}

.trust-item{
background:rgba(255,255,255,.08);
padding:12px 18px;
border:1px solid rgba(255,255,255,.12);
border-radius:14px;
backdrop-filter:blur(12px);
font-weight:600;
}

.main-hero-logo{
width:320px;
animation:float 5s ease-in-out infinite;
}

.floating-card{
position:absolute;
padding:14px 18px;
border-radius:16px;
background:rgba(255,255,255,.12);
border:1px solid rgba(255,255,255,.18);
backdrop-filter:blur(12px);
font-weight:700;
}

.card-one{
top:40px;
right:20px;
}

.card-two{
bottom:40px;
left:40px;
}

@keyframes float{
0%,100%{
transform:translateY(0);
}
50%{
transform:translateY(-12px);
}
}

/* BEST SELLER */

.best-seller{
margin:50px auto;
}

.section-title{
text-align:center;
margin-bottom:30px;
}

.section-title h2{
font-size:36px;
}

.section-title p{
color:#64748b;
margin-top:8px;
}

/* FLOAT BUTTON */

.whatsapp-float,
.messenger-float{
position:fixed;
width:58px;
height:58px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:28px;
color:#fff;
box-shadow:0 12px 30px rgba(0,0,0,.25);
z-index:9999;
transition:.25s;
}

.whatsapp-float{
right:20px;
bottom:20px;
background:#25D366;
}

.messenger-float{
right:20px;
bottom:90px;
background:#0084FF;
}

.whatsapp-float:hover,
.messenger-float:hover{
transform:scale(1.08);
}

@media(max-width:900px){

.hero{
padding:45px 25px;
}

.hero-buttons{
justify-content:center;
}

.trust-row{
justify-content:center;
}

.main-hero-logo{
width:220px;
}

.card-one{
top:15px;
right:10px;
}

.card-two{
bottom:20px;
left:15px;
}

}/* CART PAGE */

.cart-subtitle{
margin-bottom:25px;
color:#64748b;
}

.cart-layout{
display:grid;
grid-template-columns:2fr 1fr;
gap:30px;
margin-top:20px;
}

.cart-item-card{
background:#fff;
border-radius:18px;
padding:20px;
display:grid;
grid-template-columns:120px 1fr 120px;
gap:20px;
align-items:center;
margin-bottom:20px;
box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.cart-image img{
width:100%;
height:120px;
object-fit:contain;
}

.stock{
color:#16a34a;
font-weight:600;
margin:8px 0;
}

.qty-box{
display:flex;
gap:10px;
align-items:center;
margin-top:12px;
}

.qty-box button{
width:36px;
height:36px;
border:none;
background:#0ea5e9;
color:#fff;
border-radius:8px;
cursor:pointer;
}

.remove-btn{
margin-top:15px;
background:#fee2e2;
color:#dc2626;
border:none;
padding:8px 15px;
border-radius:8px;
cursor:pointer;
}

.cart-total{
font-size:24px;
font-weight:700;
color:#0ea5e9;
text-align:right;
}

.summary-card{
background:#fff;
padding:25px;
border-radius:18px;
box-shadow:0 8px 25px rgba(0,0,0,.08);
position:sticky;
top:90px;
}

.summary-row,
.summary-total{
display:flex;
justify-content:space-between;
margin:16px 0;
}

.summary-total{
font-size:28px;
font-weight:700;
color:#0ea5e9;
}

.cart-actions{
display:flex;
justify-content:space-between;
margin-top:20px;
flex-wrap:wrap;
gap:12px;
}

.empty-cart{
background:#fff;
padding:70px 20px;
text-align:center;
border-radius:20px;
}

@media(max-width:900px){

.cart-layout{
grid-template-columns:1fr;
}

.cart-item-card{
grid-template-columns:1fr;
text-align:center;
}

.cart-total{
text-align:center;
}

}