/**
 * Pratik Av Theme - Main Stylesheet
 * Complete design from static HTML templates
 */

/* ==========================================================================
   CSS Variables - Design System
   ========================================================================== */
:root {
  --accent: #395c39;
  --accent-weak: rgba(57,92,57,.12);
  --accent-weak-2: rgba(57,92,57,.08);

  --danger: #e53935;
  --danger-weak: rgba(229,57,53,.12);
  --dangerSoft: rgba(226,59,59,.12);

  --warn: #f59e0b;
  --ok: #178a4a;

  --bg: #ffffff;
  --page: #f6f8f6;
  --surface: #f6f8f6;
  --surface-2: #f2f5f2;
  --card: #ffffff;

  --text: #0f172a;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --black: #0b1220;
  --yellow: #f3b200;

  --border: #e6ece6;
  --border-2: #edf1ed;

  --radius: 14px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-sm: 12px;
  --radiusSm: 16px;
  --radiusXs: 12px;
  --pill: 999px;

  --shadow-soft: 0 14px 24px rgba(2,6,23,.08);
  --shadow-mini: 0 6px 16px rgba(2,6,23,.06);
  --shadow-hover: 0 18px 30px rgba(2,6,23,.10);

  --container: 1800px;
  --category-container: 1800px;
  --gap: 18px;
  --sidebar: 360px;

  /* Hero */
  --hero-gap: 18px;
  --hero-h: 504px;

  /* Cards */
  --card-w: 280px;
  --card-h: 560px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

body.pratik-av-theme {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 70%, #f8fafc 100%);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; }

/* Global Offcanvas Backdrop Fix */
.offcanvas-backdrop {
  background-color: rgba(0,0,0,.35) !important;
  transition: opacity 0.3s ease-in-out !important;
}
.offcanvas-backdrop.show {
  opacity: 1 !important;
}
.offcanvas-backdrop.fade:not(.show) {
  opacity: 0 !important;
}
.offcanvas {
  transition: transform 0.3s ease-in-out !important;
}

/* ==========================================================================
   Bootstrap Button Overrides - Pratik Av Theme
   ========================================================================== */
.btn-primary,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:visited {
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

.btn-primary:hover {
  background-color: #2d4a2d !important;
  border-color: #2d4a2d !important;
  color: #fff !important;
}

.btn-primary:disabled,
.btn-primary.disabled {
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
  opacity: 0.65;
}

.btn-outline-primary {
  color: var(--accent) !important;
  border-color: var(--accent) !important;
  background-color: transparent !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

/* Warning buttons to accent */
.btn-warning,
.btn-warning:focus,
.btn-warning:active {
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

.btn-warning:hover {
  background-color: #2d4a2d !important;
  border-color: #2d4a2d !important;
  color: #fff !important;
}

/* Dark buttons */
.btn-dark,
.btn-dark:focus,
.btn-dark:active {
  background-color: #111827 !important;
  border-color: #111827 !important;
  color: #fff !important;
}

.btn-dark:hover {
  background-color: #1f2937 !important;
  border-color: #1f2937 !important;
}

/* Link colors */
a.text-primary,
.text-primary {
  color: var(--accent) !important;
}

/* Form focus states */
.form-control:focus,
.form-select:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 0.2rem rgba(57, 92, 57, 0.25) !important;
}

/* Checkbox and radio accent */
.form-check-input:checked {
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
}

.form-check-input:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 0.2rem rgba(57, 92, 57, 0.25) !important;
}

/* Element UI overrides */
.el-button--primary,
.el-button--primary:focus {
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

.el-button--primary:hover {
  background-color: #2d4a2d !important;
  border-color: #2d4a2d !important;
}

.el-checkbox__input.is-checked .el-checkbox__inner,
.el-radio__input.is-checked .el-radio__inner {
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
}

.el-checkbox__input.is-checked+.el-checkbox__label,
.el-radio__input.is-checked+.el-radio__label {
  color: var(--accent) !important;
}

/* Cart & Checkout specific */
#offcanvas-right-cart .btn-primary,
.page-cart .btn-primary,
.page-checkout .btn-primary {
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
}

#offcanvas-right-cart .btn-primary:hover,
.page-cart .btn-primary:hover,
.page-checkout .btn-primary:hover {
  background-color: #2d4a2d !important;
  border-color: #2d4a2d !important;
}

.to-checkout,
.to-checkout:hover {
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

.to-checkout:hover {
  background-color: #2d4a2d !important;
  border-color: #2d4a2d !important;
}

/* Badge colors */
.badge.bg-primary,
.bg-primary {
  background-color: var(--accent) !important;
}

/* Pagination active */
.page-item.active .page-link {
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
}

.page-link {
  color: var(--accent) !important;
}

.page-link:hover {
  color: #2d4a2d !important;
}

/* Progress bar */
.progress-bar {
  background-color: var(--accent) !important;
}

/* Spinner */
.spinner-border.text-primary {
  color: var(--accent) !important;
}

/* ==========================================================================
   Container
   ========================================================================== */
.header-container,
.container,
.site-header .container,
.site-footer .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}

/* ==========================================================================
   HEADER WRAPPER
   ========================================================================== */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

/* ==========================================================================
   ANNOUNCEMENT BAR
   ========================================================================== */
.announcement {
  background: #556a5a;
  border-bottom: 1px solid rgba(255,255,255,.15);
  --announcement-bg: #556a5a;
  --announcement-bg-rgb: 85,106,90;
}

.announcement__inner {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 0;
}

.announcement__marquee {
  flex: 1;
  min-width: 0;
}

.marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 84px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--announcement-bg) 0%, rgba(var(--announcement-bg-rgb),0) 100%);
}

.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--announcement-bg) 0%, rgba(var(--announcement-bg-rgb),0) 100%);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  flex: 0 0 auto;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: .9;
}

.marquee__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  flex: 0 0 auto;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   TOP LINKS BAR
   ========================================================================== */
.topbar {
  border-bottom: 1px solid var(--border-2);
  background: var(--bg);
}

.topbar__inner {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 320px;
}

.topbar__left a,
.topbar__right a {
  font-size: 13px;
  color: rgba(15,23,42,.62);
  font-weight: 500;
  transition: color .15s ease;
}

.topbar__left a:hover,
.topbar__right a:hover {
  color: rgba(15,23,42,.92);
}

.topbar__center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.topbar__center .bolt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   MAIN HEADER ROW
   ========================================================================== */
.mainbar {
  background: var(--bg);
}

.mainbar__inner {
  height: 120px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 68px;
  width: auto;
  object-fit: contain;
}

/* Toggle */
.mode-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--pill);
  background: var(--bg);
  border: 1px solid var(--border);
  min-width: 210px;
  justify-content: center;
}

.mode-toggle__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .35px;
  text-transform: uppercase;
  user-select: none;
}

.mode-toggle__label--left { color: var(--accent); }
.mode-toggle__label--right { color: rgba(15,23,42,.55); }

.mode-toggle__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mode-toggle__switch {
  width: 44px;
  height: 22px;
  border-radius: var(--pill);
  background: rgba(57,92,57,.18);
  border: 1px solid rgba(57,92,57,.22);
  display: flex;
  align-items: center;
  padding: 2px;
  position: relative;
  cursor: pointer;
}

.mode-toggle__knob {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(0);
  transition: transform .18s ease;
}

#mode:checked + label + .mode-toggle__label--left + .mode-toggle__switch .mode-toggle__knob,
#mode:checked ~ .mode-toggle__switch .mode-toggle__knob {
  transform: translateX(22px);
}

#mode:checked ~ .mode-toggle__label--left { color: rgba(15,23,42,.55); }
#mode:checked ~ .mode-toggle__label--right { color: var(--accent); }

/* Search */
.search {
  flex: 1;
  display: flex;
  align-items: center;
  height: 52px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--pill);
  padding: 0 16px;
  gap: 12px;
  min-width: 180px;
}

.search__input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  color: rgba(15,23,42,.85);
}

.search__input::placeholder { color: rgba(15,23,42,.45); }

/* Header Actions */
.header-actions,
.site-header .actions,
.site-header .mainbar .actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 300px;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
}

.icon-btn,
.site-header .icon-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: grid !important;
  place-items: center;
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative !important;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  text-decoration: none;
  flex-shrink: 0;
  cursor: pointer;
  color: inherit;
}

.icon-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-mini);
  background: rgba(57,92,57,.06);
}

.icon-btn--solid {
  background: var(--surface);
  border-color: var(--border);
  color: var(--accent);
}

.header-badge,
.site-header .badge,
.site-header .icon-btn .badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  line-height: 1;
}

.cart-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 6px;
  line-height: 1.1;
  min-width: 78px;
}

.cart-meta__amount {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.2px;
  color: rgba(15,23,42,.92);
}

.cart-meta__label {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(15,23,42,.48);
  font-weight: 500;
}

/* ==========================================================================
   SUB BAR - MEGA MENU
   ========================================================================== */
.subbar {
  background: #fff;
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0);
  transition: box-shadow .2s ease;
}

.subbar.is-sticky {
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.subbar__inner {
  height: 60px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.subbar__left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.subbar__right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}

/* Mega Navigation */
.mega-nav {
  display: flex;
  align-items: stretch;
  flex: 1;
  justify-content: flex-start;
}

.mega-nav__item {
  position: static;
}

.mega-nav__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2px;
  color: rgba(15,23,42,.85);
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}

.mega-nav__link i {
  font-size: 14px;
  opacity: .75;
}

.mega-nav__link:hover,
.mega-nav__item:hover .mega-nav__link {
  background: var(--surface);
  color: var(--primary);
}

/* Mega Dropdown - Full Width */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.04);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
  z-index: 1000;
}

.mega-nav__item:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-dropdown__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 32px 20px;
}

.mega-dropdown__heading {
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
  color: #111827;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border-2);
}

.mega-dropdown__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.mega-dropdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 8px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .12s ease;
}

.mega-dropdown__item:hover {
  background: var(--surface);
}

.mega-dropdown__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), .1), rgba(var(--primary-rgb), .05));
  border-radius: 8px;
  margin-bottom: 6px;
}

.mega-dropdown__icon i {
  font-size: 15px;
  color: var(--primary);
}

.mega-dropdown__label {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  line-height: 1.25;
  letter-spacing: .2px;
}

.mega-dropdown__item:hover .mega-dropdown__label {
  color: var(--primary);
}

/* Brands Section */
.mega-dropdown__brands {
  border-top: 1px solid var(--border-2);
  padding-top: 12px;
}

.mega-dropdown__brands-title {
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0 0 10px;
}

.mega-dropdown__brands-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
}

.mega-dropdown__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 6px;
  border-radius: 6px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all .12s ease;
  background: rgba(15,23,42,.02);
}

.mega-dropdown__brand:hover {
  border-color: var(--border);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.mega-dropdown__brand img {
  width: 44px;
  height: 22px;
  object-fit: contain;
  margin-bottom: 4px;
  filter: grayscale(100%);
  opacity: .7;
  transition: filter .12s ease, opacity .12s ease;
}

.mega-dropdown__brand:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.mega-dropdown__brand i {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 4px;
}

.mega-dropdown__brand span {
  font-size: 10px;
  font-weight: 600;
  color: #6b7280;
  line-height: 1.15;
}

.mega-dropdown__brand:hover span {
  color: var(--primary);
}

/* Mega menu responsive */
@media (max-width: 1600px) {
  .mega-dropdown__grid {
    grid-template-columns: repeat(7, 1fr);
  }
  
  .mega-dropdown__brands-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

@media (max-width: 1400px) {
  .mega-nav__link {
    padding: 16px 12px;
    font-size: 12px;
  }
  
  .mega-dropdown__grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .mega-dropdown__brands-grid {
    grid-template-columns: repeat(7, 1fr);
  }
  
  .mega-dropdown__inner {
    padding: 14px 24px 18px;
  }
}

@media (max-width: 1200px) {
  .mega-nav__link {
    padding: 14px 10px;
    font-size: 11px;
    gap: 5px;
  }
  
  .mega-nav__link i {
    font-size: 11px;
  }
  
  .mega-dropdown__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
  }
  
  .mega-dropdown__brands-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .mega-dropdown__inner {
    padding: 12px 16px 16px;
  }
  
  .mega-dropdown__heading {
    font-size: 14px;
    margin-bottom: 10px;
    padding-bottom: 8px;
  }
  
  .mega-dropdown__icon {
    width: 32px;
    height: 32px;
  }
  
  .mega-dropdown__icon i {
    font-size: 13px;
  }
  
  .mega-dropdown__label {
    font-size: 11px;
    font-weight: 700;
  }
  
  .mega-dropdown__brand {
    padding: 6px 4px;
  }
  
  .mega-dropdown__brand span {
    font-size: 9px;
  }
}

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

/* ==========================================================================
   MOBILE HEADER
   ========================================================================== */
.mobile-header {
  display: none;
}

.desktop-header {
  display: block;
}

@media (max-width: 991px) {
  .desktop-header {
    display: none !important;
  }
  
  .mobile-header {
    display: block;
  }
}

/* Mobile Main Row */
.mobile-header__main {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.mobile-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-header__hamburger {
  width: 44px;
  height: 44px;
  border: none;
  background: var(--surface);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #374151;
  cursor: pointer;
  transition: background .15s ease;
  flex-shrink: 0;
}

.mobile-header__hamburger:hover {
  background: var(--border);
}

/* Mobile Notification */
.mobile-header__notification {
  position: relative;
  flex-shrink: 0;
}

.mobile-header__bell {
  width: 44px;
  height: 44px;
  border: none;
  background: var(--surface);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #374151;
  cursor: pointer;
  transition: background .15s ease;
  position: relative;
}

.mobile-header__bell:hover {
  background: var(--border);
}

.mobile-header__bell-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* Notification Dropdown (Mobile) */
.notification-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: auto;
  width: calc(100vw - 32px);
  max-width: 340px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,.15);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  transform: translateY(-10px);
}

.notification-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.notification-dropdown__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.notification-dropdown__close {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--surface);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #6b7280;
  cursor: pointer;
}

.notification-dropdown__body {
  max-height: 350px;
  overflow-y: auto;
}

.notification-dropdown__item {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-2);
}

.notification-dropdown__item:last-child {
  border-bottom: none;
}

.notification-dropdown__icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notification-dropdown__icon i {
  font-size: 16px;
  color: #d97706;
}

.notification-dropdown__content h5 {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px;
}

.notification-dropdown__content p {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 8px;
  line-height: 1.4;
}

.notification-dropdown__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.notification-dropdown__empty {
  padding: 40px 20px;
  text-align: center;
  color: #9ca3af;
}

.notification-dropdown__empty i {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

.notification-dropdown__empty p {
  margin: 0;
  font-size: 14px;
}

/* Mobile Logo */
.mobile-header__logo {
  flex: 1;
  display: flex;
  justify-content: center;
}

.mobile-header__logo img {
  max-height: 40px;
  width: auto;
}

.mobile-header__logo span {
  font-size: 22px;
  font-weight: 800;
  color: #0b3a2d;
}

/* Mobile Actions */
.mobile-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mobile-header__icon {
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #374151;
  text-decoration: none;
  position: relative;
  cursor: pointer;
}

.mobile-header__badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* Mobile Search Row */
.mobile-header__search {
  background: #fff;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--border);
}

.mobile-search {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border-radius: 12px;
  padding: 12px 16px;
}

.mobile-search i {
  font-size: 16px;
  color: #9ca3af;
  flex-shrink: 0;
}

.mobile-search input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  color: #111827;
  outline: none;
}

.mobile-search input::placeholder {
  color: #9ca3af;
}

/* ==========================================================================
   MOBILE OFFCANVAS MENU
   ========================================================================== */
.mobile-offcanvas {
  width: 320px !important;
  max-width: 85vw;
  border: none !important;
}

.mobile-offcanvas__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.mobile-offcanvas__logo img {
  max-height: 36px;
  width: auto;
}

.mobile-offcanvas__logo span {
  font-size: 20px;
  font-weight: 800;
  color: #0b3a2d;
}

.mobile-offcanvas__close {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--surface);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #6b7280;
  cursor: pointer;
}

.mobile-offcanvas__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0;
}

/* User Quick Links */
.mobile-offcanvas__user {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 16px;
  border-bottom: 1px solid var(--border-2);
  margin-bottom: 16px;
}

.mobile-offcanvas__user a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--surface);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  transition: background .15s ease;
}

.mobile-offcanvas__user a:hover {
  background: var(--border);
}

.mobile-offcanvas__user a i {
  font-size: 14px;
  opacity: .7;
}

/* Mobile Navigation */
.mobile-offcanvas__nav {
  padding: 0;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--border-2);
}

.mobile-nav-item__header {
  display: flex;
  align-items: center;
}

.mobile-nav-item__link {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
}

.mobile-nav-item__link i {
  width: 20px;
  text-align: center;
  font-size: 16px;
  color: #6b7280;
}

.mobile-nav-item__toggle {
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #9ca3af;
  cursor: pointer;
  transition: transform .2s ease;
}

.mobile-nav-item.is-open .mobile-nav-item__toggle {
  transform: rotate(180deg);
}

.mobile-nav-item__submenu {
  display: none;
  background: var(--surface);
  padding: 8px 0;
}

.mobile-nav-item.is-open .mobile-nav-item__submenu {
  display: block;
}

.mobile-nav-item__submenu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 48px;
  font-size: 13px;
  color: #4b5563;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}

.mobile-nav-item__submenu a:hover {
  background: var(--border-2);
  color: var(--primary);
}

.mobile-nav-item__submenu a i {
  font-size: 12px;
  color: #9ca3af;
  width: 16px;
  text-align: center;
}

/* Info Links */
.mobile-offcanvas__links {
  padding: 16px;
  border-top: 1px solid var(--border-2);
  margin-top: 16px;
}

.mobile-offcanvas__links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 13px;
  color: #6b7280;
  text-decoration: none;
}

.mobile-offcanvas__links a i {
  width: 18px;
  text-align: center;
  font-size: 14px;
}

/* Footer Buttons */
.mobile-offcanvas__footer {
  padding: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-offcanvas__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

.mobile-offcanvas__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.mobile-offcanvas__btn--primary {
  background: #111827;
  color: #fff;
}

.mobile-offcanvas__btn--danger {
  background: var(--danger);
  color: #fff;
}

/* ==========================================================================
   DESKTOP NOTIFICATION DROPDOWN
   ========================================================================== */
.desktop-notification {
  position: relative;
}

.desktop-notification__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 360px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,.15);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.desktop-notification__dropdown.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.desktop-notification__header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.desktop-notification__body {
  max-height: 400px;
  overflow-y: auto;
}

.desktop-notification__item {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-2);
  transition: background .15s ease;
}

.desktop-notification__item:hover {
  background: var(--surface);
}

.desktop-notification__item:last-child {
  border-bottom: none;
}

.desktop-notification__icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.desktop-notification__icon i {
  font-size: 18px;
  color: #d97706;
}

.desktop-notification__content h5 {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px;
}

.desktop-notification__content p {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 8px;
  line-height: 1.5;
}

.desktop-notification__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.desktop-notification__link:hover {
  text-decoration: underline;
}

.desktop-notification__empty {
  padding: 40px 20px;
  text-align: center;
  color: #9ca3af;
}

.desktop-notification__empty i {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

.desktop-notification__empty p {
  margin: 0;
  font-size: 14px;
}

.chip {
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.1px;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  white-space: nowrap;
  text-decoration: none;
}

.chip:hover { transform: translateY(-1px); box-shadow: var(--shadow-mini); }

.chip--dark {
  background: #111827;
  color: #fff;
}

.chip--outline {
  background: var(--bg);
  color: rgba(15,23,42,.82);
  border-color: var(--border);
}

.chip--light {
  background: var(--surface);
  color: rgba(15,23,42,.78);
  border-color: var(--border);
  font-weight: 700;
}

.chip__icon {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  opacity: .95;
}

.subbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.1px;
  color: rgba(15,23,42,.90);
  padding: 10px 12px;
  border-radius: 12px;
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
  text-decoration: none;
}

.nav-item:hover { background: rgba(2,6,23,.03); }

.nav-item--danger {
  color: var(--danger);
}

/* Blink animation for "Tükenmek Üzere" */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.nav-item--blink {
  animation: blink 1.5s ease-in-out infinite;
  text-transform: uppercase;
}

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */
.main-content > .container,
.main-content .wrap,
.main-content .page-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

.main-content > * + * {
  margin-top: 30px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  padding: 18px 0 14px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 2.2fr 1.05fr 1.05fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--hero-gap);
  height: var(--hero-h);
  align-items: stretch;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(2,6,23,.08);
  background: #0b1220;
  isolation: isolate;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2,6,23,.34) 0%, rgba(2,6,23,.13) 55%, rgba(2,6,23,.025) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.02);
}

.hero-content {
  position: absolute;
  inset: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  z-index: 2;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .55px;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
}

.hero-kicker .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(57,92,57,.30);
  border: 1px solid rgba(57,92,57,.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-title {
  margin: 0;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -.9px;
  color: #fff;
  font-weight: 900;
  max-width: 82%;
}

.hero-sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,.78);
  font-weight: 600;
  max-width: 70%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.15px;
  border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease, color .12s ease;
  width: fit-content;
  user-select: none;
  text-decoration: none;
}

.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-mini); }
.btn:active { transform: translateY(0); box-shadow: none; }

.btn--accent {
  background: var(--accent);
  color: #fff;
  border-color: rgba(255,255,255,.10);
}

.btn--ghost {
  background: rgba(255,255,255,.10);
  color: #fff;
  border-color: rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn--dark {
  background: #0b1220;
  color: #fff;
  border-color: rgba(255,255,255,.08);
}

/* Layout map */
.hero-card--big {
  grid-column: 1;
  grid-row: 1 / 3;
  border: none;
}

.hero-card--tall { grid-column: 2; grid-row: 1 / 3; }
.hero-card--top { grid-column: 3; grid-row: 1; }
.hero-card--bottom { grid-column: 3; grid-row: 2; }

/* Tall card overlay */
.hero-card--tall {
  background: #0a6a63;
  border: none;
}

.hero-card--tall::after {
  background: linear-gradient(180deg, rgba(2,6,23,.11) 0%, rgba(2,6,23,.12) 30%, rgba(2,6,23,.30) 100%);
}

.hero-card--tall .hero-content {
  justify-content: flex-end;
  align-items: flex-start;
}

/* Right cards: lighter backgrounds */
.hero-card--top,
.hero-card--bottom {
  background: #eef2f3;
}

.hero-card--top::after,
.hero-card--bottom::after {
  background: linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.62) 48%, rgba(255,255,255,.15) 100%);
}

.hero-card--top .hero-title,
.hero-card--bottom .hero-title {
  color: rgba(15,23,42,.92);
  font-size: 26px;
  max-width: 80%;
}

.hero-card--top .hero-sub,
.hero-card--bottom .hero-sub {
  color: rgba(15,23,42,.65);
  max-width: 80%;
  font-weight: 700;
}

/* Product PNG positioning */
.hero-product {
  position: absolute;
  right: -8px;
  bottom: -10px;
  width: 62%;
  height: auto;
  z-index: 1;
  transform: rotate(-2deg);
  pointer-events: none;
}

.hero-card--bottom .hero-product {
  width: 64%;
  right: -10px;
  bottom: -6px;
  transform: rotate(1deg);
}

/* Small right cards content padding */
.hero-card--top .hero-content,
.hero-card--bottom .hero-content {
  padding: 22px;
  justify-content: center;
  gap: 8px;
}

/* ==========================================================================
   CATEGORIES SECTION
   ========================================================================== */
.categories {
  margin-top: 18px;
  padding: 18px 0;
  background: var(--surface);
  border-top: 1px solid rgba(2,6,23,.06);
  border-bottom: 1px solid rgba(2,6,23,.06);
}

.cat-shell {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 18px 18px 12px;
}

.cat-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 12px;
  border-radius: 18px;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  border: 1px solid transparent;
  background: rgba(255,255,255,.0);
  text-decoration: none;
}

.cat-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2,6,23,.08);
  background: rgba(255,255,255,.55);
  border-color: rgba(2,6,23,.06);
}

.category-icon {
  width: 78px;
  height: 78px;
  object-fit: contain;
  display: block;
  border-radius: 18px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(2,6,23,.06);
  padding: 10px;
}

.category-text {
  text-align: center;
  font-size: 13.5px;
  font-weight: 900;
  color: rgba(15,23,42,.82);
  letter-spacing: -.1px;
  line-height: 1.2;
  min-height: 2.4em;
}

.cat-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-56%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(2,6,23,.08);
  color: rgba(15,23,42,.65);
  user-select: none;
  pointer-events: none;
}

.cat-arrow i { font-size: 16px; }
.cat-arrow--left { left: -10px; }
.cat-arrow--right { right: -10px; }

.cat-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 0 4px;
}

.cat-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(100,116,139,.25);
}

.cat-dot.is-active {
  width: 18px;
  background: rgba(57,92,57,.45);
}

/* ==========================================================================
   DEAL SECTION (HeroKampanya) - Home Page
   ========================================================================== */
.deal-section .deal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.deal-section .deal-title {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.35px;
  color: rgba(15,23,42,.92);
}

.deal-section .deal-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 900;
  color: rgba(15,23,42,.72);
  padding: 10px 12px;
  border-radius: 12px;
  transition: background .12s ease, color .12s ease, transform .12s ease;
  text-decoration: none;
}

.deal-section .deal-all:hover {
  background: var(--surface);
  color: rgba(15,23,42,.92);
  transform: translateY(-1px);
}

/* Outer red border frame */
.deal-frame {
  border: 3px solid rgba(229,57,53,.75);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg);
}

/* Row - Home Page Deal Section */
.deal-frame .deal-row {
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding: 16px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(15,23,42,.18) transparent;
}

.deal-frame .deal-row::-webkit-scrollbar { height: 10px; }
.deal-frame .deal-row::-webkit-scrollbar-thumb {
  background: rgba(15,23,42,.18);
  border-radius: 999px;
}
.deal-frame .deal-row::-webkit-scrollbar-track { background: transparent; }

/* Deal Card - Home Page */
.deal-frame .deal-card {
  width: 280px;
  min-width: 280px;
  height: 590px;
  padding: 16px;
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}

.deal-frame .deal-card:hover {
  box-shadow: 0 4px 12px rgba(2,6,23,.08);
}

/* Top image area */
.card-top {
  position: relative;
  height: 300px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(57,92,57,.05), rgba(57,92,57,.02));
  border: 1px solid var(--border-2);
  overflow: hidden;
}

.card-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Discount badge */
.badge-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--danger);
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  height: 28px;
  padding: 0 10px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* Fav btn */
.fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  color: rgba(15,23,42,.55);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease;
  z-index: 2;
  cursor: pointer;
}

.fav-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(2,6,23,.08);
  background: #fff;
  color: rgba(15,23,42,.85);
}

/* Body */
.card-body {
  padding-top: 12px;
  flex: 1;
}

/* Badges */
.meta-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 2px 0 10px;
}

.chip-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: .15px;
  border: 1px solid transparent;
  background: #fff;
  white-space: nowrap;
}

.chip-badge--licensed {
  color: #c48c12;
  border-color: rgba(196,140,18,.24);
  background: rgba(255,255,255,.9);
}

.chip-badge--gift {
  color: var(--danger);
  border-color: rgba(229,57,53,.22);
  background: rgba(255,255,255,.9);
}

.chip-badge i { font-size: 12px; opacity: .9; }

.rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 10px;
}

.stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #f7b500;
  font-size: 13px;
}

.stars .empty { color: rgba(247,181,0,.35); }

.rating-count {
  font-size: 12.5px;
  color: rgba(15,23,42,.62);
  font-weight: 800;
}

.product-title {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.15px;
  line-height: 1.25;
  color: rgba(15,23,42,.92);
  height: 2.5em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-title a { color: inherit; text-decoration: none; }
.product-title a:hover { color: rgba(15,23,42,.98); text-decoration: underline; }

.price-row {
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.old-price {
  font-size: 13px;
  font-weight: 900;
  color: rgba(100,116,139,.72);
  text-decoration: line-through;
}

.new-price {
  font-size: 18px;
  font-weight: 1000;
  color: var(--danger);
  letter-spacing: -.2px;
}

/* Countdown */
.countdown {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.time-box {
  width: 38px;
  height: 30px;
  border-radius: 8px;
  background: #eef2f3;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 1000;
  color: rgba(15,23,42,.78);
}

.time-sep {
  font-weight: 1000;
  color: rgba(15,23,42,.35);
}

.countdown-note {
  width: 100%;
  margin-top: 8px;
  font-size: 12.5px;
  color: rgba(15,23,42,.55);
  font-weight: 700;
  line-height: 1.35;
}

/* Sepete ekle butonu */
.cta {
  margin-top: auto;
  padding-top: 12px;
}

/* Home page deal card cart button */
.deal-frame .btn-cart {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(57,92,57,.10);
  background: var(--accent);
  color: #fff;
  font-weight: 1000;
  letter-spacing: -.1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform .12s ease, filter .12s ease;
  cursor: pointer;
}

.deal-frame .btn-cart:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.deal-frame .btn-cart:active { transform: translateY(0); box-shadow: none; }

/* Home page deal card quantity block */
.deal-frame .qty {
  padding-top: 12px;
  border-top: 1px solid rgba(15,23,42,.06);
  margin-top: 12px;
}

.qty-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.qty-label {
  font-size: 12px;
  font-weight: 800;
  color: rgba(100,116,139,.9);
  letter-spacing: -.1px;
}

.qty-value {
  font-size: 13px;
  font-weight: 1000;
  color: var(--danger);
  letter-spacing: -.1px;
}

.qty-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(15,23,42,.08);
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.06);
}

.qty-fill {
  height: 100%;
  width: var(--qty, 55%);
  background: var(--danger);
  border-radius: 999px;
}

/* ==========================================================================
   TAKSIT BANNER
   ========================================================================== */
.taksit-banner {
  padding: 0 0 18px;
}

.taksit-banner__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(2,6,23,.06);
}

/* ==========================================================================
   HEROKAMPANYA2 SECTION
   ========================================================================== */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 30px 18px;
}

/* Two columns */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 18px;
}

.col {
  flex: 1 1 0;
  min-width: 0;
}

/* SOL: Kampanya geri sayım kartı */
.deal-box {
  border: 3px solid rgba(229,57,53,.82);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.deal-head-red {
  background: var(--danger);
  color: #fff;
  padding: 12px 16px;
  font-weight: 900;
  letter-spacing: -.15px;
  font-size: 15px;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.deal-head-red__left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.deal-head-red__title {
  font-weight: 1000;
  letter-spacing: -.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deal-head-red__sub {
  font-size: 12px;
  font-weight: 700;
  opacity: .9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deal-head-red__right { flex: 0 0 auto; }

.timer { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.timer--head { gap: 6px; }
.timer--head .tsep { color: rgba(255,255,255,.65); }

.tbox {
  width: 36px;
  height: 30px;
  border-radius: 8px;
  background: var(--danger);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 1000;
  font-size: 12.5px;
}

.timer--head .tbox {
  width: 34px;
  height: 30px;
  border-radius: 10px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  font-weight: 1000;
}

.tsep {
  color: rgba(15,23,42,.28);
  font-weight: 1000;
}

.deal-body {
  padding: 16px;
  flex: 1;
}

.deal-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.deal-item + .deal-item {
  padding-top: 16px;
  border-top: 1px solid rgba(15,23,42,.08);
}

.deal-main {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.deal-media {
  width: 150px;
  height: 150px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.deal-media img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.discount-bubble {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 1000;
  font-size: 13px;
}

.fav-mini {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  color: rgba(15,23,42,.55);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  cursor: pointer;
}

.fav-mini:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 18px rgba(2,6,23,.10);
  background: #fff;
}

.deal-info {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 2px;
}

.deal-stars {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.count {
  font-size: 12.5px;
  font-weight: 900;
  color: rgba(15,23,42,.55);
}

.deal-title-text {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 1000;
  letter-spacing: -.2px;
  line-height: 1.2;
  color: rgba(15,23,42,.92);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f1f5f1;
  border: 1px solid var(--border);
  color: rgba(15,23,42,.66);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 10px;
}

.price-deal {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}

.old {
  color: rgba(100,116,139,.65);
  font-weight: 900;
  text-decoration: line-through;
}

.now {
  color: var(--danger);
  font-weight: 1000;
  font-size: 20px;
  letter-spacing: -.2px;
}

.stock {
  margin-top: 4px;
}

.stock-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(15,23,42,.10);
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.06);
}

.stock-fill {
  height: 100%;
  width: var(--pct, 55%);
  background: var(--danger);
  border-radius: 999px;
}

.stock-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 900;
  color: rgba(15,23,42,.48);
}

.stock-meta b {
  color: rgba(15,23,42,.70);
  font-weight: 1000;
}

/* SAĞ: Marka paneli */
.brand-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.brand-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 6px 12px;
}

.brand-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-logo img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.brand-meta {
  min-width: 0;
}

.brand-name {
  margin: 0;
  font-size: 14px;
  font-weight: 1000;
  letter-spacing: -.15px;
  line-height: 1.1;
  color: rgba(15,23,42,.92);
}

.brand-desc {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: rgba(100,116,139,.78);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 420px;
}

.brand-right {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 0 0 auto;
  text-align: right;
}

.brand-score {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(15,23,42,.75);
  font-weight: 1000;
  font-size: 12.5px;
  white-space: nowrap;
}

.brand-score i { color: var(--accent); }

.brand-sub {
  margin-top: 4px;
  font-size: 11.5px;
  color: rgba(100,116,139,.72);
  font-weight: 800;
  white-space: nowrap;
}

.prod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0;
  margin-top: 6px;
}

.p-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  position: relative;
  transition: box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p-card:hover {
  border-color: rgba(57,92,57,.22);
  box-shadow: 0 4px 12px rgba(2,6,23,.08);
}

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

.p-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(229,57,53,.12);
  color: var(--danger);
  font-weight: 1000;
  font-size: 11.5px;
  border: 1px solid rgba(229,57,53,.18);
  white-space: nowrap;
  pointer-events: auto;
}

.p-plus {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.82);
  display: grid;
  place-items: center;
  color: rgba(15,23,42,.65);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, color .12s ease;
  pointer-events: auto;
  cursor: pointer;
}

.p-plus:hover {
  transform: translateY(-1px);
  border-color: rgba(57,92,57,.28);
  color: var(--accent);
  box-shadow: 0 10px 18px rgba(2,6,23,.08);
}

.p-media {
  height: 260px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(57,92,57,.05), rgba(57,92,57,.02));
  border: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.p-media img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  object-position: center;
}

.p-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.p-rating .stars { font-size: 12.5px; }
.p-rating .count { font-size: 12px; }

.p-title {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.15px;
  line-height: 1.25;
  color: rgba(15,23,42,.92);
  height: 2.5em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  flex: 1;
}

.p-title a { color: inherit; text-decoration: none; }
.p-title a:hover { text-decoration: underline; }

.p-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
}

.p-now {
  color: var(--danger);
  font-weight: 1000;
  font-size: 16px;
  letter-spacing: -.2px;
}

.p-old {
  color: rgba(100,116,139,.65);
  font-weight: 900;
  font-size: 12.5px;
  text-decoration: line-through;
}

/* ==========================================================================
   LOOKBOOK SECTION
   ========================================================================== */
.lookbook {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 0;
  padding: 0;
  background: #0b0f17;
}

.lookbook__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.lookbook__track {
  display: flex;
  gap: 0;
  width: max-content;
  transform: translateX(0);
  will-change: transform;
}

.lookbook__item {
  flex: 0 0 25vw;
  width: 25vw;
  aspect-ratio: 896 / 1198;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.lookbook__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lookbook__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,6,23,.00) 40%, rgba(2,6,23,.45) 100%);
  pointer-events: none;
}

.lookbook__label {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  z-index: 2;
  pointer-events: none;
}

.lookbook__title {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -.3px;
  line-height: 1.05;
  text-shadow: none;
  margin: 0;
}

.lookbook__meta {
  font-size: 18px;
  font-weight: 500;
  opacity: .85;
  white-space: nowrap;
}

.lookbook__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(2,6,23,.45);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 5;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lookbook__arrow--left { left: 16px; }
.lookbook__arrow--right { right: 16px; }
.lookbook__arrow:hover { background: rgba(2,6,23,.58); }

/* ==========================================================================
   FOOTER STYLES (Updated from anasayfa.html)
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-2);
  background: #fff;
  margin-top: 40px;
}

/* Footer Top - QR + Hotline */
.footer-top {
  padding: 44px 0;
  border-bottom: 1px solid var(--border-2);
  background: #fff;
}

.footer-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-qr {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 320px;
}

.footer-qr__img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  display: block;
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.footer-qr__title {
  margin: 0;
  font-size: 16px;
  font-weight: 1000;
  color: rgba(15,23,42,.92);
  letter-spacing: -.15px;
  line-height: 1.15;
}

.footer-qr__desc {
  margin: 4px 0 0;
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(100,116,139,.78);
}

.footer-hotline {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex: 1 1 auto;
  min-width: 320px;
}

.footer-hotline__icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(57,92,57,.12);
  color: var(--accent);
  flex: 0 0 auto;
  border: 1px solid rgba(2,6,23,.06);
}

.footer-hotline__num {
  margin: 0;
  font-size: 22px;
  font-weight: 1000;
  letter-spacing: -.35px;
  color: #0b4e46;
  line-height: 1.05;
  white-space: nowrap;
}

.footer-hotline__desc {
  margin: 4px 0 0;
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(100,116,139,.78);
  white-space: nowrap;
}

/* Footer Newsletter */
.footer-news {
  padding: 70px 0;
  border-bottom: 1px solid var(--border-2);
  background: #f6f7f8;
}

.footer-news__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}

.footer-news__copy {
  min-width: 320px;
  flex: 1 1 420px;
}

.footer-news__title {
  margin: 0;
  font-size: 22px;
  font-weight: 1000;
  letter-spacing: -.35px;
  color: rgba(15,23,42,.92);
  line-height: 1.12;
}

.footer-news__desc {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: rgba(100,116,139,.78);
  line-height: 1.5;
  max-width: 560px;
}

.footer-news__form {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: transparent;
  border: 0;
  flex: 1 1 420px;
  min-width: 320px;
  max-width: 640px;
}

.footer-news__input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(2,6,23,.10);
  border-right: 0;
  padding: 16px 18px;
  outline: none;
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(15,23,42,.9);
  border-radius: 14px 0 0 14px;
  box-shadow: none;
  background: #fff;
}

.footer-news__btn {
  border: 1px solid rgba(2,6,23,.10);
  border-left: 0;
  padding: 0 22px;
  background: #0b4e46;
  color: #fff;
  font-weight: 1000;
  letter-spacing: -.1px;
  min-width: 140px;
  border-radius: 0 14px 14px 0;
  box-shadow: none;
  cursor: pointer;
  transition: background .15s ease;
}

.footer-news__btn:hover {
  background: #0a3d3a;
}

.footer-news__legal {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: rgba(100,116,139,.62);
  max-width: 560px;
}

/* Footer Main Links */
.footer-main {
  padding: 54px 0;
  background: #f6f7f8;
}

.footer-main__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.footer-brand {
  min-width: 0;
  text-align: left;
}

.footer-brand__logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.footer-brand__logo img {
  height: 64px;
  width: auto;
  display: block;
}

.footer-brand__desc {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(100,116,139,.78);
  line-height: 1.5;
}

.footer-brand__contact {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 17px;
  font-weight: 500;
  color: rgba(100,116,139,.82);
}

.footer-brand__contact a {
  color: inherit;
}

.footer-brand__contact a.footer-brand__email {
  font-weight: 800;
  color: #0b4e46;
}

.footer-col__title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  color: rgba(15,23,42,.92);
  letter-spacing: -.12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(100,116,139,.76);
  transition: color .12s ease;
}

.footer-links a:hover {
  color: rgba(15,23,42,.92);
}

/* Footer Bottom */
.footer-bottom {
  padding: 26px 0;
  border-top: 1px solid var(--border-2);
  background: #fff;
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(100,116,139,.78);
}

.footer-payments {
  height: 13px;
  width: auto;
  display: block;
  opacity: .95;
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */
@media (max-width: 1180px) {
  .topbar__left, .topbar__right { min-width: 260px; }
  .mainbar__inner { gap: 12px; }
  .brand { min-width: 170px; }
  .search { min-width: 150px; }
  .subbar__right { min-width: 280px; }
  .nav-links { display: none; }
  :root { --hero-h: 468px; }
  .cat-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  :root { --card-w: 260px; }
}

@media (max-width: 980px) {
  .two-col { grid-template-columns: 1fr; }
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  .hero-card--big,
  .hero-card--tall,
  .hero-card--top,
  .hero-card--bottom {
    grid-column: 1;
    grid-row: auto;
    min-height: 300px;
  }
  .footer-main__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-hotline {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .mainbar__inner {
    flex-wrap: wrap;
    height: auto;
    padding: 16px 0;
  }
  .cat-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .lookbook__item {
    flex: 0 0 50vw;
    width: 50vw;
  }
  .footer-main__grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom__inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-news__btn {
    min-width: 120px;
  }
  .footer-hotline {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .cat-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .deal-card {
    width: 260px;
    min-width: 260px;
  }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.py-30 { padding-top: 30px; padding-bottom: 30px; }

/* Hide BeikeShop Default Styles We Don't Need */
.pratik-av-theme .beike-header,
.pratik-av-theme .beike-footer { display: none !important; }

/* ==========================================================================
   CATEGORY PAGE STYLES
   ========================================================================== */
.category-page {
  background:
    radial-gradient(1100px 420px at 50% -120px, rgba(57,92,57,.10), transparent 60%),
    linear-gradient(180deg,#ffffff 0%, #ffffff 55%, #f8fafc 100%);
}

.category-page .wrap {
  max-width: var(--category-container);
  margin: 0 auto;
  padding: 22px 18px 40px;
}

/* Category Page Body Class Override */
body.category-page {
  background:
    radial-gradient(1100px 420px at 50% -120px, rgba(57,92,57,.10), transparent 60%),
    linear-gradient(180deg,#ffffff 0%, #ffffff 55%, #f8fafc 100%);
}

/* Breadcrumb */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(100,116,139,.85);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumb-nav a {
  color: rgba(15,23,42,.72);
  transition: color .12s ease;
}
.breadcrumb-nav a:hover {
  color: var(--accent);
}
.breadcrumb-nav .sep {
  color: rgba(100,116,139,.45);
}
.breadcrumb-nav .current {
  color: rgba(15,23,42,.92);
  font-weight: 600;
}

/* Category Carousel */
.cat-rail {
  position: relative;
  margin-bottom: 8px;
}
.cat-viewport {
  position: relative;
  padding: 4px 40px;
}
.cat-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 8px;
  scrollbar-width: none;
}
.cat-track::-webkit-scrollbar {
  display: none;
}
.cat-item {
  flex: 0 0 calc((100% - (16px * 3)) / 4);
  min-width: 280px;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-card {
  width: 100%;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  padding: 14px 14px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform .14s ease, border-color .14s ease;
}
.cat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(57,92,57,.22);
}
.cat-ico {
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid rgba(15,23,42,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
}
.cat-ico img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}
.cat-meta {
  min-width: 0;
}
.cat-name {
  margin: 0;
  font-weight: 700;
  letter-spacing: -.15px;
  font-size: 14px;
  color: rgba(15,23,42,.92);
  line-height: 1.2;
}
.cat-sub {
  margin: 5px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: rgba(100,116,139,.85);
}
.cat-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(15,23,42,.55);
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
  user-select: none;
  z-index: 2;
  cursor: pointer;
}
.cat-arrow:hover {
  transform: translateY(-50%) scale(1.05);
  background: #fff;
  box-shadow: 0 4px 12px rgba(2,6,23,.10);
  color: rgba(15,23,42,.85);
}
.cat-arrow.left,
.cat-arrow--left { left: 0; }
.cat-arrow.right,
.cat-arrow--right { right: 0; }

/* Category Intro */
.cat-intro {
  margin-bottom: 16px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.90);
}
.cat-intro h1 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -.3px;
  font-weight: 700;
  line-height: 1.15;
  color: rgba(15,23,42,.94);
}
.cat-intro p {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(100,116,139,.88);
}
.cat-intro p b { color: rgba(15,23,42,.88); font-weight: 600; }
.cat-intro p a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Category/Brand Top Content (inside cat-intro) */
.cat-intro-extra {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(15,23,42,.78);
}
.cat-intro-extra h2,
.cat-intro-extra h3,
.cat-intro-extra h4 {
  margin: 14px 0 8px;
  font-weight: 700;
  color: rgba(15,23,42,.90);
}
.cat-intro-extra h2 { font-size: 18px; }
.cat-intro-extra h3 { font-size: 16px; }
.cat-intro-extra h4 { font-size: 14px; }
.cat-intro-extra ul,
.cat-intro-extra ol {
  padding-left: 20px;
  margin: 8px 0;
}
.cat-intro-extra li { margin-bottom: 4px; }
.cat-intro-extra a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cat-intro-extra img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 10px 0;
}

/* Category/Brand Bottom Content (after products) */
.cat-bottom-content {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.90);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(15,23,42,.78);
}
.cat-bottom-content h2,
.cat-bottom-content h3,
.cat-bottom-content h4 {
  margin: 16px 0 10px;
  font-weight: 700;
  color: rgba(15,23,42,.90);
}
.cat-bottom-content h2:first-child,
.cat-bottom-content h3:first-child,
.cat-bottom-content h4:first-child { margin-top: 0; }
.cat-bottom-content h2 { font-size: 20px; }
.cat-bottom-content h3 { font-size: 17px; }
.cat-bottom-content h4 { font-size: 15px; }
.cat-bottom-content p { margin: 0 0 10px; }
.cat-bottom-content p:last-child { margin-bottom: 0; }
.cat-bottom-content ul,
.cat-bottom-content ol {
  padding-left: 20px;
  margin: 8px 0;
}
.cat-bottom-content li { margin-bottom: 5px; }
.cat-bottom-content a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cat-bottom-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 12px 0;
}
.cat-bottom-content b,
.cat-bottom-content strong {
  color: rgba(15,23,42,.88);
  font-weight: 700;
}

/* Main Layout: Sidebar + Listing */
.page-layout,
.page {
  margin-top: 16px;
  display: grid;
  grid-template-columns: var(--sidebar) 1fr;
  gap: var(--gap);
  align-items: start;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 16px;
  align-self: start;
}
.filter-card {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 20px;
  padding: 16px;
}
.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 8px 14px;
  border-bottom: 1px solid rgba(15,23,42,.08);
  margin-bottom: 12px;
}
.filter-head .title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.15px;
  color: rgba(15,23,42,.88);
}
.filter-head .title i { color: var(--accent); }
.filter-head .clear {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.10);
  color: rgba(15,23,42,.70);
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: background .12s ease, border-color .12s ease;
  text-decoration: none;
}
.filter-head .clear:hover {
  background: rgba(57,92,57,.06);
  border-color: rgba(57,92,57,.18);
}

/* Filter Block */
.f-block {
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.75);
  overflow: hidden;
  margin-top: 12px;
}
.f-block details { border-top: 1px solid rgba(15,23,42,.08); }
.f-block details:first-child { border-top: 0; }
.f-block summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  user-select: none;
  transition: background .12s ease;
}
.f-block summary:hover { background: rgba(57,92,57,.04); }
.f-block summary::-webkit-details-marker { display: none; }
.f-block summary .s-title {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -.1px;
  color: rgba(15,23,42,.85);
  display: flex;
  align-items: center;
  gap: 10px;
}
.f-block summary .s-title i {
  width: 18px;
  text-align: center;
  color: var(--accent) !important;
  font-size: 13px;
  flex-shrink: 0;
}
.f-block summary .chev {
  color: rgba(15,23,42,.45);
  transition: transform .12s ease;
}
.f-block details[open] summary .chev { transform: rotate(180deg); }

.f-content {
  padding: 0 12px 12px;
  overflow: hidden;
}

/* Tree Links */
.tree {
  display: grid;
  gap: 8px;
  padding-top: 6px;
}
.tree a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.80);
  font-size: 12px;
  font-weight: 500;
  color: rgba(15,23,42,.75);
  transition: border-color .12s ease, color .12s ease, background .12s ease;
}
.tree a i { color: rgba(15,23,42,.45); }
.tree a:hover {
  border-color: rgba(57,92,57,.22);
  color: rgba(15,23,42,.90);
  background: rgba(57,92,57,.04);
}
.tree a.active {
  border-color: rgba(57,92,57,.35);
  background: rgba(57,92,57,.08);
  color: var(--accent);
}
.tree a.active i { color: var(--accent); }

/* Scrollbox */
.scrollbox {
  max-height: 180px;
  overflow: auto;
  padding-right: 6px;
}
.scrollbox::-webkit-scrollbar { width: 10px; }
.scrollbox::-webkit-scrollbar-track { background: transparent; }
.scrollbox::-webkit-scrollbar-thumb {
  background: rgba(15,23,42,.14);
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.55);
}

/* Checkbox Filter */
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.80);
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(15,23,42,.75);
  cursor: pointer;
  transition: border-color .12s ease, background .12s ease;
}
.check input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
  flex: 0 0 auto;
}
.check:hover {
  border-color: rgba(57,92,57,.22);
  background: rgba(57,92,57,.04);
}
.check.selected {
  border-color: rgba(57,92,57,.35);
  background: rgba(57,92,57,.08);
}

/* Blog List in Filter Sidebar */
.blog-list {
  display: grid;
  gap: 8px;
  padding-top: 6px;
}
.blog-list a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.80);
  color: rgba(15,23,42,.78);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  transition: border-color .12s ease, background .12s ease;
}
.blog-list a i { color: var(--accent); margin-top: 2px; }
.blog-list a:hover {
  border-color: rgba(57,92,57,.22);
  background: rgba(57,92,57,.04);
}

.blog-footer {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}
.blog-footer a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.10);
  background: #fff;
  color: rgba(15,23,42,.75);
  font-weight: 600;
  font-size: 12px;
  transition: background .12s ease, border-color .12s ease;
}
.blog-footer a:hover {
  background: rgba(57,92,57,.06);
  border-color: rgba(57,92,57,.18);
}

/* Crumb / Breadcrumb under topbar */
.crumb {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(100,116,139,.85);
}
.crumb a {
  color: rgba(15,23,42,.78);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .12s ease;
}
.crumb a:hover {
  color: var(--accent);
}

/* Price Range */
.price-range {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  width: 100%;
  box-sizing: border-box;
}
.price-range input {
  flex: 1;
  min-width: 0;
  max-width: calc(50% - 12px);
  height: 38px;
  padding: 0 8px;
  border-radius: 10px;
  border: 1px solid rgba(15,23,42,.12);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  outline: none;
  box-sizing: border-box;
}
.price-range input:focus {
  border-color: rgba(57,92,57,.35);
}
.price-range span {
  color: rgba(100,116,139,.65);
  font-weight: 500;
}
.price-apply {
  margin-top: 10px;
  width: 100%;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(57,92,57,.22);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: filter .12s ease;
}
.price-apply:hover {
  filter: brightness(1.05);
}

/* Listing */
.listing {
  min-width: 0;
}

/* Listing Topbar */
.listing-topbar {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.result {
  font-size: 13px;
  font-weight: 500;
  color: rgba(100,116,139,.85);
}
.result b { color: rgba(15,23,42,.80); font-weight: 600; }
.controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.view-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vt {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.10);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(15,23,42,.60);
  cursor: pointer;
  transition: background .12s ease, border-color .12s ease, color .12s ease;
}
.vt:hover {
  background: rgba(57,92,57,.06);
  border-color: rgba(57,92,57,.18);
}
.vt.active {
  background: var(--accent-weak);
  border-color: rgba(57,92,57,.22);
  color: var(--accent);
}

.listing-select {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.10);
  background: #fff;
  color: rgba(15,23,42,.75);
  font-weight: 500;
  font-size: 13px;
}
.listing-select select {
  border: 0;
  outline: 0;
  background: transparent;
  font-weight: 500;
  color: rgba(15,23,42,.85);
  cursor: pointer;
  font-size: 13px;
}
.listing-select i { color: rgba(15,23,42,.45); }

/* Product Grid */
.grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.grid.list-view {
  grid-template-columns: 1fr;
}
.grid.list-view .p-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
}
.grid.list-view .p-media {
  margin-bottom: 0;
}

/* Product Card */
.p-card {
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 20px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
  display: flex;
  flex-direction: column;
}
.p-card:hover {
  transform: translateY(-2px);
  border-color: rgba(57,92,57,.22);
  box-shadow: var(--shadow-hover);
}

/* Product Card Top Row */
.p-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.p-top-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.p-discount {
  height: 30px;
  padding: 0 12px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dangerSoft);
  border: 1px solid rgba(226,59,59,.18);
  color: var(--danger);
  font-weight: 700;
  font-size: 12px;
}
.p-badge {
  height: 30px;
  padding: 0 10px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.92);
  color: rgba(15,23,42,.75);
  white-space: nowrap;
}
.p-badge i { font-size: 11px; }
.p-badge.license {
  border-color: rgba(245,158,11,.22);
  background: rgba(245,158,11,.08);
  color: #b45309;
}
.p-badge.license i { color: var(--warn); }
.p-badge.gift {
  border-color: rgba(226,59,59,.18);
  background: rgba(226,59,59,.08);
  color: #b91c1c;
}
.p-badge.gift i { color: var(--danger); }
.p-badge.in-stock {
  border-color: rgba(23,138,74,.22);
  background: rgba(23,138,74,.08);
  color: #0f5f33;
}
.p-badge.in-stock i { color: var(--ok); }
.p-badge.low-stock {
  border-color: rgba(245,158,11,.22);
  background: rgba(245,158,11,.08);
  color: #b45309;
}
.p-badge.low-stock i { color: var(--warn); }
.p-badge.out-of-stock {
  border-color: rgba(226,59,59,.18);
  background: rgba(226,59,59,.08);
  color: #b91c1c;
}
.p-badge.out-of-stock i { color: var(--danger); }

/* Wishlist Button */
.p-wish {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.90);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(15,23,42,.55);
  cursor: pointer;
  flex: 0 0 auto;
  transition: transform .12s ease, background .12s ease, color .12s ease;
}
.p-wish:hover {
  color: var(--danger);
  background: #fff;
  transform: translateY(-1px);
}
.p-wish.active {
  color: var(--danger);
  background: rgba(226,59,59,.08);
}
.p-wish.active i {
  font-weight: 900;
}

/* Product Image */
.p-media {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(57,92,57,.05), rgba(57,92,57,.02));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 12px;
  text-decoration: none;
  border: none;
}
a.p-media {
  display: flex;
}
.p-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.p-card:hover .p-media img {
  transform: scale(1.03);
}

/* Product Rating */
.p-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 10px;
}
.stars {
  display: inline-flex;
  gap: 2px;
  font-size: 12px;
  color: #f7b500;
}
.stars .empty { color: rgba(247,181,0,.35); }
.p-rating .count {
  font-size: 12px;
  font-weight: 600;
  color: rgba(15,23,42,.55);
}

/* Product Title */
.p-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.2px;
  line-height: 1.3;
  color: rgba(15,23,42,.92);
  height: 2.6em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.p-title a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Product Price */
.p-price {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.p-now {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.2px;
  color: #178a4a;
}
.p-savings {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 6px;
  border-radius: 6px;
  border: 1px solid rgba(23,138,74,.16);
  background: #e7f8ee;
  color: #0f5f33;
  font-weight: 500;
  font-size: 10px;
  white-space: nowrap;
}
.p-savings b {
  color: #0f5f33;
  font-weight: 700;
}
.p-old {
  font-size: 12px;
  font-weight: 500;
  color: rgba(15,23,42,.55);
  text-decoration: line-through;
  text-decoration-color: rgba(15,23,42,.30);
}

/* Product CTA Button */
.p-cta {
  width: 100%;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(57,92,57,.22);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -.1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: transform .12s ease, filter .12s ease;
}
.p-cta i { font-size: 14px; }
.p-cta:hover {
  filter: brightness(1.02);
  transform: translateY(-1px);
}
.p-cta:disabled {
  background: rgba(15,23,42,.25);
  border-color: rgba(15,23,42,.15);
  cursor: not-allowed;
}

/* Product Quantity Bar */
.p-qty {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(15,23,42,.08);
}
.p-qty-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(100,116,139,.85);
}
.p-qty-head b {
  color: var(--danger);
  font-weight: 700;
}
.bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(15,23,42,.08);
  border: 1px solid rgba(15,23,42,.06);
  overflow: hidden;
}
.fill {
  height: 100%;
  width: var(--pct, 62%);
  background: var(--danger);
  border-radius: 999px;
}

/* Pagination */
.pagination-wrap {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}
.pagination {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pagination .page-item .page-link,
.pagination li a,
.pagination li span {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.10);
  background: #fff;
  color: rgba(15,23,42,.75);
  font-weight: 600;
  font-size: 13px;
  transition: all .12s ease;
  text-decoration: none;
}
.pagination .page-item .page-link:hover,
.pagination li a:hover {
  border-color: rgba(57,92,57,.22);
  background: rgba(57,92,57,.06);
}
.pagination .page-item.active .page-link,
.pagination li.active span {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.pagination .page-item.disabled .page-link {
  opacity: .5;
  cursor: not-allowed;
}

/* Empty State */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.empty-state i {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: .5;
}
.empty-state p {
  font-size: 16px;
  font-weight: 600;
}

/* Category Page Responsive */
@media (max-width: 1400px) {
  .grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .page-layout, .page { grid-template-columns: 320px 1fr; }
}
@media (max-width: 1100px) {
  .page-layout, .page { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
/* ==========================================================================
   MOBILE RESPONSIVE - CATEGORY & BRAND ARCHIVE PAGES
   ========================================================================== */

/* Mobile Filter Button */
.mobile-filter-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  background: #111827;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 16px;
  position: relative;
}

.mobile-filter-btn i {
  font-size: 16px;
}

.mobile-filter-btn__badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Filter Close Button (Mobile Only) */
.filter-close-btn {
  display: none;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--surface);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #6b7280;
  cursor: pointer;
}

.filter-head__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Desktop: Reset offcanvas styles for sidebar */
@media (min-width: 992px) {
  .sidebar.offcanvas {
    position: static !important;
    transform: none !important;
    visibility: visible !important;
    width: auto !important;
    border: none !important;
    z-index: auto !important;
    flex-shrink: 0;
  }
  
  .sidebar.offcanvas-start {
    top: auto !important;
    left: auto !important;
    bottom: auto !important;
  }
  
  /* Hide filter close button on desktop */
  .filter-close-btn {
    display: none !important;
  }
  
  /* Hide mobile filter button on desktop */
  .mobile-filter-btn {
    display: none !important;
  }
}

/* ========== TABLET & MOBILE BREAKPOINT (991px) ========== */
@media (max-width: 991px) {
  /* Show mobile filter button */
  .mobile-filter-btn {
    display: flex;
  }
  
  /* Show close button in filter */
  .filter-close-btn {
    display: flex !important;
  }
  
  /* Page layout full width */
  .page-layout {
    display: block !important;
    grid-template-columns: 1fr !important;
  }

  .page-layout,
  .page {
    margin-top: 8px;
  }
  
  .page-layout .listing,
  .page-layout main.listing {
    width: 100% !important;
  }
  
  /* ===== OFFCANVAS FILTER STYLES ===== */
  .sidebar.offcanvas {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 300px !important;
    max-width: 85vw !important;
    height: 100% !important;
    height: 100dvh !important;
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: 4px 0 24px rgba(0,0,0,.12) !important;
    z-index: 1055 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s ease !important;
    visibility: hidden !important;
  }
  
  .sidebar.offcanvas.show {
    transform: translateX(0) !important;
    visibility: visible !important;
  }
  
  /* Filter card içinde - tam yükseklik */
  .sidebar.offcanvas .filter-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: #fff;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  
  /* Offcanvas Header - Sticky */
  .sidebar.offcanvas .filter-head {
    flex-shrink: 0;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
    margin: 0;
  }
  
  /* Offcanvas Body - Scrollable */
  .sidebar.offcanvas .f-block {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    background: #fff;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Details içindeki padding */
  .sidebar.offcanvas .f-block details {
    border-top: 1px solid #f3f4f6;
  }
  
  .sidebar.offcanvas .f-block details:first-child {
    border-top: none;
  }
  
  .sidebar.offcanvas .f-block summary {
    padding: 14px 16px;
  }
  
  .sidebar.offcanvas .f-block .f-content {
    padding: 0 16px 14px;
  }
  
  .sidebar.offcanvas .brand-card {
    margin: 16px;
    border-radius: 12px;
  }

  /* Backdrop - Hafif gri */
  .offcanvas-backdrop {
    background: rgba(0,0,0,.3) !important;
    transition: opacity 0.3s ease !important;
  }
  
  .offcanvas-backdrop.show {
    opacity: 1 !important;
  }
  
  .offcanvas-backdrop.fade {
    opacity: 0 !important;
  }
  
  .offcanvas-backdrop.hiding {
    opacity: 0 !important;
  }
}

/* ========== MOBILE BREAKPOINT (768px) ========== */
@media (max-width: 768px) {
  /* Breadcrumb */
  .breadcrumb-nav {
    font-size: 12px;
    padding: 12px 0;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-filter-btn {
    margin-bottom: 8px;
  }
  
  .breadcrumb-nav::-webkit-scrollbar {
    display: none;
  }
  
  /* Category Rail */
  .cat-rail {
    margin: 0 -16px 16px;
    padding: 0 16px;
  }
  
  .cat-viewport {
    padding: 0;
  }
  
  .cat-arrow {
    display: none !important;
  }
  
  .cat-track {
    gap: 12px;
    padding: 4px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .cat-track::-webkit-scrollbar {
    display: none;
  }
  
  .cat-item {
    flex: 0 0 100%;
    max-width: 100%;
    scroll-snap-align: start;
  }
  
  .cat-card {
    padding: 10px 8px;
  }
  
  .cat-ico {
    width: 44px;
    height: 44px;
  }
  
  .cat-ico img {
    width: 28px;
    height: 28px;
  }
  
  .cat-name {
    font-size: 11px;
    line-height: 1.2;
  }
  
  .cat-sub {
    font-size: 10px;
  }
  
  /* Category Intro */
  .cat-intro {
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 12px;
  }

  /* Brand Card (Mobile) */
  .mobile-brand-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border);
    margin-bottom: 12px;
  }

  .mobile-brand-card .brand-card-logo {
    width: 52px;
    height: 52px;
  }

  .mobile-brand-card .brand-card-name {
    font-size: 14px;
  }

  .mobile-brand-card .brand-card-auth {
    font-size: 11px;
  }
  
  .cat-intro h1 {
    font-size: 20px;
    margin-bottom: 8px;
  }
  
  .cat-intro p {
    font-size: 13px;
    line-height: 1.5;
    -webkit-line-clamp: 3;
  }
  
  /* Listing Topbar */
  .listing-topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
  }

  .listing {
    margin-top: 0;
  }
  
  .listing-topbar .result {
    font-size: 12px;
    text-align: center;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-2);
  }
  
  .listing-topbar .controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    width: 100%;
    overflow: hidden;
  }
  
  .listing-topbar .view-toggle {
    order: 3;
    flex-shrink: 0;
  }
  
  .listing-topbar .view-toggle .vt {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  
  .listing-topbar .listing-select {
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }
  
  .listing-topbar .listing-select select {
    width: 100%;
    font-size: 11px;
    padding: 8px 10px;
    border-radius: 6px;
    text-overflow: ellipsis;
  }
  
  .listing-topbar .listing-select i {
    font-size: 11px;
  }
  
  /* Product Grid - 2 columns */
  .grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  
  /* Product Card Mobile - Kompakt Tasarım */
  .p-card {
    padding: 6px;
    border-radius: 10px;
  }
  
  .p-media {
    border-radius: 8px;
    margin-bottom: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    height: auto;
  }
  
  .p-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
    margin: 0;
  }
  
  .p-top {
    top: 4px;
    left: 4px;
    right: 4px;
    gap: 3px;
    align-items: flex-start;
  }
  
  .p-top-left {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    align-items: center;
  }
  
  .p-badge,
  .p-discount {
    font-size: 9px;
    padding: 2px 5px;
    border-radius: 4px;
    white-space: nowrap;
    height: auto;
    line-height: 1.2;
  }
  
  .p-info {
    padding: 6px 2px 0;
  }
  
  .p-brand {
    font-size: 9px;
    margin-bottom: 2px;
  }
  
  .p-title {
    font-size: 11px;
    line-height: 1.3;
    height: auto;
    -webkit-line-clamp: 2;
    margin-bottom: 3px;
  }
  
  .p-rating {
    margin-bottom: 2px;
    gap: 2px;
  }
  
  .p-rating i {
    font-size: 9px;
  }
  
  .p-rating span {
    font-size: 9px;
  }
  
  .p-price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-top: 2px;
  }
  
  .p-price {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
  }
  
  .p-old-price {
    font-size: 10px;
    line-height: 1.2;
  }
  
  .p-savings {
    font-size: 9px;
    padding: 2px 6px;
    margin-top: 2px;
  }
  
  .p-actions {
    margin-top: 4px;
    gap: 4px;
  }
  
  .p-actions .btn-cart {
    padding: 8px 10px;
    font-size: 11px;
    border-radius: 6px;
  }
  
  .p-actions .btn-wish {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    font-size: 12px;
  }

  .p-cta {
    margin-top: 4px;
    padding: 8px 10px;
    font-size: 11px;
    border-radius: 6px;
  }
  
  /* Stok bar mobilde */
  .p-stock-bar {
    margin-top: 4px;
    height: 4px;
  }
  
  .p-stock-info {
    font-size: 9px;
    margin-top: 2px;
  }
  
  /* Pagination */
  .pagination-wrap {
    margin-top: 24px;
    padding: 16px 0;
  }
  
  .pagination {
    gap: 4px;
  }
  
  .pagination .page-link {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
    border-radius: 8px;
  }
  
  /* Wrap container */
  .wrap {
    padding: 0 12px;
  }
  
  /* Mobile filter button spacing */
  .mobile-filter-btn {
    margin-bottom: 12px;
  }
}

/* ========== SMALL MOBILE (480px) ========== */
@media (max-width: 480px) {
  .cat-intro h1 {
    font-size: 18px;
  }
  
  .cat-intro p {
    font-size: 12px;
  }
  
  .listing-topbar .result {
    font-size: 12px;
  }
  
  .listing-topbar .result b {
    font-weight: 700;
  }
  
  .p-title {
    font-size: 11px;
  }
  
  .p-price {
    font-size: 14px;
  }
  
  .p-actions .btn-cart {
    padding: 8px 10px;
    font-size: 11px;
  }
  
  .p-actions .btn-wish {
    width: 34px;
    height: 34px;
  }
  
  /* Grid gap */
  .grid {
    gap: 8px !important;
  }
  
  .p-card {
    padding: 8px;
  }
}

/* ==========================================================================
   PRODUCT DETAIL PAGE STYLES
   ========================================================================== */
.page-product {
  background:
    radial-gradient(1100px 520px at 18% 0%, rgba(57,92,57,.08), transparent 55%),
    radial-gradient(1100px 520px at 82% 8%, rgba(57,92,57,.06), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--page) 100%);
}

.page-product .wrap {
  max-width: var(--category-container);
  margin: 0 auto;
  padding: 26px 18px 52px;
}

/* Product Layout */
.pd {
  display: grid;
  grid-template-columns: 644px minmax(731px, 1fr);
  gap: 22px;
  align-items: start;
}

.panel {
  background:
    linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(246,248,246,.92) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

/* Left Column */
.left-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Gallery */
.gallery { padding: 14px; }

.gallery-main {
  position: relative;
  border-radius: var(--radiusSm);
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, rgba(57,92,57,.05), rgba(57,92,57,.02));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.gallery-main img {
  width: 100%;
  height: auto;
  object-fit: contain;
  z-index: 1;
  opacity: .98;
}

.gallery-main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.12) 40%, rgba(255,255,255,0) 70%),
    radial-gradient(520px 340px at 50% 45%, rgba(255,255,255,.06), rgba(255,255,255,0) 70%);
}

.g-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(231,237,231,.9);
  font-weight: 600;
  font-size: 12px;
  color: rgba(15,23,42,.80);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.g-pill i { color: var(--accent); }

.discount-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--danger);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: -.2px;
}

.thumbs {
  display: flex;
  gap: 10px;
  padding: 12px 2px 2px;
  overflow-x: auto;
}
.thumb {
  width: 94px;
  height: 72px;
  border-radius: var(--radiusXs);
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  transition: transform .14s ease, border-color .14s ease;
  flex-shrink: 0;
}
.thumb img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  opacity: .95;
}
.thumb:hover,
.thumb.active {
  transform: translateY(-2px);
  border-color: rgba(57,92,57,.35);
}

/* ==========================================================================
   Left CTA Section (Under Gallery)
   ========================================================================== */
.page-product .left-cta {
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(246,248,246,.92) 100%);
}
.page-product .left-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.page-product .left-cta .btn {
  width: 100%;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 14px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -.1px;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  background: #fff;
  color: rgba(15,23,42,.86);
  transition: transform .12s ease, filter .12s ease, border-color .12s ease;
}
.page-product .left-cta .btn i { opacity: .9; }
.page-product .left-cta .btn:hover {
  background: rgba(57,92,57,.06);
  border-color: rgba(57,92,57,.22);
  transform: translateY(-1px);
}
.page-product .left-cta .btn:active { transform: translateY(0); }

.page-product .left-cta .btn-accent {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border-color: rgba(255,255,255,.10);
  height: 48px;
}
.page-product .left-cta .btn-accent:hover {
  filter: brightness(1.05);
  background: var(--accent);
}

/* Unbox Wrap */
.page-product .unbox-wrap {
  position: relative;
}
.page-product .unbox-wrap .btn {
  width: 100%;
}
.page-product .unbox-text {
  position: relative;
  display: inline-flex;
  min-width: 90px;
  height: 18px;
}
.page-product .unbox-line {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  opacity: 0;
  animation: unboxSwap 4s infinite;
}
.page-product .unbox-line-1 { animation-delay: 0s; }
.page-product .unbox-line-2 { 
  animation-delay: 2s;
  color: var(--danger);
  font-weight: 700;
}
@keyframes unboxSwap {
  0% { opacity: 0; transform: translateX(12px); }
  5% { opacity: 1; transform: translateX(0); }
  45% { opacity: 1; transform: translateX(0); }
  50% { opacity: 0; transform: translateX(-12px); }
  100% { opacity: 0; transform: translateX(-12px); }
}

/* Info Panel */
.panel.info {
  background:
    radial-gradient(780px 520px at 6% 0%, rgba(57,92,57,.10), transparent 55%),
    radial-gradient(860px 520px at 92% 8%, rgba(243,178,0,.10), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(246,248,246,.92) 100%);
  border: 1px solid var(--border);
  border-radius: 26px;
  color: var(--text);
  padding: 22px 22px 20px;
}

.title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15,23,42,.08);
}
.product-title {
  margin: 0;
  font-weight: 700;
  letter-spacing: -.3px;
  font-size: 22px;
  line-height: 1.25;
  color: rgba(15,23,42,.94);
  max-width: 720px;
  text-wrap: balance;
}

/* Sold 24h badge */
.sold24 {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(226,59,59,.20);
  background: rgba(226,59,59,.08);
  color: rgba(15,23,42,.86);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.2;
  min-width: 200px;
  justify-content: center;
  opacity: 0;
  transform: translateX(28px);
  animation: sold24In .65s cubic-bezier(.2,.85,.22,1) 2.35s forwards;
}
.sold24 i {
  background: transparent;
  color: var(--danger);
  font-size: 18px;
}
.sold24 b { color: var(--danger); }
@keyframes sold24In {
  0% { transform: translateX(28px); opacity: 0; }
  70% { transform: translateX(-2px); opacity: 1; }
  100% { transform: translateX(0); opacity: 1; }
}

/* Rating + Brand Row */
.rating-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  margin: 6px 0 14px;
  flex-wrap: wrap;
}
.rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.product-stars {
  display: inline-flex;
  gap: 2px;
  color: #f7b500;
  font-size: 12px;
}
.rating-text {
  color: rgba(15,23,42,.70);
  font-weight: 500;
  font-size: 12px;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(59,130,246,.18);
  background: rgba(59,130,246,.08);
  color: #1d4ed8;
  font-weight: 600;
  font-size: 12px;
}
.brand-pill i { color: #3b82f6; }

/* Short Description */
.product-desc {
  margin: 0 0 16px;
  color: rgba(100,116,139,.88);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.55;
}
.product-desc b { color: rgba(15,23,42,.88); font-weight: 600; }

/* Price Block */
.price-bank-wrap {
  background:
    radial-gradient(760px 240px at 12% 20%, rgba(226,59,59,.06), transparent 55%),
    radial-gradient(680px 240px at 86% 12%, rgba(57,92,57,.08), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(246,248,246,.86));
  border: 1px solid rgba(15,23,42,.10);
  padding: 18px 18px 16px;
  border-radius: 20px;
  position: relative;
  overflow: visible;
  margin-bottom: 16px;
}
.price-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.price-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(226,59,59,.10);
  border: 1px solid rgba(226,59,59,.20);
  color: rgba(15,23,42,.85);
  font-weight: 600;
  font-size: 12px;
}
.price-top-badge i {
  color: var(--danger);
  font-size: 13px;
}
.price-top-badge--shipping {
  background: rgba(246,248,250,.90);
  border-color: rgba(15,23,42,.08);
  color: rgba(15,23,42,.75);
}
.price-top-badge--shipping i {
  color: var(--accent);
}

.price-with-bank {
  display: grid;
  grid-template-columns: minmax(0,1fr) clamp(300px, 38%, 480px);
  align-items: center;
  column-gap: 18px;
}
.price-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.price-now {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.4px;
  color: #178a4a;
  line-height: 1;
  white-space: nowrap;
}
.price-old {
  margin: 0;
  line-height: 1;
  white-space: nowrap;
  color: rgba(15,23,42,.55);
  text-decoration: line-through;
  text-decoration-color: rgba(15,23,42,.30);
  font-size: 15px;
  font-weight: 500;
}
.savings-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(23,138,74,.16);
  background: #e7f8ee;
  color: #0f5f33;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: -.1px;
}
.savings-chip b {
  color: #0f5f33;
  font-weight: 700;
}

.price-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: stretch;
  justify-content: center;
}
.bank-note {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(246,248,250,.90);
  border: 1px solid rgba(15,23,42,.08);
  color: rgba(15,23,42,.85);
  font-weight: 500;
  min-height: 84px;
  width: 100%;
}
.bank-note b { color: rgba(15,23,42,.90); font-weight: 700; }
.bank-note .bn-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(15,23,42,.85);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}
.bank-note .bn-bottom {
  color: rgba(100,116,139,.88);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.25;
}
.bank-note .bn-bottom b {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: -.2px;
  font-weight: 700;
}

/* Variants */
.variants-section {
  margin-bottom: 16px;
}
.variant-group {
  margin-bottom: 12px;
}
.variant-label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  color: rgba(15,23,42,.85);
  margin-bottom: 8px;
}
.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.variant-option {
  min-width: 48px;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.12);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: rgba(15,23,42,.80);
  cursor: pointer;
  transition: all .12s ease;
}
.variant-option:hover {
  border-color: rgba(57,92,57,.35);
  background: rgba(57,92,57,.04);
}
.variant-option.selected {
  border-color: var(--accent);
  background: rgba(57,92,57,.08);
  color: var(--accent);
  font-weight: 600;
}
.variant-option.disabled {
  opacity: .4;
  cursor: not-allowed;
  text-decoration: line-through;
}
.variant-option .variant-image {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
}
.variant-option .variant-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   PRODUCT DETAIL - Deal Row (Countdown + Stock)
   ========================================================================== */
.page-product .deal-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 16px;
  align-items: stretch;
  margin: 16px 0 16px;
}
.page-product .deal-row .deal-card {
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.78);
  border-radius: 18px;
  padding: 16px 18px;
  min-height: 132px;
  display: grid;
  grid-template-rows: auto 1fr;
  row-gap: 12px;
  width: auto;
  height: auto;
}
.page-product .deal-row .deal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
}
.page-product .deal-row .deal-title {
  font-weight: 600;
  color: rgba(15,23,42,.88);
  letter-spacing: -.15px;
  font-size: 15px;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Countdown Card */
.page-product .deal-card--countdown .deal-title i { color: #ff5f5f; font-size: 22px; }
.page-product .deal-card--countdown .deal-head {
  justify-content: center;
  text-align: center;
}
.page-product .deal-card--countdown .deal-title {
  justify-content: center;
  width: 100%;
}
.page-product .deal-card--countdown .deal-body {
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-product .deal-row .timer {
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-product .deal-row .tbox {
  width: 54px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.12);
  display: grid;
  place-items: center;
  font-weight: 600;
  color: rgba(15,23,42,.85);
  font-size: 14px;
}
.page-product .deal-row .tsep {
  color: rgba(100,116,139,.50);
  font-weight: 600;
}

/* Stock Card */
.page-product .deal-card--stock .deal-ico {
  font-size: 22px;
  color: var(--accent);
  flex: 0 0 auto;
}
.page-product .deal-card--stock .deal-body {
  display: grid;
  row-gap: 12px;
}
.page-product .deal-card--stock .bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(15,23,42,.08);
  border: 1px solid rgba(15,23,42,.06);
  overflow: hidden;
}
.page-product .deal-card--stock .bar > span {
  display: block;
  height: 100%;
  background: var(--danger);
  border-radius: 999px;
}
.page-product .deal-card--stock .bar-meta {
  margin-top: 0;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 18px;
  align-items: start;
}
.page-product .deal-card--stock .stat .k {
  font-size: 11px;
  font-weight: 500;
  color: rgba(100,116,139,.80);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.page-product .deal-card--stock .stat .v {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: rgba(15,23,42,.85);
  font-weight: 500;
  white-space: nowrap;
}
.page-product .deal-card--stock .stat .v b {
  font-size: 18px;
  letter-spacing: -.2px;
  color: rgba(15,23,42,.90);
  font-weight: 700;
}
.page-product .deal-card--stock .stat .v span {
  color: rgba(100,116,139,.85);
  font-weight: 500;
  font-size: 12px;
}
@media (max-width: 1180px) {
  .page-product .deal-row { grid-template-columns: 1fr; }
}

/* Brand/Shipping Row */
.page-product .brand-shipping-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 16px;
  margin-bottom: 12px;
  align-items: stretch;
}
.page-product .brand-box {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 100px;
}
.page-product .brand-left { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.page-product .brand-logo {
  width: auto;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
  border: none;
  background: transparent;
  border-radius: 0;
}
.page-product .brand-logo img { width: auto; height: 100px; object-fit: contain; }
.page-product .brand-meta { min-width: 0; flex: 1; }
.page-product .brand-name { margin: 0; font-weight: 600; font-size: 14px; letter-spacing: -.1px; color: rgba(15,23,42,.90); }
.page-product .brand-sub {
  margin: 4px 0 0;
  font-weight: 500;
  font-size: 12px;
  color: rgba(100,116,139,.82);
  white-space: normal;
  max-width: none;
}
.page-product .brand-box--shipping .brand-logo {
  width: 100px;
  height: auto;
  border: none;
  background: transparent;
  border-radius: 0;
}
.page-product .brand-box--shipping .brand-logo img {
  width: 100px;
  height: auto;
  object-fit: contain;
}
@media (max-width: 1180px) {
  .page-product .brand-shipping-row { grid-template-columns: 1fr; }
}

/* Product Meta */
.product-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 12px 0 16px;
}
.meta-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.70);
}
.meta-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(15,23,42,.76);
  font-weight: 600;
  font-size: 12px;
  flex-shrink: 0;
}
.meta-label i { color: var(--accent); }
.meta-label::after { content: ":"; }
.meta-value {
  min-width: 0;
  color: rgba(100,116,139,.90);
  font-weight: 500;
  font-size: 12px;
}
.meta-value a {
  color: rgba(100,116,139,.90);
  transition: color .15s ease;
}
.meta-value a:hover {
  color: rgba(15,23,42,.92);
}

/* Product Actions */
.product-actions {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(15,23,42,.78);
  font-weight: 500;
  font-size: 12px;
}
.act {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.70);
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
  text-decoration: none;
  color: inherit;
}
.act i { color: rgba(15,23,42,.62); }
.act:hover {
  background: rgba(57,92,57,.06);
  border-color: rgba(57,92,57,.18);
  transform: translateY(-1px);
}

/* Trust Footer */
.trust-footer {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: var(--category-container);
}
.trust-footer .trust-item {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.70);
  border-radius: var(--radiusSm);
  align-items: flex-start;
}
.t-ico {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(57,92,57,.10);
  border: 1px solid rgba(57,92,57,.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex: 0 0 auto;
  overflow: hidden;
}
.t-txt b {
  display: block;
  font-weight: 600;
  color: rgba(15,23,42,.88);
  margin-bottom: 3px;
  letter-spacing: -.1px;
  font-size: 13px;
}
.t-txt p {
  margin: 0;
  color: rgba(100,116,139,.85);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.45;
}

/* ==========================================================================
   Product Details Section - Side by Side Layout
   ========================================================================== */
.product-details-section {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 0;
  margin-top: 32px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.08);
}

/* Left Column - Description */
.pds-description {
  padding: 28px 32px;
  border-right: 1px solid rgba(15,23,42,.08);
}
.pds-description--full {
  grid-column: 1 / -1;
  border-right: none;
}

/* Right Column - Attributes */
.pds-attributes {
  padding: 28px 32px;
  background: #fff;
}

/* Section Titles */
.pds-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15,23,42,.08);
}

/* Description Content */
.pds-content {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(15,23,42,.85);
}
.pds-content p {
  margin: 0 0 14px;
}
.pds-content h1,
.pds-content h2,
.pds-content h3,
.pds-content h4,
.pds-content h5,
.pds-content h6 {
  font-weight: 600;
  color: rgba(15,23,42,.92);
  margin: 20px 0 12px;
  line-height: 1.4;
}
.pds-content h1 { font-size: 22px; }
.pds-content h2 { font-size: 18px; }
.pds-content h3 { font-size: 16px; }
.pds-content h4 { font-size: 15px; }
.pds-content ul,
.pds-content ol {
  margin: 14px 0;
  padding-left: 24px;
}
.pds-content li {
  margin: 6px 0;
  line-height: 1.6;
}
.pds-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 16px 0;
}
.pds-content strong,
.pds-content b {
  font-weight: 600;
  color: rgba(15,23,42,.90);
}
.pds-content a {
  color: var(--accent);
  text-decoration: underline;
}

/* Attribute List */
.pds-attr-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Attribute Group */
.pds-attr-group {
  border-bottom: 1px solid rgba(15,23,42,.06);
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.pds-attr-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* Attribute Group Header */
.pds-attr-group-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.pds-attr-icon {
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #395c39;
  flex-shrink: 0;
}
.pds-attr-group-name {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.01em;
}

/* Attribute Items */
.pds-attr-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pds-attr-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-left: 30px;
}
.pds-attr-label {
  font-size: 13px;
  color: var(--accent);
  flex-shrink: 0;
}
.pds-attr-value {
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
  text-align: right;
  word-break: break-word;
}

/* Legacy Product Tabs (for backward compatibility) */
.product-tabs {
  margin-top: 32px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 20px;
  overflow: hidden;
}
.product-tabs .nav-tabs {
  display: flex;
  border-bottom: 1px solid rgba(15,23,42,.08);
  padding: 0 20px;
  gap: 8px;
  list-style: none;
  margin: 0;
}
.product-tabs .nav-item {
  margin: 0;
}
.product-tabs .nav-link {
  display: block;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 14px;
  color: rgba(15,23,42,.65);
  border-bottom: 2px solid transparent;
  transition: all .15s ease;
  text-decoration: none;
  margin-bottom: -1px;
}
.product-tabs .nav-link:hover {
  color: rgba(15,23,42,.85);
}
.product-tabs .nav-link.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.product-tabs .tab-content {
  padding: 20px;
}
.product-tabs .tab-pane {
  display: none;
}
.product-tabs .tab-pane.active {
  display: block;
}

/* Responsive - Product Details Section */
@media (max-width: 991px) {
  .product-details-section {
    grid-template-columns: 1fr;
  }
  .pds-description {
    border-right: none;
    border-bottom: 1px solid rgba(15,23,42,.08);
  }
}
@media (max-width: 767px) {
  .product-details-section {
    margin-top: 20px;
    border-radius: 12px;
  }
  .pds-description,
  .pds-attributes {
    padding: 20px 16px;
  }
  .pds-title {
    font-size: 15px;
    margin-bottom: 16px;
    padding-bottom: 10px;
  }
  .pds-attr-group {
    padding-bottom: 14px;
    margin-bottom: 14px;
  }
  .pds-attr-group-header {
    gap: 8px;
    margin-bottom: 6px;
  }
  .pds-attr-icon {
    font-size: 14px;
    width: 18px;
  }
  .pds-attr-group-name {
    font-size: 13px;
  }
  .pds-attr-item {
    padding-left: 26px;
    gap: 12px;
  }
  .pds-attr-label,
  .pds-attr-value {
    font-size: 12px;
  }
}
.product-description {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(15,23,42,.85);
}
.product-description img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 16px 0;
  display: block;
}
/* Rich Text Editor Content Styling */
.product-description p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(15,23,42,.85);
}
.product-description h1,
.product-description h2,
.product-description h3,
.product-description h4,
.product-description h5,
.product-description h6 {
  font-weight: 600;
  color: rgba(15,23,42,.92);
  margin: 20px 0 12px;
  line-height: 1.4;
}
.product-description h1 { font-size: 24px; }
.product-description h2 { font-size: 20px; }
.product-description h3 { font-size: 18px; }
.product-description h4 { font-size: 16px; }
.product-description h5 { font-size: 14px; }
.product-description h6 { font-size: 13px; }
.product-description ul,
.product-description ol {
  margin: 14px 0;
  padding-left: 24px;
}
.product-description li {
  margin: 6px 0;
  line-height: 1.6;
}
.product-description strong,
.product-description b {
  font-weight: 600;
  color: rgba(15,23,42,.90);
}
.product-description a {
  color: var(--accent);
  text-decoration: underline;
}
.product-description a:hover {
  text-decoration: none;
}
.product-description table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.product-description table th,
.product-description table td {
  border: 1px solid rgba(15,23,42,.12);
  padding: 10px 12px;
  text-align: left;
}
.product-description table th {
  background: rgba(15,23,42,.04);
  font-weight: 600;
}
.product-description blockquote {
  margin: 16px 0;
  padding: 12px 16px;
  border-left: 4px solid var(--accent);
  background: rgba(57,92,57,.05);
  font-style: italic;
}
.product-description hr {
  border: none;
  border-top: 1px solid rgba(15,23,42,.12);
  margin: 20px 0;
}
.product-description pre,
.product-description code {
  background: rgba(15,23,42,.05);
  border-radius: 6px;
  padding: 2px 6px;
  font-family: monospace;
  font-size: 13px;
}
.product-description pre {
  padding: 12px 16px;
  overflow-x: auto;
}
.attributes-table {
  width: 100%;
  border-collapse: collapse;
}
.attributes-table th {
  background: rgba(57,92,57,.08);
  padding: 12px 16px;
  font-weight: 600;
  font-size: 14px;
  color: rgba(15,23,42,.88);
  text-align: left;
}
.attributes-table td {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(15,23,42,.06);
  font-size: 13px;
  color: rgba(15,23,42,.75);
}
.attributes-table tr:last-child td {
  border-bottom: 0;
}

/* Live Toast */
.live-toast {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(57,92,57,.20);
  background: #fff;
  color: rgba(15,23,42,.82);
  font-weight: 500;
  font-size: 12px;
  transform: translateY(140%);
  opacity: 0;
  animation: toastUp .65s cubic-bezier(.2,.85,.22,1) 2s forwards;
}
.live-toast i {
  font-size: 20px;
  color: var(--accent);
}
.live-toast b { color: var(--danger); font-weight: 600; }
@keyframes toastUp {
  0% { transform: translateY(140%); opacity: 0; }
  70% { transform: translateY(-2px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Unbox Tooltip */
.unbox-wrap {
  position: relative;
  width: 100%;
}
.unbox-wrap .btn-pd {
  width: 100%;
}
.page-product .unbox-tip {
  position: absolute;
  bottom: 110%;
  left: 0;
  min-width: 220px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 12px 32px rgba(15,23,42,.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .15s ease, transform .15s ease;
  z-index: 20;
}
.page-product .unbox-tip::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 24px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-right: 1px solid rgba(15,23,42,.10);
  border-bottom: 1px solid rgba(15,23,42,.10);
  transform: rotate(45deg);
}
.page-product .unbox-wrap:hover .unbox-tip {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.page-product .unbox-title {
  margin: 0 0 10px;
  font-weight: 600;
  font-size: 13px;
  color: rgba(15,23,42,.90);
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-product .unbox-title i {
  color: var(--accent);
}
.page-product .unbox-tip ul {
  margin: 0;
  padding: 0 0 0 18px;
  color: rgba(15,23,42,.80);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.7;
}
.page-product .unbox-tip li {
  margin: 4px 0;
}

/* Product Page Responsive */
@media (max-width: 1400px) {
  .page-product .pd { grid-template-columns: 1fr; }
  .page-product .price-with-bank { grid-template-columns: 1fr; row-gap: 12px; }
  .page-product .trust-footer { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .page-product .title { font-size: 18px; }
  .page-product .cta-row { flex-wrap: wrap; }
  .page-product .cta-row .qty { width: 100%; justify-content: center; }
  .page-product .trust-footer { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PRODUCT DETAIL - Additional Styles
   ========================================================================== */

/* Buttons */
.page-product .btn {
  height: 46px;
  border-radius: 14px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 14px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -.1px;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  background: #fff;
  color: rgba(15,23,42,.88);
  transition: transform .12s ease, filter .12s ease, border-color .12s ease;
}
.page-product .btn:hover { transform: translateY(-1px); filter: brightness(.98); }
.page-product .btn:active { transform: translateY(0); }

.page-product .btn-black {
  background: #fff;
  color: rgba(15,23,42,.86);
  border-color: rgba(15,23,42,.12);
}
.page-product .btn-black i { opacity: .9; }
.page-product .btn-black:hover {
  background: rgba(57,92,57,.06);
  border-color: rgba(57,92,57,.22);
  filter: none;
}

.page-product .btn-accent {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border-color: rgba(255,255,255,.10);
  height: 48px;
}
.page-product .btn-accent:hover {
  filter: brightness(1.05);
}

/* CTA Row */
.page-product .cta-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 14px;
}
.page-product .qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  height: 48px;
}
.page-product .qty button {
  width: 44px;
  height: 48px;
  border: 0;
  background: #fff;
  color: rgba(15,23,42,.70);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background .12s ease;
}
.page-product .qty button:hover { background: rgba(57,92,57,.06); }
.page-product .qty .val {
  width: 46px;
  text-align: center;
  font-weight: 600;
  color: rgba(15,23,42,.88);
  font-size: 14px;
  border: 0;
  background: transparent;
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}
.page-product .qty .val::-webkit-outer-spin-button,
.page-product .qty .val::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.page-product .btn-cart {
  background: var(--black);
  color: #fff;
  border: 1px solid rgba(255,255,255,.08);
  flex: 1 1 auto;
  height: 48px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: filter .12s ease, transform .12s ease;
}
.page-product .btn-cart:hover { filter: brightness(1.1); transform: translateY(-1px); }
.page-product .btn-cart:disabled {
  background: rgba(15,23,42,.25);
  border-color: rgba(15,23,42,.15);
  cursor: not-allowed;
  transform: none;
  filter: none;
}

.page-product .btn-buy {
  background: var(--yellow);
  color: #1a1300;
  border: 1px solid rgba(26,19,0,.10);
  flex: 1 1 auto;
  height: 48px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: filter .12s ease, transform .12s ease;
}
.page-product .btn-buy:hover { filter: brightness(1.05); transform: translateY(-1px); }
.page-product .btn-buy:disabled {
  background: rgba(243,178,0,.4);
  cursor: not-allowed;
  transform: none;
  filter: none;
}

/* Installment Note */
.installment-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(23,138,74,.16);
  background: #e7f8ee;
  color: #0f5f33;
  font-weight: 500;
  font-size: 12px;
}
.installment-note .inst-ico {
  font-size: 18px;
  color: #0f5f33;
  flex: 0 0 auto;
}
.installment-note .inst-text {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  min-height: 20px;
}
.installment-note .swap-line {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
  opacity: 0;
  animation: instSwap 4s infinite;
}
.installment-note .swap-line.line-1 { animation-delay: 0s; }
.installment-note .swap-line.line-2 { animation-delay: 2s; }
.installment-note .swap-line b { color: #0f5f33; font-weight: 600; }
@keyframes instSwap {
  0% { opacity: 0; transform: translateY(6px); }
  5% { opacity: 1; transform: translateY(0); }
  45% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 0; transform: translateY(-6px); }
}

/* Price Head Layout */
.price-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) clamp(300px, 38%, 480px);
  align-items: center;
  column-gap: 18px;
  margin-bottom: 12px;
}
@media (max-width: 1180px) {
  .price-head { grid-template-columns: 1fr; row-gap: 12px; }
}

/* Savings Chip with Tooltip */
.savings-chip-wrap {
  position: relative;
  width: fit-content;
  margin-top: 4px;
}
.savings-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(23,138,74,.16);
  background: #e7f8ee;
  color: #0f5f33;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: -.1px;
  cursor: pointer;
}
.savings-chip b { color: #0f5f33; font-weight: 700; }
.savings-chip i { color: #0f5f33; font-size: 10px; }

.savings-tip {
  position: absolute;
  top: 110%;
  left: 0;
  min-width: 280px;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 18px 36px rgba(15,23,42,.10);
  color: rgba(15,23,42,.88);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .15s ease, transform .15s ease;
  z-index: 15;
}
.savings-tip::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 22px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid rgba(15,23,42,.10);
  border-top: 1px solid rgba(15,23,42,.10);
  transform: rotate(45deg);
}
.savings-chip-wrap:hover .savings-tip {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.s-tip-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
}
.s-tip-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-weight: 500;
}
.s-tip-row .l { color: rgba(15,23,42,.80); }
.s-tip-row .r { color: rgba(15,23,42,.88); }
.s-tip-row .r.del { text-decoration: line-through; color: rgba(15,23,42,.55); }
.s-tip-total {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(15,23,42,.08);
  color: #0f5f33;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
}

/* Related Products */
.related-products {
  margin-top: 32px;
}
.related-title {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 700;
  color: rgba(15,23,42,.90);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.related-item {
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(246,248,246,.92) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.related-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(2,6,23,.08);
}
.related-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.related-image {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  background: rgba(57,92,57,.04);
}
.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-name {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(15,23,42,.88);
  line-height: 1.3;
  height: 2.6em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.related-price {
  font-size: 16px;
  font-weight: 700;
  color: #178a4a;
}

@media (max-width: 1100px) {
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* Sold24 Animation */
.sold24 {
  opacity: 0;
  transform: translateX(28px);
  animation: sold24In .65s cubic-bezier(.2,.85,.22,1) 2.35s forwards;
}
@keyframes sold24In {
  0% { transform: translateX(28px); opacity: 0; }
  70% { transform: translateX(-2px); opacity: 1; }
  100% { transform: translateX(0); opacity: 1; }
}

/* Stars in Product Detail */
.page-product .stars {
  display: inline-flex;
  gap: 2px;
  color: #f7b500;
  font-size: 13px;
}

/* Title in Panel Info */
.panel.info .title {
  margin: 0;
  font-weight: 700;
  letter-spacing: -.3px;
  font-size: 22px;
  line-height: 1.25;
  color: rgba(15,23,42,.94);
  max-width: 720px;
  text-wrap: balance;
}

/* Description */
.panel.info .desc {
  margin: 0 0 16px;
  color: rgba(100,116,139,.88);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.55;
}
.panel.info .desc b {
  color: rgba(15,23,42,.88);
  font-weight: 600;
}

/* Actions in Product Detail */
.page-product .actions {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(15,23,42,.78);
  font-weight: 500;
  font-size: 12px;
}
.page-product .act {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.70);
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
  text-decoration: none;
  color: inherit;
}
.page-product .act i { color: rgba(15,23,42,.62); }
.page-product .act:hover {
  background: rgba(57,92,57,.06);
  border-color: rgba(57,92,57,.18);
  transform: translateY(-1px);
}

/* Meta in Product Detail */
.page-product .meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 12px 0 16px;
}
.page-product .meta-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.70);
}
.page-product .meta-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(15,23,42,.76);
  font-weight: 600;
  font-size: 12px;
  flex-shrink: 0;
}
.page-product .meta-label i { color: var(--accent); }
.page-product .meta-label::after { content: ":"; }
.page-product .meta-value {
  min-width: 0;
  color: rgba(100,116,139,.90);
  font-weight: 500;
  font-size: 12px;
}
.page-product .meta-value a {
  color: rgba(100,116,139,.90);
  transition: color .15s ease;
}
.page-product .meta-value a:hover {
  color: rgba(15,23,42,.92);
}

[v-cloak] { display: none; }

/* ==========================================================================
   BRAND PAGE - Brand Card (above filters in sidebar)
   ========================================================================== */
.brand-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.brand-card-logo {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.brand-card-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.brand-card-logo i {
  font-size: 24px;
  color: var(--accent);
}

.brand-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.brand-card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
}

.brand-card-auth {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #3b82f6;
}

.brand-card-auth i {
  font-size: 12px;
  color: #3b82f6;
}
