/* public/css/store.css - SOLITEX WEAR Lüks Minimalist Moda E-Ticaret Teması */
:root {
  --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --color-bg: #fdfdfd;
  --color-surface: #ffffff;
  --color-text: #111827;
  --color-text-muted: #6b7280;
  --color-accent: #0f172a;
  --color-accent-hover: #1e293b;
  --color-gold: #b45309;
  --color-border: #e5e7eb;
  --color-success: #16a34a;
  --color-danger: #dc2626;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Announcement Bar — Trendyol / Hepsiburada Alışverişe Teşvik Edici Fırsat Şeridi */
.announcement-bar {
  background: linear-gradient(90deg, #ff6000 0%, #f27a1a 50%, #ea580c 100%);
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-align: center;
  padding: 0.55rem 1rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(242, 122, 26, 0.25);
}

/* Header */
header.store-header {
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.nav-container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #0f172a;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  display: block;
  margin-top: -3px;
  font-weight: 600;
}

.store-nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-item a {
  text-decoration: none;
  color: #374151;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
  padding-bottom: 4px;
}

.nav-item a:hover,
.nav-item a.active {
  color: #000;
}

.nav-item a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #000;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-btn {
  background: none;
  border: none;
  font-size: 1.15rem;
  cursor: pointer;
  color: #1f2937;
  position: relative;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.header-btn:hover {
  transform: scale(1.08);
}

.cart-count-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #0f172a;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Lookbook */
.hero-lookbook {
  max-width: 1350px;
  margin: 1.5rem auto 2.5rem;
  padding: 0 1.5rem;
}

.hero-slider-box {
  background: linear-gradient(100deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.75) 50%, rgba(15, 23, 42, 0.85) 100%),
    url('https://images.unsplash.com/photo-1441986300917-64674bd600d8?w=1600&q=80');
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  padding: 5rem 3.5rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.25);
}

.hero-badge {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 700px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 580px;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.btn-luxury {
  background: #ffffff;
  color: #0f172a;
  border: none;
  padding: 0.85rem 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-luxury:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Trust Bar */
.trust-bar {
  max-width: 1350px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.trust-icon {
  font-size: 1.8rem;
}

.trust-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #111827;
}

.trust-desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Catalog Section */
.store-container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.category-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill-btn {
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: #4b5563;
  padding: 0.45rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.pill-btn:hover,
.pill-btn.active {
  background: #f27a1a;
  color: #ffffff;
  border-color: #f27a1a;
  box-shadow: 0 4px 12px rgba(242, 122, 26, 0.25);
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 2rem;
}

.fashion-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.fashion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

.img-container {
  position: relative;
  width: 100%;
  padding-top: 130%;
  /* Moda oranı */
  background: #f1f5f9;
  overflow: hidden;
}

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

.img-secondary {
  opacity: 0;
}

.fashion-card:hover .img-secondary {
  opacity: 1;
  transform: scale(1.04);
}

.fashion-card:hover .img-primary {
  transform: scale(1.04);
}

.stock-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
}

.tag-available {
  background: #dcfce7;
  color: #15803d;
}

.tag-low {
  background: #fef3c7;
  color: #b45309;
}

.tag-out {
  background: #fee2e2;
  color: #b91c1c;
}

.card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-category {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.card-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Variant Pill Group */
.size-selector-group {
  margin-bottom: 1rem;
}

.size-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.size-options {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.size-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  padding: 5px 11px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.size-btn:hover {
  border-color: #94a3b8;
}

.size-btn.selected {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.size-btn.disabled {
  opacity: 0.35;
  text-decoration: line-through;
  cursor: not-allowed;
}

.card-footer-box {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.price-box {
  display: flex;
  flex-direction: column;
}

.price-amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: #f27a1a;
}

.btn-add-cart {
  background: linear-gradient(135deg, #f27a1a 0%, #ff6000 100%);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(242, 122, 26, 0.28);
}

.btn-add-cart:hover {
  background: linear-gradient(135deg, #e06507 0%, #ea580c 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(242, 122, 26, 0.38);
}

.btn-add-cart:disabled {
  background: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
}

/* Slide-out Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #ffffff;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  z-index: 101;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--color-text-muted);
}

.shipping-progress-box {
  background: #f8fafc;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.8rem;
}

.progress-bar-bg {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.progress-bar-fill {
  height: 100%;
  background: var(--color-success);
  width: 0%;
  transition: width 0.3s ease;
}

.drawer-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex-grow: 1;
}

.cart-empty-message {
  text-align: center;
  color: var(--color-text-muted);
  padding: 3rem 0;
}

.cart-line-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.line-img {
  width: 70px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
  background: #f1f5f9;
}

.line-details {
  flex-grow: 1;
}

.line-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.2rem;
}

.line-meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.line-price {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0f172a;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.qty-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--color-border);
  background: #fdfdfd;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: #4b5563;
}

.summary-total {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  border-top: 1px solid var(--color-border);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

.btn-checkout-action {
  width: 100%;
  background: #0f172a;
  color: #fff;
  border: none;
  padding: 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 1rem;
}

.btn-checkout-action:hover {
  background: #1e293b;
}

/* Modals */
.store-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 120;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

.store-modal-box {
  background: #ffffff;
  border-radius: 12px;
  max-width: 540px;
  width: 100%;
  padding: 2rem;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
}

.store-modal-box-lg {
  max-width: 820px !important;
}

.store-modal-box-md {
  max-width: 640px !important;
}

/* Beden Rehberi Tablosu */
.size-guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-top: 1rem;
  text-align: left;
}

.size-guide-table th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid #e2e8f0;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.size-guide-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}

.size-guide-table tr:hover {
  background: #f8fafc;
}

.size-tab-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.size-tab-btn.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

/* Kolay İade Adım Kartları */
.return-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.return-step-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem;
  text-align: left;
}

.return-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0f172a;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Destek Kartları */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.support-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.25rem;
  text-align: left;
  transition: all 0.2s;
}

.support-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.input-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.35rem;
}

.input-field {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.input-field:focus {
  outline: none;
  border-color: #0f172a;
}

/* Footer */
footer.store-footer {
  background: #0f172a;
  color: #f8fafc;
  padding: 4rem 2rem 2rem;
  border-top: 1px solid #1e293b;
}

.footer-inner {
  max-width: 1350px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
  color: #fff;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1350px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}