@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #27272a;
  --primary-hover: #09090b;
  --primary-light: #f4f4f5;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --success: #10b981;
  --danger: #ef4444;
  --dark: #0f172a;
  --dark-surface: #1e293b;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06);
  --shadow-lg: 0 12px 24px -4px rgb(0 0 0 / 0.12), 0 4px 6px -2px rgb(0 0 0 / 0.05);
  --shadow-xl: 0 20px 30px -10px rgb(0 0 0 / 0.15);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-900);
  background-color: var(--gray-50);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

[hidden] { display:none !important; }
.store-footer-description { font-size:.9rem; line-height:1.7; margin:16px 0; }
.store-footer-contact { font-style:normal; font-size:.82rem; line-height:1.8; overflow-wrap:anywhere; }
.store-footer-payment { font-size:.88rem; line-height:1.7; margin-bottom:16px; }
.store-banners { max-width:1320px; margin:24px auto; padding:0 20px; display:grid; gap:20px; }
.store-banners img { width:100%; height:auto; border-radius:12px; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
}

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, #1e293b, #0f172a);
  color: #fbbf24;
  padding: 8px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.02em;
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.site-logo-image {
  display: block;
  width: 200px;
  height: 60px;
  object-fit: contain;
}

.footer-logo {
  width: fit-content;
  padding: 6px 12px;
  border-radius: 10px;
  background: #fff;
}

.cart-shipping-progress {
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 10px;
  background: #eff6ff;
}

.cart-shipping-message {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #1e40af;
}

.cart-shipping-progress .progress-bar-container {
  margin-top: 8px;
}

.logo span {
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-badge {
  font-size: 0.65rem;
  font-weight: 700;
  background: #fef3c7;
  color: #b45309;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

/* Search Bar */
.search-form {
  flex: 1;
  max-width: 520px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 11px 44px 11px 18px;
  background: var(--gray-100);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  transition: var(--transition);
}

.search-input:focus {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  outline: none;
}

.search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gray-500);
  cursor: pointer;
  padding: 4px;
  max-width:85px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* Navigation Icons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  color: var(--gray-700);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
}

.action-btn:hover {
  background: var(--gray-100);
  color: var(--primary);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Category Navigation Bar */
.cat-nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.cat-nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }

.cat-nav-link {
  padding: 12px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  white-space: nowrap;
  position: relative;
}

.cat-nav-link:hover, .cat-nav-link.active {
  color: var(--primary);
}

.cat-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* Instagram Stories Section */
.store-navigation .cat-nav-inner { position:relative; overflow:visible; flex-wrap:wrap; gap:32px; justify-content:center; }
.store-menu-item > summary { cursor:pointer; list-style:none; display:flex; align-items:center; gap:10px; }
.store-menu-item > summary::-webkit-details-marker { display:none; }
.store-menu-item > summary::after { content:''; width:6px; height:6px; flex:0 0 6px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:translateY(-2px) rotate(45deg); transition:transform .18s ease; }
.store-menu-item[open] > summary { color:var(--primary); }
.store-menu-item[open] > summary::after { transform:translateY(2px) rotate(225deg); }
.store-menu-panel { position:absolute; top:100%; left:20px; right:20px; z-index:110; padding:24px; background:#fff; border:1px solid #e2e8f0; border-radius:0 0 14px 14px; box-shadow:0 18px 40px #0f172a20; max-height:70vh; overflow:auto; }
.has-dropdown-menu .store-menu-panel { right:auto; min-width:260px; max-width:360px; }
.mega-menu-grid { display:grid; grid-template-columns:repeat(var(--menu-columns,3),minmax(0,1fr)); gap:12px 24px; max-width:900px; margin:auto; }
.has-mega-menu .mega-leaf > a { font-weight:700; }
.has-dropdown-menu .mega-menu-grid { grid-template-columns:1fr; }
.mega-column > a { font-weight:800; color:#0f172a; }
.mega-links { padding-left:12px; }
.mega-menu-grid .cat-nav-link { display:block; padding:8px 0; white-space:normal; overflow-wrap:anywhere; }
.menu-view-all { display:block; padding:0 0 16px; font-size:.82rem; color:var(--primary); }
.menu-badge { display:inline-block; margin-left:6px; padding:2px 6px; background:#fef3c7; color:#92400e; border-radius:4px; font-size:.65rem; }
.menu-promotion img { display:block; max-width:100%; max-height:240px; object-fit:contain; border-radius:8px; }
.store-menu-toggle { display:none; }
@media(max-width:768px) {
  .store-menu-toggle { display:block; padding:12px 20px; border:0; background:white; font:inherit; font-weight:700; cursor:pointer; }
  .store-navigation .cat-nav-inner { display:none; gap:0; flex-direction:column; align-items:stretch; }
  .store-navigation.is-open .cat-nav-inner { display:flex; }
  .store-menu-panel, .has-dropdown-menu .store-menu-panel { position:static; min-width:0; max-width:none; padding:16px; box-shadow:none; max-height:55vh; }
  .mega-menu-grid { grid-template-columns:1fr; }
}

/* Instagram Stories Section */
.stories-section {
  max-width: 1320px;
  margin: 20px auto 10px;
  padding: 0 20px;
}

.stories-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 4px;
  scrollbar-width: none;
}
.stories-slider::-webkit-scrollbar { display: none; }

.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.story-item:hover {
  transform: translateY(-2px);
}

.story-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, #f59e0b, #ec4899, #8b5cf6, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.story-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid white;
  object-fit: cover;
  background: #f1f5f9;
}

.story-title {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gray-700);
  max-width: 80px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hero Carousel / Slider */
.hero-slider-section {
  max-width: 1320px;
  margin: 10px auto 30px;
  padding: 0 20px;
}

.hero-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--dark);
  min-height: 420px;
}

.slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: flex;
  align-items: center;
}

.slider-slide.active {
  opacity: 1;
  z-index: 1;
}

.slider-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}

.slider-content {
  position: relative;
  z-index: 2;
  padding: 50px;
  max-width: 650px;
  color: white;
}

.slider-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

.slider-subtitle {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 24px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), #1d4ed8);
  color: white;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.slider-nav {
  position: absolute;
  bottom: 20px;
  right: 30px;
  z-index: 5;
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  width: 32px;
  border-radius: var(--radius-full);
  background: white;
}

/* Free Shipping Bar */
.shipping-progress-banner {
  max-width: 1320px;
  margin: 0 auto 30px;
  padding: 0 20px;
}

.shipping-progress-card {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.progress-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e40af;
  display: flex;
  align-items: center;
  gap: 8px;
}

.progress-bar-container {
  flex: 1;
  max-width: 350px;
  height: 8px;
  background: rgba(37, 99, 235, 0.15);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

/* Front Basket / Kasa Önü Fırsat Kartı */
.front-basket-banner {
  max-width: 1320px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.front-basket-card {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 2px dashed #f59e0b;
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.front-basket-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.front-basket-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid white;
}

/* Product Grid */
.products-section {
  max-width: 1320px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--dark);
}

.section-subtitle {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-top: 4px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 24px;
}

/* Product Card */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.product-img-wrapper {
  position: relative;
  padding-top: 125%;
  overflow: hidden;
  background: #f8fafc;
}

.product-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--dark);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 2;
}

.product-badge.sale {
  background: var(--danger);
}

.product-badge.stock-low {
  background: var(--accent);
}

.product-details {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7em;
}

.product-price-row {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid var(--gray-100);
}

.product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
}

.product-price small {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-500);
}

.product-price.product-unavailable,
.current-price.product-unavailable {
  color: var(--gray-500);
  font-size: 1.1rem;
  font-weight: 700;
}

.btn-quick-add {
  background: #f97316;
  color: white;
  border: none;
  padding: 0 14px;
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.product-card:hover .btn-quick-add {
  background: #ea580c;
  color: white;
}

.btn-quick-add:disabled,
.product-card:hover .btn-quick-add:disabled,
.btn-add-cart-orange:disabled,
.btn-direct-buy:disabled {
  background: var(--gray-100);
  color: var(--gray-500);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Drawer Cart (Sağdan Açılan Mini Sepet) */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: var(--white);
  z-index: 210;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.active {
  right: 0;
}

.drawer-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title {
  font-size: 1.15rem;
  font-weight: 800;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--gray-500);
}

.drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-item {
  display: flex;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-100);
}

.drawer-item-img {
  width: 64px;
  height: 78px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #f8fafc;
}

.drawer-item-info {
  flex: 1;
}

.drawer-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
}

.drawer-item-variant {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 2px;
}

.drawer-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid var(--gray-300);
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.drawer-footer {
  padding: 20px 22px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

.drawer-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 16px;
}

/* Fullscreen Story Viewer */
.story-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
}

.story-modal.active {
  display: flex;
}

.story-viewer-card {
  width: 100%;
  max-width: 400px;
  height: 90vh;
  max-height: 700px;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.story-progress-bar {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
  z-index: 10;
}

.story-progress-fill {
  height: 100%;
  background: white;
  width: 0%;
  animation: storyProgress 5s linear forwards;
}

@keyframes storyProgress {
  from { width: 0%; }
  to { width: 100%; }
}

.story-viewer-header {
  position: absolute;
  top: 24px;
  left: 16px;
  right: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}

.story-viewer-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-viewer-action {
  position: absolute;
  bottom: 24px;
  left: 20px;
  right: 20px;
  z-index: 10;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 60px 20px 30px;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: var(--footer-columns, 2fr 1fr 1fr 1.5fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-title {
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.payment-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-tag {
  background: #1e293b;
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 600;
}

/* Responsive Breakpoints */
.auth-label-mobile { display: none; }
@keyframes mobile-auth-welcome {
  0%, 100% { box-shadow: 0 0 0 0 #f59e0b00; }
  50% { box-shadow: 0 0 0 4px #f59e0b45, 0 0 18px #f59e0b65; }
}
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .header-inner .site-logo-image { width: 150px; height: 45px; }
  .header-actions { gap: 4px; }
  .header-actions .action-btn { padding: 8px 6px; gap: 6px; font-size: 0.8rem; }
  .search-form { order: 3; flex: 0 0 100%; max-width: 100%; width: 100%; }
  .mobile-store-header .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(60px, .7fr); gap: 12px 10px; padding: 12px 16px; }
  .mobile-store-header .header-inner > .logo { grid-column: 1; grid-row: 1; min-width: 0; width: 100%; max-width: 100% !important; }
  .mobile-store-header .header-inner .site-logo-image { max-width: 100%; width: 130px !important; height: auto; max-height: 52px; }
  .mobile-store-header .header-actions { display: contents; }
  .mobile-store-header #userNavBtn { grid-column: 2; grid-row: 1; justify-content: center; min-width: 0; min-height: 44px; padding: 9px 6px; border: 1px solid #fcd34d; border-radius: 12px; background: #fffbeb; color: #78350f; font-size: .72rem; font-weight: 800; text-align: center; }
  .mobile-store-header #userNavBtn > svg { display: none; }
  .mobile-store-header #userNavBtn span { overflow-wrap: anywhere; }
  .mobile-store-header #userNavBtn .auth-label-desktop { display: none; }
  .mobile-store-header #userNavBtn .auth-label-mobile { display: inline; }
  .mobile-store-header #userNavBtn.mobile-auth-welcome { animation: mobile-auth-welcome 1.1s ease-in-out 3; }
  .mobile-store-header .header-inner > .store-menu-toggle { grid-column: 3; grid-row: 1; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 0; border-radius: 10px; font-size: .86rem; white-space: nowrap; }
  .mobile-store-header .header-inner > .store-menu-toggle[hidden] { display: none; }
  .mobile-store-header .header-inner > .search-form { grid-column: 1 / 3; grid-row: 2; min-width: 0; }
  .mobile-store-header #cartTrigger { grid-column: 3; grid-row: 2; justify-self: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #e2e8f0; background: #f8fafc; padding: 8px; border-radius: 12px; }
  .mobile-store-header #cartTrigger > span:not(.cart-badge) { display: none; }
  .mobile-store-header .store-navigation:not(.is-open) { display: none; }
  .slider-title { font-size: 2rem; }
  .front-basket-card { flex-direction: column; text-align: center; }
  .front-basket-content { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-store-header #userNavBtn.mobile-auth-welcome { animation: none; }
}
.modal { display:none; position:fixed; inset:0; z-index:500; background:rgba(15,23,42,.55); align-items:center; justify-content:center; padding:20px; overflow-y:auto; }
.modal[hidden] { display:none !important; }
.modal-content { background:#fff; border-radius:16px; padding:24px; width:100%; max-width:680px; max-height:90dvh; overflow-y:auto; box-shadow:0 24px 60px #0f172a40; }
.modal-header { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:16px; }
.order-details { margin-top:18px; border-top:1px solid #e2e8f0; padding-top:16px; }
.order-details summary { cursor:pointer; color:#2563eb; font-weight:700; }
.order-detail-content p { margin:12px 0; }
.whatsapp-float { position:fixed; right:24px; bottom:calc(24px + env(safe-area-inset-bottom)); z-index:190; min-height:60px; display:flex; align-items:center; gap:12px; padding:10px 16px 10px 10px; border:1px solid #ffffff60; border-radius:20px; background:linear-gradient(135deg,#128c5b,#086b45); color:#fff; box-shadow:0 8px 28px #065f4630,0 2px 6px #0f172a18; text-decoration:none; transition:transform .2s,box-shadow .2s; }
.whatsapp-icon { flex:0 0 40px; display:grid; place-items:center; width:40px; height:40px; border-radius:13px; background:#ffffff18; }
.whatsapp-icon svg { display:block; width:27px; height:27px; }
.whatsapp-copy { display:flex; flex-direction:column; gap:2px; line-height:1.2; }
.whatsapp-copy strong { font-size:.85rem; font-weight:700; }
.whatsapp-copy > span { font-size:.7rem; color:#d1fae5; }
.whatsapp-arrow { margin-left:4px; opacity:.8; }
.whatsapp-float:hover { color:#fff; transform:translateY(-3px); box-shadow:0 12px 32px #065f4640; }
.whatsapp-float:focus-visible { outline:3px solid #2563eb; outline-offset:4px; }
@media(max-width:768px) {
  .whatsapp-float { right:14px; bottom:calc(16px + env(safe-area-inset-bottom)); gap:9px; min-height:52px; padding:6px 13px 6px 6px; border-radius:17px; }
  .whatsapp-icon { flex-basis:36px; width:36px; height:36px; border-radius:11px; }
  .whatsapp-copy strong { font-size:.78rem; }
  .whatsapp-arrow { display:none; }
}
@media(prefers-reduced-motion:reduce) { .whatsapp-float { transition:none; } }

.menu-stock-count{font-size:.75rem;color:#64748b;background:#f1f5f9;border-radius:999px;padding:2px 7px;margin-left:8px;font-variant-numeric:tabular-nums;white-space:nowrap;}
.home-product-carousel{max-width:1280px;margin:36px auto;padding:0 24px;}
.carousel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;}
.carousel-heading h2{font-size:1.5rem;font-weight:800;}
.carousel-actions{display:flex;align-items:center;gap:8px;white-space:nowrap;}
.carousel-arrow{border:1px solid #cbd5e1;background:#fff;border-radius:50%;width:38px;height:38px;cursor:pointer;}
.carousel-products{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 60px)/4);gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 16px;overscroll-behavior-x:contain;}
.carousel-products>.product-card{scroll-snap-align:start;min-width:0;}
.saved-address-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin:20px 0;}
.saved-address-card,.saved-address-form{background:white;border:1px solid #e2e8f0;border-radius:14px;padding:20px;}
.saved-address-card p{margin:12px 0;overflow-wrap:anywhere;}.saved-address-card button{margin-right:8px;}
.saved-address-form{display:grid;grid-template-columns:1fr 1fr;gap:16px;}.saved-address-form h3,.address-wide{grid-column:1/-1;}.saved-address-form .search-input{width:100%;margin-top:6px;}
@media(max-width:768px){
  .cat-nav-link .menu-stock-count{margin-left:auto;flex-shrink:0;}
  .cat-nav-link:has(.menu-stock-count){display:flex;align-items:center;gap:8px;}
  .home-product-carousel{padding:0 16px;margin:26px auto;}
  .carousel-heading h2{font-size:1.12rem;}.carousel-actions{font-size:.78rem;gap:5px;}.carousel-arrow{width:30px;height:30px;}
  .carousel-products{grid-auto-columns:calc((100% - 12px)/2);gap:12px;}
  .saved-address-form{grid-template-columns:1fr;}.carousel-products .product-price{font-size:1rem;}
}

.product-card-colors{display:flex;gap:5px;margin:6px 0}.product-card-colors a{width:20px;height:20px;border:1px solid #cbd5e1;overflow:hidden;border-radius:3px}.product-card-colors img{width:100%;height:100%;object-fit:cover}.product-card-sizes{display:flex;gap:4px;flex-wrap:wrap;margin:6px 0 10px}.product-card-sizes span{font-size:.72rem;font-weight:700;padding:2px 6px;border:1px solid #cbd5e1;border-radius:3px;color:#334155}.product-card-sizes .unavailable{text-decoration:line-through;color:#cbd5e1;border-color:#e2e8f0}
.seo-home-heading { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.cart-price-block{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}.product-normal-price{color:#64748b;font-size:.85em;font-weight:400}.product-cart-price{color:#15803d;font-weight:800}.product-cart-terms{display:block;flex-basis:100%;font-size:.7rem;font-weight:400;color:#475569;line-height:1.4}.product-price-row{flex-wrap:wrap;gap:8px}

.product-card .cart-price-block{flex-direction:column;align-items:flex-start;gap:3px}.product-card .product-price-row{flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:8px}.product-card .product-cart-terms{flex-basis:auto}

.product-card .product-price-row .product-price{min-width:0;flex:1}
.product-card .product-price-row .btn-quick-add{margin-left:auto;flex-shrink:0}
.product-promotion-messages{display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;gap:8px;margin-top:12px;color:#334155;font-size:.82rem;line-height:1.5;overflow-wrap:anywhere;white-space:pre-line}
.product-promotion-messages .promotion-glass{flex:0 1 auto;font-size:.82rem}
.promotion-corner{position:absolute;z-index:2;display:flex;flex-direction:column;gap:6px;max-width:calc(100% - 24px);pointer-events:none}
.promotion-top_right{top:12px;right:12px;align-items:flex-end}.promotion-top_left{top:12px;left:12px;align-items:flex-start}
.promotion-bottom_right{bottom:12px;right:12px;align-items:flex-end}.promotion-bottom_left{bottom:12px;left:12px;align-items:flex-start}
.promotion-glass{display:block;max-width:100%;padding:7px 11px;border:1px solid rgba(255,255,255,.65);border-radius:12px;background:rgba(248,244,239,.88);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 3px 12px #0f172a15;color:#0f172a;font-size:clamp(.65rem,1.1vw,.82rem);font-weight:700;line-height:1.4;overflow-wrap:anywhere;white-space:pre-line;text-align:start}
@media(max-width:480px){.product-card .product-price-row{flex-wrap:wrap}.product-card .btn-quick-add{padding:0 10px}.promotion-corner{max-width:calc(100% - 16px)}.promotion-top_right{top:8px;right:8px}.promotion-top_left{top:8px;left:8px}.promotion-bottom_right{bottom:8px;right:8px}.promotion-bottom_left{bottom:8px;left:8px}.promotion-glass{padding:5px 8px}}

.promotion-corner .product-badge{position:static;max-width:100%;overflow-wrap:anywhere}

.promotion-glass:nth-child(4n+2){background:rgba(230,240,246,.88)}
.promotion-glass:nth-child(4n+3){background:rgba(232,242,233,.88)}
.promotion-glass:nth-child(4n+4){background:rgba(241,233,244,.88)}

/* Keep story circles aligned even when captions wrap. */
.stories-slider{align-items:flex-start}.story-item{justify-content:flex-start}.story-ring{flex-shrink:0}
.story-title{white-space:normal;line-height:1.4;min-height:2.8em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.product-card,.product-details,.product-price-row{min-width:0}
.product-card .product-normal-price,.product-card .product-cart-price{white-space:nowrap}
@media(max-width:768px){
  .product-card .product-details{padding:12px}
  .product-card .product-name{font-size:.85rem;line-height:1.4;height:2.8em;margin-bottom:10px}
  .product-card .product-price-row{flex-direction:column;align-items:stretch;gap:8px;flex-wrap:nowrap}
  .product-card .product-price-row .product-price{flex:none;width:100%;font-size:clamp(.95rem,3.8vw,1.1rem);line-height:1.4}
  .product-card .product-normal-price{font-size:.82em}
  .product-card .product-price-row .btn-quick-add{align-self:flex-end;max-width:100%;margin-left:0;padding:0 10px;min-height:36px;font-size:.75rem;line-height:1.2}
  .product-card-colors{flex-wrap:wrap}
}
@media(max-width:640px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}

/* Osmanlı Gümüş marka görünümü */
body { background:#fafafa; }
.announcement-bar { background:#242427; color:#fff; font-size:.875rem; padding:10px 16px; }
.header-inner { padding-top:18px; padding-bottom:18px; }
.header-inner .site-logo-image { height:auto; max-height:105px; object-fit:contain; }
.footer-logo img { filter:brightness(0) invert(1); }
.hero-slider:has(.osmanli-welcome) { height:auto; }
.osmanli-welcome { display:grid; grid-template-columns:1.1fr 1fr; min-height:450px; background:radial-gradient(ellipse at 80% 35%,#fff,#e4e4e7); color:#27272a; align-items:center; gap:48px; padding:64px 60px; border:1px solid #e4e4e7; }
.osmanli-eyebrow { font-size:.875rem; letter-spacing:.24em; margin-bottom:20px; font-weight:600; }
.osmanli-welcome h1 { font-family:Georgia,'Times New Roman',serif; font-weight:400; font-size:clamp(2rem,4vw,3.8rem); line-height:1.13; letter-spacing:-.025em; margin-bottom:22px; }
.osmanli-welcome-copy>p:not(.osmanli-eyebrow) { color:#52525b; font-size:1rem; margin-bottom:28px; }
.osmanli-welcome .btn-primary { display:inline-flex; padding:14px 26px; border-radius:3px; font-size:1rem; }
.osmanli-brand-seal { padding:40px 28px; text-align:center; border-top:1px solid #b7b7bf; border-bottom:1px solid #b7b7bf; }
.osmanli-brand-seal img { width:100%; mix-blend-mode:multiply; }
.osmanli-brand-seal span { display:block; font-size:.875rem; letter-spacing:.1em; color:#52525b; margin-top:28px; }
.products-section { margin-top:52px; }
#productsGrid>div:only-child { background:#fff; border:1px solid #e4e4e7; border-radius:4px; font-size:1rem; }
.site-footer { background:#242427; }
@media(max-width:700px) { .osmanli-welcome { grid-template-columns:1fr; padding:36px 24px; gap:36px; min-height:auto; } .osmanli-brand-seal { padding:28px 20px; max-width:380px; margin:auto; } .osmanli-brand-seal span { font-size:.875rem; letter-spacing:.04em; } .osmanli-welcome h1 { font-size:2.4rem; } }

.footer-logo { background:transparent; padding:0; }
.osmanli-welcome .btn-primary { background:#27272a; box-shadow:none; } .osmanli-welcome .btn-primary:hover { background:#09090b; }
/* Osmanlı Gümüş: compact navigation and reference storefront. */
.store-navigation .menu-stock-count { display:none; }
.store-navigation .cat-nav-link { color:#38332f; font-weight:400; font-size:.9rem; }
.store-navigation .cat-nav-link:hover,.store-menu-item[open]>summary { color:#9b7047; }
.store-menu-panel { border-radius:0; border-color:#e7e3de; box-shadow:0 12px 30px #18120d12; }
.mega-menu-grid .cat-nav-link { font-size:.875rem; line-height:1.5; }
.mega-column>.cat-nav-link { font-weight:600; }
.store-menu-item>summary::after { width:5px; height:5px; flex-basis:5px; border-width:1px; }
@media(min-width:769px) {
 .store-navigation .cat-nav-inner { flex-wrap:nowrap; gap:30px; min-height:48px; }
 .store-navigation .cat-nav-inner>.cat-nav-link,.store-navigation .cat-nav-inner>.store-menu-item { flex-shrink:0; }
 .store-menu-item { position:static; }
 .has-dropdown-menu .store-menu-panel { left:auto; }
}
@media(min-width:1280px) {
 .site-header { display:grid; grid-template-columns:150px minmax(0,1fr) minmax(170px,240px) 100px; align-items:center; gap:24px; padding:10px max(24px,calc((100vw - 1700px)/2)); background:#f5f4f2; backdrop-filter:none; }
 .site-header .header-inner { display:contents; }
 .site-header .header-inner>.logo { grid-column:1;grid-row:1;max-width:150px!important; }
 .site-header .header-inner .site-logo-image { width:145px!important;max-height:78px; }
 .site-header>.store-navigation { grid-column:2;grid-row:1;min-width:0;background:transparent;border:0; }
 .site-header .store-navigation .cat-nav-inner { padding:0;gap:clamp(14px,1.7vw,30px);justify-content:center;position:static; }
 .site-header .store-navigation .store-menu-panel { left:180px;right:24px; }
 .site-header .store-navigation .has-dropdown-menu .store-menu-panel { left:auto;right:auto; }
 .site-header .header-inner>.search-form { grid-column:3;grid-row:1;width:100%;min-width:0;max-width:none; }
 .site-header .search-input { border-radius:30px;border:0;background:#fff;font-size:.875rem;min-width:0; }
 .site-header .header-actions { grid-column:4;grid-row:1;gap:16px; }
 .site-header .header-actions .action-btn { padding:6px;color:#896745; }
 .site-header .header-actions .action-btn>span:not(.cart-badge) { display:none; }
}
.osmanli-reference-home { background:#fff;color:#2c2926; }
.osmanli-reference-home .announcement-bar { background:#eae6e1;color:#5f564e;font-size:.8rem;font-weight:400;letter-spacing:.025em;padding:7px 16px; }
.osmanli-reference-home #pageDesignerRoot .pd-section { border:0; }
.osmanli-reference-home .pd-carousel-header { justify-content:center;position:relative;margin-bottom:30px; }
.osmanli-reference-home .pd-carousel-header h2 { font-family:Georgia,serif;font-size:clamp(1.7rem,2.7vw,2.5rem);font-weight:400;letter-spacing:-.03em;color:#292725;text-align:center; }
.osmanli-reference-home .pd-carousel-actions { margin-left:auto; }
.osmanli-reference-home .pd-carousel-header>div:first-child { margin-left:auto; }
.osmanli-reference-home .pd-product-rail { gap:24px;grid-auto-columns:calc((100% - (var(--pd-desktop) - 1)*24px)/var(--pd-desktop)); }
.osmanli-reference-home .product-card { border:0;box-shadow:none;border-radius:0;background:white; }
.osmanli-reference-home .product-card:hover { box-shadow:none;transform:none; }
.osmanli-reference-home .product-card-sizes,.osmanli-reference-home .product-card-colors { display:none; }
.osmanli-reference-home .product-title { font-size:.875rem;font-weight:400;color:#514a44; }
.osmanli-reference-home .pd-slider-arrow { background:#ffffffd9;color:#3d332c;border:0; }
.osmanli-reference-home .pd-dot[aria-current=true] { background:#a67c52; }
.osmanli-reference-home .pd-slide .pd-visual { object-fit:contain!important; }
@media(min-width:769px) and (max-width:1279px) {
 .site-header .header-inner { padding:12px 24px; }
 .site-header .site-logo-image { max-height:70px;max-width:160px; }
 .store-navigation .cat-nav-inner { gap:30px; }
}
@media(max-width:768px) {
 .store-navigation .cat-nav-inner { max-height:calc(100dvh - 160px);overflow-y:auto; }
 .store-navigation .store-menu-panel { max-height:none; }
 .store-navigation .cat-nav-inner>.cat-nav-link,.store-navigation .cat-nav-inner>.store-menu-item>summary { padding:16px 20px;border-top:1px solid #f0ece7; }
 .store-navigation .mega-menu-grid { grid-template-columns:1fr; }
 .osmanli-reference-home .pd-carousel-header { justify-content:space-between;gap:12px; }
 .osmanli-reference-home .pd-carousel-header>div:first-child { margin-left:0; }
 .osmanli-reference-home .pd-carousel-header h2 { text-align:left;font-size:1.65rem; }
 .osmanli-reference-home .pd-carousel-actions a { font-size:.8rem; }
 .osmanli-reference-home .pd-product-rail { gap:12px;grid-auto-columns:calc((100% - (var(--pd-mobile) - 1)*12px)/var(--pd-mobile)); }
}
