html,body{height:100%;margin:0}
body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;color:#111;background:#fff}
a{color:inherit}
img{max-width:100%;display:block}
.no-scroll{overflow:hidden}

/* Topbar */
.topbar{position:fixed;top:0;left:0;right:0;z-index:20;background:rgba(255,255,255,.88);backdrop-filter: blur(10px);border-bottom:1px solid rgba(0,0,0,.06)}
.topbar .inner{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;gap:14px}
.logo{font-weight:600;letter-spacing:.18em;text-decoration:none}
.nav-right{display:flex;gap:14px;align-items:center;font-size:.95rem}
.nav-right a{text-decoration:none;opacity:.9}
.nav-right a:hover{opacity:1}
.lang a{text-decoration:none;opacity:.6}
.lang a.active{opacity:1;font-weight:600}

/* Drawer menu */
.menu-btn{width:40px;height:40px;display:flex;flex-direction:column;justify-content:center;gap:6px;background:transparent;border:0;cursor:pointer;padding:0}
.menu-btn span{display:block;width:22px;height:2px;background:#000;border-radius:2px}
.menu-overlay{position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:19}
.menu-drawer{position:fixed;top:0;left:0;height:100vh;width:min(380px,92vw);background:#fff;z-index:20;transform:translateX(-105%);transition:transform .28s ease;border-right:1px solid rgba(0,0,0,.08);padding:16px;overflow:auto}
.menu-drawer.open{transform:translateX(0)}
.menu-head{display:flex;align-items:center;justify-content:space-between;padding:6px 4px 14px}
.menu-title{font-weight:600;letter-spacing:.08em}
.menu-close{border:0;background:transparent;font-size:18px;cursor:pointer;padding:8px;border-radius:10px}
.menu-close:hover{background:#f3f3f3}
.menu-section-title{margin-top:12px;padding:10px 6px 6px;font-size:12px;letter-spacing:.6px;text-transform:uppercase;opacity:.65}

/* ===========================
   MENU - TEK STANDART (a + summary aynı)
   Hakkımızda / İletişim / Bilgi Sayfaları hepsi aynı görünür
   =========================== */
.menu-drawer .menu-links a,
.menu-drawer .menu-links details > summary{
  display:block;
  width:100%;
  box-sizing:border-box;

  padding:12px 10px;
  margin:6px 0;

  background:#fafafa;
  border:1px solid #f0f0f0;
  border-radius:14px;

  text-decoration:none;
  color:inherit;
  font:inherit;
}

.menu-drawer .menu-links a:hover,
.menu-drawer .menu-links details > summary:hover{
  background:#f6f6f6;
}

/* Summary default marker kaldır */
.menu-drawer .menu-links details > summary{
  list-style:none;
  cursor:pointer;
  user-select:none;
}
.menu-drawer .menu-links details > summary::-webkit-details-marker{display:none}

/* Sağda ok */
.menu-drawer .menu-links details > summary::after{
  content:"▾";
  float:right;
  opacity:.7;
  transition:transform .18s ease;
}
.menu-drawer .menu-links details[open] > summary::after{
  transform:rotate(180deg);
}

/* Açılan alt liste: aşağı doğru ve içeriden */
.menu-drawer .menu-links details .submenu{
  margin:8px 0 6px;
  padding-left:14px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

/* Alt sayfa linkleri: küçük kart */
.menu-drawer .menu-links details .submenu a{
  margin:0;
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:14px;
  padding:10px 12px;
  font-size:14px;
  text-decoration:none;
  color:inherit;
}
.menu-drawer .menu-links details .submenu a:hover{
  background:rgba(0,0,0,.02);
}

/* Page container */
.page{padding:110px 18px 52px;max-width:1180px;margin:0 auto}
.page-title{margin:0 0 18px;font-size:36px;letter-spacing:.2px}
.breadcrumb{display:flex;gap:8px;align-items:center;font-size:12px;letter-spacing:.06em;text-transform:uppercase;opacity:.7;margin:0 0 14px;flex-wrap:wrap}
.breadcrumb a{text-decoration:none;opacity:.85}
.breadcrumb a:hover{opacity:1}
.breadcrumb span{opacity:.55}

/* Page transitions */
.page-enter{animation:slideIn .38s cubic-bezier(.22,.61,.36,1)}
.page-exit{animation:slideOut .22s ease forwards}
@keyframes slideIn{from{opacity:.0;transform:translateX(14px)}to{opacity:1;transform:translateX(0)}}
@keyframes slideOut{from{opacity:1;transform:translateX(0)}to{opacity:.0;transform:translateX(-12px)}}

/* Buttons */
.btn-pill{border:0;border-radius:999px;padding:12px 16px;font-size:13px;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
.btn-dark{background:#111;color:#fff}
.btn-ghost{background:#fff;border:1px solid rgba(0,0,0,.18)}
.btn-icon{width:44px;height:44px;border-radius:999px;border:1px solid rgba(0,0,0,.14);background:#fff;cursor:pointer}
.btn-icon:hover,.btn-ghost:hover{background:#f6f6f6}
.btn-pill:active,.btn-icon:active{transform:translateY(1px)}

/* Homepage hero slider (Swiper) */
.hero-slide{position:relative;height:100vh;overflow:hidden}
.hero-slide .bg{position:absolute;inset:0;background-size:cover;background-position:center;transform:scale(1.06);transition:transform 1200ms cubic-bezier(.22,.61,.36,1)}
.hero-slide .overlay{position:absolute;inset:0;background:rgba(255,255,255,0.10)}
.hero-slide .content{position:absolute;left:6vw;bottom:16vh;max-width:520px;color:#111}
.hero-slide .kicker{letter-spacing:.08em;text-transform:uppercase;font-size:.9rem;opacity:.85}
.hero-slide .title{font-size:2.4rem;line-height:1.1;margin:.35rem 0 1rem}
.btn-outline-lightish{display:inline-block;padding:.85rem 1.2rem;border:1px solid rgba(0,0,0,.35);color:#111;text-decoration:none;background:rgba(255,255,255,.25);backdrop-filter: blur(4px);border-radius:999px}
.swiper{height:100vh}
.swiper-pagination{right:22px !important}
.swiper-pagination-bullet{width:7px;height:7px;background:rgba(0,0,0,.25);opacity:1;margin:10px 0 !important}
.swiper-pagination-bullet-active{background:rgba(0,0,0,.85)}
.swiper .swiper-wrapper{transition-timing-function:cubic-bezier(.22,.61,.36,1) !important}

/* Product grid */
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.product-card{border:1px solid rgba(0,0,0,.08);border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 10px 24px rgba(0,0,0,.04);transition:transform .25s ease, box-shadow .25s ease}
.product-card:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(0,0,0,.07)}
.product-media{position:relative;display:block;text-decoration:none}
.product-media img{width:100%;height:300px;object-fit:cover;transform:scale(1.00);transition:transform .55s cubic-bezier(.22,.61,.36,1)}
.product-card:hover .product-media img{transform:scale(1.07)}
.product-thumbs{position:absolute;left:10px;right:10px;bottom:10px;display:flex;gap:8px;opacity:0;transform:translateY(6px);transition:opacity .2s ease, transform .2s ease}
.product-card:hover .product-thumbs{opacity:1;transform:translateY(0)}
.product-thumbs .thumb{width:42px;height:42px;border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,.55);background:rgba(255,255,255,.55);backdrop-filter: blur(6px)}
.product-thumbs img{width:100%;height:100%;object-fit:cover}
.product-info{padding:12px 12px 14px}
.product-name{font-weight:600;font-size:13px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:6px}
.product-name a{text-decoration:none}
.product-price{font-weight:600;margin-bottom:10px}
.product-actions{display:flex;gap:10px;align-items:center}
.product-actions form{flex:1}
.product-actions .btn-pill{width:100%;padding:12px 14px}

/* Product detail page */
.product-page{display:grid;grid-template-columns:1.15fr 0.85fr;gap:26px;align-items:start}
.product-gallery .product-main{border-radius:22px;overflow:hidden;background:#f5f5f5;border:1px solid rgba(0,0,0,.06)}
.product-gallery .product-main img{width:100%;height:min(68vh,640px);object-fit:cover}
.product-thumb-row{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}
.thumb-btn{border:1px solid rgba(0,0,0,.10);background:#fff;border-radius:16px;overflow:hidden;padding:0;cursor:pointer;width:92px;height:92px}
.thumb-btn img{width:100%;height:100%;object-fit:cover}
.thumb-btn.is-active{border-color:#111}
.product-details{padding-top:6px}
.product-title{margin:0 0 10px;font-size:34px;letter-spacing:.08em;text-transform:uppercase}
.product-price-big{font-size:22px;font-weight:700;margin-bottom:14px}
.product-desc{opacity:.9;line-height:1.6}
.product-buy{margin-top:18px;display:flex;gap:10px;align-items:end;flex-wrap:wrap}
.qty{display:flex;flex-direction:column;gap:6px}
.qty span{font-size:12px;letter-spacing:.08em;text-transform:uppercase;opacity:.7}
.qty input{width:90px;border:1px solid rgba(0,0,0,.18);border-radius:14px;padding:12px 12px;font-size:14px}
.product-meta{margin-top:18px;border-top:1px solid rgba(0,0,0,.08);padding-top:14px;display:grid;gap:8px;font-size:13px;opacity:.85}
.product-meta span{opacity:.65}

/* Responsive */
@media (max-width: 1080px){
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .product-media img{height:280px}
}

@media (max-width: 860px){
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-page{grid-template-columns:1fr;gap:18px}
  .product-gallery .product-main img{height:56vh}
}
@media (max-width: 520px){
  .product-grid{grid-template-columns:repeat(1,minmax(0,1fr))}
  .page-title{font-size:28px}
  .product-title{font-size:28px}
  .product-media img{height:320px}
}

/* --- Shop UI helpers (cart/checkout) --- */
.card{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:16px}
.form-label{display:block;font-size:13px;opacity:.75;margin:0 0 6px}
.form-control{width:100%;border:1px solid rgba(0,0,0,.14);border-radius:12px;padding:10px 12px;font:inherit;background:#fff}
.form-control:focus{outline:none;border-color:rgba(0,0,0,.35)}
.muted{opacity:.7}
.error-box{border:1px solid rgba(255,0,0,.25);background:rgba(255,0,0,.03);border-radius:16px;padding:12px}

/* =========================
   SHOP / CART / CHECKOUT (SCOPED)
   Only affects pages that use .shop-wrap
   ========================= */
.shop-wrap{ width:100%; }

.shop-wrap .panel-title{
  margin: 0 0 18px;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.shop-wrap .panel{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  padding:18px;
  box-shadow:0 6px 24px rgba(0,0,0,.03);
}

.shop-wrap .shop-grid{
  display:grid;
  grid-template-columns: minmax(0,1fr) 420px;
  gap:18px;
  align-items:start;
}

@media (max-width: 980px){
  .shop-wrap .shop-grid{ grid-template-columns:1fr; }
}

.shop-wrap .form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
@media (max-width: 640px){
  .shop-wrap .form-grid{ grid-template-columns:1fr; }
}

/* Form styles only inside shop */
.shop-wrap .form-label{
  display:block;
  font-size:13px;
  color: rgba(0,0,0,.55);
  margin:0 0 8px;
}

.shop-wrap .form-control{
  width:100%;
  border:1px solid rgba(0,0,0,.12);
  border-radius:12px;
  padding:12px 12px;
  font:inherit;
  background:#fff;
  transition:border-color .15s ease, box-shadow .15s ease;
}

.shop-wrap .form-control:focus{
  outline:none;
  border-color: rgba(0,0,0,.35);
  box-shadow: 0 0 0 4px rgba(0,0,0,.06);
}

.shop-wrap textarea.form-control{
  resize:vertical;
  min-height:96px;
}

.shop-wrap .cart-list{
  display:grid;
  gap:10px;
}

.shop-wrap .sum-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:12px;
  border-top:1px solid rgba(0,0,0,.08);
}

/* Small info boxes in aside */
.shop-wrap .soft-box{
  margin-top:12px;
  padding:12px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  background: rgba(0,0,0,.02);
}

/* Error box only in shop */
.shop-wrap .error-box{
  background: rgba(255,0,0,.03);
  border: 1px solid rgba(255,0,0,.15);
  padding: 12px 14px;
  border-radius: 14px;
}
.topbar-spacer{height:110px}
@media (max-width:768px){.topbar-spacer{height:95px}}

.site-footer{
  width:100%;
  text-align:center;
}

/* Bilgi sayfaları (page.php) için şık okuma modu */
.page-legal{
  max-width: 880px;
  margin: 0 auto;
  padding: 34px 18px 70px;
}

.page-legal h1{
  margin: 14px 0 18px;
  text-align: center;
  font-size: 28px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.page-legal .content{
  font-size: 16px;
  line-height: 1.85;
  color: rgba(0,0,0,.84);
}

.page-legal .content p{ margin: 0 0 14px; }

.page-legal .content ul,
.page-legal .content ol{
  margin: 10px 0 16px 18px;
  padding: 0;
}
.page-legal .content li{ margin: 8px 0; }

@media (max-width: 520px){
  .page-legal h1{ font-size: 22px; }
  .page-legal .content{ font-size: 15px; }
}
.page-legal .content{
  white-space: normal;
}
.page-legal .content br{ line-height: 2; }

/* Fixed topbar offset – tüm sayfalar için */
.page,
.static-wrap,
.page-legal{
  padding-top: 140px;
}

@media (max-width:768px){
  .page,
  .static-wrap,
  .page-legal{
    padding-top: 120px;
  }
}
