:root{
  --bg:#ffffff;
  --soft:#f7f7f5;
  --soft2:#efeee9;
  --dark:#111111;
  --gray:#252525;
  --muted:#6b6b6b;
  --line:#e5e1da;
  --card:#ffffff;
  --accent:#8e6b3d;
  --accent-light:#b6915d;
  --accent-soft:rgba(142,107,61,.12);
  --success:#16743d;
  --danger:#9c2525;
  --shadow:0 18px 42px rgba(17,17,17,.08);
  --shadow-soft:0 10px 24px rgba(17,17,17,.05);
  --radius:22px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Inter,Montserrat,system-ui,-apple-system,Segoe UI,Arial,sans-serif;
  background:var(--bg);
  color:var(--dark);
  line-height:1.65;
  letter-spacing:-.01em;
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  max-width:100%;
  display:block;
}

button,
input,
textarea,
select{
  font:inherit;
}

.container{
  width:min(1220px,92%);
  margin:auto;
}

/* HEADER */

.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(17,17,17,.96);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.nav-wrap{
  height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:#ffffff;
  font-family:Montserrat,Inter,sans-serif;
  font-size:24px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.brand-logo{
  width:40px;
  height:40px;
  object-fit:contain;
}

.main-nav{
  display:flex;
  align-items:center;
  gap:24px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.main-nav a{
  color:rgba(255,255,255,.78);
  position:relative;
  transition:.2s ease;
}

.main-nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:0;
  height:2px;
  background:var(--accent-light);
  transition:.22s ease;
}

.main-nav a:hover,
.main-nav a.active{
  color:#ffffff;
}

.main-nav a:hover::after,
.main-nav a.active::after{
  width:100%;
}

.cart-link span{
  display:inline-grid;
  place-items:center;
  min-width:22px;
  height:22px;
  padding:0 6px;
  margin-left:4px;
  border-radius:999px;
  background:#ffffff;
  color:#111111;
  font-size:11px;
  font-weight:900;
}

.menu-toggle{
  display:none;
  background:transparent;
  border:1px solid rgba(255,255,255,.16);
  color:#ffffff;
  border-radius:12px;
  padding:9px 12px;
  cursor:pointer;
  font-size:18px;
}

/* BUTTONS */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:46px;
  padding:12px 24px;
  border-radius:999px;
  border:1px solid transparent;
  font-size:12px;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
  cursor:pointer;
  transition:.22s ease;
  white-space:nowrap;
}

.btn.primary{
  background:#111111;
  color:#ffffff;
  border-color:#111111;
}

.btn.primary:hover{
  background:var(--accent);
  border-color:var(--accent);
  transform:translateY(-2px);
  box-shadow:var(--shadow);
}

.btn.ghost{
  background:#ffffff;
  color:#111111;
  border-color:var(--line);
}

.btn.ghost:hover{
  border-color:#111111;
  transform:translateY(-2px);
}

.btn.small{
  min-height:40px;
  width:100%;
  padding:10px 14px;
  font-size:11px;
}

/* HERO - DİĞER SAYFALARDA KULLANILIRSA */

.hero{
  background:
    radial-gradient(circle at 82% 18%, rgba(182,145,93,.13), transparent 28%),
    linear-gradient(180deg,#ffffff 0%,#f5f5f3 100%);
  border-bottom:1px solid var(--line);
  padding:76px 0 70px;
}

.hero-inner{
  display:grid;
  grid-template-columns:1.02fr .98fr;
  align-items:center;
  gap:50px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
  color:var(--accent);
  font-size:11px;
  font-weight:900;
  letter-spacing:.26em;
  text-transform:uppercase;
}

.eyebrow::before{
  content:"";
  width:38px;
  height:1px;
  background:var(--accent);
}

.hero h1,
.page h1,
.section h2{
  font-family:Montserrat,Inter,sans-serif;
  color:#111111;
  line-height:1.04;
  letter-spacing:-.055em;
  font-weight:900;
}

.hero h1{
  margin:0;
  font-size:clamp(44px,6vw,76px);
}

.hero p{
  max-width:590px;
  margin:22px 0 0;
  color:var(--muted);
  font-size:16px;
  line-height:1.8;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:30px;
}

.hero-card{
  overflow:hidden;
  border-radius:34px;
  background:#ffffff;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  padding:22px;
}

.hero-card img{
  width:100%;
  border-radius:26px;
  background:
    radial-gradient(circle at 50% 40%, rgba(182,145,93,.14), transparent 32%),
    linear-gradient(135deg,#f7f7f5,#e9e6df);
}

/* TRUST */

.trust-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:28px;
}

.trust-row > div{
  min-height:110px;
  padding:22px;
  border-radius:22px;
  background:#111111;
  color:#ffffff;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 18px 38px rgba(17,17,17,.14);
}

.trust-row strong{
  display:block;
  margin-bottom:7px;
  font-size:13px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.trust-row span{
  color:rgba(255,255,255,.67);
  font-size:14px;
}

.trust-row.inline{
  margin-top:20px;
}

/* SECTIONS */

.section{
  padding:72px 0;
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:26px;
  margin-bottom:30px;
}

.section-head h2{
  margin:0;
  font-size:clamp(30px,4vw,48px);
}

.section-head p{
  max-width:560px;
  margin:10px 0 0;
  color:var(--muted);
  font-size:15px;
  line-height:1.75;
}

.section-head span,
.section-label{
  display:block;
  margin-bottom:10px;
  color:var(--accent);
  font-size:11px;
  font-weight:900;
  letter-spacing:.25em;
  text-transform:uppercase;
}

/* CATEGORY */

.category-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.category-card{
  position:relative;
  min-height:210px;
  overflow:hidden;
  border-radius:26px;
  background:#111111;
  color:#ffffff;
  padding:24px;
  display:flex;
  align-items:flex-end;
  box-shadow:var(--shadow-soft);
  transition:.25s ease;
}

.category-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 76% 16%, rgba(182,145,93,.34), transparent 25%),
    linear-gradient(135deg,#111111,#242424 64%,#3a3026);
  transition:.25s ease;
}

.category-card::after{
  content:"";
  position:absolute;
  right:22px;
  top:22px;
  width:36px;
  height:2px;
  background:var(--accent-light);
}

.category-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow);
}

.category-card:hover::before{
  transform:scale(1.06);
}

.category-card span,
.category-card strong{
  position:relative;
  z-index:2;
  display:block;
  font-family:Montserrat,Inter,sans-serif;
  font-size:26px;
  line-height:1;
  font-weight:900;
  letter-spacing:-.04em;
}

/* PRODUCTS */

.product-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.product-slider{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:278px;
  gap:18px;
  overflow-x:auto;
  padding:4px 2px 18px;
  scroll-snap-type:x mandatory;
  scrollbar-width:thin;
}

.product-card{
  overflow:hidden;
  border-radius:24px;
  background:#ffffff;
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
  scroll-snap-align:start;
  transition:.22s ease;
}

.product-card:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadow);
  border-color:#d5cec2;
}

.product-image{
  position:relative;
  display:grid;
  place-items:center;
  aspect-ratio:1/1;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(182,145,93,.12), transparent 30%),
    linear-gradient(135deg,#f8f8f6,#ebe8e1);
}

.product-image img{
  width:86%;
  height:86%;
  object-fit:contain;
  transition:.28s ease;
}

.product-card:hover .product-image img{
  transform:scale(1.045);
}

.product-badge{
  position:absolute;
  left:14px;
  top:14px;
  z-index:3;
  padding:7px 11px;
  border-radius:999px;
  background:#ffffff;
  color:var(--accent);
  border:1px solid var(--line);
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.product-info{
  padding:17px;
}

.product-title{
  display:block;
  min-height:44px;
  margin-bottom:12px;
  color:#111111;
  font-size:14px;
  font-weight:800;
  line-height:1.45;
  letter-spacing:-.02em;
}

.product-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:15px;
}

.product-meta strong,
.price{
  color:#111111;
  font-size:18px;
  font-weight:900;
}

.product-meta span{
  color:#858585;
  font-size:12px;
  font-weight:700;
}

.product-btn,
.product-card button,
.product-info button{
  width:100%;
  min-height:42px;
  border:0;
  border-radius:999px;
  background:#111111;
  color:#ffffff;
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  cursor:pointer;
  transition:.2s ease;
}

.product-btn:hover,
.product-card button:hover,
.product-info button:hover{
  background:var(--accent);
  transform:translateY(-1px);
}

.inline-form{
  margin:0;
}

.slider-buttons{
  display:flex;
  gap:9px;
}

.slider-buttons button{
  width:44px;
  height:44px;
  border-radius:50%;
  border:1px solid var(--line);
  background:#ffffff;
  color:#111111;
  font-size:27px;
  line-height:1;
  cursor:pointer;
  transition:.2s ease;
}

.slider-buttons button:hover{
  background:#111111;
  color:#ffffff;
  border-color:#111111;
}

/* ABOUT */

.about-strip{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:34px;
  align-items:center;
  margin-bottom:72px;
  padding:42px;
  border-radius:32px;
  background:#111111;
  color:#ffffff;
  overflow:hidden;
  position:relative;
}

.about-strip::after{
  content:"";
  position:absolute;
  width:310px;
  height:310px;
  right:-110px;
  top:-110px;
  border-radius:50%;
  background:rgba(182,145,93,.18);
}

.about-strip h2{
  margin:0 0 14px;
  color:#ffffff;
  font-family:Montserrat,Inter,sans-serif;
  font-size:clamp(30px,4vw,48px);
  line-height:1.04;
  letter-spacing:-.055em;
  font-weight:900;
}

.about-strip p{
  max-width:690px;
  margin:0;
  color:rgba(255,255,255,.68);
  line-height:1.8;
}

.about-links{
  position:relative;
  z-index:2;
  display:grid;
  gap:10px;
}

.about-links a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:52px;
  padding:0 18px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:#ffffff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  transition:.2s ease;
}

.about-links a:hover{
  background:var(--accent);
}

/* PAGE */

.page{
  padding:54px 0 82px;
  background:#ffffff;
}

.page-head{
  display:flex;
  justify-content:space-between;
  gap:22px;
  align-items:flex-end;
  margin-bottom:30px;
}

.page h1{
  margin:0 0 12px;
  font-size:clamp(38px,4.8vw,58px);
}

.page p{
  color:var(--muted);
  line-height:1.75;
}

.sort-box{
  display:flex;
  align-items:center;
  gap:10px;
  background:#ffffff;
  border:1px solid var(--line);
  padding:12px 14px;
  border-radius:999px;
  box-shadow:var(--shadow-soft);
}

input,
textarea,
select{
  width:100%;
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px 14px;
  background:#ffffff;
  color:#111111;
  outline:none;
}

input:focus,
textarea:focus,
select:focus{
  border-color:var(--accent);
  box-shadow:0 0 0 4px var(--accent-soft);
}

/* DETAIL */

.product-detail{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:42px;
  align-items:start;
}

.detail-main-img{
  border-radius:28px;
  background:
    radial-gradient(circle at 50% 40%, rgba(182,145,93,.12), transparent 30%),
    linear-gradient(135deg,#f8f8f6,#ebe8e1);
  border:1px solid var(--line);
}

.thumbs{
  display:flex;
  gap:10px;
  margin-top:12px;
}

.thumbs img{
  width:70px;
  height:70px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid var(--line);
  cursor:pointer;
  background:#f5f4f1;
}

.price.big{
  font-size:34px;
  font-weight:900;
  margin:18px 0;
  color:#111111;
}

.stock.in{
  color:var(--success);
  font-weight:900;
}

.stock.out{
  color:var(--danger);
  font-weight:900;
}

.buy-box{
  display:flex;
  gap:12px;
  align-items:flex-end;
  margin-top:24px;
}

.buy-box label{
  max-width:120px;
}

/* CARDS / TABLES */

.cart-table-wrap,
.table-card,
.auth-card,
.order-summary,
.account-card,
.settings-card,
.checkout-form{
  background:#ffffff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:22px;
  box-shadow:var(--shadow-soft);
}

.cart-table,
.admin-table{
  width:100%;
  border-collapse:collapse;
}

.cart-table th,
.cart-table td,
.admin-table th,
.admin-table td{
  padding:14px;
  border-bottom:1px solid var(--line);
  text-align:left;
  vertical-align:middle;
}

.cart-product{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
}

.cart-product img{
  width:58px;
  height:58px;
  object-fit:cover;
  border-radius:14px;
  background:#f5f4f1;
}

.cart-summary{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:14px;
  margin-top:22px;
  flex-wrap:wrap;
}

.link-button{
  background:transparent;
  border:0;
  color:var(--danger);
  font-weight:900;
  cursor:pointer;
}

.empty-box{
  background:#ffffff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:36px;
  box-shadow:var(--shadow-soft);
}

/* AUTH */

.auth-page{
  min-height:70vh;
  display:grid;
  place-items:center;
  padding:58px 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(182,145,93,.12), transparent 26%),
    linear-gradient(180deg,#ffffff,#f7f7f5);
}

.auth-card{
  width:min(460px,100%);
  display:grid;
  gap:14px;
}

.auth-card.wide{
  width:100%;
}

.auth-card h1{
  margin:0 0 10px;
  font-family:Montserrat,Inter,sans-serif;
  font-size:38px;
  font-weight:900;
  letter-spacing:-.045em;
}

/* CHECKOUT / CONTACT / ACCOUNT */

.checkout-grid,
.contact-grid,
.account-grid{
  display:grid;
  grid-template-columns:1.35fr .85fr;
  gap:28px;
}

.checkout-form{
  display:grid;
  gap:14px;
}

.order-summary{
  height:max-content;
}

.order-summary div{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin:12px 0;
}

.total{
  font-size:20px;
}

.social-box{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.social-box a{
  background:#ffffff;
  border:1px solid var(--line);
  border-radius:999px;
  padding:12px 18px;
  font-weight:900;
  transition:.2s ease;
}

.social-box a:hover{
  background:#111111;
  color:#ffffff;
  border-color:#111111;
}

.text-page{
  max-width:850px;
}

.faq{
  background:#ffffff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:20px;
  margin:14px 0;
  box-shadow:var(--shadow-soft);
}

.account-menu{
  background:#111111;
  color:#ffffff;
  border-radius:24px;
  padding:18px;
  height:max-content;
}

.account-menu a{
  display:block;
  padding:13px;
  border-radius:14px;
  color:rgba(255,255,255,.78);
}

.account-menu a:hover{
  background:rgba(255,255,255,.1);
  color:#ffffff;
}

.payment-frame{
  background:#ffffff;
  border-radius:24px;
  padding:12px;
}

/* ALERTS */

.alert{
  padding:14px 18px;
  border-radius:16px;
  margin-top:18px;
  font-weight:800;
}

.alert.success{
  background:#eaf8ef;
  color:#176b36;
}

.alert.error{
  background:#ffecec;
  color:#9c2525;
}

/* FOOTER */

.site-footer{
  background:#0d0d0d;
  color:#ffffff;
  padding:52px 0 24px;
}

.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:30px;
}

.footer-brand{
  font-family:Montserrat,Inter,sans-serif;
  font-size:28px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.footer-grid h4{
  margin:0 0 14px;
  font-size:13px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.footer-grid p{
  color:#cfcfcf;
  font-size:14px;
}

.footer-grid a{
  display:block;
  color:#cfcfcf;
  margin:10px 0;
  font-size:14px;
  transition:.2s ease;
}

.footer-grid a:hover{
  color:#ffffff;
  transform:translateX(4px);
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);
  margin-top:30px;
  padding-top:20px;
  color:#999999;
  font-size:13px;
}

/* ADMIN TARAFI GENEL */

.admin-body{
  display:grid;
  grid-template-columns:250px 1fr;
  min-height:100vh;
  background:#f7f7f5;
}

.admin-sidebar{
  background:#111111;
  color:#ffffff;
  padding:24px;
  position:sticky;
  top:0;
  height:100vh;
}

.admin-sidebar h2{
  font-family:Montserrat,Inter,sans-serif;
  font-weight:900;
  letter-spacing:-.03em;
}

.admin-sidebar a{
  display:block;
  padding:12px 14px;
  border-radius:14px;
  color:#dddddd;
}

.admin-sidebar a:hover{
  background:rgba(255,255,255,.1);
  color:#ffffff;
}

.admin-main{
  padding:30px;
}

.admin-stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.admin-stats div{
  background:#ffffff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:22px;
  box-shadow:var(--shadow-soft);
}

.admin-stats strong{
  display:block;
  font-size:38px;
}

.admin-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}

.admin-form{
  background:#ffffff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:22px;
  display:grid;
  gap:14px;
  max-width:760px;
  box-shadow:var(--shadow-soft);
}

.checks{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

.checks input{
  width:auto;
}

/* RESPONSIVE */

@media(max-width:1024px){
  .hero-inner,
  .product-detail,
  .checkout-grid,
  .contact-grid,
  .account-grid,
  .about-strip{
    grid-template-columns:1fr;
  }

  .product-grid,
  .category-grid,
  .footer-grid,
  .admin-stats{
    grid-template-columns:repeat(2,1fr);
  }

  .trust-row{
    grid-template-columns:1fr;
  }
}

@media(max-width:900px){
  .menu-toggle{
    display:block;
  }

  .main-nav{
    display:none;
    position:absolute;
    top:74px;
    left:4%;
    right:4%;
    background:#111111;
    border:1px solid rgba(255,255,255,.10);
    border-radius:20px;
    padding:18px;
    box-shadow:var(--shadow);
    flex-direction:column;
    align-items:flex-start;
    gap:16px;
  }

  .main-nav.open{
    display:flex;
  }

  .page-head{
    display:block;
  }

  .sort-box{
    border-radius:18px;
    margin-top:14px;
  }

  .cart-table{
    display:block;
    overflow-x:auto;
  }

  .admin-body{
    grid-template-columns:1fr;
  }

  .admin-sidebar{
    position:relative;
    height:auto;
  }
}

@media(max-width:560px){
  .nav-wrap{
    height:68px;
  }

  .brand{
    font-size:20px;
  }

  .brand-logo{
    width:34px;
    height:34px;
  }

  .main-nav{
    top:68px;
  }

  .hero{
    padding:50px 0;
  }

  .hero h1{
    font-size:40px;
  }

  .hero p{
    font-size:15px;
  }

  .section{
    padding:50px 0;
  }

  .section-head{
    display:block;
  }

  .page h1{
    font-size:38px;
  }

  .product-grid,
  .category-grid,
  .footer-grid,
  .admin-stats{
    grid-template-columns:1fr;
  }

  .product-slider{
    grid-auto-columns:84%;
  }

  .cart-summary{
    justify-content:flex-start;
  }

  .buy-box{
    display:block;
  }

  .buy-box label{
    max-width:100%;
    display:block;
    margin-bottom:12px;
  }

  .admin-main{
    padding:18px;
  }

  .about-strip{
    padding:28px;
    border-radius:26px;
  }
}