/* =========================================================
   Ana Stil
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root{
  --red:#e4002b;
  --red-dark:#c40025;
  --green:#15803d;
  --green-light:#16a34a;
  --dark:#1a1a1a;
  --text:#333;
  --muted:#8a8a8a;
  --border:#eaeaea;
  --bg:#fff;
  --gray-bg:#f6f6f6;
  --yellow:#ffc107;
  --radius:12px;
  --shadow:0 2px 12px rgba(0,0,0,.06);
  --container:1760px;
}

*{box-sizing:border-box;margin:0;padding:0;}
html,body{font-family:'Poppins',sans-serif;font-size:14px;color:var(--text);background:#fff;-webkit-font-smoothing:antialiased;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
button{font-family:inherit;cursor:pointer;}
ul{list-style:none;}

.container{max-width:var(--container);margin:0 auto;padding:0 20px;}
/* WhatsApp float */
.whatsapp-float{position:fixed;bottom:84px;right:24px;width:58px;height:58px;border-radius:50%;background:#25d366;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(37,211,102,.45);z-index:95;transition:transform .2s;}
.whatsapp-float:hover{transform:scale(1.08);}
.text-red{color:var(--red);}
.text-green{color:var(--green);}
.text-muted{color:var(--muted);}
.hidden{display:none !important;}

/* ---------- Üst Bar / Header ---------- */
.topbar{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:100;}
.topbar-inner{display:flex;align-items:center;gap:28px;padding:16px 20px;max-width:var(--container);margin:0 auto;}
.logo{font-size:27px;font-weight:800;color:var(--red);letter-spacing:-0.5px;display:flex;align-items:center;gap:6px;line-height:1;flex-shrink:0;white-space:nowrap;}
.logo .crown{font-size:22px;position:relative;top:-2px;}
.logo img{height:44px;width:auto;display:block;}
@media(max-width:640px){.logo img{height:34px;}}

.search-wrap{flex:1;position:relative;max-width:800px;}
.search-wrap input{width:100%;padding:14px 54px 14px 26px;border:1px solid var(--border);background:#fafafa;border-radius:40px;font-size:15px;transition:.2s;}
.search-wrap input:focus{outline:none;background:#fff;border-color:#ddd;box-shadow:0 2px 10px rgba(0,0,0,.05);}
.search-wrap .search-btn{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;background:#fff;border:none;display:flex;align-items:center;justify-content:center;font-size:18px;color:#444;box-shadow:0 1px 4px rgba(0,0,0,.08);}

.top-actions{display:flex;align-items:center;gap:26px;flex-shrink:0;}
.top-actions a{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:500;color:#222;white-space:nowrap;}
.top-actions .cart-btn{background:#f2f2f2;padding:12px 22px;border-radius:40px;font-weight:600;}
.top-actions .cart-count{background:var(--red);color:#fff;border-radius:50%;width:18px;height:18px;font-size:11px;display:flex;align-items:center;justify-content:center;font-weight:700;margin-left:-4px;}
.top-actions .icon{font-size:20px;}

/* Hesabım bildirim noktası */
.has-dot{position:relative;}
.has-dot::after{content:'';position:absolute;top:-2px;right:-2px;width:8px;height:8px;background:var(--red);border-radius:50%;}

/* ---------- Ana Menü ---------- */
.mainmenu{border-bottom:1px solid var(--border);background:#fff;}
.mainmenu-inner{display:flex;align-items:center;gap:40px;padding:0 20px;max-width:var(--container);margin:0 auto;}
.mainmenu{position:relative;z-index:60;}
.mm-item{display:flex;align-items:stretch;}
.mainmenu .mm-link{padding:18px 0;font-size:17px;font-weight:600;color:#1a1a1a;position:relative;display:flex;align-items:center;gap:8px;white-space:nowrap;}
.mainmenu .mm-item:hover > .mm-link,.mainmenu .mm-link:hover{color:var(--red);}
.mainmenu .mm-link.active{color:var(--red);}
.mainmenu .mm-link.active::after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--red);border-radius:3px;}
.mainmenu .mm-item.has-mega:hover > .mm-link::after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--red);border-radius:3px;}

/* ---- Mega menü (masaüstü) ---- */
.mega{position:absolute;left:0;right:0;top:100%;background:#fff;border-top:1px solid var(--border);box-shadow:0 18px 30px rgba(0,0,0,.12);
  opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .15s ease .12s,transform .15s ease .12s,visibility 0s linear .27s;}
.mm-item.has-mega:hover > .mega,.mm-item.has-mega:focus-within > .mega{opacity:1;visibility:visible;transform:none;transition-delay:.05s,.05s,0s;}
.mega-inner{display:flex;max-width:var(--container);margin:0 auto;min-height:420px;max-height:calc(100vh - 220px);}
.mega-left{list-style:none;margin:0;padding:0;width:400px;flex-shrink:0;background:#f4f4f4;overflow-y:auto;}
.mega-left li{display:flex;align-items:center;justify-content:space-between;padding:0 18px;cursor:pointer;color:#222;border-left:3px solid transparent;transition:background .12s,border-color .12s,color .12s;}
.mega-left li a{flex:1;padding:13px 0;font-size:15px;font-weight:500;color:inherit;}
.mega-left li i{font-style:normal;font-size:22px;color:#999;}
.mega-left li:hover{background:#ebebeb;color:var(--red);border-left-color:var(--red);}
.mega-left li:hover i{color:var(--red);}
.mega-left li.is-active{background:#ebebeb;color:var(--red);border-left-color:var(--red);}
.mega-left li.is-active i{color:var(--red);}
.mega-right{flex:1;padding:22px 32px 26px;overflow-y:auto;background:#fff;}
.mega-pane{display:none;} .mega-pane.is-active{display:block;}
.mega-pane h4{font-size:19px;font-weight:700;margin:0 0 16px;color:#1a1a1a;}
.mega-pane h4:not(:first-child){margin-top:30px;}
.mega-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:18px 14px;}
.mega-tile{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;color:#1a1a1a;}
.mega-tile .mt-img{width:100%;max-width:110px;aspect-ratio:1/1;border-radius:12px;background:#f4f4f4;display:flex;align-items:center;justify-content:center;overflow:hidden;}
.mega-tile .mt-img img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;}
.mega-tile.is-all .mt-img{color:#1a1a1a;}
.mega-tile .mt-name{font-size:15px;line-height:1.3;}
.mega-tile:hover .mt-name{color:var(--red);}
.mega-tile:hover .mt-img{background:#ececec;}

/* ---- Mobil menü düğmesi + çekmece ---- */
.menu-btn{display:none;width:42px;height:42px;border:0;background:transparent;border-radius:10px;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:0;flex-shrink:0;}
.menu-btn span{display:block;width:22px;height:2.5px;background:#1a1a1a;border-radius:2px;}
.top-actions .m-icon{display:none;}
.m-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);opacity:0;visibility:hidden;transition:opacity .25s,visibility 0s linear .25s;z-index:1900;}
.m-overlay.open{opacity:1;visibility:visible;transition-delay:0s;}
.m-drawer{position:fixed;top:0;left:0;bottom:0;width:100%;max-width:440px;background:#fff;z-index:2000;transform:translateX(-102%);transition:transform .28s ease;overflow:hidden;visibility:hidden;}
.m-drawer.open{transform:none;visibility:visible;}
.m-panels{position:relative;height:100%;}
.m-panel{position:absolute;inset:0;background:#fff;overflow-y:auto;-webkit-overflow-scrolling:touch;transform:translateX(100%);transition:transform .25s ease;}
.m-panel.is-active{transform:none;} .m-panel.is-past{transform:translateX(-30%);}
.m-head{position:sticky;top:0;z-index:2;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 16px;min-height:56px;border-bottom:1px solid #eee;}
.m-close,.m-back{background:none;border:0;font-size:22px;color:#1a1a1a;cursor:pointer;padding:6px;font-family:inherit;}
.m-back{font-size:16px;font-weight:600;display:flex;align-items:center;gap:6px;} .m-back span{font-size:26px;line-height:1;}
.m-logo img{height:34px;width:auto;display:block;}
.m-head-icons{display:flex;gap:16px;} .m-head-icons a{color:#1a1a1a;display:flex;}
.m-title{background:#f4f4f4;padding:14px 18px;font-weight:700;font-size:16px;border-bottom:1px solid #eee;}
.m-list{list-style:none;margin:0;padding:0;}
.m-list li{border-bottom:1px solid #eee;}
.m-row{display:flex;align-items:center;gap:14px;width:100%;padding:10px 18px;background:none;border:0;font-family:inherit;font-size:16px;color:#1a1a1a;text-align:left;cursor:pointer;min-height:64px;}
.m-row .m-name{flex:1;font-weight:500;}
.m-row i{font-style:normal;font-size:26px;color:#222;}
.m-img{width:52px;height:52px;border-radius:10px;background:#f4f4f4;display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0;}
.m-img img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;}
.m-emoji{font-size:24px;} .m-ic{width:52px;text-align:center;font-size:26px;}
.m-row.m-all .m-name{color:var(--red);font-weight:600;}
body.m-open{overflow:hidden;}

@media(max-width:1024px){
  .mega{display:none;}
  .menu-btn{display:flex;}
  .top-actions .hide-m,.top-actions .txt{display:none;}
  .top-actions .m-icon{display:inline;}
}
.badge-new{background:var(--red);color:#fff;font-size:11px;padding:2px 9px;border-radius:20px;font-weight:700;}

/* ---------- Hero Slider ---------- */
.hero{max-width:var(--container);margin:24px auto;padding:0 20px;}
.hero-wrap{position:relative;}
.hero-slide{background:#15151e;border-radius:18px;overflow:hidden;position:relative;min-height:420px;display:flex;align-items:center;padding:0 60px;color:#fff;}
.hero-slide.has-img{padding:0;min-height:unset;}
.hero-img{width:100%;height:auto;display:block;border-radius:18px;}
.hero-slide .hero-visual{flex:1;display:flex;align-items:center;gap:20px;}
.hero-slide .hero-content{flex:1;}
.hero-badge{display:inline-block;background:linear-gradient(135deg,#ffb800,#ff6a00);color:#fff;font-weight:800;padding:10px 20px;border-radius:8px;transform:rotate(-8deg);box-shadow:0 4px 14px rgba(0,0,0,.3);margin-bottom:20px;font-size:18px;}
.hero-content h2{font-size:52px;font-weight:800;margin-bottom:4px;}
.hero-content .sub{font-size:28px;color:#ccc;margin-bottom:24px;font-weight:500;}
.hero-discount{display:inline-flex;flex-direction:column;align-items:flex-start;}
.hero-discount .d-badge{background:var(--red);color:#fff;font-size:60px;font-weight:800;padding:4px 24px;border-radius:8px;line-height:1;}
.hero-discount .d-badge .pct{font-size:36px;vertical-align:top;}
.hero-discount .d-text{background:var(--red);color:#fff;font-size:56px;font-weight:800;padding:4px 20px;border-radius:8px;margin-top:8px;}
.hero-note{color:#ffb800;font-size:18px;margin-top:18px;}
.hero-nav{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.9);border:none;display:flex;align-items:center;justify-content:center;font-size:20px;color:#333;z-index:3;}
.hero-nav.prev{left:16px;} .hero-nav.next{right:16px;}
.hero-counter{position:absolute;bottom:16px;right:24px;background:rgba(0,0,0,.5);color:#fff;padding:4px 12px;border-radius:6px;font-size:13px;}

/* ---------- Bölüm başlığı ---------- */
.section{max-width:var(--container);margin:40px auto;padding:0 20px;}
.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;}
.section-head h2{font-size:26px;font-weight:700;color:#1a1a1a;}
.section-head .see-all{color:var(--red);font-weight:600;font-size:15px;display:flex;align-items:center;gap:4px;}

/* ---------- Kategori kartları ---------- */
.cat-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;}
.cat-card{text-align:center;}
.cat-card .img{background:var(--gray-bg);border-radius:14px;aspect-ratio:1;display:flex;align-items:center;justify-content:center;padding:18px;margin-bottom:12px;transition:.2s;}
.cat-card:hover .img{box-shadow:var(--shadow);}
.cat-card .name{font-size:17px;font-weight:600;color:#1a1a1a;}
.cat-row{display:flex;gap:14px;overflow-x:auto;padding-bottom:6px;}
.cat-row .cat-card{min-width:120px;}
.cat-row .cat-card .img{padding:12px;}
.cat-row .cat-card .name{font-size:13px;}

/* ---------- Marka logoları ---------- */
.brand-row{display:grid;grid-template-columns:repeat(9,1fr);gap:14px;}
.brand-card{border:1px solid var(--border);border-radius:14px;aspect-ratio:1.6;display:flex;align-items:center;justify-content:center;padding:20px;transition:.2s;background:#fff;}
.brand-card:hover{box-shadow:var(--shadow);border-color:#ddd;}
.brand-card img{max-height:60px;object-fit:contain;}

/* ---------- Ürün kartı ---------- */
.product-row{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;}
.product-card{border:1px solid var(--border);border-radius:14px;padding:16px;position:relative;background:#fff;transition:.2s;display:flex;flex-direction:column;}
.product-card:hover{box-shadow:0 4px 20px rgba(0,0,0,.08);}
.product-card .fav{position:absolute;top:14px;right:14px;width:34px;height:34px;border-radius:50%;background:#fff;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;color:#bbb;z-index:2;font-size:16px;}
.product-card .fav.active{color:var(--red);border-color:var(--red);}
.product-card .badge-sat{position:absolute;top:0;left:0;background:#ff6a00;color:#fff;font-weight:700;border-radius:50%;width:56px;height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:13px;line-height:1.1;text-align:center;margin:10px;z-index:2;}
.product-card .badge-count{position:absolute;top:14px;left:14px;background:var(--red);color:#fff;font-size:11px;font-weight:700;padding:3px 8px;border-radius:6px;z-index:2;}
.product-card .p-img{aspect-ratio:1;display:flex;align-items:center;justify-content:center;padding:10px;margin-bottom:12px;}
.product-card .p-img img{max-height:100%;object-fit:contain;}
.product-card .p-name{font-size:14px;color:#333;line-height:1.4;margin-bottom:10px;min-height:40px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.product-card .p-rating{display:flex;align-items:center;gap:6px;margin-bottom:8px;font-size:13px;}
.product-card .p-rating .count{color:var(--muted);}
.product-card .p-old{color:var(--muted);text-decoration:line-through;font-size:13px;}
.product-card .p-sepette{color:var(--green);font-size:12px;font-weight:500;}
.product-card .p-price{color:var(--green);font-size:20px;font-weight:700;margin-top:auto;}
.product-card .add-cart{width:40px;height:40px;border-radius:50%;border:1px solid var(--border);background:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;color:#333;position:absolute;bottom:16px;right:16px;}
.product-card .add-cart:hover{background:var(--red);color:#fff;border-color:var(--red);}
.product-card.with-btn{padding-bottom:16px;}
.product-card .add-cart-full{width:100%;margin-top:12px;border:1px solid var(--border);background:#fff;padding:11px;border-radius:10px;font-weight:600;color:#333;display:flex;align-items:center;justify-content:center;gap:8px;}
.product-card .add-cart-full:hover{background:var(--red);color:#fff;border-color:var(--red);}
.product-card .low-price{color:var(--red);font-size:12px;margin-top:4px;}

.stars{color:var(--yellow);letter-spacing:1px;}
.stars .star-empty{color:#ddd;}

.tag-hizli{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px;}
.tag-hizli .t1{background:#15803d;color:#fff;font-size:11px;line-height:1.3;padding:3px 8px;border-radius:5px;white-space:nowrap;}
.tag-hizli .t2{background:#f0f0f0;color:#333;font-size:11px;line-height:1.3;padding:3px 8px;border-radius:5px;white-space:nowrap;}
.product-card .p-name{min-height:40px;}
.product-card .p-price{padding-right:50px;}   /* sepet butonunun altında kalmasın */
.product-card .low-price{padding-right:50px;}

/* ---------- Scroll carousel ---------- */
.scroll-row{display:flex;gap:16px;overflow-x:auto;padding-bottom:8px;scroll-behavior:smooth;}
.scroll-row .product-card{min-width:280px;max-width:280px;}
.carousel{position:relative;}
.carousel-nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.15);border:none;display:flex;align-items:center;justify-content:center;font-size:18px;z-index:5;}
.carousel-nav.next{right:-10px;} .carousel-nav.prev{left:-10px;}

/* ---------- Footer ---------- */
.footer{background:var(--gray-bg);padding:50px 20px 0;margin-top:60px;}
.footer-inner{max-width:var(--container);margin:0 auto;}
.footer-cols{display:grid;grid-template-columns:1fr 1.2fr 1.4fr;gap:40px;padding-bottom:40px;}
.footer-cols h4{font-size:18px;font-weight:700;margin-bottom:18px;}
.footer-cols ul li{margin-bottom:12px;}
.footer-cols ul li a{color:#444;font-size:14px;}
.footer-cols ul li a:hover{color:var(--red);}
.footer-wa{display:flex;align-items:center;gap:12px;background:#25d366;color:#fff;border-radius:12px;padding:12px 18px;margin-bottom:12px;max-width:290px;box-shadow:0 4px 14px rgba(37,211,102,.3);transition:.2s;}
.footer-wa:hover{background:#1ebe5a;transform:translateY(-1px);}
.footer-wa span{display:flex;flex-direction:column;line-height:1.25;} .footer-wa b{font-size:15px;} .footer-wa small{font-size:11px;opacity:.9;}
.footer-phone{font-size:24px;font-weight:800;color:var(--red);margin-bottom:4px;}
.btn-support{background:var(--red);color:#fff;padding:12px 22px;border-radius:10px;font-weight:600;display:inline-block;margin-top:14px;}
.footer-bottom{border-top:1px solid #e2e2e2;padding:24px 0;display:flex;justify-content:space-between;flex-wrap:wrap;gap:30px;align-items:center;}
.pay-icons,.trust-icons,.social-icons{display:flex;gap:10px;align-items:center;}
.pay-icons img,.trust-icons img{height:44px;border:1px solid var(--border);border-radius:8px;padding:6px;background:#fff;}
.social-icons a{width:44px;height:44px;border-radius:10px;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:18px;color:#333;}
.copyright{background:#1a1a1a;color:#aaa;text-align:center;padding:16px;margin-top:20px;font-size:13px;}
.copyright .heart{color:var(--red);}

/* ---------- Butonlar ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 24px;border-radius:10px;font-weight:600;border:none;font-size:15px;transition:.2s;}
.btn-red{background:var(--red);color:#fff;} .btn-red:hover{background:var(--red-dark);}
.btn-dark{background:#1a1a1a;color:#fff;}
.btn-outline{background:#fff;border:1px solid var(--border);color:#333;}
.btn-block{width:100%;}
.btn-lg{padding:16px 28px;font-size:16px;}

/* ---------- Form ---------- */
.input{width:100%;padding:14px 16px;border:1px solid var(--border);border-radius:10px;font-size:14px;transition:.2s;}
.input:focus{outline:none;border-color:var(--red);}
.form-label{font-weight:600;font-size:13px;margin-bottom:6px;display:block;}

/* ---------- Breadcrumb ---------- */
.breadcrumb{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;padding:16px 0;flex-wrap:wrap;}
.breadcrumb a:hover{color:var(--red);}
.breadcrumb .sep{color:#ccc;}

/* ---------- Responsive ---------- */
@media(max-width:1400px){
  .cat-grid,.product-row{grid-template-columns:repeat(4,1fr);}
  .brand-row{grid-template-columns:repeat(6,1fr);}
}
@media(max-width:1024px){
  .mainmenu-inner{gap:22px;overflow-x:auto;}
  .footer-cols{grid-template-columns:1fr 1fr;}
  .top-actions{gap:8px;}
  .top-actions a span:not(.icon):not(.cart-count){display:none;}
  .top-actions a{padding:8px;} .top-actions .cart-btn{padding:8px 12px;}
}
@media(max-width:768px){
  .cat-grid,.product-row{grid-template-columns:repeat(2,1fr);}
  .brand-row{grid-template-columns:repeat(3,1fr);}
  .topbar-inner{flex-wrap:wrap;gap:8px 6px;align-items:center;}
  .topbar-inner .logo{flex:1;min-width:0;} .topbar-inner .logo img{height:38px;width:auto;max-width:100%;}
  .search-wrap{order:3;flex-basis:100%;}
  .hero-content h2{font-size:32px;}
  .hero-slide{padding:0 24px;min-height:300px;}
  .footer-cols{grid-template-columns:1fr;}
}

/* Üst kampanya şeridi */
.promo-strip{background:#1a1a1a;color:#fff;font-size:13px;text-align:center;padding:8px 16px;display:flex;gap:28px;justify-content:center;flex-wrap:wrap;}
.promo-strip b{color:#ffd400;}
.m-all-ic{background:transparent;color:var(--red);}

/* ---- Adet kutusu (sepet + ürün) ---- */
/* --- Qty-box (adet seçici) --- */
.qty-box{display:inline-flex !important;align-items:center;border:2px solid #ddd;border-radius:12px;overflow:hidden;background:#fff;transition:border-color .2s;flex-shrink:0;height:48px;}
.qty-box:hover,.qty-box:focus-within{border-color:var(--red);}
.qty-box button{width:46px;height:100%;border:none;background:#fff;font-size:22px;font-weight:700;color:#555;cursor:pointer;transition:background .15s,color .15s;display:flex;align-items:center;justify-content:center;flex-shrink:0;line-height:1;padding:0;}
.qty-box button:hover{background:var(--red);color:#fff;}
.qty-box button:active{background:var(--red-dark);color:#fff;}
.qty-box input{width:56px;height:100%;text-align:center;border:none;border-left:1.5px solid #e8e8e8;border-right:1.5px solid #e8e8e8;font-size:17px;font-weight:700;color:var(--text);background:#fafafa;outline:none;-moz-appearance:textfield;padding:0;margin:0;}
.qty-box input::-webkit-outer-spin-button,.qty-box input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}
/* Sticky bar içindeki küçük qty-box */
.pd-sticky .qty-box{height:42px;border-radius:10px;}
.pd-sticky .qty-box button{width:38px;font-size:18px;}
.pd-sticky .qty-box input{width:44px;font-size:15px;}
