:root{
    --bg: #ffffff;
    --surface: #fcfcfc;
    --muted: #6b6b6b;
    --accent: #111111;
    --accent-2: #1f2937;
    --shadow: rgba(16,24,40,0.06);
    --radius: 10px;
    --container-padding: 16px;
    --header-height: 64px;
    --card-min-width: 140px;
    --card-gap: 16px;
}

*, *::before, *::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100dvh;
  font-family:'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size:15px;
  line-height:1.5;
  background:var(--bg);
  color:var(--accent-2);
  -webkit-font-smoothing:antialiased;
  display:flex;
  flex-direction:column;
}

img{max-width:100%;height:auto;display:block}
button,input{
  font:inherit;
  border-radius:var(--radius);
  transition:all 0.2s ease;
}

.container{
  width:100%;
  max-width:1140px;
  margin:0 auto;
  padding:0 var(--container-padding);
}

.site-header .container {
  padding-left: 0;
}

.site-header{
  background:var(--surface);
  position:sticky;
  top:0;
  z-index:1000;
  height:var(--header-height);
  border-bottom:1px solid rgba(0,0,0,0.06);
  box-shadow:0 1px 2px rgba(0,0,0,0.04);
}

.header-inner{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display: flex;
  align-items: center;
  padding: 8px;
  margin-left: -32px;
}

@media (max-width: 768px) {
  .brand {
    margin-left: 0;
    padding-left: 4px;
    padding: 2px;
  }
  
  .logo {
    height: 35px;
  }
}

.logo {
  height: 120px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.categories-toggle{
  padding:10px 20px;
  background:var(--accent);
  color:#fff;
  border:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:600;
  font-size:0.95rem;
  transition:all 0.2s ease;
}

@media (max-width: 768px) {
  .categories-toggle{
    padding:6px 10px;
    font-size:0.8rem;
    gap:6px;
  }
}

.categories-toggle:hover{
  background:var(--accent-2);
}

.categories-toggle .arrow{
  font-size:0.75rem;
  transition:transform 0.3s ease;
}

.categories-toggle.open .arrow{
  transform:rotate(180deg);
}

.categories-dropdown{
  position:fixed;
  top:var(--header-height);
  left:0;
  right:0;
  background:#fff;
  border-bottom:1px solid #e5e7eb;
  box-shadow:0 4px 12px rgba(0,0,0,0.08);
  max-height:0;
  overflow:hidden;
  transition:max-height 0.3s ease;
  z-index:999;
}

.categories-dropdown.open{
  max-height:400px;
}

.categories-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
  gap:12px;
  padding:24px 0;
}

.category-item{
  background:var(--surface);
  border:1px solid #e5e7eb;
  padding:16px;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  transition:all 0.2s ease;
  text-align:center;
}

.category-item:hover{
  background:#fff;
  border-color:var(--accent);
  transform:translateY(-2px);
  box-shadow:0 4px 12px var(--shadow);
}

.category-item.active{
  background:var(--accent);
  color:#fff;
  border-color:var(--accent);
}

.category-icon{
  font-size:2rem;
}

.category-name{
  font-weight:600;
  font-size:0.9rem;
}

@media (max-width: 768px) {
  .categories-grid{
    grid-template-columns:repeat(2, 1fr);
    gap:6px;
    padding:10px 0;
  }
  
  .category-item{
    padding:8px 4px;
  }
  
  .category-icon{
    font-size:1.1rem;
  }
  
  .category-name{
    font-size:0.7rem;
  }
}

.header-actions{
  display:flex;
  align-items:center;
  gap:12px;
}

@media (max-width: 768px) {
  .header-actions{
    gap:6px;
  }
}

.search{
  width:min(140px, 100%);
  padding:8px 12px;
  border:1px solid #e5e7eb;
  background:#fff;
  transition:all 0.2s ease;
  font-size:14px;
}

@media (max-width: 768px) {
  .search{
    flex:1;
    min-width:0;
    width:100%;
    padding:10px 8px;
    font-size:14px;
  }
}

.search:focus{
  outline:none;
  border-color:var(--accent);
  width:min(180px, 100%);
}

@media (max-width: 768px) {
  .search:focus{
    width:100%;
  }
}

.favorites-btn{
  background:transparent;
  border:1px solid #e5e7eb;
  padding:8px 12px;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:6px;
}

@media (max-width: 768px) {
  .favorites-btn{
    padding:6px 8px;
    gap:4px;
    font-size:0.85rem;
  }
}

.favorites-btn:hover{
  background:var(--surface);
  border-color:#d1d5db;
}

.cart-btn{
  background:transparent;
  border:1px solid #e5e7eb;
  padding:8px 12px;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:6px;
}

@media (max-width: 768px) {
  .cart-btn{
    padding:6px 8px;
    gap:4px;
    font-size:0.85rem;
  }
}

.cart-btn:hover{
  background:var(--surface);
  border-color:#d1d5db;
}

/* Stronger add-to-cart visuals */
.cart-btn.bump{
  animation: bump 520ms cubic-bezier(.2,.9,.2,1);
}

@keyframes bump{
  0%{ transform: translateY(0) scale(1); }
  30%{ transform: translateY(-6px) scale(1.08); }
  60%{ transform: translateY(0) scale(0.98); }
  100%{ transform: translateY(0) scale(1); }
}

/* flying cloned image */
.fly-img{
  border-radius:6px;
  will-change: transform, opacity;
  pointer-events:none;
  box-shadow:0 10px 30px rgba(16,24,40,0.12);
}

/* toast shown after add */
.toast-added{
  position:fixed;
  left:50%;
  transform:translateX(-50%) translateY(6px);
  top:8vh;
  background:var(--accent);
  color:#fff;
  padding:8px 14px;
  border-radius:999px;
  font-weight:600;
  font-size:0.95rem;
  opacity:0;
  z-index:11000;
  transition:transform 220ms ease, opacity 220ms ease;
}
.toast-added.show{
  opacity:1;
  transform:translateX(-50%) translateY(0);
}

/* make sure product-card allows the cloned image to appear over it */
.product-card{ position:relative; overflow:visible; }

.hero{
  padding:clamp(32px, 6vh, 64px) 0;
  background:linear-gradient(to bottom, var(--surface), var(--bg));
}

.hero-inner{
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-content-wrapper {
  display: flex;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}

.hero-copy{
  flex: 1;
  max-width: 50%;
  text-align: left;
}

/* Promo Slider Styles */
.promo-slider {
  flex: 1;
  overflow: hidden;
  background: #1a1a1a;
  border-radius: var(--radius);
  padding: 1.5rem 0;
  position: relative;
  color: white;
}

.promo-track {
  display: flex;
  gap: 5rem; /* spacing between promos: was 3rem */
  padding: 0; /* remove horizontal padding to avoid seam at loop join */
  white-space: nowrap;
  will-change: transform;
}

/* legacy CSS animation removed in favor of JS-driven constant px/sec scroll */
@keyframes scroll { /* kept for reference, not used */
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.promo-slide {
  flex: 0 0 auto;
  padding: 0 1.5rem;
}

.promo-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  /* ensure inner content itself does not animate (legacy demo override) */
  animation: none !important;
}

.promo-tag {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.promo-content strong {
  font-size: 2rem;
  color: white;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.promo-code {
  font-family: monospace;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  font-size: 1.125rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
}

/* Product Detail Page */
.detail-hero {
  position: relative;
  min-height: clamp(200px, 28vh, 360px);
  background: #0f1115 center/cover no-repeat;
  display: flex;
  align-items: flex-end;
}
.detail-hero::before{
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 20%, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.85) 60%, #0b0d10 100%);
}
.detail-hero-overlay{ position:absolute; inset:0; }
.detail-hero-inner{
  position: relative;
  z-index: 1;
  padding: 24px 0 28px;
  color: #fff;
}

.product-detail { padding: clamp(20px, 4vh, 40px) 0; }
.detail-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media(min-width: 900px){
  .detail-grid{ grid-template-columns: 1.1fr 1fr; align-items: start; }
}
.detail-media { background: #0f1115; border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.detail-img { width: 100%; height: auto; display: block; }

.detail-info h2 { margin: 0 0 8px; font-size: clamp(1.25rem, 3.2vw, 1.75rem); }
.detail-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.detail-price { font-weight: 700; font-size: 1.25rem; margin: 8px 0 12px; }
.detail-desc { color: var(--muted); margin: 0 0 16px; }
.detail-actions { display: flex; gap: 12px; }

.reviews { padding-bottom: clamp(28px, 6vh, 48px); }
.reviews h3 { margin-bottom: 12px; }
.review-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.review-item { background: #fff; border-radius: var(--radius); padding: 12px; box-shadow: 0 2px 8px var(--shadow); }
.review-head { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; }
.review-stars { color: #FFB800; letter-spacing: -1px; }
.review-date { color: var(--muted); margin-left: auto; font-size: 0.8125rem; }
.review-text { margin: 8px 0 0; }
.review-empty { color: var(--muted); padding: 12px; background: #fff; border-radius: var(--radius); }

/* Mini review preview under rating */
.mini-reviews-head { display:flex; align-items:center; justify-content:space-between; margin: 10px 0 6px; }
.mini-reviews-title { margin:0; font-size: 0.95rem; font-weight:600; }
.mini-reviews-link { font-size: 0.9rem; color: var(--accent); text-decoration: none; }
.mini-reviews-link:hover { text-decoration: underline; }
.mini-reviews { list-style: none; padding: 0; margin: 8px 0 12px; display: grid; gap: 6px; color: var(--muted); font-size: 0.95rem; }
.mini-reviews li { list-style: none; }

/* Inline expanded reviews block */
.inline-reviews { background:#fff; border-radius: var(--radius); padding: 12px; box-shadow: 0 2px 8px var(--shadow); margin: 6px 0 12px; }

.review-form-card { background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: 0 2px 8px var(--shadow); }
.review-form .form-row { display: grid; gap: 6px; margin-bottom: 12px; }
.review-form input, .review-form select, .review-form textarea { padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 8px; font: inherit; }
.review-form textarea { resize: vertical; }
.review-form .form-actions { display: flex; justify-content: flex-end; }

/* Responsive düzenlemeler */
@media (max-width: 768px) {
  .hero-content-wrapper {
    flex-direction: column;
    gap: 24px;
  }
  
  .hero-copy {
    max-width: 100%;
    text-align: center;
  }
  
  .promo-slider {
    width: 100%;
    padding: 16px;
  }
}

/* Phones: remove the decorative hero image block to avoid extra space */
@media (max-width: 600px){
  .hero-image{ display:none; }
}

.hero-copy h1{
  font-size:clamp(1.75rem, 5vw, 2.5rem);
  line-height:1.2;
  margin:0 0 12px;
  font-weight:600;
}

.hero-copy p{
  color:var(--muted);
  margin:0 0 24px;
  font-size:clamp(0.875rem, 2vw, 1rem);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 20px;
  border-radius:var(--radius);
  border:none;
  cursor:pointer;
  font-weight:500;
  text-decoration:none;
  transition:all 0.2s ease;
}

.btn-primary{
  background:var(--accent);
  color:#fff;
}

.btn-primary:hover{
  background:var(--accent-2);
}

.hero-image{
  width:100%;
  height:clamp(180px, 30vh, 320px);
  border-radius:var(--radius);
  background:#f3f4f6 url('https://images.unsplash.com/photo-1520975914390-0b7d4a5a4f7f?q=80&w=1200&auto=format&fit=crop') center/cover;
}

.products{
  padding:clamp(24px, 4vh, 48px) 0;
}

.products-title{
  font-size:1.75rem;
  font-weight:700;
  margin:0 0 24px;
  color:var(--accent);
  text-align:center;
}

.product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(var(--card-min-width), 1fr));
  gap:var(--card-gap);
}

.product-card{
  background:#fff;
  border-radius:var(--radius);
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:8px;
  box-shadow:0 2px 8px var(--shadow);
  transition:all 0.2s ease;
  height:100%;
  position:relative;
}

.product-card:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(0,0,0,0.12);
}

.favorite-btn{
  position:absolute;
  top:16px;
  right:16px;
  width:32px;
  height:32px;
  border-radius:50%;
  background:rgba(255,255,255,0.95);
  border:1px solid #e5e7eb;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.2rem;
  transition:all 0.2s ease;
  z-index:10;
  box-shadow:0 2px 8px rgba(0,0,0,0.1);
}

.favorite-btn:hover{
  transform:scale(1.1);
  box-shadow:0 4px 12px rgba(0,0,0,0.15);
}

.favorite-btn.active{
  background:#dc2626;
  border-color:#dc2626;
}

.product-card img{
  width:100%;
  aspect-ratio:1;
  object-fit:cover;
  border-radius:calc(var(--radius) - 2px);
  background:#f3f4f6;
}

.product-card h3{
  font-size:0.9375rem;
  margin:8px 0 4px;
  line-height:1.3;
}

.product-link{ color: inherit; text-decoration: none; }
.product-link:hover{ text-decoration: underline; }

.rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.stars {
  color: #FFB800;
  letter-spacing: -1px;
  font-size: 1rem;
}

.rating-value {
  color: var(--muted);
  font-size: 0.8125rem;
}

.product-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:auto;
  gap:8px;
  flex-wrap:wrap;
}

.price{
  font-weight:600;
}

.add-btn{
  font-size:0.875rem;
  padding:6px 12px;
  background:var(--accent);
  color:#fff;
  border:none;
  cursor:pointer;
}

.cart-drawer{
  position:fixed;
  inset:var(--header-height) 0 0 auto;
  width:min(100%, 320px);
  background:#fff;
  display:flex;
  flex-direction:column;
  transform:translateX(100%);
  transition:transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index:100;
  box-shadow:-4px 0 16px rgba(0,0,0,0.1);
  height:calc(100% - var(--header-height));
}

.cart-drawer.open{
  transform:translateX(0);
}

.cart-header{
  padding:16px;
  border-bottom:1px solid #e5e7eb;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.cart-items{
  flex:1;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  padding:16px;
  list-style:none;
  margin:0;
}

.cart-items li{ padding:10px 0; border-bottom:1px dashed #e5e7eb; }
.cart-item{ display:flex; justify-content:space-between; align-items:center; gap:12px; }
.ci-left{ display:flex; align-items:center; gap:10px; min-width:0; }
.cart-thumb{ width:48px; height:48px; object-fit:cover; border-radius:6px; background:#f3f4f6; flex:0 0 48px; }
.ci-info{ display:flex; flex-direction:column; gap:6px; min-width:0; }
.ci-name{ font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:180px; font-size:0.9rem; }
.ci-right{ display:flex; align-items:center; gap:10px; }
.ci-price{ font-weight:600; }

.qty-controls{
  display:flex;
  align-items:center;
  gap:8px;
}

.qty-btn{
  width:24px;
  height:24px;
  border-radius:4px;
  background:var(--surface);
  border:1px solid #e5e7eb;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1rem;
  font-weight:600;
  color:var(--accent);
  transition:all 0.2s ease;
  padding:0;
}

.qty-btn:hover{
  background:var(--accent);
  color:#fff;
  border-color:var(--accent);
}

.qty-btn:active{
  transform:scale(0.9);
}

.qty-display{
  font-size:0.85rem;
  font-weight:600;
  color:var(--accent-2);
  min-width:20px;
  text-align:center;
}

.remove{
  background:transparent;
  border:none;
  cursor:pointer;
  font-size:1.2rem;
  color:var(--muted);
  transition:color 0.2s ease;
  padding:4px;
}

.remove:hover{
  color:#dc2626;
}

.cart-footer{
  padding:16px;
  border-top:1px solid #e5e7eb;
  background:#fff;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* Favorites Drawer */
.favorites-drawer{
  position:fixed;
  inset:var(--header-height) 0 0 auto;
  width:min(100%, 380px);
  background:#fff;
  display:flex;
  flex-direction:column;
  transform:translateX(100%);
  transition:transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index:100;
  box-shadow:-4px 0 16px rgba(0,0,0,0.1);
  height:calc(100% - var(--header-height));
}

.favorites-drawer.open{
  transform:translateX(0);
}

.favorites-header{
  padding:16px;
  border-bottom:1px solid #e5e7eb;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.favorites-items{
  flex:1;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  padding:16px;
}

.empty-message{
  text-align:center;
  color:var(--muted);
  padding:40px 20px;
}

.favorite-card{
  background:var(--surface);
  border-radius:var(--radius);
  padding:12px;
  margin-bottom:12px;
  display:flex;
  gap:12px;
  transition:all 0.2s ease;
  border:1px solid #e5e7eb;
}

.favorite-card:hover{
  box-shadow:0 4px 12px var(--shadow);
}

.favorite-img{
  width:80px;
  height:80px;
  object-fit:cover;
  border-radius:6px;
  background:#f3f4f6;
  flex-shrink:0;
}

.favorite-info{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}

.favorite-name{
  font-weight:600;
  font-size:0.95rem;
  color:var(--accent);
}

.favorite-price{
  font-weight:600;
  color:var(--accent-2);
}

.favorite-actions{
  display:flex;
  gap:8px;
  margin-top:auto;
}

.fav-add-cart{
  flex:1;
  padding:6px 12px;
  background:var(--accent);
  color:#fff;
  border:none;
  border-radius:6px;
  cursor:pointer;
  font-size:0.85rem;
  font-weight:600;
  transition:all 0.2s ease;
}

.fav-add-cart:hover{
  background:var(--accent-2);
}

.fav-remove{
  padding:6px 10px;
  background:transparent;
  border:1px solid #e5e7eb;
  border-radius:6px;
  cursor:pointer;
  color:var(--muted);
  transition:all 0.2s ease;
}

.fav-remove:hover{
  background:#dc2626;
  color:#fff;
  border-color:#dc2626;
}

.cart-footer{
  padding:16px;
  border-top:1px solid #e5e7eb;
  background:#fff;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* FAQ Drawer */
.faq-drawer{
  position:fixed;
  inset:var(--header-height) 0 0 auto;
  width:min(100%, 480px);
  background:#fff;
  display:flex;
  flex-direction:column;
  transform:translateX(100%);
  transition:transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index:100;
  box-shadow:-4px 0 16px rgba(0,0,0,0.1);
  height:calc(100% - var(--header-height));
}

.faq-drawer.open{
  transform:translateX(0);
}

.faq-drawer-header{
  padding:20px;
  border-bottom:1px solid #e5e7eb;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.faq-drawer-header h2{
  margin:0;
  font-size:1.5rem;
  color:var(--accent);
}

.faq-drawer-header button{
  width:36px;
  height:36px;
  border-radius:50%;
  background:var(--surface);
  border:1px solid #e5e7eb;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.5rem;
  color:var(--muted);
  transition:all 0.2s ease;
}

.faq-drawer-header button:hover{
  background:var(--accent);
  color:#fff;
}

.faq-drawer-content{
  flex:1;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  padding:20px;
}

.faq-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.faq-item{
  background:var(--surface);
  border:1px solid #e5e7eb;
  border-radius:var(--radius);
  overflow:hidden;
  transition:all 0.2s ease;
}

.faq-item:hover{
  border-color:#d1d5db;
  box-shadow:0 2px 8px var(--shadow);
}

.faq-question{
  width:100%;
  padding:16px 18px;
  background:transparent;
  border:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  cursor:pointer;
  text-align:left;
  font-weight:600;
  color:var(--accent);
  font-size:0.95rem;
}

.faq-question:hover{
  background:rgba(0,0,0,0.02);
}

.faq-icon{
  font-size:1.5rem;
  font-weight:300;
  color:var(--muted);
  transition:transform 0.3s ease;
  flex-shrink:0;
}

.faq-item.active .faq-icon{
  transform:rotate(45deg);
}

.faq-answer{
  max-height:0;
  overflow:hidden;
  transition:max-height 0.3s ease, padding 0.3s ease;
  padding:0 18px;
}

.faq-item.active .faq-answer{
  max-height:500px;
  padding:0 18px 16px;
}

.faq-answer p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
  font-size:0.9rem;
}

.site-footer{
  margin-top:auto;
  background:var(--surface);
  border-top:1px solid rgba(0,0,0,0.06);
  color:var(--accent-2);
}

.footer-top{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 24px;
  padding: 32px 0;
}
@media(max-width: 900px){
  .footer-top{ grid-template-columns: 1fr 1fr; }
}
@media(max-width: 560px){
  .footer-top{ grid-template-columns: 1fr; }
}
.footer-brand{ display:flex; flex-direction:column; gap:12px; }
.footer-logo{ width:120px; height:auto; object-fit:contain; opacity:0.9; }
.footer-col h4{ margin:0 0 10px; font-size:1rem; }
.footer-col ul{ list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.site-footer a{ color: inherit; text-decoration:none; }
.site-footer a:hover{ text-decoration:underline; }
.newsletter-form{ display:flex; gap:8px; margin: 8px 0 12px; }
.newsletter-form input{ flex:1; padding:10px 12px; border:1px solid #e5e7eb; border-radius:8px; font:inherit; }
.socials{ display:flex; gap:10px; }
.socials a{ display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:50%; background:#111; color:#fff; font-size:0.75rem; }

.footer-bottom{ display:flex; justify-content:space-between; align-items:center; gap:12px; padding: 12px 0 24px; color: var(--muted); }
.footer-bottom .legal-links{ display:flex; gap:12px; flex-wrap:wrap; }

/* Tablet (768px and up) */
@media (min-width:768px){
  :root{
    --container-padding:24px;
    --header-height:72px;
    --card-min-width:200px;
    --card-gap:24px;
  }
  
  .hero-inner{
    flex-direction:row;
    text-align:left;
    align-items:center;
    gap:40px;
  }
  
  .hero-copy{
    flex:1;
  }
  
  .hero-image{
    flex:1;
  }
  
  .search:focus{
    width:240px;
  }
}

/* Desktop (1024px and up) */
@media (min-width:1024px){
  :root{
    --container-padding:32px;
    --header-height:80px;
    --card-min-width:240px;
    --card-gap:32px;
  }
  
  .cart-drawer{
    width:380px;
  }
  
  .product-card{
    padding:16px;
  }
}

/* Large Desktop (1280px and up) */
@media (min-width:1280px){
  .container{
    max-width:1200px;
  }
  
  .hero-copy{
    max-width:520px;
  }
}

/* Mobile Small (360px and down) */
@media (max-width:360px){
  :root{
    --container-padding:12px;
    --card-min-width:120px;
    --card-gap:12px;
  }
  
  .search{
    width:100px;
  }
  
  .product-card{
    padding:8px;
  }
}

/* Mobile Portrait (when height is limited) */
@media (max-height:600px){
  .hero{
    padding:16px 0;
  }
  
  .hero-image{
    height:140px;
  }
  
  .cart-items{
    max-height:50vh;
  }
}

/* Touch Device Optimizations */
@media (hover:none){
  .product-card:hover{
    transform:none;
  }
  
  .cart-items{
    -webkit-overflow-scrolling:touch;
  }
}

/* Print Styles */
@media print{
  .cart-drawer,
  .header-actions,
  .add-btn{
    display:none;
  }
}

/* Utilities */
.visually-hidden{
  position:absolute !important;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.muted{ color: var(--muted); }

/* Cookie banner */
.cookie-banner{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 12000;
  padding: 12px;
  background: rgba(17,17,17,0.9);
  color: #fff;
  backdrop-filter: saturate(120%) blur(6px);
  transform: translateY(0);
  transition: transform 280ms ease, opacity 280ms ease;
}
.cookie-banner.hide{ opacity: 0; transform: translateY(16px); }
.cookie-inner{ max-width: 1140px; margin: 0 auto; display:flex; align-items:center; justify-content:space-between; gap: 12px; padding: 6px var(--container-padding); }
.cookie-text{ line-height: 1.4; font-size: 0.95rem; }
.cookie-link{ color: #b2cdfd; text-decoration: underline; margin-left: 8px; }
.cookie-actions{ display:flex; gap: 8px; flex: 0 0 auto; }
.cookie-actions .btn{ padding: 8px 14px; }
