/* Modern CSS Reset & Glassmorphism Design Tokens */
:root {
  --primary-color: #0f172a;
  --primary-dark: #090d16;
  --secondary-color: #f8fafc;
  --accent-color: #0ea5e9;
  --text-color: #1e293b;
  --light-bg: #f1f5f9;
  --border-color: #e2e8f0;
  --success-color: #10b981;
}

/* Dairesel, şeffaf MBK logo: beyaz zeminli bir marka rozeti olarak gösterilir. */
.header-main .logo-img-main { width:68px !important; height:68px !important; object-fit:contain !important; border-radius:50% !important; background:#fff !important; border:1px solid #dbe5ef !important; padding:3px !important; box-shadow:0 5px 14px rgba(15,23,42,.10) !important; }
@media (max-width:640px) { .header-main .logo-img-main { width:54px !important; height:54px !important; padding:2px !important; } }

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

body {
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-color);
  background-color: var(--light-bg);
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container, .profile-container {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 0 1.25rem !important;
}

/* Glassmorphism & Modern Compact Card Utilities */
.glass-panel {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border: 1px solid rgba(226, 232, 240, 0.85) !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05), 0 2px 6px rgba(15, 23, 42, 0.02) !important;
}

.glass-card {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 14px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.glass-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 36px rgba(14, 165, 233, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04) !important;
  border-color: rgba(14, 165, 233, 0.4) !important;
}

/* Header Top Bar */
.header-top {
  background-color: var(--primary-dark);
  color: #fff;
  font-size: 0.8rem;
  padding: 0.5rem 0;
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-top-left {
  display: flex;
  gap: 1.5rem;
}
.header-top-auth { display:flex; align-items:center; justify-content:flex-end; gap:.75rem; min-height:26px; }
.header-top-auth > a { display:inline-flex; align-items:center; justify-content:center; gap:.35rem; min-height:28px; line-height:1; color:inherit; text-decoration:none; }
.header-top-auth .header-profile-link { font-weight:800; white-space:nowrap; }
.header-top-auth .header-profile-link i { display:inline-flex; align-items:center; justify-content:center; width:1rem; height:1rem; }
.header-top-auth .header-profile-link span { display:block; padding-top:1px; }

/* Header Main */
.header-main {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
}
.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem;
}
.header-main .logo { flex: 0 0 auto; }
.header-main .search-bar { flex: 1 1 520px; max-width: 720px; margin-right: auto; }

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-img {
  width: 40px;
  height: auto;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-text-top {
  color: var(--primary-color);
  font-weight: 800;
}
.logo-text-bottom {
  color: var(--accent-color);
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.search-wrapper {
  position: relative;
  flex: 1;
  max-width: 600px;
  margin: 0 2rem;
}

.search-bar {
  flex: 1;
  display: flex;
  max-width: 700px;
  position: relative;
}
.search-bar input {
  flex: 1;
  padding: 0.85rem 1.5rem;
  border: 2px solid var(--accent-color);
  border-radius: 8px 0 0 8px;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  background: #f8fafc;
}
.search-bar input:focus {
  background: #fff;
}
.search-bar button {
  background-color: var(--accent-color);
  color: #fff;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  font-size: 1.1rem;
  transition: 0.2s;
}
.search-bar button:hover {
  background-color: #e06912;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-weight: 600;
}
.header-actions a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: #4b5563;
  font-size: 0.85rem;
  transition: color .18s ease, transform .18s ease, filter .18s ease;
}
.header-actions a:hover {
  color: var(--accent-color);
}
.header-actions a i {
  font-size: 1.25rem;
}
.header-actions .account-menu { position: relative !important; display: block !important; }
.header-actions .account-menu summary.account-action {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: stretch !important;
  gap: .25rem !important;
  min-width: 44px;
  margin: 0 !important;
  padding: 0 !important;
  color: #4b5563;
  font: inherit !important;
  font-size: .85rem !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  list-style: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  text-align: center !important;
  cursor: pointer;
  transition: color .18s ease, transform .18s ease, filter .18s ease;
}
.header-actions .account-menu summary.account-action i { display: block !important; font-size: 1.25rem; line-height: 1 !important; }
.header-actions .account-menu summary.account-action span { display: block !important; font-size: .8rem; line-height: 1.1; }
.header-actions > a.action-btn:hover,
.header-actions > a.action-btn:focus-visible,
.header-actions .account-menu summary.account-action:hover,
.header-actions .account-menu summary.account-action:focus-visible {
  color: var(--accent-color) !important;
  transform: translateY(-3px) !important;
  filter: drop-shadow(0 6px 7px rgba(14, 165, 233, .18));
  outline: none;
}
.header-actions .account-menu summary.account-action:focus-visible { border-radius:8px; box-shadow:0 0 0 3px rgba(14,165,233,.2); }
.header-actions .account-menu[open] summary.account-action { color:var(--accent-color); transform:translateY(-1px); }
.account-menu summary::-webkit-details-marker { display: none; }
.header-actions .account-menu-panel {
  position: absolute;
  top: calc(100% + .8rem);
  right: -.5rem;
  z-index: 1500;
  display: none;
  width: 245px;
  overflow: hidden;
  border: 1px solid #dbe7f1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .16);
  transform-origin: top right;
}
.header-actions .account-menu[open] > .account-menu-panel { display: block !important; animation:account-menu-in .16s ease-out both; }
.account-menu-user { padding: .9rem 1rem; border-bottom: 1px solid #edf2f7; background: #f8fbfe; }
.account-menu-user strong, .account-menu-user small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-menu-user strong { color: #0f172a; font-size: .88rem; }
.account-menu-user small { margin-top: .2rem; color: #64748b; font-size: .72rem; }
.header-actions .account-menu-panel a { display: flex !important; flex-direction: row !important; align-items: center !important; gap: .65rem; width: 100%; padding: .72rem 1rem; color: #334155; font-size: .84rem; font-weight: 700; text-align: left; text-decoration: none; }
.header-actions .account-menu-panel a:hover, .header-actions .account-menu-panel a:focus { color: #0284c7; background: #f0f9ff; outline: none; }
.header-actions .account-menu-panel a { transition: background .16s ease, color .16s ease, padding-left .16s ease; }
.header-actions .account-menu-panel a:hover, .header-actions .account-menu-panel a:focus { padding-left:1.2rem; }
@keyframes account-menu-in { from { opacity:0; transform:translateY(-6px) scale(.98); } to { opacity:1; transform:translateY(0) scale(1); } }
.btn, .primary-btn, .secondary-btn, .product-card, .category-card, .feature-card, .trust-item {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease !important;
}
.btn:hover, .primary-btn:hover, .secondary-btn:hover { transform:translateY(-2px); box-shadow:0 8px 16px rgba(15,23,42,.12); }
.product-card:hover, .category-card:hover, .feature-card:hover, .trust-item:hover { transform:translateY(-3px); box-shadow:0 10px 22px rgba(15,23,42,.09); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}
.header-actions .account-menu-panel a i { width: 1rem; color: #0ea5e9; font-size: .9rem; }

/* Categories Dropdown Positioning & Modern Button Fix */
.categories-dropdown {
  position: relative !important;
  display: inline-block !important;
}

.categories-btn {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: #0ea5e9 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 0.65rem 1.25rem !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  font-family: inherit !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25) !important;
  transition: all 0.2s ease-in-out !important;
  outline: none !important;
}

.categories-btn:hover {
  background: #0284c7 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35) !important;
}

.categories-dropdown .dropdown-menu {
  display: none !important;
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: 0 !important;
  min-width: 250px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12) !important;
  z-index: 99999 !important;
  padding: 0.5rem 0 !important;
}

.categories-dropdown:hover .dropdown-menu,
.categories-dropdown:focus-within .dropdown-menu {
  display: block !important;
}

.dropdown-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
  padding: 0.75rem 1.25rem !important;
  color: #334155 !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  text-decoration: none !important;
  transition: all 0.15s ease-in-out !important;
  border-bottom: 1px solid #f8fafc !important;
}

.dropdown-item:hover {
  background: #f0f9ff !important;
  color: #0ea5e9 !important;
}

.user-dropdown-wrapper {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.user-dropdown-wrapper > a {
  height: 100%;
}
.user-dropdown {
  position: absolute;
  top: 100%;
  right: -50%;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
}
.user-dropdown-wrapper:hover .user-dropdown {
  opacity: 1;
  visibility: visible;
  top: calc(100% + 5px);
}
.user-dropdown a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  color: #334155;
  width: 100%;
}
.user-dropdown a:hover {
  background-color: #f8fafc;
  color: var(--accent-color);
}
.user-dropdown a i {
  font-size: 1.1rem;
  width: 25px;
}
.user-dropdown-header {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.user-dropdown-header strong {
  color: var(--primary-color);
  display: block;
}

/* Mega Menu */
.mega-menu-wrapper {
  position: relative;
}
.mega-menu-btn {
  background-color: var(--accent-color);
  color: #fff;
  padding: 1rem 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
}
.mega-menu-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  z-index: 1000;
}
.mega-menu-wrapper:hover .mega-menu-dropdown {
  opacity: 1;
  visibility: visible;
}
.mega-menu-list {
  padding: 0.5rem 0;
}
.mega-menu-list li {
  border-bottom: 1px solid #f1f5f9;
}
.mega-menu-list li:last-child {
  border-bottom: none;
}
.mega-menu-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  color: #334155;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.2s, color 0.2s;
}
.mega-menu-list a:hover {
  background-color: #fff7ed;
  color: var(--accent-color);
}
.mega-menu-list a i {
  width: 20px;
  text-align: center;
  color: #94a3b8;
}
.mega-menu-list a:hover i {
  color: var(--accent-color);
}

/* Navigation */
.nav-bar {
  padding: 0;
  border-bottom: 1px solid var(--border-color);
}
.nav-bar .container {
  display: flex;
  align-items: center;
}
.all-categories-btn {
  background-color: var(--primary-dark);
  color: #fff;
  padding: 1rem 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
/* Navigation Menu Items */
.nav-links {
  display: flex;
  gap: 2rem;
  padding-left: 2rem;
  flex: 1;
}
.nav-links a {
  font-weight: 600;
  color: #475569;
  padding: 1rem 0;
  position: relative;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--accent-color);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-links-right {
  display: flex;
  gap: 1.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--primary-dark);
  background-image: url('/images/img_1.jpg'); /* placeholder updated later */
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 8rem 0;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11, 27, 50, 0.6);
}
.hero-content {
  position: relative;
  max-width: 600px;
  z-index: 1;
}
.hero-tag {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hero-desc {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}
.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: #fff;
  padding: 0.875rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.2s;
  border: none;
  cursor: pointer;
}
.btn:hover {
  background-color: #0077b3;
}

/* Features */
.features-section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-color);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.feature-icon {
  background-color: #e0f2fe;
  color: var(--accent-color);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.feature-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-color);
}
.feature-text p {
  font-size: 0.85rem;
  color: #6b7280;
}

/* Section Titles */
.section-header {
  margin: 4rem 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.section-header-left span {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-header-left h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-top: 0.5rem;
}
.see-all {
  color: var(--accent-color);
  font-weight: 600;
}

/* Category Cards */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.category-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 180px;
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; top: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
.category-card h3 {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  color: #fff;
  z-index: 1;
  font-size: 1.1rem;
}

/* Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.product-card {
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: #f97316;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}
.product-image {
  height: 200px;
  object-fit: contain;
  margin-bottom: 1rem;
  width: 100%;
}
.product-brand {
  font-size: 0.75rem;
  color: var(--accent-color);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.product-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
  flex: 1;
}
.product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1rem;
}
.product-price del {
  font-size: 0.85rem;
  color: #9ca3af;
  font-weight: 500;
  margin-left: 0.5rem;
}
.btn-outline {
  width: 100%;
  background-color: #fff;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  padding: 0.75rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-outline:hover {
  background-color: var(--accent-color);
  color: #fff;
}

/* Corporate Banner */
.corporate-banner {
  background-color: var(--primary-color);
  border-radius: 12px;
  color: #fff;
  display: flex;
  overflow: hidden;
  margin-bottom: 4rem;
}
.corp-content {
  padding: 4rem;
  flex: 1;
}
.corp-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.corp-content p {
  font-size: 1.1rem;
  color: #9ca3af;
  margin-bottom: 2rem;
}
.corp-image {
  flex: 1;
  background-image: url('/images/img_2.jpg'); /* placeholder */
  background-size: cover;
  background-position: center;
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 4rem;
}
.footer-features {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 3rem;
  margin-bottom: 3rem;
}
.footer-features .features-grid {
  grid-template-columns: repeat(3, 1fr);
}
.footer-features .feature-icon {
  background-color: rgba(255,255,255,0.1);
  color: #fff;
}
.footer-features .feature-text h4, 
.footer-features .feature-text p {
  color: #fff;
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-logo {
  margin-bottom: 1rem;
}
.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  color: #9ca3af;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #fff;
}
.footer-contact li {
  display: flex;
  gap: 1rem;
  color: #9ca3af;
  margin-bottom: 1rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  text-align: center;
  color: #9ca3af;
  font-size: 0.85rem;
}

/* Sidebar & Layout */
.page-layout {
  display: flex;
  gap: 2rem;
  margin: 2rem 0 4rem;
}
.sidebar {
  width: 250px;
  flex-shrink: 0;
}
.main-content {
  flex: 1;
}

/* Filters */
.filter-group {
  margin-bottom: 2rem;
}
.filter-group h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}
.filter-list li {
  margin-bottom: 0.5rem;
}
.filter-list a {
  color: #4b5563;
}
.filter-list a.active {
  color: var(--accent-color);
  font-weight: 600;
}
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: #4b5563;
}

/* Checkout */
.checkout-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
.card {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
}
.card-header {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group.full {
  grid-column: 1 / -1;
}
.form-group label {
  font-weight: 600;
  font-size: 0.85rem;
}
.form-group input {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
}
.order-summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.order-summary-total {
  display: flex;
  justify-content: space-between;
  margin: 1.5rem 0;
  font-size: 1.25rem;
  font-weight: 800;
}
.text-success {
  color: var(--success-color);
}

/* Success Page */
.success-page {
  text-align: center;
  padding: 6rem 0;
}
.success-icon {
  background-color: var(--success-color);
  color: #fff;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.success-page h1 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Orders Page */
.order-card {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 1.5rem;
}
.order-card-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.order-card-body {
  padding: 1.5rem;
}
.order-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.order-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border: 1px solid var(--border-color);
  border-radius: 4px;
}
.status-badge {
  background-color: #e0f2fe;
  color: var(--accent-color);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
}
.order-card-footer {
  padding: 1.5rem;
  background-color: var(--light-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}

/* Offcanvas Cart */
.offcanvas {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: #fff;
  z-index: 1000;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  transition: right 0.3s;
  display: flex;
  flex-direction: column;
}
.offcanvas.open {
  right: 0;
}
.offcanvas-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.offcanvas-body {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.empty-cart-icon {
  font-size: 3rem;
  color: #9ca3af;
  margin-bottom: 1rem;
}
.overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  display: none;
}
.overlay.open {
  display: block;
}/* --- Admin Panel Styles --- */
.admin-body { 
  margin: 0; padding: 0; overflow-x: hidden; 
  background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
  background-image: radial-gradient(at 0% 0%, hsla(210,100%,70%,0.2) 0px, transparent 50%),
                    radial-gradient(at 100% 100%, hsla(180,100%,70%,0.2) 0px, transparent 50%);
}
.admin-layout { display: flex; height: 100vh; overflow: hidden; }
.admin-sidebar { 
  width: 260px; 
  background: rgba(11, 27, 50, 0.85); 
  backdrop-filter: blur(12px); 
  -webkit-backdrop-filter: blur(12px); 
  color: #fff; display: flex; flex-direction: column; flex-shrink: 0; 
  border-right: 1px solid rgba(255,255,255,0.1);
}
.admin-sidebar-header { padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.admin-logo { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; font-size: 1.25rem; }
.admin-logo-icon { background: #fff; color: var(--primary-color); padding: 0.25rem 0.5rem; border-radius: 50%; font-size: 0.8rem; }
.admin-nav { flex: 1; padding: 1.5rem 0; overflow-y: auto; }
.admin-nav-item { display: flex; align-items: center; gap: 1rem; padding: 0.875rem 1.5rem; color: #cbd5e1; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); font-size: 0.95rem; border-left: 0px solid transparent; }
.admin-nav-item:hover { background-color: rgba(255, 255, 255, 0.05); color: #fff; padding-left: 1.75rem; }
.admin-nav-item.active { background-color: var(--accent-color); color: #fff; border-left: 4px solid #38bdf8; padding-left: calc(1.5rem - 4px); box-shadow: inset 4px 0 15px rgba(0,0,0,0.15); }
.admin-sidebar-footer { padding: 1rem 0; border-top: 1px solid rgba(255,255,255,0.1); }

.admin-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.admin-header { 
  background: rgba(255, 255, 255, 0.7); 
  backdrop-filter: blur(10px); 
  -webkit-backdrop-filter: blur(10px); 
  padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; 
  border-bottom: 1px solid rgba(255,255,255,0.4); 
}
.admin-header-title { font-size: 1.25rem; font-weight: 700; color: var(--primary-color); }
.admin-header-user { display: flex; align-items: center; gap: 1rem; }
.admin-avatar { width: 40px; height: 40px; background-color: var(--accent-color); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }

.admin-content { flex: 1; padding: 2rem; overflow-y: auto; }
.admin-card { 
  background: rgba(255, 255, 255, 0.65); 
  backdrop-filter: blur(12px); 
  -webkit-backdrop-filter: blur(12px); 
  border: 1px solid rgba(255,255,255,0.5); 
  border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem; 
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05); 
}
.admin-card-header { font-size: 1rem; font-weight: 600; color: var(--primary-color); margin-bottom: 1rem; display: flex; justify-content: space-between; align-items: center; }

/* Dashboard Charts */
.charts-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }

/* Dashboard Cards */
.dashboard-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
.stat-card { background: #fff; border: 1px solid var(--border-color); border-radius: 8px; padding: 1.5rem; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.stat-icon { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: 1.2rem; }
.stat-icon.green { background: #dcfce7; color: #16a34a; }
.stat-icon.blue { background: #e0f2fe; color: #0284c7; }
.stat-icon.yellow { background: #fef9c3; color: #ca8a04; }
.stat-icon.purple { background: #f3e8ff; color: #9333ea; }
.stat-value { font-size: 1.5rem; font-weight: 800; color: var(--primary-color); }
.stat-label { font-size: 0.85rem; color: #6b7280; margin-top: 0.25rem; }

/* Tables */
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--border-color); font-size: 0.9rem; }
.admin-table th { color: #6b7280; font-weight: 600; font-size: 0.85rem; }
.admin-table tr:hover { background-color: #f8f9fa; }
.action-btn { background: none; border: none; cursor: pointer; color: #6b7280; font-size: 1rem; transition: color 0.2s; margin-right: 0.5rem; }
.action-btn:hover { color: var(--primary-color); }
.action-btn.delete:hover { color: #ef4444; }

.badge { padding: 0.25rem 0.5rem; border-radius: 4px; font-size: 0.75rem; font-weight: 600; }
.badge.blue { background: #e0f2fe; color: #0284c7; }
.badge.green { background: #dcfce7; color: #16a34a; }
.badge.red { background: #fee2e2; color: #ef4444; }

.log-row.alert { background-color: #fef2f2 !important; }
.log-row.alert td { color: #991b1b; }

/* Modals */
.admin-modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1050;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.admin-modal-overlay.open { opacity: 1; visibility: visible; }
.admin-modal-dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #dbe5ef;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
  transform: translateY(-16px) scale(0.98);
  transition: transform 0.24s ease;
}
.admin-modal-overlay.open .admin-modal-dialog { transform: translateY(0) scale(1); }
.admin-modal-content {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 16px;
  width: 100%; max-width: 500px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.2);
  transform: translateY(-20px) scale(0.95); transition: all 0.3s ease;
}
.admin-modal-overlay.open .admin-modal-content { transform: translateY(0) scale(1); }
.admin-modal-header { padding: 1.5rem; border-bottom: 1px solid rgba(0,0,0,0.05); display: flex; justify-content: space-between; align-items: center; }
.admin-modal-header h3 { margin: 0; font-size: 1.25rem; color: var(--primary-color); }
.admin-modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #6b7280; transition: color 0.2s; }
.admin-modal-close:hover { color: #ef4444; }
.admin-modal-body { padding: 1.5rem; }
.admin-modal-footer { padding: 1.5rem; border-top: 1px solid rgba(0,0,0,0.05); display: flex; justify-content: flex-end; gap: 1rem; }

/* Customer profile: support and return request dialogs */
.profile-ticket-modal { padding: 1rem; }
.profile-ticket-modal .admin-modal-dialog {
  width: min(620px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0 !important;
  overflow: hidden;
  background: #fff !important;
  border: 1px solid #dbe5ef !important;
  border-radius: 20px !important;
  box-shadow: 0 28px 76px rgba(15, 23, 42, .32) !important;
}
.profile-ticket-modal .profile-ticket-modal-wide { width: min(700px, calc(100vw - 32px)); }
.profile-ticket-modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.5rem 1.65rem 1.2rem; background: linear-gradient(135deg, #f0f9ff, #fff); border-bottom: 1px solid #dbe5ef; }
.profile-ticket-modal-kicker { display: block; margin-bottom: .4rem; color: #0284c7; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.profile-ticket-modal-header h3 { margin: 0; color: #0f172a; font-size: 1.25rem; line-height: 1.35; }
.profile-ticket-modal-header p, .profile-ticket-modal-meta { display: block; margin: .45rem 0 0; color: #64748b; font-size: .86rem; line-height: 1.45; }
.profile-ticket-modal-close { flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #dbe5ef; border-radius: 10px; background: #fff; color: #475569; cursor: pointer; transition: .2s ease; }
.profile-ticket-modal-close:hover { background: #fff1f2; border-color: #fecdd3; color: #e11d48; }
.profile-ticket-modal-form { padding: 1.35rem 1.65rem 1.65rem; }
.profile-ticket-modal-actions { display: flex; justify-content: flex-end; align-items: center; gap: .75rem; margin-top: 1.35rem; }
.profile-ticket-modal-cancel { min-height: 44px; padding: .7rem 1.25rem; border: 1px solid #cbd5e1; border-radius: 9px; background: #fff; color: #334155; font-weight: 700; cursor: pointer; }
.profile-ticket-modal .btn-save-custom { min-height: 44px; margin: 0; }
.profile-ticket-message-stream { max-height: min(350px, 38dvh); overflow-y: auto; display: flex; flex-direction: column; gap: 1rem; margin: 1.35rem 1.65rem; padding-right: .35rem; }
.profile-ticket-reply-form { padding-top: 0; border-top: 1px solid #e2e8f0; }

@media (max-width: 640px) {
  .profile-ticket-modal { padding: .65rem; }
  .profile-ticket-modal .admin-modal-dialog, .profile-ticket-modal .profile-ticket-modal-wide { width: 100%; max-height: calc(100dvh - 20px); border-radius: 16px !important; }
  .profile-ticket-modal-header { padding: 1.15rem; }
  .profile-ticket-modal-header h3 { font-size: 1.06rem; }
  .profile-ticket-modal-form { padding: 1rem 1.15rem 1.15rem; }
  .profile-ticket-message-stream { margin: 1rem 1.15rem; max-height: 33dvh; }
  .profile-ticket-modal-actions { justify-content: stretch; flex-direction: column-reverse; }
  .profile-ticket-modal-actions > * { width: 100%; }
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (MEDIA QUERIES)
   ========================================================================== */

/* Tablet & Smaller Desktop */
@media (max-width: 992px) {
  /* Public Site */
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .page-layout { flex-direction: column; }
  .sidebar { width: 100%; }

  /* Admin Panel */
  .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Public Site Header & Nav */
  .header-top { display: block; } /* Yönetici mağazadayken panele dönüş bağlantısı burada kalır. */
  .header-main .container { flex-wrap: wrap; justify-content: space-between; padding: 0.75rem 1rem; gap: 0.5rem; }
  .search-wrapper { order: 3; flex: 0 0 100%; max-width: 100%; margin: 0.5rem 0 0 0; }
  .header-actions { gap: 1.25rem; }
  .header-actions a span { display: none; } /* Hide labels on mobile */
  .header-actions a { gap: 0.1rem; }
  .header-actions a i { font-size: 1.4rem; }
  .logo-img-main { height: 38px !important; }
  .logo-text-main { font-size: 1.4rem !important; }
  .nav-links { display: none; }
  .nav-links.mobile-open { display: flex; flex-direction: column; width: 100%; padding: 1rem 0; gap: 0.5rem; }
  .nav-links-right { display: none; }
  .all-categories-btn { width: 100%; justify-content: space-between; }
  .mobile-menu-btn { display: block; font-size: 1.4rem; color: var(--primary-color); cursor: pointer; }
  
  /* Utilities for hiding/showing */
  .d-md-none { display: block !important; }
  .d-md-block { display: none !important; }

  /* Public Site Content */
  .nav-bar .container { flex-wrap: wrap; }
  .hero { padding: 4rem 0; }
  .hero-title { font-size: 2.2rem; }
  .hero-desc { font-size: 1rem; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .products-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-features .features-grid { grid-template-columns: 1fr; }
  .corp-content { padding: 2rem; }
  .corporate-banner { flex-direction: column; }
  .corp-image { height: 250px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 1rem; }

  /* Admin Panel Sidebar */
  .admin-sidebar { 
    position: fixed; 
    left: -260px; /* Hidden by default */
    top: 0; 
    bottom: 0; 
    z-index: 1000; 
    transition: left 0.3s ease; 
  }
  .admin-sidebar.open { left: 0; }
  
  /* Dark overlay when sidebar is open */
  .admin-sidebar-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); z-index: 999;
  }
  .admin-sidebar-overlay.open { display: block; }

  .admin-header { padding: 1rem; }
  .admin-mobile-toggle { display: block; font-size: 1.5rem; cursor: pointer; margin-right: 1rem; color: var(--primary-color); }
  
  .dashboard-stats { grid-template-columns: 1fr; gap: 1rem; }
  .charts-grid { grid-template-columns: 1fr; }
  .settings-tabs { flex-wrap: wrap; gap: 0.5rem; }
  
  /* Tables on Mobile */
  .admin-card { padding: 1rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .admin-table { min-width: 600px; /* Force table to be wider so it scrolls instead of squishing */ }
  
  .form-grid { grid-template-columns: 1fr; }
}

/* Hide mobile toggles on larger screens */
@media (min-width: 769px) {
  .mobile-menu-btn { display: none; }
  .admin-mobile-toggle { display: none; }
}

/* Trendyol Round Categories */
.round-categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: flex-start;
  margin-top: 1rem;
}
.round-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100px;
  text-align: center;
  text-decoration: none;
  color: var(--text-color);
  transition: transform 0.2s;
}
.round-category:hover {
  transform: translateY(-5px);
  color: var(--accent-color);
}
.round-category-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  font-size: 2rem;
  color: var(--accent-color);
  transition: border-color 0.3s;
}
.round-category:hover .round-category-img {
  border-color: var(--accent-color);
}
.round-category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.round-category span {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  word-break: break-word;
}

/* Mobile Drawer Navigation Styles */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 9999;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  transition: left 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}
.mobile-drawer.open {
  left: 0;
}
.mobile-drawer-header {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-drawer-close {
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: #64748b;
}
.mobile-drawer-body {
  padding: 1rem 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-drawer-body a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  color: #4b5563;
  font-size: 0.95rem;
  transition: all 0.2s;
  text-decoration: none;
}
.mobile-drawer-body a:hover {
  background-color: #f8fafc;
  color: var(--accent-color);
}
.mobile-drawer-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 0.75rem 0;
}
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  z-index: 9998;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.mobile-drawer-overlay.open {
  display: block;
  opacity: 1;
}

/* ==========================================================================
   ENHANCED MOBILE RESPONSIVENESS (SMARTPHONES & TABLETS)
   ========================================================================== */
@media (max-width: 768px) {
  /* Public E-Commerce Mobile Improvements */
  .container { padding: 0 0.75rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0.75rem !important; }
  .product-card { padding: 0.75rem !important; border-radius: 10px !important; }
  .product-card-img { height: 140px !important; }
  .product-card-title { font-size: 0.85rem !important; height: 2.4em !important; }
  .product-card-price { font-size: 1rem !important; }
  .product-card-btn { padding: 0.4rem 0.6rem !important; font-size: 0.75rem !important; }

  /* Mobile Categories Grid */
  .round-categories-grid { gap: 0.75rem !important; }
  .round-category { width: 75px !important; }
  .round-category-img { width: 60px !important; height: 60px !important; font-size: 1.4rem !important; }
  .round-category span { font-size: 0.75rem !important; }

  /* Admin Mobile Layout Adjustments */
  .admin-main { padding: 0 !important; }
  .admin-content { padding: 1rem !important; }
  .dashboard-stats { grid-template-columns: repeat(2, 1fr) !important; gap: 0.75rem !important; }
  .charts-grid { grid-template-columns: 1fr !important; }
  .settings-layout { grid-template-columns: 1fr !important; }

  /* Admin Modal Popups on Mobile */
  .admin-modal-overlay { padding: 0.5rem !important; }
  .admin-modal-dialog { max-width: 95vw !important; margin: 0 auto !important; border-radius: 12px !important; }
  .admin-modal-header { padding: 1rem 1.25rem !important; }
  .admin-modal-header h3 { font-size: 1rem !important; }
  .admin-modal-body { padding: 1rem 1.25rem !important; }
  .admin-modal-footer { padding: 1rem 1.25rem !important; flex-wrap: wrap !important; gap: 0.5rem !important; }
}

@media (max-width: 480px) {
  .dashboard-stats { grid-template-columns: 1fr !important; }
  .products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0.5rem !important; }
  .product-card-img { height: 120px !important; }
  .header-actions { gap: 0.85rem !important; }
}

/* Home: clear sectioned storefront layout. These rules intentionally use page-specific
   classes so mobile behaviour never depends on fragile inline-style selectors. */
.home-page { background: #fff; overflow: hidden; }
.home-hero-section { padding: 1.25rem 0 0; background: #f8fafc; }
.home-hero { position: relative; overflow: hidden; min-height: 430px; border-radius: 18px; background: linear-gradient(115deg, #0b2844, #0f172a); box-shadow: 0 18px 38px rgba(15, 23, 42, .16); }
.home-hero-track { display: flex; height: 100%; transition: transform .55s cubic-bezier(.4,0,.2,1); }
.home-hero-slide { position: relative; flex: 0 0 100%; min-height: 430px; isolation: isolate; }
.home-hero-slide img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.home-hero-shade { position: absolute; inset: 0; z-index: -1; background: rgba(5,18,35,var(--hero-overlay,.62)); }
.home-hero-fallback { display: flex; align-items: center; background: radial-gradient(circle at 80% 15%, #0ea5e9 0, rgba(14,165,233,.15) 24%, transparent 43%), linear-gradient(115deg, #082640, #101b32); }
.home-hero-copy { display: flex; position: relative; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 430px; max-width: 620px; padding: 3.5rem 5.5rem; color: #fff; }
.home-hero-copy.hero-layout-custom { position:absolute; left:var(--hero-x,50%); top:var(--hero-y,50%); width:min(620px,calc(100% - 2rem)); min-height:0; padding:0; transform:translate(-50%,-50%); }
.home-hero-copy.hero-text-left { text-align:left; align-items:flex-start; }.home-hero-copy.hero-text-center { text-align:center; align-items:center; }.home-hero-copy.hero-text-right { text-align:right; align-items:flex-end; }
.home-hero-copy.hero-layout-left { margin-right:auto; margin-left:0; text-align:left; align-items:flex-start; }
.home-hero-copy.hero-layout-center { text-align:center; align-items:center; margin:0 auto; }
.home-hero-copy.hero-layout-right { margin-left:auto; text-align:right; align-items:flex-end; }
.home-hero-copy.hero-layout-bottom { justify-content:flex-end; padding-bottom:4.5rem; text-align:left; align-items:flex-start; margin-right:auto; margin-left:0; }
.home-hero-copy.hero-shadow-none { text-shadow:none; }.home-hero-copy.hero-shadow-soft { text-shadow:0 2px 14px rgba(0,0,0,.55); }.home-hero-copy.hero-shadow-strong { text-shadow:0 3px 2px rgba(0,0,0,.9),0 0 20px rgba(0,0,0,.85); }
.home-eyebrow { display: inline-block; color: #0ea5e9; font-size: .74rem; font-weight: 900; letter-spacing: .16em; line-height: 1.2; }
.home-hero-copy .home-eyebrow { margin-bottom: .9rem; color: #38bdf8; }
.home-hero-copy h2 { max-width: 580px; margin: 0; color: #fff; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900; letter-spacing: -.045em; line-height: 1.04; }
.home-hero-copy p { max-width: 500px; margin: 1.15rem 0 1.75rem; color: #e2e8f0; font-size: 1.08rem; line-height: 1.6; }
.home-hero-cta { display: inline-flex; align-items: center; gap: .65rem; padding: .85rem 1.2rem; border-radius: 9px; background: #0ea5e9; color: #fff; font-weight: 800; text-decoration: none; transition: transform .2s, background .2s; }
.home-hero-cta:hover { background: #0284c7; color: #fff; transform: translateY(-2px); }
.home-hero-nav { position: absolute; top: 50%; z-index: 2; display: grid; width: 45px; height: 45px; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.88); color: #0f172a; cursor: pointer; transform: translateY(-50%); }
.home-hero-prev { left: 1rem; }.home-hero-next { right: 1rem; }
.home-hero-dots { position: absolute; bottom: 1.2rem; left: 50%; z-index: 2; display: flex; gap: .45rem; transform: translateX(-50%); }
.home-hero-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.62); cursor: pointer; transition: width .2s, background .2s; }.home-hero-dot.is-active { width: 25px; background: #0ea5e9; }
.home-trust-bar { border-bottom: 1px solid #e2e8f0; background: #fff; }.home-trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; padding-top: 1.4rem; padding-bottom: 1.4rem; }
.home-trust-item { display: flex; align-items: center; gap: .75rem; min-width: 0; }.home-trust-item > span { display: grid; flex: 0 0 44px; width: 44px; height: 44px; place-items: center; border-radius: 11px; background: #e0f2fe; color: #0284c7; font-size: 1.05rem; }.home-trust-item strong, .home-trust-item small { display: block; }.home-trust-item strong { color: #0f172a; font-size: .9rem; }.home-trust-item small { margin-top: .12rem; color: #64748b; font-size: .77rem; }
.home-section { padding: 4rem 0; }.home-categories-section { background: #fff; }.home-products-section { border-top: 1px solid #e2e8f0; background: #f8fafc; }
.home-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }.home-section-heading h2 { margin: .4rem 0 0; color: #0f172a; font-size: clamp(1.65rem, 3vw, 2.25rem); font-weight: 900; letter-spacing: -.04em; line-height: 1.1; }.home-section-heading > a { display: inline-flex; align-items: center; gap: .4rem; color: #0284c7; font-size: .9rem; font-weight: 800; text-decoration: none; white-space: nowrap; }.home-eyebrow-warm { color: #e11d2e; }
.home-category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }.home-category-card { position: relative; display: block; min-width: 0; aspect-ratio: 1.1/1; overflow: hidden; border-radius: 13px; background: #e0f2fe; color: #fff; text-decoration: none; }.home-category-card img { position: absolute; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }.home-category-card:hover img { transform: scale(1.06); }.home-category-gradient { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,.03) 20%, rgba(15,23,42,.86) 100%); }.home-category-fallback { position: absolute; inset: 0; display: none; place-items: center; background: linear-gradient(135deg,#0ea5e9,#0f172a); font-size: 2.5rem; }.home-category-fallback.is-visible { display: grid; }.home-category-label { position: absolute; right: 1rem; bottom: .9rem; left: 1rem; }.home-category-label strong { display: block; color: #fff; font-size: 1rem; line-height: 1.2; }.home-category-label span { display: block; margin-top: .35rem; color: #bae6fd; font-size: .75rem; font-weight: 700; }
.home-products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }.home-products-grid .product-card { min-width: 0; border-radius: 12px !important; box-shadow: none; }.home-products-grid .product-card:hover { box-shadow: 0 12px 26px rgba(15,23,42,.11); transform: translateY(-3px); }.home-products-grid .product-card > div:first-of-type { height: 205px !important; }
@media (max-width: 900px) { .home-hero, .home-hero-slide, .home-hero-copy { min-height: 370px; }.home-hero-copy { padding: 3rem; }.home-category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }.home-products-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }.home-trust-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 640px) { .home-hero-section { padding-top: .75rem; }.home-hero { min-height: 300px; border-radius: 13px; }.home-hero-slide { min-height: 300px; }.home-hero-copy { min-height: 300px; max-width: 100%; padding: 2rem 1.25rem 2.65rem; }.home-hero-copy h2 { font-size: clamp(1.75rem,8vw,2.25rem); }.home-hero-copy p { margin: .75rem 0 1.1rem; font-size: .9rem; line-height: 1.45; }.home-hero-nav { display: none; }.home-hero-shade { background: linear-gradient(90deg,rgba(5,18,35,.88),rgba(5,18,35,.42)), linear-gradient(0deg,rgba(5,18,35,.5),transparent); }.home-trust-grid { grid-template-columns: 1fr 1fr; gap: 1rem .5rem; padding-top: 1rem; padding-bottom: 1rem; }.home-trust-item { gap: .5rem; }.home-trust-item > span { flex-basis: 37px; width: 37px; height: 37px; border-radius: 9px; font-size: .88rem; }.home-trust-item strong { font-size: .73rem; }.home-trust-item small { font-size: .66rem; line-height: 1.2; }.home-section { padding: 2.5rem 0; }.home-section-heading { align-items: flex-end; margin-bottom: 1.1rem; }.home-section-heading h2 { font-size: 1.5rem; }.home-section-heading > a { font-size: .75rem; }.home-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }.home-category-card { aspect-ratio: 1.18/1; border-radius: 11px; }.home-category-label { right: .75rem; bottom: .7rem; left: .75rem; }.home-category-label strong { font-size: .86rem; }.home-category-label span { display: none; }.home-products-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }.home-products-grid .product-card { padding: .7rem !important; }.home-products-grid .product-card > div:first-of-type { height: 130px !important; margin-bottom: .7rem !important; }.home-products-grid .product-card button[title="Sepete Ekle"] { padding: .42rem .52rem !important; font-size: .7rem !important; }.home-products-grid .product-card .product-title { font-size: .78rem !important; }.home-products-grid .product-card > div:last-child > div:last-child { gap: .35rem; }.home-products-grid .product-card > div:last-child > div:last-child > div { font-size: .9rem !important; } }
@media (max-width:640px) { .home-hero-copy.hero-layout-custom { min-height:0; padding:0; width:min(88%,330px); } }

/* Final mobile layout layer: keeps every public page inside the viewport. */
@media (max-width: 768px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  body.mobile-drawer-open { overflow: hidden; }
  .container, .profile-container { width: 100% !important; max-width: 100% !important; padding-left: 1rem !important; padding-right: 1rem !important; }
  .header-main { padding: 0.75rem 0 !important; }
  .header-main .container { display: grid !important; grid-template-columns: minmax(0, 1fr) auto !important; gap: 0.65rem !important; align-items: center !important; }
  .header-main .logo { min-width: 0 !important; }
  .header-main .logo a { gap: 0.45rem !important; }
  .logo-img-main { width: 38px !important; height: 38px !important; }
  .header-main .logo div span:first-child { font-size: 1.15rem !important; }
  .header-main .logo div span:last-child { font-size: 0.56rem !important; letter-spacing: 0.7px !important; }
  .search-bar { grid-column: 1 / -1 !important; width: 100% !important; max-width: none !important; margin: 0 !important; }
  .search-bar form { width: 100% !important; }
  .search-bar input { min-width: 0 !important; padding: 0.7rem 0.75rem !important; font-size: 0.88rem !important; }
  .search-bar button { padding: 0.7rem 0.95rem !important; }
  .header-actions { gap: 0.65rem !important; flex-shrink: 0 !important; }
  .header-actions a i { font-size: 1.15rem !important; }
  .header-actions a span { display: none !important; }
  .header-actions .account-menu summary.account-action span { display: none !important; }
  .header-actions .account-menu summary.account-action { gap: .1rem !important; min-width: 0; }
  .account-menu-panel { right: 0; width: min(260px, calc(100vw - 2rem)); }
  .nav-bar { padding: 0.65rem 0 !important; }
  .nav-bar .container { display: flex !important; flex-wrap: wrap !important; gap: 0.5rem !important; }
  .nav-bar .container > div:first-child { width: 100% !important; gap: 0.55rem !important; }
  .mobile-menu-btn { display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 42px !important; height: 42px !important; border: 1px solid #bae6fd !important; border-radius: 10px !important; background: #fff !important; color: #0f172a !important; }
  .categories-dropdown { flex: 1 !important; min-width: 0 !important; }
  .categories-btn { width: 100% !important; justify-content: space-between !important; padding: 0.72rem 0.9rem !important; font-size: 0.82rem !important; }
  .categories-dropdown .dropdown-menu { display: none !important; }
  .nav-links, .nav-links-right { display: none !important; }
  .main-content { min-width: 0 !important; }
  .main-content [style*="grid-template-columns"] { min-width: 0 !important; }
  .main-content img, .main-content video, .main-content iframe { max-width: 100% !important; }
  .main-content h1 { font-size: clamp(1.35rem, 6vw, 2rem) !important; line-height: 1.15 !important; }
  .main-content h2 { line-height: 1.2 !important; }
  .main-content [style*="display:flex"] { min-width: 0 !important; }
  .main-content [style*="overflow"] { max-width: 100% !important; }
  .footer { margin-top: 2rem !important; padding-top: 2.25rem !important; }
  .footer .container { grid-template-columns: 1fr !important; gap: 1.5rem !important; padding-bottom: 1.5rem !important; }

  /* Hero slider: no fixed desktop crop, readable text and touch-sized controls. */
  .hero-slider-wrapper { border-radius: 14px !important; }
  .hero-slide-item { height: clamp(245px, 68vw, 340px) !important; }
  .hero-slide-item img { object-fit: cover !important; object-position: center !important; }
  .hero-slide-overlay { justify-content: flex-end !important; padding: 0.85rem !important; background: linear-gradient(180deg, transparent 25%, rgba(15,23,42,0.78) 100%) !important; }
  .hero-slide-text-box { width: min(100%, 340px) !important; max-width: calc(100% - 2.5rem) !important; padding: 0.75rem 0.85rem !important; border-radius: 10px !important; background: rgba(15,23,42,0.72) !important; }
  .hero-slide-title { font-size: clamp(1rem, 5vw, 1.35rem) !important; margin-bottom: 0.25rem !important; }
  .hero-slide-subtitle { font-size: 0.78rem !important; line-height: 1.35 !important; margin-bottom: 0.6rem !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }
  .hero-slide-btn { padding: 0.5rem 0.8rem !important; font-size: 0.78rem !important; }
  .hero-slider-nav-btn { width: 32px !important; height: 32px !important; font-size: 0.78rem !important; }
  .hero-slider-prev { left: 0.55rem !important; }
  .hero-slider-next { right: 0.55rem !important; }
  .hero-slider-dots { bottom: 0.55rem !important; gap: 0.35rem !important; }
  .hero-slider-dot { width: 7px !important; height: 7px !important; }
  .hero-slider-dot.active { width: 18px !important; }

  /* Inline grids used by home, catalog, profile, checkout and support pages. */
  .main-content [style*="grid-template-columns:repeat(auto-fill"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0.75rem !important; }
  .main-content [style*="grid-template-columns:repeat(auto-fit"] { grid-template-columns: 1fr !important; gap: 1rem !important; }
  .main-content [style*="grid-template-columns: 1fr 360px"], .main-content [style*="grid-template-columns:1fr 360px"] { grid-template-columns: 1fr !important; }
  .main-content [style*="grid-template-columns: 280px 1fr"], .main-content [style*="grid-template-columns:280px 1fr"] { grid-template-columns: 1fr !important; }
  .main-content table { display: block !important; width: 100% !important; overflow-x: auto !important; white-space: nowrap !important; }
  .main-content pre { max-width: 100% !important; overflow-x: auto !important; white-space: pre-wrap !important; word-break: break-word !important; }
  .main-content button, .main-content .btn { max-width: 100% !important; }
  .checkout-step-card, .cart-items-card, .profile-card { padding: 1rem !important; border-radius: 12px !important; }
}

@media (max-width: 480px) {
  .container, .profile-container { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
  .header-actions { gap: 0.45rem !important; }
  .header-actions a i { font-size: 1.05rem !important; }
  .products-grid, .main-content [style*="grid-template-columns:repeat(auto-fill"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0.5rem !important; }
  .product-card { min-width: 0 !important; }
  .product-card-img { height: 112px !important; }
  .round-categories-grid { justify-content: space-around !important; }
  .hero-slide-item { height: 250px !important; }
  .hero-slide-text-box { max-width: calc(100% - 2rem) !important; }
  .hero-slide-title { font-size: 1rem !important; }
  .section-header { align-items: stretch !important; }
  .section-header a { align-self: flex-start !important; }
}
/* Newsletter signup */
.newsletter-signup { margin-top: 4rem; padding: 2.5rem 0; background: linear-gradient(135deg, #e0f2fe, #f8fafc); border-top: 1px solid #bae6fd; border-bottom: 1px solid #e2e8f0; }
.newsletter-signup-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2rem; align-items: center; }
.newsletter-kicker { color: var(--accent-color, #0ea5e9); font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.newsletter-copy h2 { margin: .35rem 0 .5rem; color: #0f172a; font-size: 1.65rem; }
.newsletter-copy p { margin: 0; color: #475569; line-height: 1.55; }
.newsletter-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: .7rem; align-items: center; }
.newsletter-form input[type=text], .newsletter-form input[type=email] { width: 100%; min-width: 0; padding: .8rem .9rem; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; font: inherit; }
.newsletter-form button { border: 0; border-radius: 8px; padding: .82rem 1rem; background: var(--accent-color, #0ea5e9); color: #fff; font-weight: 800; cursor: pointer; white-space: nowrap; }
.newsletter-consent { grid-column: 1 / -1; color: #475569; font-size: .8rem; display: flex; align-items: center; gap: .4rem; }
.newsletter-form small { grid-column: 1 / -1; color: #b91c1c; font-weight: 700; }
.visually-hidden, .sr-only { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }
@media (max-width: 768px) {
    .newsletter-signup { margin-top: 2.5rem; padding: 2rem 0; }
    .newsletter-signup-inner { grid-template-columns: 1fr; gap: 1.25rem; }
    .newsletter-copy h2 { font-size: 1.35rem; }
    .newsletter-form { grid-template-columns: 1fr; }
    .newsletter-consent, .newsletter-form small { grid-column: auto; }
    .newsletter-form button { width: 100%; }
}

/* Home page alignment: campaign text and reassurance area have deliberate breathing room. */
.home-hero-copy { align-items:center; max-width:min(720px, 100%); margin:0 auto; padding-right:2.5rem; padding-left:2.5rem; text-align:center; }
.home-hero-copy p { margin-right:auto; margin-left:auto; }
.home-trust-bar {
  margin: 2.5rem 0 0;
  border: 0;
  background: transparent;
}
.home-trust-grid {
  padding: 1.35rem 1.6rem;
  border: 1px solid #dceaf4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}
.home-categories-section { padding-top: 4.5rem; }
.newsletter-signup-inner { min-width:0; }
.newsletter-copy, .newsletter-form { min-width:0; }
@media (max-width:640px) {
  .home-hero-copy { align-items:flex-start; margin:0; padding-right:1.25rem; padding-left:1.25rem; text-align:left; }
  .home-hero-copy p { margin-right:0; margin-left:0; }
  .home-trust-bar { margin-top:1.5rem; }
  .home-page .home-trust-grid { padding:1.1rem .85rem !important; border-radius:14px; }
  .home-categories-section { padding-top:3rem; }
}

/* Last-resort responsive guardrail for pages that still use inline desktop layouts. */
@media (max-width: 768px) {
  *, *::before, *::after { box-sizing: border-box; }
  .header-top { display:block !important; padding: 0.35rem 0 !important; }
  .header-top-info { display: none !important; }
  .header-top .container { justify-content: flex-end !important; }
  .header-top-auth { width: 100%; justify-content: flex-end; gap: 0.65rem !important; }
  .header-top-auth a { font-size: 0.76rem !important; white-space: nowrap; }
  .mobile-admin-return { display:flex !important; color:#0284c7 !important; }

  /* Catalog filters, cards and utility bars become a deliberate single-column flow. */
  .page-layout { grid-template-columns: minmax(0, 1fr) !important; gap: 1rem !important; }
  .page-layout .sidebar { width: 100% !important; }
  .page-layout .sidebar .filter-group { padding: 1rem !important; }
  .page-layout .main-content > div[style*="justify-content:flex-start"] { flex-wrap: wrap !important; gap: 0.75rem !important; padding: 0.85rem 1rem !important; }
  .page-layout .main-content select { width: 100% !important; max-width: 100% !important; }

  /* Keep high-value action rows usable at phone widths. */
  .cart-header-top, .checkout-header-bar { align-items: flex-start !important; gap: 0.75rem !important; flex-wrap: wrap !important; }
  .cart-title-heading, .checkout-header-bar h1 { font-size: 1.35rem !important; }
  .cart-item-row-new { gap: 0.85rem !important; padding: 1rem !important; }
  .cart-item-row-new > div[style*="min-width"] { min-width: 0 !important; width: 100% !important; text-align: left !important; }
  .cart-summary-card, .checkout-summary-card { position: static !important; }
  .checkout-header-bar > div { max-width: 100% !important; }
  .payment-option-card { align-items: flex-start !important; }

  /* Product detail controls must never push the viewport horizontally. */
  .product-detail-wrapper, .cart-wrapper, .checkout-wrapper { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
  .product-details-container, .pd-description-card { padding: 1rem !important; border-radius: 12px !important; }
  .pd-main-img-box { height: min(78vw, 320px) !important; }
  .pd-title { font-size: 1.3rem !important; }
  .pd-price-card { padding: 1rem !important; gap: 0.75rem !important; flex-wrap: wrap !important; }
  .pd-price-card .price { font-size: 1.65rem !important; }
  .pd-actions { gap: 0.65rem !important; flex-wrap: wrap !important; }
  .pd-actions .qty-selector { flex: 0 0 auto; }
  .pd-actions .btn-add-cart { min-width: min(100%, 190px) !important; }
  .trust-badges { gap: 0.5rem !important; }
  .trust-badge { min-width: 0 !important; padding: 0.65rem 0.35rem !important; font-size: 0.7rem !important; }

  /* Prevent long Turkish labels, e-mail addresses and server feedback from escaping cards. */
  .main-content, .product-detail-wrapper, .cart-wrapper, .checkout-wrapper, .profile-container { overflow-wrap: anywhere; }
  input, select, textarea, button { max-width: 100%; }
  .alert, [role="alert"] { overflow-wrap: anywhere; }
}

/* Marketplace polish: shared public-page surfaces without changing brand colors. */
:root { --surface: #fff; --surface-soft: #f8fafc; --line: #e2e8f0; --ink: #0f172a; --muted: #64748b; }
body { background: var(--surface-soft); color: var(--ink); }
.main-content { min-height: 52vh; }
.main-content > .container, .main-content > .profile-container { padding-top: 1.5rem; padding-bottom: 2rem; }
.product-card, .cart-items-card, .cart-summary-card, .checkout-summary-card, .checkout-step-card, .profile-card, .pd-description-card, .product-details-container, .page-layout .sidebar, .page-layout .main-content > div { border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(15,23,42,.045); }
.product-card, .cart-items-card, .cart-summary-card, .checkout-summary-card, .checkout-step-card, .profile-card, .pd-description-card, .product-details-container { border-radius: 14px !important; background: var(--surface); }
.product-card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.product-card:hover { border-color: #bae6fd; box-shadow: 0 15px 28px rgba(15,23,42,.11); transform: translateY(-3px); }
.product-card img { transition: transform .28s ease; }
.product-card:hover img { transform: scale(1.025); }
.product-card button, .product-card .btn, .btn-add-cart, .checkout-submit-btn { min-height: 42px; }
.main-content a:focus-visible, .main-content button:focus-visible, .main-content input:focus-visible, .main-content select:focus-visible, .main-content textarea:focus-visible { outline: 3px solid rgba(14,165,233,.32); outline-offset: 2px; }
.page-layout .sidebar, .cart-summary-card, .checkout-summary-card { position: sticky; top: 1rem; }
.cart-item-row-new, .cart-item, .order-card, .support-ticket-card { border-bottom-color: var(--line) !important; }
.empty-state, .alert { border-radius: 14px; }
.footer { border-top: 1px solid rgba(148,163,184,.24); }
img[loading="lazy"] { background: linear-gradient(110deg,#f1f5f9 8%,#fff 18%,#f1f5f9 33%); }
.is-submitting { opacity: .72; pointer-events: none; cursor: wait !important; }

@media (max-width: 768px) {
  body { background: #fff; }
  .main-content > .container, .main-content > .profile-container { padding-top: 1rem; padding-bottom: 1.25rem; }
  .product-card, .cart-items-card, .cart-summary-card, .checkout-summary-card, .checkout-step-card, .profile-card, .pd-description-card, .product-details-container { border-radius: 12px !important; box-shadow: 0 4px 14px rgba(15,23,42,.045); }
  .page-layout .sidebar, .cart-summary-card, .checkout-summary-card { position: static; }
  .cart-item-row-new, .cart-item { align-items: flex-start !important; }
  .main-content form button[type="submit"] { min-height: 44px; }
}
