:root {
  --bg-primary: #fdfbf7;
  --bg-card: #ffffff;
  --text-primary: #241a15;
  --text-secondary: #6e5f55;
  --text-tertiary: #ffd8ac;
  --text-quaternary: #5e361b;
  --accent: #c98a3d;
  --accent-hover: #a8702c;
  --border: #ebe4db;
  --border-light: #f3efe9;
  --success: #28a745;
  --danger: #dc3545;
  --font-latin: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-arabic: 'Tajawal', sans-serif;
  --site-max-width: 1440px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-latin);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: clip;
  width: 100%;
  position: relative;
  min-height: 100vh;
}

img, iframe, video {
  max-width: 100%;
}

input, button, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

html[lang="ar"],
html[lang="ar"] body,
html[lang="ar"] input,
html[lang="ar"] button,
html[lang="ar"] textarea {
  font-family: var(--font-arabic);
}

html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

.top-bar {
  background-color: var(--text-quaternary);
  color: var(--bg-primary);
  font-size: clamp(0.72rem, 0.8vw, 0.85rem);
  padding: 0.4rem 0;
  font-weight: 600;
  width: 100%;
}

.top-bar-container {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 3rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.announcement {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-shrink: 0;
}

.top-links a {
  color: var(--bg-primary);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.top-links a:hover {
  opacity: 0.8;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.3rem;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--bg-primary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background-color: var(--text-primary);
  color: #ffffff;
  font-weight: 700;
}

.divider {
  color: rgba(253, 251, 247, 0.35);
}

.navbar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  min-height: 70px;
  z-index: 100;
  display: flex;
  align-items: center;
  width: 100%;
}

.nav-container {
  max-width: var(--site-max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0.6rem clamp(1rem, 3vw, 3rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: clamp(36px, 3.5vw, 48px);
  width: auto;
  display: block;
  object-fit: contain;
}

.categories {
  display: flex;
  gap: clamp(0.75rem, 1.2vw, 1.5rem);
  align-items: center;
}

.categories a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: clamp(0.85rem, 0.95vw, 0.98rem);
  font-weight: 650;
  letter-spacing: -0.15px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.categories a:hover {
  color: var(--accent);
}

.nav-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex-shrink: 0;
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.wishlist-nav-btn {
  background: none;
  border: 1.5px solid var(--border);
  color: var(--text-primary);
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  position: relative;
  min-height: 42px;
}

.wishlist-nav-btn:hover,
.wishlist-nav-btn.has-items {
  border-color: var(--text-quaternary);
  color: var(--text-quaternary);
}

.wishlist-nav-btn .badge {
  background-color: var(--text-quaternary) !important;
  color: #ffffff !important;
}

.wishlist-nav-btn.has-items .wishlist-icon {
  fill: var(--text-quaternary);
  stroke: var(--text-quaternary);
}

.cart-added-popup-fixed {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  background-color: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: 0 14px 40px rgba(36, 26, 21, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 1200;
  width: 280px;
  max-width: 90vw;
  animation: popupSlideIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popupSlideIn {
  from { opacity: 0; transform: translateY(-16px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.cart-added-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-added-content .check-icon {
  width: 28px;
  height: 28px;
  background-color: #e8f5e9;
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.cart-added-content strong {
  font-size: 0.92rem;
  color: var(--text-primary);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 170px;
}

.cart-added-content p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.btn-popup-cart {
  background-color: var(--text-primary);
  color: #ffffff;
  border: none;
  padding: 0.6rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}

.user-dropdown-wrap {
  position: relative;
}

.user-dropdown-btn {
  background-color: #f5ede4;
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.55rem 0.95rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  max-width: 160px;
  transition: background-color 0.2s ease;
}

.user-dropdown-btn span#profile-display-name {
  max-width: 80px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}

.user-dropdown-btn:hover {
  background-color: #ebe0d3;
}

.dropdown-chevron {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  max-width: calc(100vw - 20px);
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(36, 26, 21, 0.12);
  display: none;
  flex-direction: column;
  z-index: 100;
  overflow: hidden;
}

.user-dropdown-menu.show {
  display: flex;
}

.dropdown-header {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-light);
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  text-align: left;
}

.dropdown-header strong {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.dropdown-header small {
  font-size: 0.78rem;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-item {
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-align: left;
}

.dropdown-item-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.dropdown-item:hover {
  background-color: #f7f3ed;
  color: var(--accent);
}

.dropdown-item .badge {
  margin-left: auto;
  font-size: 0.72rem;
  padding: 0.15rem 0.45rem;
}

.dropdown-divider {
  height: 1px;
  background-color: var(--border-light);
}

.dropdown-logout {
  color: var(--danger) !important;
}

.dropdown-logout:hover {
  background-color: #fdf2f2 !important;
}

.user-btn {
  background-color: var(--text-tertiary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 42px;
  transition: all 0.2s ease;
}

.user-btn:hover {
  background-color: #ebdcd0;
  border-color: #d8c3b2;
}

.cart-btn {
  background-color: var(--text-primary);
  color: #ffffff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 600;
  min-height: 42px;
  transition: background-color 0.2s ease;
}

.cart-btn:hover {
  background-color: #3b2c24;
}

.badge {
  background-color: var(--accent);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 12px;
  margin-left: 0.2rem;
  transition: transform 0.2s ease;
}

.hero {
  background: 
    linear-gradient(90deg, #241a15 0%, rgba(36, 26, 21, 0.95) 25%, rgba(36, 26, 21, 0.55) 65%, rgba(36, 26, 21, 0) 85%),
    url('uploads/hero4.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center, 100% 75%;
  min-height: clamp(300px, 36vh, 480px);
  display: flex;
  align-items: center;
  color: #ffffff;
  padding: clamp(2rem, 3.5vw, 3.5rem) 0;
  width: 100%;
}

.hero-container {
  width: 100%;
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 3rem);
}

.hero-content {
  max-width: min(650px, 100%);
}

.hero h1 {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 0.75rem;
}

.hero p {
  color: #d8cec4;
  font-size: clamp(0.92rem, 1.1vw, 1.15rem);
  line-height: 1.55;
  margin-bottom: 1.35rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent);
  color: #ffffff;
  text-decoration: none;
  padding: 0.75rem 1.85rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: background-color 0.2s ease;
}

.cta-button:hover {
  background-color: var(--accent-hover);
}

.fast-delivery-strip {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 2px solid var(--accent);
  padding: 0.65rem 0;
  width: 100%;
  box-shadow: 0 2px 8px rgba(36, 26, 21, 0.03);
}

.fast-delivery-strip-container {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
}

.strip-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.strip-text {
  font-size: clamp(0.82rem, 0.95vw, 0.96rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.2px;
}

.strip-highlight {
  color: var(--accent);
  font-weight: 800;
}

.vitrin-controls-wrapper {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  position: relative;
  z-index: 10;
  width: 100%;
}

.vitrin-controls-container {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vitrin-categories-row {
  width: 100%;
  display: flex;
  align-items: center;
}

.category-filter-pills {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.15rem 0 0.35rem 0;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.category-filter-pills::-webkit-scrollbar {
  height: 3px;
}

.category-filter-pills::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.filter-pill {
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 0.45rem 1.1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  min-height: 38px;
  flex-shrink: 0;
}

.filter-pill:hover {
  border-color: var(--text-quaternary);
  color: var(--text-quaternary);
}

.filter-pill.active {
  background-color: var(--text-quaternary);
  border-color: var(--text-quaternary);
  color: #ffffff;
  font-weight: 700;
}

.vitrin-tools-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.vitrin-search-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 550px;
}

.vitrin-search-box .search-icon {
  position: absolute;
  left: 0.9rem;
  width: 18px;
  height: 18px;
  color: #a39589;
  pointer-events: none;
}

.vitrin-search-box input {
  width: 100%;
  padding: 0.55rem 2.2rem 0.55rem 2.5rem;
  border: 1.5px solid #d5cbbf;
  border-radius: 22px;
  font-size: 0.88rem;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(36, 26, 21, 0.04);
  outline: none;
  min-height: 40px;
  transition: all 0.2s ease;
}

.vitrin-search-box input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 138, 61, 0.18);
}

.vitrin-search-box .clear-search {
  position: absolute;
  right: 0.75rem;
  background: #e5ddd3;
  border: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.vitrin-actions-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.btn-open-filter {
  background-color: #ffffff;
  border: 1.5px solid #d5cbbf;
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-open-filter:hover,
.btn-open-filter.active-filtered {
  border-color: var(--accent);
  color: var(--accent);
  background-color: #fffaf4;
}

.btn-open-filter .filter-badge {
  background-color: var(--accent);
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sort-wrapper {
  flex-shrink: 0;
}

.vitrin-sort-select {
  padding: 0.5rem 0.9rem;
  border: 1.5px solid #d5cbbf;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(36, 26, 21, 0.04);
  cursor: pointer;
  outline: none;
  min-height: 40px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vitrin-sort-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 138, 61, 0.18);
}

.filter-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 92%;
  max-width: 520px;
  max-height: 88vh;
  max-height: 88dvh;
  overflow-y: auto;
  background-color: #ffffff;
  border-radius: 12px;
  z-index: 1060;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.filter-modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.filter-header {
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-primary);
  border-radius: 12px 12px 0 0;
}

.filter-header h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.filter-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-group-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-price-inputs {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.filter-price-inputs input {
  flex: 1;
  padding: 0.55rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 0.88rem;
  outline: none;
}

.filter-price-inputs input:focus {
  border-color: var(--accent);
}

.price-separator {
  color: var(--text-secondary);
  font-weight: 700;
}

.filter-colors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-color-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 16px;
  border: 1.5px solid var(--border);
  background: var(--bg-primary);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.filter-color-chip.selected {
  border-color: var(--text-primary);
  background-color: #f5ede4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.filter-actions {
  display: flex;
  gap: 0.65rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-light);
}

.btn-filter-clear {
  flex: 1;
  background: var(--border-light);
  border: 1px solid var(--border);
  padding: 0.7rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  min-height: 42px;
}

.btn-filter-apply {
  flex: 1.5;
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.7rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  min-height: 42px;
}

.btn-filter-apply:hover {
  background: var(--accent-hover);
}

.store-container {
  max-width: var(--site-max-width);
  margin: 2.25rem auto 5rem auto;
  padding: 0 clamp(1rem, 3vw, 3rem);
  width: 100%;
}

.category-section {
  scroll-margin-top: 85px;
  margin-bottom: 4.5rem;
}

.section-header {
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 0.65rem;
}

.section-header h2 {
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.3px;
}

.subcategory-block {
  display: flex;
  gap: 1.85rem;
  align-items: stretch;
  margin-bottom: 4rem;
  width: 100%;
}

.subcat-sidebar {
  width: 40px;
  min-width: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.25rem;
  flex-shrink: 0;
}

.subcat-title {
  writing-mode: vertical-rl !important;
  -webkit-writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  white-space: nowrap;
  text-align: right;
  line-height: 1;
}

.subcat-line {
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(201, 138, 61, 0.15) 100%);
  flex-grow: 1;
  border-radius: 2px;
  min-height: 40px;
}

.subcat-products-grid {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.45rem;
}

.product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  width: 100%;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(36, 26, 21, 0.08);
}

.card-featured-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
  background: linear-gradient(135deg, var(--accent), #e0a353);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.3px;
}

.card-wishlist-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #adb5bd;
  font-size: 1.15rem;
  transition: all 0.2s ease;
}

.card-wishlist-btn:hover,
.card-wishlist-btn.active {
  color: var(--text-quaternary);
  border-color: var(--text-quaternary);
}

.product-img-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  background-color: var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-weight: 600;
  text-align: center;
  padding: 0;
  overflow: hidden;
  position: relative;
  word-break: break-word;
}

.card-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  display: block;
}

.card-slide-img.active {
  opacity: 1;
  pointer-events: auto;
}

.card-slide-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 12;
  background: rgba(36, 26, 21, 0.55);
  backdrop-filter: blur(3px);
  padding: 3px 6px;
  border-radius: 10px;
  pointer-events: none;
}

.card-slide-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: all 0.25s ease;
}

.card-slide-dot.active {
  width: 14px;
  border-radius: 4px;
  background: #ffffff;
}

#takimlar .product-img-placeholder {
  aspect-ratio: 2 / 3;
}

.product-info {
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.4rem;
}

.product-category {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 700;
}

.product-title {
  font-size: 0.9rem;
  margin: 0.1rem 0 0.45rem 0;
  font-weight: 700;
  line-height: 1.35;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  padding-top: 0.6rem;
  gap: 0.5rem;
}

.price-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.price-strike-line {
  line-height: 1;
}

.price-strike {
  text-decoration: line-through;
  color: #a89f91;
  font-size: 0.78rem;
  font-weight: 600;
}

.price-current-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
}

.price {
  font-size: 1.08rem;
  font-weight: 800;
  white-space: nowrap;
}

.discount-tag {
  background-color: #fee2e2;
  color: var(--danger);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  display: inline-block;
  white-space: nowrap;
  line-height: 1;
  flex-shrink: 0;
}

.add-to-cart-btn {
  background-color: var(--accent);
  color: #fff;
  border: none;
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  min-height: 36px;
  font-size: 0.8rem;
  white-space: nowrap;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

.add-to-cart-btn:hover {
  background-color: var(--accent-hover);
}

.close-btn {
  background-color: var(--border-light);
  border: 1px solid var(--border);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
  flex-shrink: 0;
}

.close-btn:hover {
  background-color: #ebdcd0;
  color: var(--text-primary);
  transform: rotate(90deg);
}

.btn-remove-fav-item {
  background-color: var(--border-light);
  border: 1px solid var(--border);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-remove-fav-item:hover {
  background-color: #ffebee;
  color: var(--danger);
}

.product-detail-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 92%;
  max-width: 860px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  background-color: #ffffff;
  border-radius: 14px;
  z-index: 1060;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  padding: clamp(1.25rem, 2vw, 2.25rem);
}

.product-detail-modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.product-detail-modal .close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 15;
}

.p-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
}

.p-detail-media {
  display: flex;
  flex-direction: column;
}

.p-detail-img-box {
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.p-detail-img-box.aspect-2-3 {
  aspect-ratio: 2 / 3;
}

.p-detail-img-box img,
.p-detail-img-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(36, 26, 21, 0.65);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 800;
  z-index: 8;
  transition: all 0.2s ease;
  user-select: none;
  line-height: 1;
}

.gallery-nav-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

.p-detail-thumbnails-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  justify-content: flex-start;
}

.p-detail-thumb-item {
  width: 58px;
  height: 58px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  background-color: var(--bg-primary);
}

.p-detail-thumb-item.active {
  border-color: var(--accent);
}

.p-detail-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-detail-info {
  display: flex;
  flex-direction: column;
}

.p-detail-tags-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.p-detail-featured-tag {
  display: inline-block;
  background-color: #fff4e5;
  color: var(--accent);
  border: 1px solid var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  width: fit-content;
}

.p-detail-title {
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  margin: 0.3rem 0 0.5rem 0;
  font-weight: 800;
}

.p-detail-price {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1rem;
}

.p-detail-desc-box {
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.p-detail-desc-box h4 {
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.p-detail-desc-box p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.6;
  white-space: pre-line;
  word-break: break-word;
}

.variant-selection-wrap {
  margin-bottom: 1.15rem;
}

.variant-selection-title {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.color-pills-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.color-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 20px;
  border: 2px solid var(--border);
  background-color: #ffffff;
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.color-pill-btn:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.color-pill-btn.active {
  border-color: var(--text-primary);
  box-shadow: 0 0 0 2px var(--accent);
  font-weight: 800;
}

.color-circle-indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  display: inline-block;
  flex-shrink: 0;
}

.product-specs-box {
  border-top: 1px solid var(--border);
  padding-top: 1.1rem;
  margin-top: 0.5rem;
}

.product-specs-box h4 {
  font-size: 0.92rem;
  margin-bottom: 0.65rem;
  font-weight: 700;
}

.product-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.product-specs-table th,
.product-specs-table td {
  padding: 0.45rem 0.65rem;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
}

.product-specs-table th {
  width: 35%;
  color: var(--text-secondary);
  font-weight: 600;
}

.product-specs-table td {
  color: var(--text-primary);
  font-weight: 700;
}

.p-detail-stock {
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
}

.p-detail-action-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.p-detail-qty-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.3rem 0.5rem;
  min-height: 42px;
}

#p-detail-qty-val {
  font-size: 1.05rem;
  font-weight: 700;
  min-width: 24px;
  text-align: center;
}

.p-detail-add-cart-btn {
  flex: 1;
  padding: 0.8rem;
  font-size: 0.95rem;
}

.p-detail-share-box {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.85rem 0 1.15rem 0;
  padding: 0.75rem 0;
  border-top: 1px dashed var(--border);
  border-bottom: 1px dashed var(--border);
}

.share-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.btn-share-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--border);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: all 0.2s ease;
  min-height: 34px;
}

.btn-share-item svg {
  pointer-events: none;
  flex-shrink: 0;
}

.btn-share-item:hover {
  transform: translateY(-1px);
}

.btn-share-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

.btn-share-whatsapp:hover {
  background-color: #20ba5a;
}

.btn-share-link:hover {
  background-color: #f5ede4;
  border-color: var(--accent);
  color: var(--accent);
}

.cross-sell-section {
  border-top: 1px solid var(--border);
  padding-top: 1.1rem;
  margin-top: 1rem;
}

.cross-sell-section h4 {
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.cross-sell-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.cross-sell-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 0.35rem;
}

.cross-sell-title {
  font-size: 0.82rem;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 3.5em;
  line-height: 1.25;
}

.cross-sell-price {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 800;
}

.btn-cross-add {
  background-color: var(--text-primary);
  color: white;
  border: none;
  padding: 0.45rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: auto;
  min-height: 34px;
}

.reviews-section {
  border-top: 1px solid var(--border);
  padding-top: 1.1rem;
  margin-top: 1.25rem;
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.reviews-header h4 {
  font-size: 0.92rem;
  font-weight: 700;
}

.reviews-avg-box {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.rating-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
}

.rating-score-text {
  font-size: 0.85rem;
}

.reviews-list {
  max-height: 150px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.review-item {
  background-color: var(--bg-primary);
  border-radius: 6px;
  padding: 0.6rem 0.75rem;
  font-size: 0.8rem;
}

.review-item-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.review-form {
  background-color: #faf8f5;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem;
}

.review-form h5 {
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.review-author-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.review-select-row {
  margin-top: 0.35rem;
}

.review-form select,
.review-form textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.88rem;
  outline: none;
}

.btn-review-submit {
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.4rem;
  min-height: 38px;
}

.review-auth-notice {
  background-color: #fcf9f5;
  border: 1.5px dashed var(--border);
  border-radius: 8px;
  padding: 0.9rem;
  text-align: center;
}

.review-auth-notice span {
  font-size: 1.35rem;
  display: block;
}

.review-auth-notice p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 0.65rem;
}

.btn-review-login {
  background-color: var(--text-primary);
  color: #ffffff;
  border: none;
  padding: 0.55rem 1.2rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 38px;
}

.notify-stock-wrap {
  background-color: #fff9f0;
  border: 1.5px dashed var(--accent);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.notify-input-group {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.notify-input-group input {
  flex: 1;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.btn-notify-submit {
  background-color: var(--accent);
  color: #ffffff;
  border: none;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}

.invoice-switch-row {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 34px;
}

.my-orders-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 680px;
  height: min(650px, 85vh);
  height: min(650px, 85dvh);
  background-color: #ffffff;
  border-radius: 12px;
  z-index: 1060;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.my-orders-modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.profile-consolidated-modal {
  max-width: 820px;
  height: min(660px, 85vh);
  height: min(660px, 85dvh);
}

.profile-tabs-nav {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.profile-tabs-nav::-webkit-scrollbar {
  display: none;
}

.profile-tab-btn {
  background: none;
  border: none;
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.profile-tab-btn.active {
  background-color: #ffffff;
  color: var(--accent);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.profile-tab-pane {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.profile-sub-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.my-orders-header {
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-primary);
  border-radius: 12px 12px 0 0;
  flex-shrink: 0;
}

.my-orders-body {
  padding: 1.25rem;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.status-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.status-preparing { background-color: #fef3c7; color: #b45309; }
.status-shipped { background-color: #e0f2fe; color: #0369a1; }
.status-delivered { background-color: #e8f5e9; color: #2e7d32; }
.status-cancelled { background-color: #ffebee; color: #c62828; }

.profile-section-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.15rem;
}

.profile-section-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.profile-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn-new-addr {
  background-color: var(--accent);
  color: #ffffff;
  border: none;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  min-height: 36px;
}

.user-address-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.user-address-card {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem;
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
}

.user-address-card.default-addr {
  border-color: var(--text-quaternary);
  background-color: #fff9f4;
}

.addr-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.badge-default-addr {
  background-color: var(--text-quaternary);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.addr-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.addr-actions {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-addr-action {
  background: none;
  border: 1px solid var(--border);
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 32px;
}

.btn-addr-delete {
  color: var(--danger);
}

.btn-addr-delete:hover {
  background-color: #fde8e8;
  border-color: var(--danger);
}

#new-address-form-wrap {
  border-top: 1px dashed var(--border);
  padding-top: 1rem;
  margin-top: 1rem;
}

.auth-submit-btn-accent {
  background-color: var(--accent) !important;
}

.auth-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed !important;
  background-color: #a89f91 !important;
}

.order-history-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  background-color: #ffffff;
}

.order-history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.55rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px dashed var(--border-light);
}

.btn-reorder {
  background-color: var(--accent);
  color: #ffffff;
  border: none;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 36px;
  transition: background-color 0.2s;
}

.btn-reorder:hover {
  background-color: var(--accent-hover);
}

.btn-order-cancel-direct {
  background: none;
  border: 1px solid var(--border);
  color: var(--danger);
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 36px;
  transition: background-color 0.2s, border-color 0.2s;
}

.btn-order-cancel-direct:hover {
  background-color: #fff5f5;
  border-color: var(--danger);
}

.user-coupon-card {
  background: #fffdf9;
  border: 1.5px dashed var(--accent);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.coupon-card-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.coupon-card-code {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 1px;
}

.coupon-card-details {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.btn-copy-coupon {
  background-color: var(--text-primary);
  color: #ffffff;
  border: none;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.reorder-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.reorder-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.btn-modal-abort {
  border: none !important;
  background: none !important;
  color: #888 !important;
  font-size: 0.82rem !important;
}

.empty-state-text {
  text-align: center;
  padding: 2rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.user-review-card,
.user-alert-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.9rem;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.user-alert-card {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.user-alert-stock-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 12px;
  display: inline-block;
}

.stock-badge-in {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.stock-badge-out {
  background-color: #fff3e0;
  color: #e65100;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100%;
  height: 100dvh;
  background-color: #ffffff;
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.25s ease-in-out;
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-body {
  flex-grow: 1;
  padding: 1.15rem;
  overflow-y: auto;
}

.empty-cart {
  color: var(--text-secondary);
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.92rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-light);
}

.cart-item-thumb {
  width: 56px;
  height: 56px;
  background-color: var(--border-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--text-secondary);
  font-weight: 600;
  flex-shrink: 0;
  overflow: hidden;
}

.cart-item-info {
  flex-grow: 1;
  min-width: 0;
}

.cart-item-info h4 {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 0.86rem;
  color: var(--accent);
  font-weight: 700;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.qty-btn {
  background-color: var(--border-light);
  border: 1px solid var(--border);
  width: 30px;
  height: 30px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-footer {
  padding: 1.15rem;
  border-top: 1px solid var(--border);
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.shipping-notice-box {
  background-color: #ffffff;
  border: 1px solid #e3d9cc;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  font-size: 0.78rem;
  text-align: center;
}

.coupon-section {
  background: #ffffff;
  padding: 0.65rem;
  border-radius: 8px;
  border: 1px dashed var(--border);
}

.coupon-input-wrap {
  display: flex;
  gap: 0.45rem;
}

.coupon-input-wrap input {
  flex: 1;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.82rem;
  text-transform: uppercase;
  min-width: 0;
}

.btn-apply-coupon {
  background-color: var(--text-primary);
  color: #ffffff;
  border: none;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
}

.coupon-feedback {
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 0.35rem;
  display: none;
}

.coupon-feedback.success {
  display: block;
  color: var(--success);
}

.coupon-feedback.error {
  display: block;
  color: var(--danger);
}

.applied-coupon-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #e8f5e9;
  border: 1px solid #c8e6c9;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
}

.calc-row-drawer {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.discount-row {
  color: var(--success) !important;
  font-weight: 700;
}

.total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 800;
  border-top: 1px solid var(--border);
  padding-top: 0.45rem;
}

.checkout-btn {
  width: 100%;
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 0.8rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 46px;
}

.continue-shopping-btn {
  width: 100%;
  background-color: #ffffff;
  border: 1.5px solid #d6c7b8;
  padding: 0.65rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  min-height: 42px;
  font-size: 0.88rem;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.checkout-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 94%;
  max-width: 880px;
  max-height: 90vh;
  max-height: 90dvh;
  background-color: #ffffff;
  border-radius: 12px;
  z-index: 1060;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.checkout-modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.checkout-header {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkout-body {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.75rem;
  padding: 1.5rem;
}

.form-section {
  border: 1px solid var(--border);
  padding: 1.15rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
}

.form-section legend {
  padding: 0 0.45rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.form-row {
  display: flex;
  gap: 0.85rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.8rem;
  flex: 1;
  min-width: 0;
}

.input-group label {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-secondary);
}

.input-group input,
.input-group textarea,
.input-group select {
  padding: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.92rem;
  min-height: 40px;
  width: 100%;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
  outline: none;
  border-color: var(--accent);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
}

.checkbox-group input {
  margin-top: 0.25rem;
  cursor: pointer;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
  cursor: pointer;
}

.input-sub-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.35rem;
}

.forgot-link {
  font-size: 0.8rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

.forgot-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.checkout-summary {
  background-color: var(--bg-primary);
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  height: fit-content;
}

.summary-items {
  max-height: 170px;
  overflow-y: auto;
  margin: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.45rem;
}

.summary-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  margin-bottom: 0.45rem;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.total-highlight {
  font-size: 1.15rem;
  font-weight: 800;
  border-top: 1px solid var(--border);
  padding-top: 0.65rem;
  margin-top: 0.65rem;
}

.pay-btn {
  width: 100%;
  background-color: var(--accent);
  color: #fff;
  border: none;
  padding: 0.85rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.85rem;
  min-height: 46px;
}

.pay-btn:hover {
  background-color: var(--accent-hover);
}

.security-badges {
  margin-top: 0.85rem;
  font-size: 0.74rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: center;
}

.auth-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 420px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  background-color: #ffffff;
  border-radius: 12px;
  z-index: 1060;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.auth-modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.auth-header {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.auth-tabs {
  display: flex;
  gap: 0.85rem;
}

.tab-btn {
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
}

.tab-btn.active {
  color: var(--text-primary);
  border-bottom-color: var(--accent);
}

.auth-body {
  padding: 1.25rem;
}

.password-rules {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}

.rule-item {
  font-size: 0.7rem;
  color: #adb5bd;
}

.rule-item.valid {
  color: var(--success);
  font-weight: 600;
}

.legal-link {
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
}

.auth-submit-btn {
  width: 100%;
  background-color: var(--text-primary);
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.5rem;
  min-height: 42px;
}

.auth-submit-btn:hover {
  background-color: #3b2c24;
}

.verify-icon {
  font-size: 2.75rem;
  text-align: center;
  margin-bottom: 0.45rem;
}

.verify-title {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.verify-desc {
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.code-input {
  text-align: center;
  font-size: 1.4rem !important;
  letter-spacing: 5px;
  font-weight: 700;
}

.resend-btn {
  background: none;
  border: none;
  width: 100%;
  text-align: center;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 0.85rem;
  cursor: pointer;
}

.legal-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 660px;
  max-height: 82vh;
  max-height: 82dvh;
  background-color: #ffffff;
  border-radius: 12px;
  z-index: 1070;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.legal-modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.legal-header {
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-primary);
  border-radius: 12px 12px 0 0;
}

.legal-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.legal-body {
  padding: 1.35rem;
  overflow-y: auto;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.legal-body h4 {
  color: var(--text-primary);
  margin: 1.1rem 0 0.3rem 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 92%;
  max-width: 1040px;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(36, 26, 21, 0.16);
  z-index: 1040;
  padding: 1rem 1.25rem;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-banner.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.cookie-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cookie-text-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-1;
  min-width: 260px;
}

.cookie-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.cookie-text-wrap p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.btn-cookie-primary {
  background-color: var(--accent);
  color: #ffffff;
  border: none;
  padding: 0.6rem 1.15rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 38px;
}

.btn-cookie-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 0.6rem 1.05rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 38px;
}

.tracking-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 520px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  background-color: #ffffff;
  border-radius: 12px;
  z-index: 1060;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.tracking-modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.tracking-header {
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-primary);
  border-radius: 12px 12px 0 0;
}

.tracking-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.tracking-body {
  padding: 1.35rem;
}

.tracking-progress-bar {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 1.25rem 0;
}

.tracking-progress-bar::before {
  content: '';
  position: absolute;
  top: 13px;
  left: 10%;
  right: 10%;
  height: 3px;
  background-color: #e5ddd3;
  z-index: 1;
}

.track-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 2px solid #d1c7bd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: bold;
  color: var(--text-secondary);
}

.track-step.completed .step-dot,
.track-step.active .step-dot {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.step-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.track-step.active .step-label,
.track-step.completed .step-label {
  color: var(--text-primary);
  font-weight: 700;
}

.tracking-info-box {
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.9rem;
  margin: 0.9rem 0;
  font-size: 0.86rem;
}

.btn-external-tracking {
  display: block;
  width: 100%;
  text-align: center;
  background-color: var(--accent);
  color: #ffffff;
  padding: 0.75rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  margin-top: 0.9rem;
  min-height: 42px;
}

.btn-customer-cancel-order {
  width: 100%;
  background-color: transparent;
  color: var(--danger);
  border: 1.5px solid #f8d7da;
  padding: 0.7rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  margin-top: 0.65rem;
  min-height: 40px;
}

.contact-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 460px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  background-color: #ffffff;
  border-radius: 12px;
  z-index: 1060;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.contact-modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.contact-header {
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-primary);
  border-radius: 12px 12px 0 0;
}

.contact-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.contact-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
}

.contact-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.15rem;
}

.contact-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-val-highlight {
  color: var(--accent) !important;
  font-size: 1rem;
  font-weight: 700;
  display: inline-block;
  letter-spacing: 0.5px;
}

.cancel-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  z-index: 1090;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.cancel-modal.active {
  opacity: 1;
  visibility: visible;
}

.cancel-modal-content {
  background: #ffffff;
  width: 90%;
  max-width: 420px;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.cancel-modal-actions {
  display: flex;
  gap: 0.65rem;
}

.btn-modal-cancel {
  flex: 1;
  background: var(--border-light);
  border: 1px solid var(--border);
  padding: 0.65rem;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  min-height: 42px;
}

.btn-modal-confirm {
  flex: 1;
  background: var(--danger);
  color: white;
  border: none;
  padding: 0.65rem;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  min-height: 42px;
}

.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  pointer-events: none;
  max-width: calc(100vw - 2rem);
}

.toast-message {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 0.75rem 1.15rem;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  transform: translateX(120%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-message.toast-show {
  transform: translateX(0);
}

.toast-success { border-left: 5px solid var(--success); }
.toast-error { border-left: 5px solid var(--danger); }
.toast-info { border-left: 5px solid var(--accent); }

.site-footer {
  background-color: #1a120e;
  color: #cfc2b6;
  padding: 3.5rem 0 0 0;
  margin-top: 5rem;
  border-top: 3px solid var(--accent);
  width: 100%;
}

.footer-container {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 3rem) 2.5rem clamp(1rem, 3vw, 3rem);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-about p {
  font-size: 0.86rem;
  line-height: 1.55;
  color: #b3a598;
  margin-bottom: 1rem;
}

.footer-trust-badges {
  display: flex;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
  flex-wrap: wrap;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.45rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background-color: var(--accent);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.55rem;
}

.footer-col li a {
  color: #b3a598;
  text-decoration: none;
  font-size: 0.86rem;
  transition: color 0.2s;
}

.footer-col li a:hover {
  color: var(--accent);
}

.footer-contact p {
  font-size: 0.86rem;
  margin-bottom: 0.5rem;
  color: #b3a598;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.accent-text {
  color: var(--accent) !important;
  text-decoration: none;
  font-weight: 700;
}

.accent-text:hover {
  text-decoration: underline;
}

.etbis-box {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.etbis-badge {
  width: 44px;
  height: 44px;
  background: #241a15;
  border: 1px solid var(--accent);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--accent);
  text-align: center;
  line-height: 1;
  flex-shrink: 0;
}

.etbis-box small {
  font-size: 0.72rem;
  color: #a89f91;
  line-height: 1.3;
}

.footer-bottom {
  background-color: #120b08;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
}

.footer-bottom-container {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 3rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.8rem;
  color: #8c7f73;
}

.payment-cards-row {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.pay-card-pill {
  background-color: #241a15;
  color: #d8cec4;
  border: 1px solid #3b2c24;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
}

.sticky-whatsapp-btn {
  position: fixed;
  bottom: clamp(1.5rem, 3vw, 3rem);
  right: clamp(1.5rem, 3vw, 3.25rem);
  width: clamp(48px, 4vw, 56px);
  height: clamp(48px, 4vw, 56px);
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 1030;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s;
  text-decoration: none;
}

.sticky-whatsapp-btn:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.55);
}

.whatsapp-icon {
  width: clamp(26px, 2.5vw, 32px);
  height: clamp(26px, 2.5vw, 32px);
}

.whatsapp-tooltip {
  position: absolute;
  right: 66px;
  background-color: #241a15;
  color: #ffffff;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateX(10px);
}

.sticky-whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (min-width: 1920px) {
  :root {
    --site-max-width: 1720px;
  }

  .subcat-products-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (min-width: 2560px) {
  :root {
    --site-max-width: 2200px;
  }

  body {
    font-size: 1.15rem;
  }

  .subcat-products-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 2rem;
  }

  .hero {
    min-height: 520px;
  }
}

@media (max-width: 1200px) and (min-width: 993px) {
  .subcat-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 992px) {
  .categories {
    display: none;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .checkout-body {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.25rem;
  }

  .p-detail-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .subcat-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (max-width: 768px) {
  .top-bar-container {
    padding: 0 0.85rem;
    justify-content: center;
  }

  .announcement {
    display: none;
  }

  .top-links {
    width: 100%;
    justify-content: center;
    gap: 0.75rem;
  }

  .navbar {
    min-height: 62px;
  }

  .nav-container {
    padding: 0.5rem 0.85rem;
  }

  .brand-logo {
    height: 38px;
  }

  .user-actions {
    gap: 0.45rem;
  }

  .user-btn span,
  .cart-btn span[data-i18n] {
    display: none;
  }

  .user-dropdown-btn {
    padding: 0.45rem 0.65rem;
    min-height: 38px;
  }

  .user-dropdown-btn span#profile-display-name {
    display: none;
  }

  .dropdown-chevron {
    display: none;
  }

  .user-btn,
  .cart-btn,
  .wishlist-nav-btn {
    padding: 0.45rem 0.65rem;
    min-height: 38px;
  }

  .hero {
    min-height: 260px;
    padding: 1.5rem 0;
  }

  .hero-container {
    padding: 0 0.85rem;
  }

  .hero h1 {
    font-size: 1.6rem;
    margin-bottom: 0.45rem;
  }

  .hero p {
    font-size: 0.88rem;
    margin-bottom: 1rem;
  }

  .cta-button {
    padding: 0.6rem 1.45rem;
    font-size: 0.88rem;
  }

  .fast-delivery-strip {
    padding: 0.5rem 0;
  }

  .fast-delivery-strip-container {
    padding: 0 0.85rem;
  }

  .strip-icon {
    font-size: 1rem;
  }

  .strip-text {
    font-size: 0.8rem;
  }

  .vitrin-controls-wrapper {
    padding: 0.65rem 0;
  }

  .vitrin-controls-container {
    padding: 0 0.85rem;
    gap: 0.55rem;
  }

  .vitrin-tools-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  .vitrin-search-box {
    max-width: 100%;
    width: 100%;
  }

  .vitrin-actions-right {
    width: 100%;
    justify-content: space-between;
  }

  .btn-open-filter {
    flex: 1;
    justify-content: center;
  }

  .sort-wrapper {
    flex: 1;
  }

  .vitrin-sort-select {
    width: 100%;
  }

  .filter-price-inputs {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .price-separator {
    display: none;
  }

  .store-container {
    padding: 0 0.75rem;
    margin: 1.25rem auto 3.5rem auto;
  }

  .category-section {
    scroll-margin-top: 75px;
    margin-bottom: 2.25rem;
  }

  .section-header {
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
  }

  .section-header h2 {
    font-size: 1.35rem;
  }

  .subcategory-block {
    flex-direction: row !important;
    gap: 0.75rem;
    margin-bottom: 2.25rem;
  }

  .subcat-sidebar {
    width: 28px;
    min-width: 28px;
    padding-top: 0.2rem;
  }

  .subcat-title {
    writing-mode: vertical-rl !important;
    -webkit-writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.88rem;
    letter-spacing: 0.6px;
    margin-bottom: 0.75rem;
  }

  .subcat-line {
    display: block;
    width: 1.5px;
  }

  .subcat-products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.85rem;
  }

  .product-img-placeholder {
    height: auto;
    aspect-ratio: 1 / 1;
    font-size: 0.75rem;
    padding: 0;
  }

  #takimlar .product-img-placeholder {
    aspect-ratio: 2 / 3;
  }

  .product-info {
    padding: 0.75rem;
    gap: 0.25rem;
  }

  .product-category {
    font-size: 0.62rem;
  }

  .product-title {
    font-size: 0.82rem;
    margin: 0.15rem 0 0.4rem 0;
    line-height: 1.3;
  }

  .price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .price {
    font-size: 0.98rem;
  }

  .discount-tag {
    font-size: 0.64rem;
    padding: 0.12rem 0.3rem;
  }

  .add-to-cart-btn {
    width: 100%;
    padding: 0.4rem 0.5rem;
    font-size: 0.76rem;
    min-height: 34px;
  }

  .card-wishlist-btn {
    width: 30px;
    height: 30px;
    font-size: 1rem;
    top: 6px;
    right: 6px;
  }

  .card-featured-badge {
    font-size: 0.58rem;
    padding: 0.18rem 0.4rem;
    top: 6px;
    left: 6px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .cart-drawer {
    max-width: 100%;
  }

  .product-detail-modal {
    padding: 1.25rem 1rem;
    width: 95%;
  }

  .p-detail-media {
    align-items: center;
  }

  .p-detail-img-box {
    width: 100%;
    max-width: 220px;
    max-height: 220px !important;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
  }

  .p-detail-img-box.aspect-2-3 {
    max-width: 170px;
    max-height: 250px !important;
    aspect-ratio: 2 / 3;
    margin: 0 auto;
  }

  .gallery-nav-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .p-detail-thumbnails-row {
    justify-content: center;
  }

  .p-detail-thumb-item {
    width: 48px;
    height: 48px;
  }

  .p-detail-title {
    font-size: 1.25rem;
  }

  .p-detail-price {
    font-size: 1.45rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 0 1rem 2rem 1rem;
  }

  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
    gap: 0.65rem;
    padding: 0 1rem;
  }

  .sticky-whatsapp-btn {
    bottom: 1.75rem;
    right: 1.75rem;
    width: 48px;
    height: 48px;
  }

  .whatsapp-icon {
    width: 26px;
    height: 26px;
  }

  .cookie-banner {
    width: 95%;
    bottom: 0.65rem;
    padding: 0.85rem 1rem;
  }

  .cookie-container {
    gap: 0.85rem;
  }

  .cookie-actions {
    width: 100%;
    justify-content: stretch;
  }

  .cookie-actions button {
    flex: 1;
  }

  .user-alert-card {
    flex-direction: column;
    align-items: flex-start;
  }
}