@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --primary-blue: #0056d2;
  --dark-blue: #003366;
  --footer-blue: #002855;
  --light-gray: #f5f5f5;
  --top-bar-bg: #ececec;
  --text-dark: #222;
  --text-muted: #888;
  --orange-badge: #f58220;
  --yellow-btn: #ffc107;
  --red-btn: #e53935;
  --gutter: 20px;
  --container-inner: 1224px;
}

@media (min-width: 1200px) {
  .container {
    max-width: calc(var(--container-inner) + (2 * var(--gutter)));
  }
}

.container {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

* { box-sizing: border-box; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Top Bar */
.top-bar {
  background: var(--top-bar-bg);
  font-size: 12px;
  padding: 0;
  border-bottom: 1px solid #ddd;
  overflow: hidden;
}

.top-bar-marquee {
  width: 100%;
  overflow: hidden;
  padding: 7px 0;
}

.marquee-track {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}

.marquee-track span {
  color: #c0392b;
  font-size: 12px;
}

.marquee-track strong {
  color: #c0392b;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.33%); }
}

/* Main Header */
.main-header {
  background: #fff;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.header-grid {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  grid-template-areas: "logo search actions";
  align-items: center;
  gap: 20px;
}

.logo-wrap {
  grid-area: logo;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-dark);
}

.logo-img {
  height: 70px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.header-search {
  grid-area: search;
}

.mobile-menu-btn {
  display: none;
}

.logo-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.logo-text span { color: var(--primary-blue); }

.search-form {
  display: flex;
  border: 2px solid #ddd;
  border-radius: 4px;
  position: relative;
}

.search-field {
  flex: 1;
  position: relative;
  min-width: 0;
}

.search-form input {
  border: none;
  padding: 10px 15px;
  width: 100%;
  font-size: 14px;
  outline: none;
  background: transparent;
}

.search-result {
  position: absolute;
  top: calc(100% + 2px);
  left: -2px;
  right: -2px;
  z-index: 1100;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 0 0 4px 4px;
  max-height: 380px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--text-dark);
  border-bottom: 1px solid #f0f0f0;
  transition: background .15s;
}

.search-result-item:last-child { border-bottom: none; }

.search-result-item:hover {
  background: #f5f8fc;
  color: var(--text-dark);
}

.search-result-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
  background: #f8f8f8;
}

.search-result-info {
  flex: 1;
  min-width: 0;
}

.search-result-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-code {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}

.search-result-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-blue);
  white-space: nowrap;
  flex-shrink: 0;
}

.search-result-empty {
  padding: 14px;
  font-size: 13px;
  color: #888;
  text-align: center;
}

.search-form button {
  background: var(--primary-blue);
  color: #fff;
  border: none;
  padding: 10px 25px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background .2s;
}

.search-form button:hover { background: #0044aa; }

.header-actions {
  grid-area: actions;
  display: flex;
  gap: 25px;
  justify-content: flex-end;
}

.header-action {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
  transition: color .2s;
}

.header-action:hover { color: var(--primary-blue); }

.header-action i { font-size: 22px; }

.header-action.cart-trigger {
  position: relative;
}

.cart-badge {
  background: var(--primary-blue);
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-left: -5px;
}

/* Navigation */
.main-nav {
  background: #fff;
  border-bottom: 2px solid var(--primary-blue);
}

.main-nav .container {
  padding-top: 0;
  padding-bottom: 0;
}

.main-nav .navbar-collapse {
  border-top: 1px solid #eee;
}

.main-nav .navbar-collapse.show,
.main-nav .navbar-collapse.collapsing {
  padding: 8px 0 12px;
}

@media (min-width: 992px) {
  .main-nav .navbar-collapse {
    border-top: none;
    display: flex !important;
  }
}

.main-nav .nav-link {
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 12px 18px;
  text-transform: uppercase;
  transition: color .2s, background .2s;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  color: var(--primary-blue);
  background: rgba(0, 86, 210, 0.05);
}

.navbar-toggler { border-color: var(--primary-blue); }

/* Mega Menu */
.main-menu .dropdown-toggle::after {
  margin-left: 4px;
  font-size: 10px;
}

.has-mega {
  position: static;
}

.has-mega .mega-menu {
  left: 0;
  right: 0;
  width: 100%;
  border: none;
  border-top: 2px solid var(--primary-blue);
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  padding: 0;
  margin-top: 0;
}

.mega-menu-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  max-width: 1140px;
  margin: 0 auto;
  padding: 12px 15px;
}

.mega-item {
  display: block;
  padding: 10px 18px;
  color: #444;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: color .2s, background .2s;
  border-radius: 4px;
}

.mega-item:hover {
  color: var(--primary-blue);
  background: rgba(0, 86, 210, 0.06);
}

.mega-item-sale {
  color: #e53935;
}

/* All Categories + Nav Layout */
.main-nav-layout {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  position: relative;
}

.main-nav-left {
  flex-shrink: 0;
}

.has-all-categories {
  position: static;
}

.nav-all-categories {
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: var(--primary-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 12px 18px;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}

.nav-all-categories:hover,
.has-all-categories.is-open .nav-all-categories {
  background: #0047b3;
  color: #fff;
}

.nav-all-categories-caret {
  font-size: 10px;
  transition: transform .2s;
}

.has-all-categories.is-open .nav-all-categories-caret {
  transform: rotate(180deg);
}

.all-categories-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1050;
  background: #fff;
  border-top: 2px solid var(--primary-blue);
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
}

.has-all-categories.is-open .all-categories-panel {
  display: block;
}

.all-categories-panel-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 20px;
  max-height: 70vh;
  overflow-y: auto;
}

.main-menu--limited {
  flex-wrap: nowrap;
  justify-content: flex-end;
  margin-left: auto;
}

.main-menu--limited .nav-link {
  white-space: nowrap;
}

/* Category Tree */
.category-tree {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-tree--nested {
  padding-left: 20px;
  display: none;
}

.category-tree-item.is-open > .category-tree--nested {
  display: block;
}

.category-tree-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
}

.category-tree-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 0;
  transition: background .15s, transform .15s;
}

.category-tree-toggle:hover {
  background: rgba(0, 86, 210, 0.08);
  color: var(--primary-blue);
}

.category-tree-item.is-open > .category-tree-row .category-tree-toggle i {
  transform: rotate(90deg);
}

.category-tree-spacer {
  flex-shrink: 0;
  width: 28px;
}

.category-tree-link {
  color: #333;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 4px;
  transition: color .15s;
}

.category-tree-link:hover {
  color: var(--primary-blue);
}

.category-tree-item.has-children > .category-tree-row .category-tree-link {
  font-weight: 700;
}

/* Mobile category tree */
.mobile-tree-panel {
  padding: 8px 12px 16px;
}

.mobile-tree-panel .category-tree-row {
  min-height: 44px;
}

.mobile-tree-panel .category-tree-link {
  font-size: 15px;
  padding: 10px 4px;
}

.mobile-tree-panel .category-tree-toggle {
  width: 36px;
  height: 36px;
}

.mobile-tree-panel .category-tree-spacer {
  width: 36px;
}

.mobile-all-categories .mobile-navigation-parent span {
  display: block;
  font-weight: 700;
  font-size: 17px;
  color: #1b1b1b;
  padding: 16px 20px;
  border-bottom: 1px solid #e6e6e6;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(27, 27, 27, 0.5);
  cursor: pointer;
}

body.mobile-menu-active {
  overflow: hidden;
}

body.mobile-menu-active .mobile-menu-overlay {
  display: block;
}

#mobile-navigation {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  max-width: 90vw;
  height: 100%;
  z-index: 999;
  background: #fff;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  transition: right 0.2s linear;
  box-shadow: none;
}

body.mobile-menu-active #mobile-navigation {
  right: 0;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

#mobile-navigation .mobile-navigation-title {
  position: relative;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 18px 24px;
  background-color: var(--primary-blue);
  line-height: 1.4;
}

#mobile-navigation .mobile-nav-close {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25%;
  height: 100%;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  padding: 0 24px 0 0;
}

#mobile-navigation .mobile-navigation {
  overflow: hidden;
  position: relative;
}

#mobile-navigation .mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

#mobile-navigation .mobile-nav-list > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #1b1b1b;
  font-size: 16px;
  font-weight: 400;
  padding: 16px 20px;
  border-bottom: 1px solid #e6e6e6;
  text-decoration: none;
  transition: color 0.2s;
}

#mobile-navigation .mobile-nav-list > li > a:hover {
  color: var(--primary-blue);
}

#mobile-navigation .mobile-nav-list > li > a i {
  font-size: 14px;
  color: #999;
}

#mobile-navigation .has-sub-category > .mobile-sub-wrap {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  min-height: 100%;
  background: #fff;
  transition: left 0.2s linear;
  z-index: 2;
}

#mobile-navigation .has-sub-category.active > .mobile-sub-wrap {
  left: 0;
}

#mobile-navigation .mobile-navigation-back a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #1b1b1b;
  font-size: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #e6e6e6;
  text-decoration: none;
}

#mobile-navigation .mobile-navigation-back a span {
  margin-left: 8px;
}

#mobile-navigation .mobile-navigation-parent a {
  display: block;
  font-weight: 700;
  font-size: 17px;
  color: #1b1b1b;
  padding: 16px 20px;
  border-bottom: 1px solid #e6e6e6;
  text-decoration: none;
}

#mobile-navigation .mobile-sub-list {
  list-style: none;
  margin: 0;
  padding: 0 24px;
}

#mobile-navigation .mobile-sub-list li a {
  display: block;
  color: #1b1b1b;
  font-size: 15px;
  font-weight: 400;
  padding: 14px 0;
  border-bottom: 1px solid #e6e6e6;
  text-decoration: none;
  transition: color 0.2s;
}

#mobile-navigation .mobile-sub-list li a:hover {
  color: var(--primary-blue);
}

#mobile-navigation .mobile-navigation-user-title {
  color: #1b1b1b;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 20px 20px 0;
}

#mobile-navigation .mobile-navigation-user-content {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  gap: 12px;
  border-bottom: 1px solid #e6e6e6;
}

#mobile-navigation .mobile-user-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  font-size: 15px;
  color: #1b1b1b;
  font-weight: 400;
  border: 1px solid #e6e6e6;
  background-color: #f2f2f2;
  text-decoration: none;
  transition: all 0.2s;
}

#mobile-navigation .mobile-user-btn:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

@media (max-width: 767px) {
  #mobile-navigation {
    right: -320px;
    width: 320px;
  }

  #mobile-navigation .mobile-nav-list > li > a {
    padding: 18px 24px;
    font-size: 17px;
  }

  #mobile-navigation .mobile-sub-list li a {
    padding: 16px 0;
  }
}

@media (max-width: 374px) {
  #mobile-navigation {
    right: -280px;
    width: 280px;
  }
}

@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
}

@media (max-width: 991px) {
  .has-mega .mega-menu {
    position: static;
    box-shadow: none;
    border-top: none;
    background: #f8f9fa;
  }

  .mega-menu-inner {
    flex-direction: column;
    padding: 0;
  }

  .mega-item {
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
  }
}

/* Login Modal */
.login-modal-dialog { max-width: 420px; }

.login-modal {
  border-radius: 8px;
  border: none;
}

.login-modal .modal-title {
  font-weight: 800;
  font-size: 20px;
}

.login-subtitle {
  color: #888;
  font-size: 13px;
  margin-bottom: 20px;
}

.login-form .form-control {
  padding: 12px 15px;
  font-size: 13px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.login-options {
  font-size: 12px;
}

.forgot-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-size: 12px;
}

.btn-login {
  background: var(--primary-blue);
  color: #fff;
  font-weight: 700;
  padding: 12px;
  border-radius: 4px;
}

.btn-login:hover {
  background: #0044aa;
  color: #fff;
}

.login-divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
}

.login-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #eee;
}

.login-divider span {
  background: #fff;
  padding: 0 12px;
  position: relative;
  color: #aaa;
  font-size: 12px;
}

.register-prompt {
  text-align: center;
  margin-bottom: 15px;
}

.register-prompt p {
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 14px;
}

.register-prompt span {
  color: #888;
  font-size: 12px;
  display: block;
  margin-bottom: 12px;
}

.btn-register {
  background: #fff;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  font-weight: 700;
  padding: 10px;
}

.btn-register:hover {
  background: var(--primary-blue);
  color: #fff;
}

.social-login {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-facebook {
  background: #3b5998;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px;
}

.btn-facebook:hover { background: #2d4373; color: #fff; }

.btn-google {
  background: #fff;
  border: 1px solid #ddd;
  color: #444;
  font-size: 13px;
  font-weight: 600;
  padding: 10px;
}

.btn-google:hover { background: #f5f5f5; }

/* Cart Offcanvas */
.cart-offcanvas {
  width: 380px;
  max-width: 100%;
}

.cart-offcanvas .offcanvas-title {
  font-weight: 800;
  font-size: 16px;
}

.cart-offcanvas .offcanvas-title i {
  margin-right: 8px;
  color: var(--primary-blue);
}

.cart-empty-icon {
  font-size: 48px;
  color: #ccc;
  margin: 40px 0 15px;
}

.cart-empty p {
  color: #888;
  font-size: 14px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.cart-item-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 4px;
  flex-shrink: 0;
}

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

.cart-item-title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-blue);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  gap: 10px;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  background: #f4f6f9;
  border: 1px solid #e6eaf0;
  border-radius: 999px;
  padding: 2px;
  gap: 2px;
}

.cart-qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  color: var(--primary-blue, #0d6efd);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.cart-qty-btn:hover {
  background: var(--primary-blue, #0d6efd);
  color: #fff;
}

.cart-qty-btn:active { transform: scale(0.92); }

.cart-qty-val {
  min-width: 32px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
}

.cart-item-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fef2f2;
  border: none;
  color: #ef4444;
  font-size: 15px;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.cart-item-remove:hover {
  background: #ef4444;
  color: #fff;
}

.cart-item-remove:active { transform: scale(0.92); }

.cart-footer {
  border-top: 2px solid #eee;
  padding-top: 15px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 15px;
}

.cart-total-row strong {
  font-size: 18px;
  color: var(--primary-blue);
}

.btn-cart-checkout {
  background: var(--primary-blue);
  color: #fff;
  font-weight: 700;
  padding: 12px;
  margin-bottom: 8px;
  border-radius: 4px;
}

.btn-cart-checkout:hover { background: #0044aa; color: #fff; }

.btn-cart-continue {
  background: #fff;
  border: 1px solid #ddd;
  color: #444;
  font-weight: 600;
  padding: 10px;
  border-radius: 4px;
}

.btn-cart-continue:hover { background: #f5f5f5; }

.product-card .btn-add-cart {
  display: block;
  width: 100%;
  margin-top: auto;
  background: var(--primary-blue);
  color: #fff;
  border: none;
  padding: 7px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s;
}

.product-card .btn-add-cart:disabled {
  opacity: 1;
  background: #9ca3af;
  cursor: not-allowed;
}

.product-card:hover .btn-add-cart:not(:disabled) { opacity: 1; }

@media (max-width: 767px) {
  .product-card .btn-add-cart:not(:disabled) { opacity: 1; }
  .product-card .btn-add-cart:disabled { opacity: 1; }
}

.product-card .btn-detail {
  text-align: center;
  text-decoration: none;
  background: #fff;
  color: var(--primary-blue);
  border: 1px solid var(--primary-blue);
}
.product-card .btn-detail:hover { background: var(--primary-blue); color: #fff; }

.cart-item-variant {
  font-size: 11px;
  color: #6b7280;
  margin: 2px 0;
}
.bsk-item-variant {
  display: inline-block;
  font-size: 12px;
  color: #6b7280;
  background: #f3f4f6;
  padding: 1px 8px;
  border-radius: 10px;
}

.product-card .badge-discount {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #ff7f00;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  height: 30px;
  line-height: 30px;
  padding: 0 12px;
  border-radius: 0;
  z-index: 2;
}

/* Hero Slider */
.hero-slider {
  padding: 20px 0 10px;
}

.hero-slider .carousel {
  border-radius: 6px;
  overflow: hidden;
}

.hero-slider .carousel-item {
  height: auto;
  max-height: 480px;
  overflow: hidden;
}

.hero-slide-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
}

.hero-slider .carousel-indicators {
  margin-bottom: 12px;
  justify-content: center;
  margin-left: 0;
  margin-right: 0;
}

.hero-slider .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 4px;
  background-color: rgba(255,255,255,.6);
  border: none;
}

.hero-slider .carousel-indicators button.active {
  background-color: #4caf50;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: 5%;
  opacity: 0;
  transition: opacity .3s;
}

.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next {
  opacity: .8;
}

/* Promo Banners (3 col) */
.promo-banners { padding: 20px 0; }

.promo-banner {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  height: 160px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background-size: cover;
  background-position: center;
  transition: transform .3s;
}

.promo-banner:hover { transform: scale(1.02); }

.promo-banner-1 { background: linear-gradient(135deg, #87CEEB 0%, #4a90c2 100%); }
.promo-banner-2 { background: linear-gradient(135deg, #a8d8ea 0%, #5ba3c6 100%); }
.promo-banner-3 { background: linear-gradient(135deg, #b8e0f0 0%, #6bb3d9 100%); }

.promo-banner .banner-text {
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  text-shadow: 1px 1px 4px rgba(0,0,0,.4);
  line-height: 1.3;
}

.promo-banner .btn-incele {
  background: rgba(255,255,255,.9);
  color: var(--primary-blue);
  border: none;
  padding: 5px 15px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 3px;
  margin-top: 8px;
  cursor: pointer;
  transition: background .2s;
}

.promo-banner .btn-incele:hover { background: #fff; }

/* Section Title */
.section-title {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  margin: 30px 0 20px;
  text-transform: uppercase;
}

/* Product Card (alkocav showcase) */
.product-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 0;
  padding: 20px 20px 24px;
  text-align: center;
  transition: border-color 0.2s linear, box-shadow 0.2s linear;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: #ff8800;
  box-shadow: none;
  transform: none;
}

.product-card .badge-ind {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--orange-badge);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  z-index: 2;
}

.product-card .product-img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 24px;
  overflow: hidden;
  background: #fff;
}

.product-card .product-img img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.2s linear;
}

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

.product-card .brand {
  color: var(--primary-blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.product-card .title {
  font-size: 12px;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 8px;
  min-height: 34px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card .title a {
  color: var(--text-dark);
  text-decoration: none;
}

.product-card .title a:hover,
.product-card .title a:focus {
  color: var(--text-dark);
  text-decoration: none;
}

.product-card .product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 6px;
  min-height: 22px;
  margin-bottom: 10px;
}

.product-card .price {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
}

.product-card .old-price {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-card .old-price-placeholder {
  visibility: hidden;
  text-decoration: none;
}

/* Swiper New Arrivals */
.new-arrivals-section { padding: 10px 0 30px; }

.new-arrivals-swiper { padding: 0 40px; position: relative; }

.new-arrivals-swiper .swiper-button-prev,
.new-arrivals-swiper .swiper-button-next {
  color: var(--primary-blue);
  background: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.new-arrivals-swiper .swiper-button-prev::after,
.new-arrivals-swiper .swiper-button-next::after {
  font-size: 16px;
  font-weight: 700;
}

/* Mid Promo Banners */
.mid-promo { padding: 20px 0; }

.mid-promo-banner {
  border-radius: 8px;
  overflow: hidden;
  height: 220px;
  display: flex;
  align-items: center;
  padding: 30px;
  position: relative;
  transition: transform .3s;
}

.mid-promo-banner:hover { transform: scale(1.01); }

.mid-promo-left {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
}

.mid-promo-right {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 50%, #2d4a6e 100%);
  color: #fff;
}

.mid-promo-banner h3 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 15px;
}

.mid-promo-banner .btn-hemen {
  border: none;
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity .2s;
}

.mid-promo-banner .btn-hemen:hover { opacity: .85; }

.btn-red { background: var(--red-btn); color: #fff; }
.btn-blue { background: var(--primary-blue); color: #fff; }

/* Tabbed Products */
.tabbed-products { padding: 20px 0 40px; }

.product-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 25px;
  border-bottom: 2px solid #eee;
}

.product-tabs .tab-btn {
  background: none;
  border: none;
  padding: 12px 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: color .2s;
}

.product-tabs .tab-btn.active {
  color: var(--primary-blue);
}

.product-tabs .tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-blue);
}

.tab-content-panel { display: none; }
.tab-content-panel.active { display: block; }

/* Footer */
.navitek-footer{
  background-image: url('../images/footer_bg.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  color: #ffffff;
  font-size: 12px;
}

.navitek-footer a{
  color: rgba(255,255,255,.85);
  text-decoration: none;
}
.navitek-footer a:hover{ color: #fff; }

.footer-row-1{
  padding: 36px 0 28px;
}

.footer-brand-name{
  font-weight: 800;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: .5px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.footer-logo-img{
  max-width: 250px;
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.footer-text{
  color: rgba(255,255,255,.75);
  font-size: 11px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-phone{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
}
.footer-phone i{
  font-size: 16px;
  opacity: .95;
}

.footer-title{
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .5px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.footer-links{
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li{ margin-bottom: 8px; }
.footer-links a{
  color: rgba(255,255,255,.72);
  font-size: 11px;
}

.footer-row-2{
  border-top: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
  padding: 16px 0;
  background: rgba(0,0,0,.05);
}

.footer-social-icons{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-social-icons a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font-size: 15px;
  transition: background .2s, border-color .2s;
}
.footer-social-icons a:hover{
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.55);
}

.footer-newsletter{
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.newsletter-text{
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.newsletter-form{
  display: flex;
  flex: 1;
  max-width: 340px;
}
.newsletter-form input{
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  padding: 9px 14px;
  font-size: 12px;
  border-radius: 3px 0 0 3px;
  flex: 1;
  outline: none;
}
.newsletter-form input::placeholder{ color: rgba(255,255,255,.55); }
.newsletter-form button{
  background: #f5a623;
  color: #fff;
  border: none;
  padding: 9px 18px;
  font-size: 11px;
  font-weight: 800;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  white-space: nowrap;
}
.newsletter-form button:hover{ background: #e09510; }

.footer-row-3{
  background: rgba(0,0,0,.18);
  padding: 12px 0 8px;
}

.footer-copyright{
  font-size: 11px;
  color: rgba(255,255,255,.65);
}

.footer-payments{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}
.pay-logo{ height: 20px; }
.pay-maestro{
  background: #fff;
  color: #1a1f71;
  font-size: 10px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: .5px;
}

.footer-cmd{
  text-align: center;
  padding-top: 10px;
  color: rgba(255,255,255,.55);
  font-size: 12px;
  font-style: italic;
}

/* Responsive */
@media (max-width: 991px) {
  .header-grid {
    grid-template-columns: 44px 1fr auto;
    grid-template-areas:
      "menu logo actions"
      "search search search";
    gap: 10px 12px;
    align-items: center;
  }

  .mobile-menu-btn {
    grid-area: menu;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: var(--primary-blue);
    font-size: 26px;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
  }

  .mobile-menu-btn:hover {
    background: rgba(0, 86, 210, 0.06);
    border-color: var(--primary-blue);
  }

  .logo-wrap {
    justify-self: center;
    justify-content: center;
  }

  .logo-img {
    height: 52px;
  }

  .header-actions {
    gap: 8px;
    justify-content: flex-end;
  }

  .header-action {
    flex-direction: column;
    gap: 2px;
    font-size: 10px;
    min-width: 40px;
  }

  .header-action .action-label {
    display: none;
  }

  .header-action i {
    font-size: 24px;
  }

  .header-action.cart-trigger {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding-right: 4px;
  }

  .header-action.cart-trigger .cart-badge {
    position: absolute;
    top: -6px;
    right: -2px;
    margin-left: 0;
    width: 18px;
    height: 18px;
    font-size: 10px;
    z-index: 2;
  }

  .main-nav {
    border-top: none;
    border-bottom: none;
  }

  .main-nav:has(.navbar-collapse.show) {
    border-bottom: none;
  }

  .main-nav .container {
    padding-top: 0;
    padding-bottom: 0;
  }

  .main-nav .navbar-collapse {
    border-top: none;
    background: #f8f9fa;
    margin: 0 -12px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .main-nav .nav-link {
    padding: 12px 14px;
    border-bottom: 1px solid #e9ecef;
  }

  .hero-slide-img { height: 320px; }
  .mid-promo-banner { height: 180px; margin-bottom: 15px; }
  .footer-newsletter { justify-content: flex-start; }
}

@media (max-width: 767px) {
  .hero-slide-img { height: 200px; }
  .main-header {
    padding: 10px 0;
  }
  .promo-banner { height: 120px; margin-bottom: 10px; }
  .product-card .badge-discount {
    height: 20px;
    line-height: 20px;
    font-size: 12px;
    padding: 0 8px;
  }
  .product-card .product-price {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 44px;
    margin-bottom: 10px;
  }
  .product-card .price,
  .product-card .old-price {
    display: block;
  }
  .product-card .old-price {
    margin-top: 4px;
  }
  .new-arrivals-swiper { padding: 0 30px; }
  .product-tabs { flex-wrap: wrap; }
  .product-tabs .tab-btn { padding: 10px 15px; font-size: 11px; }
  .footer-newsletter { flex-direction: column; align-items: flex-start; justify-content: flex-start; }
  .newsletter-form { max-width: 100%; width: 100%; }
  .footer-payments { justify-content: flex-start; }
  .footer-row-1 .col-6 { margin-bottom: 20px; }
  .footer-logo-img{
    max-width: 220px;
  }
}

@media (max-width: 575px) {
  .logo-text { font-size: 11px; }
  .main-nav .nav-link { font-size: 11px; padding: 10px 12px; }
}

/* WhatsApp Sabit Buton */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

@media (max-width: 767px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    font-size: 28px;
  }
}

/* ====================== KATEGORİ SAYFASI ====================== */
.category-page {
  padding: 18px 0 40px;
}

.cat-breadcrumb {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 16px;
}

.cat-breadcrumb a {
  color: #6b7280;
  text-decoration: none;
}

.cat-breadcrumb a:hover { color: var(--primary-blue, #0d6efd); }
.cat-breadcrumb .sep { margin: 0 6px; color: #c4c9d2; }
.cat-breadcrumb .current { color: #111827; font-weight: 600; }

.cat-title {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 14px;
}

.cat-filter-toggle {
  width: 100%;
  margin-bottom: 14px;
  background: var(--primary-blue, #0d6efd);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-weight: 600;
  font-size: 14px;
}

/* Sidebar */
.cat-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cat-filter-group {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.cat-filter-title {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 2px solid var(--primary-blue, #0d6efd);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.cat-filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 320px;
  overflow-y: auto;
}

.cat-filter-list li { margin: 0; }

.cat-filter-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 8px;
  font-size: 13px;
  color: #374151;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}

.cat-filter-list a:hover {
  background: #f3f6fb;
  color: var(--primary-blue, #0d6efd);
}

.cat-filter-list a.active {
  background: var(--primary-blue, #0d6efd);
  color: #fff;
  font-weight: 600;
}

.cat-filter-list a.active .count { color: #e5edff; }

.cat-filter-list .count {
  color: #9ca3af;
  font-size: 12px;
  flex-shrink: 0;
}

.cat-brand-clear {
  color: #ef4444 !important;
  font-weight: 600;
}

/* Marka checkbox (çoklu seçim) */
.cat-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
  border-radius: 6px;
  margin: 0;
}

.cat-check:hover { background: #f3f6fb; }
.cat-check input { width: 16px; height: 16px; accent-color: var(--primary-blue, #0d6efd); cursor: pointer; flex-shrink: 0; }
.cat-check .cat-check-name { flex: 1; }
.cat-check .count { color: #9ca3af; font-size: 12px; }

.cat-brand-clear-btn {
  background: none;
  border: none;
  padding: 6px 0 0;
  cursor: pointer;
  color: #ef4444;
  font-weight: 600;
}

/* Filtre seçenekleri butonları */
.cat-order-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 7px 8px;
  font-size: 13px;
  color: #374151;
  border-radius: 6px;
  cursor: pointer;
}

.cat-order-btn:hover { background: #f3f6fb; color: var(--primary-blue, #0d6efd); }
.cat-order-btn.active { background: var(--primary-blue, #0d6efd); color: #fff; font-weight: 600; }

/* AJAX yükleniyor */
.cat-products-wrap { position: relative; min-height: 200px; transition: opacity 0.15s ease; }
.cat-products-wrap.cat-loading { opacity: 0.45; pointer-events: none; }

.cat-filter-all {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-blue, #0d6efd);
  text-decoration: none;
}

/* Scrollbar */
.cat-filter-list::-webkit-scrollbar { width: 6px; }
.cat-filter-list::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }

/* Toolbar */
.cat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

.cat-toolbar-count { font-size: 13px; color: #6b7280; }
.cat-toolbar-count strong { color: #111827; }

.cat-toolbar-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cat-toolbar-sort label {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
  white-space: nowrap;
}

.cat-toolbar-sort .form-select {
  min-width: 190px;
  font-size: 13px;
}

/* Pagination */
.cat-pagination {
  margin-top: 26px;
  display: flex;
  justify-content: center;
}

.cat-pagination .pagination {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.cat-pagination .page-item .page-link,
.cat-pagination .pagination a,
.cat-pagination .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #374151;
  text-decoration: none;
  font-size: 14px;
  background: #fff;
}

.cat-pagination .page-item.active .page-link,
.cat-pagination .pagination .active span {
  background: var(--primary-blue, #0d6efd);
  border-color: var(--primary-blue, #0d6efd);
  color: #fff;
}

.cat-pagination .page-item.disabled .page-link,
.cat-pagination .pagination .disabled span {
  color: #c4c9d2;
  background: #f9fafb;
}

/* Empty */
.cat-empty {
  text-align: center;
  padding: 60px 20px;
  color: #9ca3af;
}

.cat-empty i { font-size: 48px; display: block; margin-bottom: 12px; }

/* Mobil */
@media (max-width: 991.98px) {
  .cat-sidebar {
    display: none;
    margin-bottom: 16px;
  }
  .cat-sidebar.cat-sidebar--open { display: flex; }
}

/* ====================== ÜRÜN DETAY SAYFASI ====================== */
.product-detail-page { padding: 18px 0 40px; }

.pd-main { margin-bottom: 8px; }

/* Galeri */
.pd-gallery-main {
  position: relative;
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.pd-gallery-main img {
  max-width: 100%;
  max-height: 460px;
  object-fit: contain;
}

.pd-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: #ff7f00;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  height: 30px;
  line-height: 30px;
  padding: 0 12px;
  border-radius: 0;
}

.pd-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.pd-thumb {
  width: 72px;
  height: 72px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.pd-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumb.active { border-color: var(--primary-blue, #0d6efd); border-width: 2px; }

/* Bilgi */
.pd-brand {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-blue, #0d6efd);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.pd-title {
  font-size: 24px;
  font-weight: 800;
  color: #111827;
  line-height: 1.3;
  margin: 0 0 12px;
}

.pd-meta-top {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #6b7280;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #eef0f4;
}

.pd-stock.in { color: #16a34a; font-weight: 600; }
.pd-stock.out { color: #ef4444; font-weight: 600; }

.pd-price-box {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.pd-price {
  font-size: 30px;
  font-weight: 800;
  color: var(--primary-blue, #0d6efd);
}

.pd-old-price {
  font-size: 18px;
  color: #9ca3af;
  text-decoration: line-through;
}

.pd-price-ask { font-size: 20px; font-weight: 700; color: #ef4444; }

.pd-short {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* Aksiyonlar */
.pd-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.pd-unit {
  width: auto;
  min-width: 110px;
  height: 48px;
  font-size: 14px;
}

.pd-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  height: 48px;
}

.pd-qty-btn {
  width: 42px;
  height: 100%;
  border: none;
  background: #f5f6f8;
  font-size: 18px;
  font-weight: 700;
  color: #374151;
  cursor: pointer;
}

.pd-qty-btn:hover { background: var(--primary-blue, #0d6efd); color: #fff; }

.pd-qty input {
  width: 56px;
  height: 100%;
  border: none;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  -moz-appearance: textfield;
}

.pd-qty input::-webkit-outer-spin-button,
.pd-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pd-addcart {
  flex: 1;
  min-width: 180px;
  height: 48px;
  border: none;
  border-radius: 8px;
  background: var(--primary-blue, #0d6efd);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: filter 0.15s ease;
}

.pd-addcart:hover { filter: brightness(0.93); color: #fff; }
.pd-addcart:disabled { opacity: 0.6; cursor: default; }

.pd-secondary {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 14px 0;
  margin-bottom: 8px;
  border-top: 1px solid #eef0f4;
  border-bottom: 1px solid #eef0f4;
}

.pd-sec-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #4b5563;
  text-decoration: none;
}

.pd-sec-link:hover, .pd-sec-link.active { color: #ef4444; }

/* Özellik tablosu */
.pd-spec-table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
  font-size: 14px;
}

.pd-spec-table th,
.pd-spec-table td {
  padding: 9px 12px;
  border-bottom: 1px solid #f0f2f5;
  text-align: left;
}

.pd-spec-table th {
  width: 38%;
  color: #6b7280;
  font-weight: 600;
  background: #fafbfc;
}

.pd-spec-table td { color: #111827; }

/* Tablar */
.pd-tabs { margin-top: 36px; }

.pd-tab-buttons {
  display: flex;
  gap: 6px;
  border-bottom: 2px solid #eef0f4;
  flex-wrap: wrap;
}

.pd-tab-btn {
  background: none;
  border: none;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #6b7280;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.pd-tab-btn.active {
  color: var(--primary-blue, #0d6efd);
  border-bottom-color: var(--primary-blue, #0d6efd);
}

.pd-tab-panels { padding: 20px 4px; }
.pd-tab-panel { display: none; font-size: 14px; line-height: 1.7; color: #374151; }
.pd-tab-panel.active { display: block; }

.pd-code-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}

.pd-code-list li {
  background: #f7f9fc;
  border: 1px solid #eef0f4;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
}

/* Benzer ürünler */
.pd-similar { margin-top: 40px; }

.pd-section-title {
  font-size: 20px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-blue, #0d6efd);
  display: inline-block;
}

@media (max-width: 575.98px) {
  .pd-title { font-size: 20px; }
  .pd-price { font-size: 24px; }
  .pd-addcart { min-width: 100%; order: 5; }
}

/* ===================== BASKET PAGE ===================== */
.basket-page { padding: 24px 0 56px; }
.basket-page .cat-title { margin-bottom: 18px; }

.bsk-freeship {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 18px;
}
.bsk-freeship i { margin-right: 6px; }

.bsk-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

.bsk-items {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.bsk-item {
  display: grid;
  grid-template-columns: 80px 1fr 110px 130px 110px 40px;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid #f0f1f3;
}
.bsk-item:last-of-type { border-bottom: 1px solid #f0f1f3; }

.bsk-item-img { display: block; }
.bsk-item-img img {
  width: 80px; height: 80px;
  object-fit: contain;
  border: 1px solid #eef0f2;
  border-radius: 8px;
  background: #fff;
}

.bsk-item-name {
  display: block;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.35;
}
.bsk-item-name:hover { color: #0d6efd; }
.bsk-item-meta { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.bsk-item-meta span {
  font-size: 11px;
  background: #f3f4f6;
  color: #4b5563;
  padding: 2px 8px;
  border-radius: 20px;
}
.bsk-item-price-mobile { display: none; }

.bsk-item-price,
.bsk-item-total { font-weight: 700; color: #111827; text-align: right; }
.bsk-item-total { color: #0d6efd; }

.bsk-item-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  overflow: hidden;
  justify-self: center;
}
.bsk-qty-btn {
  width: 32px; height: 32px;
  border: none; background: #f9fafb;
  color: #374151; font-size: 16px; font-weight: 700;
  cursor: pointer; line-height: 1;
}
.bsk-qty-btn:hover { background: #eef2ff; color: #0d6efd; }
.bsk-qty-btn:disabled { opacity: .5; cursor: default; }
.bsk-qty-val { min-width: 36px; text-align: center; font-weight: 700; font-size: 14px; }

.bsk-item-remove button {
  width: 34px; height: 34px;
  border: 1px solid #fecaca;
  background: #fff;
  color: #ef4444;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.bsk-item-remove button:hover { background: #ef4444; color: #fff; }

.bsk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
}
.bsk-coupon { display: flex; gap: 8px; }
.bsk-coupon input {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  min-width: 200px;
}
.bsk-coupon button {
  border: none; background: #111827; color: #fff;
  border-radius: 8px; padding: 8px 16px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.bsk-coupon button:disabled { opacity: .5; cursor: default; }
.bsk-empty button {
  border: 1px solid #d1d5db; background: #fff; color: #6b7280;
  border-radius: 8px; padding: 8px 16px; font-size: 14px; cursor: pointer;
}
.bsk-empty button:hover { border-color: #ef4444; color: #ef4444; }

.bsk-summary-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 22px;
  position: sticky;
  top: 16px;
}
.bsk-summary-card h3 { font-size: 17px; font-weight: 800; color: #111827; margin-bottom: 18px; }
.bsk-sum-row {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 14px; color: #4b5563; padding: 9px 0;
  border-bottom: 1px dashed #eef0f2;
}
.bsk-sum-total {
  border-bottom: none;
  margin-top: 6px; padding-top: 14px;
  border-top: 2px solid #f0f1f3;
  font-size: 18px; font-weight: 800; color: #111827;
}
.bsk-note { font-size: 12px; color: #9ca3af; margin: 12px 0 16px; }
.bsk-checkout-btn {
  display: block; text-align: center;
  background: #0d6efd; color: #fff;
  font-weight: 700; font-size: 15px;
  border-radius: 10px; padding: 13px;
  text-decoration: none;
  transition: background .2s;
}
.bsk-checkout-btn:hover { background: #0b5ed7; color: #fff; }

@media (max-width: 991.98px) {
  .bsk-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .bsk-item {
    grid-template-columns: 70px 1fr 40px;
    grid-template-areas:
      "img info remove"
      "img qty  total";
    row-gap: 10px;
  }
  .bsk-item-img { grid-area: img; }
  .bsk-item-info { grid-area: info; }
  .bsk-item-remove { grid-area: remove; justify-self: end; }
  .bsk-item-qty { grid-area: qty; justify-self: start; }
  .bsk-item-total { grid-area: total; align-self: center; }
  .bsk-item-price { display: none; }
  .bsk-item-price-mobile { display: block; font-weight: 700; color: #111827; margin-top: 6px; }
  .bsk-actions { flex-direction: column; align-items: stretch; }
  .bsk-coupon input { flex: 1; min-width: 0; }
}

/* ===================== CHECKOUT (delivery + payment) ===================== */
.checkout.block { padding: 24px 0 56px; }
.checkout .card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 24px;
}
.checkout .card-body,
.checkout .card-body--padding--2 { padding: 22px; }
.checkout .card-title {
  font-size: 17px; font-weight: 800; color: #111827; margin-bottom: 18px;
}
.checkout .card-divider { height: 1px; background: #f0f1f3; }

/* Block header / breadcrumb bridge for legacy checkout pages */
.checkout-head { padding-top: 24px; }
.block-header { padding: 24px 0 4px; }
.block-header__title { font-size: 24px; font-weight: 800; color: #111827; margin: 6px 0 0; }
.breadcrumb__list {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  list-style: none; padding: 0; margin: 0; font-size: 13px;
}
.breadcrumb__item-link { color: #6b7280; text-decoration: none; }
.breadcrumb__item--current .breadcrumb__item-link { color: #111827; font-weight: 600; }
.breadcrumb__item:not(.breadcrumb__item--first):not(.breadcrumb__spaceship-safe-area):not(.breadcrumb__title-safe-area)::before {
  content: "/"; color: #d1d5db; margin-right: 6px;
}
.breadcrumb__spaceship-safe-area,
.breadcrumb__title-safe-area { display: none; }

/* Totals table */
.checkout__totals { width: 100%; border-collapse: collapse; table-layout: fixed; }
.checkout__totals th,
.checkout__totals td { padding: 9px 0; font-size: 14px; color: #4b5563; vertical-align: top; }
.checkout__totals th:first-child,
.checkout__totals td:first-child { text-align: left; word-break: break-word; }
.checkout__totals th:last-child,
.checkout__totals td:last-child { text-align: right; font-weight: 600; color: #111827; width: 38%; white-space: nowrap; }
.checkout__totals-header th { font-weight: 700; color: #111827; border-bottom: 2px solid #e5e7eb; }
.checkout__totals-products td { font-weight: 500; color: #4b5563; border-bottom: 1px dashed #eef0f2; }
.checkout__totals-products td small { font-weight: 400; }
.checkout__totals-subtotals tr th,
.checkout__totals-subtotals tr td { border-bottom: 1px dashed #eef0f2; }
.checkout__totals-footer th,
.checkout__totals-footer td { font-size: 18px; font-weight: 800; color: #111827; padding-top: 14px; }

/* Address cards */
.addresses-list { display: flex; flex-wrap: wrap; gap: 16px; }
.address-card {
  position: relative;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px;
  padding: 0;
  flex: 1 1 calc(50% - 16px);
  min-width: 240px;
}
.address-card__body { padding: 16px; }
.address-card__name { font-weight: 700; color: #111827; margin-bottom: 8px; }
.address-card__row { font-size: 13px; color: #4b5563; margin-bottom: 6px; }
.address-card__row-title { font-size: 11px; color: #9ca3af; text-transform: uppercase; }
.address-card__footer { margin-top: 10px; font-size: 13px; }
.address-card__footer a { color: #0d6efd; text-decoration: none; }
.address-card__badge {
  position: absolute; top: 10px; right: 10px;
  background: #0d6efd; color: #fff; font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 20px; z-index: 1;
}
.addressradio { position: absolute; opacity: 0; pointer-events: none; }
.addressradio:checked + label .address-card__body { box-shadow: inset 0 0 0 2px #0d6efd; border-radius: 10px; }
.addresses-list__item--new {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; border: 2px dashed #d1d5db; border-radius: 10px; padding: 20px;
  flex: 1 1 calc(50% - 16px); min-width: 240px; text-decoration: none; color: #6b7280;
}
.addresses-list__item--new:hover { border-color: #0d6efd; color: #0d6efd; }
.addresses-list__plus { position: relative; width: 28px; height: 28px; }
.addresses-list__plus::before,
.addresses-list__plus::after { content: ""; position: absolute; background: currentColor; }
.addresses-list__plus::before { left: 13px; top: 0; width: 2px; height: 28px; }
.addresses-list__plus::after { top: 13px; left: 0; height: 2px; width: 28px; }
.addresses-list__divider { width: 100%; }

/* Payment methods */
.payment-methods__list { list-style: none; margin: 0; padding: 0; }
.payment-methods__item { border: 1px solid #e5e7eb; border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.payment-methods__item--active { border-color: #0d6efd; }
.payment-methods__item-header { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; margin: 0; }
.payment-methods__item-title { font-weight: 600; color: #111827; }
.payment-methods__item-container { display: none; padding: 0 16px 16px; }
.payment-methods__item--active .payment-methods__item-container { display: block; }

/* Radios / checks */
.input-radio__body, .input-check__body {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.input-radio__input, .input-check__input { position: absolute; inset: 0; opacity: 0; width: 20px; height: 20px; margin: 0; cursor: pointer; z-index: 2; }
.input-radio__circle { width: 20px; height: 20px; border: 2px solid #cbd5e1; border-radius: 50%; display: inline-block; position: relative; }
.input-radio__input:checked + .input-radio__circle { border-color: #0d6efd; }
.input-radio__input:checked + .input-radio__circle::after {
  content: ""; position: absolute; inset: 3px; background: #0d6efd; border-radius: 50%;
}
.input-check { display: inline-flex; align-items: center; }
.input-check.form-check-input {
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  float: none;
  flex-shrink: 0;
}
.input-check__box {
  position: absolute;
  inset: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 5px;
  display: block;
  box-sizing: border-box;
}
.input-check__icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  color: #fff;
  line-height: 0;
  pointer-events: none;
}
.input-check__input:checked ~ .input-check__box { background: #0d6efd; border-color: #0d6efd; }
.input-check__input:checked ~ .input-check__icon { opacity: 1; }
.input-check__icon svg { display: block; }
.input-check__icon svg path { fill: #fff; }
.input-check-row { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; margin: 10px 0 0; }
.input-check-row .input-check__box { flex: 0 0 20px; }
.input-check-row__label { line-height: 1.4; }
.checkout label.input-check-row,
.modal label.input-check-row,
.account-page label.input-check-row {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 10px 0 0;
  padding: 0;
  font-weight: 400;
}

/* Order success */
.ordersuccess-page { padding: 40px 0 60px; }
.ordersuccess-hero { text-align: center; max-width: 680px; margin: 0 auto 32px; }
.ordersuccess-check { width: 84px; height: 84px; border-radius: 50%; background: #ecfdf5; color: #16a34a; display: inline-flex; align-items: center; justify-content: center; font-size: 46px; margin-bottom: 18px; box-shadow: 0 0 0 8px #f0fdf4; }
.ordersuccess-hero h1 { font-size: 28px; font-weight: 700; color: #111827; margin: 0 0 8px; }
.ordersuccess-hero p { color: #6b7280; font-size: 15px; margin: 0 0 14px; }
.ordersuccess-order-no { display: inline-block; background: #f3f4f6; border-radius: 8px; padding: 8px 16px; font-size: 14px; color: #374151; margin-bottom: 20px; }
.ordersuccess-order-no strong { color: #0d6efd; }
.ordersuccess-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.auth-btn--ghost { background: #fff !important; color: #0d6efd !important; border: 1px solid #0d6efd !important; }
.ordersuccess-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; align-items: start; max-width: 980px; margin: 0 auto; }
.ordersuccess-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 22px 24px; }
.ordersuccess-card h3 { font-size: 17px; font-weight: 700; color: #111827; margin: 0 0 16px; }
.ordersuccess-meta { list-style: none; margin: 0; padding: 0; }
.ordersuccess-meta li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed #eef0f3; font-size: 14px; }
.ordersuccess-meta li:last-child { border-bottom: 0; }
.ordersuccess-meta li span { color: #6b7280; }
.ordersuccess-meta li strong { color: #111827; }
.ordersuccess-total { color: #0d6efd !important; font-size: 16px; }
.ordersuccess-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.ordersuccess-item { display: flex; align-items: center; gap: 14px; }
.ordersuccess-item-img { flex: 0 0 64px; width: 64px; height: 64px; border: 1px solid #eef0f3; border-radius: 10px; overflow: hidden; display: block; }
.ordersuccess-item-img img { width: 100%; height: 100%; object-fit: cover; }
.ordersuccess-item-info { flex: 1; min-width: 0; }
.ordersuccess-item-info a { display: block; color: #111827; font-weight: 600; font-size: 14px; text-decoration: none; }
.ordersuccess-item-info a:hover { color: #0d6efd; }
.ordersuccess-item-info span { color: #9ca3af; font-size: 13px; }
.ordersuccess-item-price { font-weight: 700; color: #111827; white-space: nowrap; }
.ordersuccess-totals { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid #eef0f3; }
.ordersuccess-totals li { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; color: #6b7280; }
.ordersuccess-totals li span:last-child { color: #111827; font-weight: 600; }
.ordersuccess-totals-grand { margin-top: 6px; padding-top: 12px !important; border-top: 1px solid #eef0f3; font-size: 16px !important; }
.ordersuccess-totals-grand span { color: #0d6efd !important; font-weight: 700 !important; font-size: 18px; }
@media (max-width: 768px) {
    .ordersuccess-grid { grid-template-columns: 1fr; }
}
.form-check { display: flex; align-items: center; gap: 8px; margin: 10px 0; }
.form-check-label { margin: 0; font-size: 14px; color: #374151; }

/* Generic form controls inside checkout */
.checkout .form-group { margin-bottom: 16px; }
.checkout label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.checkout .form-control,
.modal .form-control {
  width: 100%; border: 1px solid #d1d5db; border-radius: 8px;
  padding: 10px 12px; font-size: 14px; background: #fff;
}
.checkout .form-control:focus,
.modal .form-control:focus { outline: none; border-color: #0d6efd; box-shadow: 0 0 0 3px rgba(13,110,253,.12); }
.checkout .form-row { display: flex; flex-wrap: wrap; gap: 16px; }
.checkout .form-row > [class*="col-"] { flex: 1; padding: 0; }

/* Buttons bridge */
.btn-xl { padding: 13px 24px; font-size: 15px; border-radius: 10px; font-weight: 700; }
.btn-block { display: block; width: 100%; }
.checkout .btn-primary, .modal .btn-primary { background: #0d6efd; border-color: #0d6efd; }
.checkout .btn-primary:hover, .modal .btn-primary:hover { background: #0b5ed7; border-color: #0b5ed7; }

.sozlesme_alani {
  position: relative; height: 140px; margin: 0 0 16px;
  border: 1px solid #e5e7eb; border-radius: 8px; overflow: auto;
  padding: 12px; line-height: 1.5; font-size: 13px; color: #4b5563;
}

@media (max-width: 575.98px) {
  .address-card, .addresses-list__item--new { flex: 1 1 100%; }
  .checkout .form-row > [class*="col-"] { flex: 1 1 100%; }
}

/* ===================== AUTH PAGES (register / password reset) ===================== */
.auth-page { padding: 24px 0 64px; }
.auth-card {
  max-width: 560px;
  margin: 8px auto 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 8px 30px rgba(17,24,39,.06);
}
.auth-card--sm { max-width: 440px; }

.auth-head { text-align: center; margin-bottom: 22px; }
.auth-head h1 { font-size: 24px; font-weight: 800; color: #111827; margin: 0 0 6px; }
.auth-head p { font-size: 14px; color: #6b7280; margin: 0; }

.auth-form { display: block; }
.auth-field { margin-bottom: 16px; }
.auth-field label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.auth-field input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.auth-field input:focus {
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13,110,253,.12);
}

.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.auth-check {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13px; color: #4b5563; margin: 4px 0 20px; cursor: pointer;
}
.auth-check input { margin-top: 2px; width: 16px; height: 16px; accent-color: #0d6efd; }
.auth-check a { color: #0d6efd; text-decoration: none; font-weight: 600; }

.auth-btn {
  width: 100%;
  border: none;
  background: #0d6efd;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 10px;
  padding: 13px;
  cursor: pointer;
  transition: background .2s;
}
.auth-btn:hover { background: #0b5ed7; }

.auth-foot { text-align: center; margin-top: 20px; font-size: 14px; color: #6b7280; }
.auth-foot a { color: #0d6efd; text-decoration: none; font-weight: 600; }
.auth-sep { margin: 0 8px; color: #d1d5db; }

.auth-options {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin: 4px 0 18px; flex-wrap: wrap;
}
.auth-check--inline { margin: 0; align-items: center; }
.auth-forgot { font-size: 13px; color: #0d6efd; text-decoration: none; font-weight: 600; }

.auth-divider {
  position: relative; text-align: center; margin: 20px 0;
}
.auth-divider::before {
  content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: #e5e7eb;
}
.auth-divider span {
  position: relative; background: #fff; padding: 0 12px;
  font-size: 13px; color: #9ca3af;
}

.auth-btn--outline {
  display: block; text-align: center; text-decoration: none;
  background: #fff; color: #0d6efd; border: 1.5px solid #0d6efd;
}
.auth-btn--outline:hover { background: #eff6ff; color: #0b5ed7; }

@media (max-width: 575.98px) {
  .auth-card { padding: 24px 18px; }
  .auth-row { grid-template-columns: 1fr; gap: 0; }
}

/* ===================== ACCOUNT (hesabım / siparişlerim) ===================== */
.account-page { padding: 24px 0 56px; }
.account-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

.account-nav {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px;
}
.account-nav__title {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  color: #9ca3af; letter-spacing: .04em; margin: 0 0 12px;
}
.account-nav__list { list-style: none; margin: 0; padding: 0; }
.account-nav__item { margin-bottom: 2px; }
.account-nav__item a {
  display: block; padding: 10px 12px; border-radius: 8px;
  color: #374151; text-decoration: none; font-size: 14px; font-weight: 500;
  transition: background .15s, color .15s;
}
.account-nav__item a:hover { background: #f3f4f6; color: #0d6efd; }
.account-nav__item--active a { background: #eff6ff; color: #0d6efd; font-weight: 700; }
.account-nav__divider { height: 1px; background: #f0f1f3; margin: 10px 0; }

.account-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}
.account-box-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; border-bottom: 1px solid #f0f1f3;
}
.account-box-head h2 { font-size: 17px; font-weight: 800; color: #111827; margin: 0; }
.account-box-body { padding: 22px; }

.account-form { max-width: 480px; }
.account-form .auth-field input[disabled] { background: #f9fafb; color: #9ca3af; }

.account-table { width: 100%; border-collapse: collapse; }
.account-table thead th {
  text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase;
  color: #9ca3af; letter-spacing: .03em; padding: 12px 22px; background: #fafbfc;
  border-bottom: 1px solid #f0f1f3;
}
.account-table tbody td {
  padding: 14px 22px; font-size: 14px; color: #374151;
  border-bottom: 1px solid #f5f6f7; vertical-align: middle;
}
.account-table tbody tr:last-child td { border-bottom: none; }
.account-table .text-right { text-align: right; }
.account-table .text-center { text-align: center; }
.account-table a { color: #0d6efd; text-decoration: none; font-weight: 600; }
.account-table tfoot th, .account-table tfoot td {
  padding: 14px 22px; font-size: 16px; font-weight: 800; color: #111827;
  border-top: 2px solid #f0f1f3;
}
.account-table tfoot .text-right { text-align: right; }

.account-status {
  display: inline-block; font-size: 12px; font-weight: 600;
  padding: 3px 10px; border-radius: 20px; background: #eff6ff; color: #1e40af;
}
.account-empty { padding: 40px 22px; text-align: center; color: #9ca3af; }
.account-pagination { padding: 16px 22px; border-top: 1px solid #f0f1f3; }

.account-order-head {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: 12px; padding: 18px 22px; border-bottom: 1px solid #f0f1f3;
}
.account-order-head h2 { font-size: 17px; font-weight: 800; color: #111827; margin: 0 0 6px; }
.account-order-meta { font-size: 13px; color: #6b7280; line-height: 1.7; }
.account-order-meta mark { background: #f3f4f6; color: #111827; padding: 1px 8px; border-radius: 6px; font-weight: 600; }

.account-addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.account-addr {
  position: relative; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 18px;
}
.account-addr .account-addr-badge {
  display: inline-block; font-size: 11px; font-weight: 700; color: #0d6efd;
  background: #eff6ff; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;
}
.account-addr-name { font-weight: 700; color: #111827; margin-bottom: 6px; }
.account-addr-row { font-size: 13px; color: #4b5563; margin-bottom: 4px; }

/* Form selects / textareas inside account & auth forms */
.auth-field select,
.auth-field textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  font-family: inherit;
}
.auth-field select:focus,
.auth-field textarea:focus {
  outline: none; border-color: #0d6efd; box-shadow: 0 0 0 3px rgba(13,110,253,.12);
}

.account-radio-row { display: flex; gap: 20px; flex-wrap: wrap; }
.account-radio { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: #374151; cursor: pointer; }
.account-radio input { width: 16px; height: 16px; accent-color: #0d6efd; }

/* Address actions */
.account-addr-actions { margin-top: 12px; display: flex; gap: 16px; font-size: 13px; }
.account-addr-actions a { color: #0d6efd; text-decoration: none; font-weight: 600; }
.account-addr-actions a.text-danger { color: #ef4444; }

/* Favorites table */
.account-fav-img {
  width: 60px; height: 60px; object-fit: contain;
  border: 1px solid #eef0f2; border-radius: 8px; background: #fff;
}
.account-btn-sm {
  display: inline-block; background: #eff6ff; color: #0d6efd;
  font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 8px;
  text-decoration: none; margin-right: 6px;
}
.account-btn-sm:hover { background: #0d6efd; color: #fff; }
.account-fav-remove {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border: 1px solid #fecaca; color: #ef4444;
  border-radius: 8px; text-decoration: none;
}
.account-fav-remove:hover { background: #ef4444; color: #fff; }

/* Dashboard */
.dash-welcome { font-size: 14px; color: #4b5563; line-height: 1.6; margin-bottom: 22px; }
.dash-tiles {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px;
}
.dash-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 24px 12px; border: 1px solid #e5e7eb; border-radius: 12px;
  text-decoration: none; color: #374151; font-size: 14px; font-weight: 600;
  text-align: center; transition: border-color .15s, color .15s, box-shadow .15s, transform .1s;
}
.dash-tile i { font-size: 28px; color: #0d6efd; }
.dash-tile:hover { border-color: #0d6efd; color: #0d6efd; box-shadow: 0 6px 18px rgba(13,110,253,.08); transform: translateY(-2px); }

/* Tickets */
.ticket-summary {
  background: #f9fafb; border: 1px solid #f0f1f3; border-radius: 10px;
  padding: 16px; font-size: 14px; color: #374151; line-height: 1.6; margin-bottom: 22px;
}
.ticket-thread-title { font-size: 15px; font-weight: 800; color: #111827; margin: 18px 0 14px; }
.ticket-thread { display: flex; flex-direction: column; gap: 12px; }
.ticket-msg { max-width: 78%; padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.ticket-msg-author { font-size: 12px; font-weight: 700; margin-bottom: 4px; opacity: .8; }
.ticket-msg--mine { align-self: flex-end; background: #eff6ff; border: 1px solid #dbeafe; color: #1e3a8a; }
.ticket-msg--admin { align-self: flex-start; background: #f3f4f6; border: 1px solid #e5e7eb; color: #374151; }
.ticket-reply { margin-top: 24px; border-top: 1px solid #f0f1f3; padding-top: 18px; }

/* Modal form (address modal on addresses/delivery pages) */
.modal .form-group { margin-bottom: 14px; }
.modal label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.modal .form-control { font-family: inherit; }
.modal select.form-control { height: auto; }

@media (max-width: 991.98px) {
  .account-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .account-addr-grid { grid-template-columns: 1fr; }
  .account-table thead { display: none; }
  .account-table tbody td { padding: 8px 16px; }
  .account-table tbody tr { display: block; padding: 8px 0; border-bottom: 1px solid #f0f1f3; }
  .ticket-msg { max-width: 100%; }
}

/* ===== Ürün detay varyasyon seçici ===== */
.pd-variations { margin: 18px 0; }
.pd-var-group { margin-bottom: 14px; }
.pd-var-label { font-size: 13px; font-weight: 600; color: #5b6573; margin-bottom: 6px; }
.pd-var-options { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-var-btn {
  border: 1.5px solid #d9dde3;
  background: #fff;
  color: #2b3038;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s ease;
  line-height: 1.2;
}
.pd-var-btn:hover { border-color: #f6a609; }
.pd-var-btn.selected {
  border-color: #f6a609;
  background: #fff7e8;
  color: #b9760a;
  box-shadow: 0 0 0 1px #f6a609 inset;
}
.pd-var-btn--oos,
.pd-var-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  border-color: #e5e7eb;
  background: #f3f4f6;
  color: #9ca3af;
  position: relative;
}
.pd-var-btn--oos::after,
.pd-var-btn:disabled::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 1.5px;
  background: #dc2626;
  transform: translateY(-50%) rotate(-8deg);
  pointer-events: none;
  opacity: 0.75;
}
.pd-var-btn--oos:hover,
.pd-var-btn:disabled:hover {
  border-color: #e5e7eb;
}
.pd-var-btn-text { position: relative; z-index: 1; }
.pd-var-btn { position: relative; }
.pd-var-hint { font-size: 12.5px; color: #c0392b; margin-top: 4px; }
.pd-addcart:disabled { opacity: .55; cursor: not-allowed; }

/* Site uyarıları (session / validation) */
.site-alert {
  position: relative;
  border: none;
  border-radius: 8px;
  padding: 14px 48px 14px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.site-alert__text {
  display: block;
}

.site-alert__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-alert__list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 4px;
}

.site-alert__list li:last-child {
  margin-bottom: 0;
}

.site-alert__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.65;
}

.site-alert-close,
.site-modal-close,
.site-toast-close {
  border: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  opacity: 0.85;
  transition: background 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
}

.site-alert-close:hover,
.site-alert-close:focus,
.site-modal-close:hover,
.site-modal-close:focus,
.site-toast-close:hover,
.site-toast-close:focus {
  opacity: 1;
  outline: none;
}

.site-alert-close .bi,
.site-modal-close .bi,
.site-toast-close .bi {
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
}

.site-alert-close,
.site-modal-close {
  background: rgba(0, 0, 0, 0.07);
  color: inherit;
}

.site-alert-close:hover,
.site-alert-close:focus,
.site-modal-close:hover,
.site-modal-close:focus {
  background: rgba(0, 0, 0, 0.14);
}

.site-alert-close {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
}

.site-alert-close:active {
  transform: translateY(-50%) scale(0.94);
}

.site-modal-close {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: #444;
}

.site-modal-close:active {
  transform: scale(0.94);
}

.modal-header .site-modal-close,
.offcanvas-header .site-modal-close {
  margin-left: auto;
}

.modal-header {
  align-items: center;
}

.offcanvas-header {
  align-items: center;
}

.app-toast {
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.site-toast-close {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin: 6px 10px 6px 4px;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
}

.site-toast-close:hover,
.site-toast-close:focus {
  background: rgba(255, 255, 255, 0.35);
}

.site-toast-close:active {
  transform: scale(0.94);
}

.text-bg-light .site-toast-close,
.app-confirm-toast .site-toast-close {
  color: #444;
  background: rgba(0, 0, 0, 0.07);
}

.text-bg-light .site-toast-close:hover,
.text-bg-light .site-toast-close:focus,
.app-confirm-toast .site-toast-close:hover,
.app-confirm-toast .site-toast-close:focus {
  background: rgba(0, 0, 0, 0.14);
}

.alert-success.site-alert {
  background: #e8f5e9;
  color: #1b5e20;
}

.alert-danger.site-alert {
  background: #ffebee;
  color: #b71c1c;
}

.alert-warning.site-alert {
  background: #fff8e1;
  color: #e65100;
}

.alert-info.site-alert {
  background: #e3f2fd;
  color: #0d47a1;
}

/* Contact / Havale bildirim */
.contact-page {
  padding: 24px 0 64px;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(0, 86, 210, 0.06), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #fff 42%);
}
.contact-hero {
  margin: 8px 0 28px;
}
.contact-hero h1 {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}
.contact-hero p {
  margin: 0;
  font-size: 15px;
  color: #6b7280;
}
.contact-map {
  margin-bottom: 24px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.contact-map iframe {
  display: block;
  width: 100%;
  min-height: 280px;
  border: 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.2fr);
  gap: 24px;
  align-items: start;
}
.contact-info,
.contact-form-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}
.contact-info h2,
.contact-form-head h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  color: #111827;
}
.contact-info-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.contact-info-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 12px;
  background: #f8fafc;
}
.contact-info-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 86, 210, 0.1);
  color: var(--primary-blue, #0056d2);
  font-size: 18px;
}
.contact-info-list strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #9ca3af;
  margin-bottom: 2px;
}
.contact-info-list p {
  margin: 0;
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
}
.contact-info-list a {
  color: var(--primary-blue, #0056d2);
  text-decoration: none;
  font-weight: 600;
}
.contact-info-list a:hover { text-decoration: underline; }
.contact-form-head {
  margin-bottom: 20px;
}
.contact-form-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 12px;
  font-weight: 700;
}
.contact-form-head p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form .auth-field select,
.contact-form .auth-field textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  background: #fff;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.contact-form .auth-field select:focus,
.contact-form .auth-field textarea:focus {
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13,110,253,.12);
}
.contact-optional {
  font-weight: 400;
  color: #9ca3af;
  text-transform: none;
  letter-spacing: 0;
}
.contact-form .auth-btn {
  margin-top: 4px;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-hero h1 { font-size: 26px; }
}
@media (max-width: 576px) {
  .contact-form-row { grid-template-columns: 1fr; }
  .contact-info,
  .contact-form-card { padding: 18px; }
}

/* Content pages */
.content-page {
  padding: 24px 0 64px;
  background:
    radial-gradient(ellipse 80% 50% at 90% 0%, rgba(0, 86, 210, 0.05), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #fff 42%);
}
.content-hero {
  margin: 8px 0 28px;
}
.content-hero-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 86, 210, 0.1);
  color: var(--primary-blue, #0056d2);
  font-size: 12px;
  font-weight: 700;
}
.content-hero h1 {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}
.content-hero p {
  margin: 0;
  max-width: 720px;
  font-size: 15px;
  color: #6b7280;
  line-height: 1.55;
}
.content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
.content-layout--with-aside {
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.75fr);
}
.content-main,
.content-aside-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}
.content-main {
  padding: 28px;
  overflow: hidden;
}
.content-cover {
  margin: -28px -28px 24px;
  max-height: 360px;
  overflow: hidden;
  background: #f3f4f6;
}
.content-cover img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.content-body {
  color: #374151;
  font-size: 15px;
  line-height: 1.75;
}
.content-body > *:first-child { margin-top: 0; }
.content-body > *:last-child { margin-bottom: 0; }
.content-body h1,
.content-body h2,
.content-body h3,
.content-body h4 {
  color: #111827;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 1.4em 0 0.6em;
}
.content-body p { margin: 0 0 1em; }
.content-body ul,
.content-body ol {
  margin: 0 0 1em;
  padding-left: 1.25rem;
}
.content-body a {
  color: var(--primary-blue, #0056d2);
  font-weight: 600;
  text-decoration: none;
}
.content-body a:hover { text-decoration: underline; }
.content-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.content-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.2em;
  font-size: 14px;
}
.content-body th,
.content-body td {
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  text-align: left;
}
.content-body th {
  background: #f8fafc;
  color: #111827;
}
.content-gallery {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #f0f1f3;
}
.content-gallery h3 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
  color: #111827;
}
.content-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.content-gallery-item {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  transition: transform .2s ease, box-shadow .2s ease;
}
.content-gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}
.content-gallery-item img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.content-aside-card {
  padding: 22px;
  position: sticky;
  top: 96px;
}
.content-aside-card h2 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
  color: #111827;
}
.content-aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.content-aside-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  color: #374151;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s ease, color .15s ease;
}
.content-aside-list a:hover {
  background: rgba(0, 86, 210, 0.08);
  color: var(--primary-blue, #0056d2);
}
.content-aside-list i {
  color: #9ca3af;
  font-size: 12px;
}
@media (max-width: 900px) {
  .content-layout--with-aside { grid-template-columns: 1fr; }
  .content-aside-card { position: static; }
  .content-hero h1 { font-size: 26px; }
  .content-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 576px) {
  .content-main { padding: 18px; }
  .content-cover { margin: -18px -18px 18px; }
  .content-cover img { height: 220px; }
  .content-gallery-grid { grid-template-columns: 1fr 1fr; }
}



