/* Z Shop - Stylesheet */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --amber-light: #fef3c7;
  --orange: #f97316;
  --red: #ef4444;
  --green: #22c55e;
  --neutral-900: #171717;
  --neutral-800: #262626;
  --neutral-700: #404040;
  --neutral-200: #e5e5e5;
  --neutral-100: #f5f5f5;
  --neutral-50: #fafafa;
  --bg: #ffffff;
  --text: #171717;
  --muted: #737373;
  --border: #e5e5e5;
  --card: #ffffff;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --radius: 8px;
}

[data-theme="dark"] {
  --bg: #0a0a0a;
  --text: #fafafa;
  --muted: #a3a3a3;
  --border: #262626;
  --card: #171717;
  --neutral-50: #171717;
  --neutral-100: #262626;
  --neutral-200: #404040;
  --amber-light: #422006;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
}
input,
textarea,
select {
  font-family: inherit;
  font-size: 14px;
}

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--neutral-900);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.header-top {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  height: 56px;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  color: #fff;
  background: transparent;
  transition: background 0.15s;
}
.icon-btn:hover {
  background: var(--neutral-800);
}
.menu-btn {
  display: none;
}
.logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.logo-z {
  color: var(--amber);
}
.logo-shop {
  color: #fff;
}

.search-form {
    flex: 1;
    display: flex;
    max-width: 700px;
}

.search-form input {
    flex: 1;
    height: 38px;
    padding: 0 12px;
    border: none;
    border-radius: 6px 0 0 6px;
    background: #fff;
    color: #000;
    font-size: 14px;
    outline: none;
}

.search-btn {
    width: 44px;
    height: 38px;
    background: var(--amber);
    color: #000;
    border-radius: 0 6px 6px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.search-btn:hover {
    background: var(--amber-dark);
}

.mobile-search-toggle {
    display: none;
}

.mobile-search-toggle .close-icon {
    display: none;
}

@media (max-width: 767px) {

    .mobile-search-toggle {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 40px;
        height: 38px;
        padding: 0;

        border: none;
        border-radius: 6px;

        background: var(--amber);
        color: #000;

        cursor: pointer;
        flex-shrink: 0;
    }

    .mobile-search-toggle .search-icon {
        display: block;
    }

    .mobile-search-toggle .close-icon {
        display: none;
    }

    .mobile-search-toggle.active .search-icon {
        display: none;
    }

    .mobile-search-toggle.active .close-icon {
        display: block;
    }

    /* Search hidden initially */
    .search-form {
        display: none;
    }

    /* Full width search when open */
    .search-form.active {
        display: flex;
        position: absolute;
        left: 10px;
        right: 10px;
        top: 100%;
        width: calc(100% - 20px);
        max-width: none;
        margin: 8px 0 0;
        z-index: 1000;
    }

   .search-form input {
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 42px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 6px 0 0 6px;
    box-sizing: border-box;
}

    /* Keep search button */
    .search-form .search-btn {
        display: flex;
        width: 48px;
        height: 42px;
        flex-shrink: 0;
        border-radius: 0 6px 6px 0;
    }

    /* Hide all other header options when search is open */
    .header-top:has(.search-form.active) .header-actions {
        display: none;
    }

    .header-top:has(.search-form.active) .logo {
        display: none;
    }

    .header-top:has(.search-form.active) .menu-btn {
        display: none;
    }

    .header-top:has(.search-form.active) {
        position: relative;
    }

    
  .category-nav {
        display: none !important;
    }   
    
    
     .mobile-nav-item span {
        display: none;
    } 
    
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-sun {
  display: none;
}
[data-theme="dark"] .icon-sun {
  display: block;
}
[data-theme="dark"] .icon-moon {
  display: none;
}

.user-menu {
  position: relative;
}
.user-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.15s;
  line-height: 1.2;
}
.user-btn:hover {
  background: var(--neutral-800);
}
.user-hello {
  font-size: 11px;
  color: #d4d4d4;
}
.user-account {
  font-size: 13px;
  font-weight: 700;
}

.dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  width: 220px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: none;
  z-index: 200;
}
.dropdown.open {
  display: block;
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  text-align: left;
  transition: background 0.15s;
}
.dropdown-item:hover {
  background: var(--neutral-100);
}
.dropdown-label {
  padding: 8px 12px;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.dropdown-sep {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

.cart-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border-radius: 4px;
  position: relative;
  transition: background 0.15s;
}
.cart-btn:hover {
  background: var(--neutral-800);
}
.cart-icon {
  position: relative;
  display: flex;
  align-items: center;
}
.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--amber);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-label {
  font-size: 14px;
  font-weight: 700;
}
.cart-badge.hidden {
  display: none;
}

.category-nav {
  background: var(--neutral-800);
  border-top: 1px solid var(--neutral-700);
}
.category-nav .nav-items {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 16px;
  flex-wrap: wrap;
}
.nav-item {
  padding: 6px 10px;
  font-size: 13px;
  color: #fff;
  border-radius: 4px;
  transition: background 0.15s;
}
.nav-item:hover {
  background: var(--neutral-700);
}
.nav-item.deals {
  margin-left: auto;
  color: var(--amber);
  font-weight: 600;
}

#categoryNav {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 16px;
  flex-wrap: wrap;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.15s;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--amber);
  color: #000;
}
.btn-primary:hover {
  background: var(--amber-dark);
}
.btn-orange {
  background: var(--orange);
  color: #fff;
}
.btn-orange:hover {
  background: #ea580c;
}
.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: var(--card);
}
.btn-outline:hover {
  background: var(--neutral-100);
}
.btn-ghost {
  color: var(--text);
}
.btn-ghost:hover {
  background: var(--neutral-100);
}
.btn-block {
  width: 100%;
}
.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
}
.btn-lg {
  padding: 12px 24px;
  font-size: 16px;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============ HOME ============ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.hero {
  background: linear-gradient(to right, #fef3c7, #ffedd5);
  padding: 32px 16px;
}
[data-theme="dark"] .hero {
  background: linear-gradient(to right, #171717, #262626);
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-content {
  flex: 1;
  min-width: 280px;
}
.hero-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-dark);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
[data-theme="dark"] .hero-badge {
  color: var(--amber);
}
.hero h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}
.hero h1 span {
  color: var(--amber-dark);
}
.hero p {
  color: var(--muted);
  max-width: 420px;
  margin-bottom: 20px;
  font-size: 15px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-image {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
  aspect-ratio: 16/10;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image img {
  width: 100%;
  height: 100%;
 /* object-fit: cover;*/
}

.section {
  padding: 32px 16px;
}
.section-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-title a {
  font-size: 14px;
  color: var(--amber-dark);
  font-weight: 500;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.2s;
  text-align: center;
}
.category-card:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.category-card .cat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.category-card .cat-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.category-card .cat-name {
  font-size: 12px;
  font-weight: 600;
}
.category-card .cat-count {
  font-size: 10px;
  color: var(--muted);
}

.promo-banner {
  background: linear-gradient(to right, #171717, #262626);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.promo-banner h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}
.promo-banner p {
  color: #d4d4d4;
  font-size: 14px;
  margin-bottom: 16px;
}
.promo-banner-img {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  opacity: 0.3;
  object-fit: cover;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-badge .tb-icon {
  font-size: 32px;
}
.trust-badge strong {
  font-size: 14px;
}
.trust-badge small {
  color: var(--muted);
  font-size: 12px;
}

/* ============ PRODUCT CARD ============ */
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
}
.product-card .pc-image-link {
  display: block;
  aspect-ratio: 1;
  background: var(--neutral-100);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.product-card .pc-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.product-card:hover .pc-image-link img {
  transform: scale(1.05);
}
.discount-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.out-of-stock {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.out-of-stock span {
  background: #fff;
  color: #000;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}
.wishlist-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.wishlist-btn:hover {
  background: #fff;
}
.wishlist-btn.active {
  color: var(--red);
}
.pc-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.pc-title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
  min-height: 34px;
}
.pc-title:hover {
  color: var(--amber-dark);
}
.pc-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}
.stars {
  color: #fbbf24;
  letter-spacing: -1px;
}
.stars .empty {
  color: var(--neutral-200);
}
.pc-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.pc-price .now {
  font-size: 18px;
  font-weight: 800;
}
.pc-price .was {
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
}
.pc-brand {
  font-size: 11px;
  color: var(--muted);
}
.pc-add {
  width: 100%;
  padding: 8px;
  background: var(--amber);
  color: #000;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background 0.15s;
  margin-top: auto;
}
.pc-add:hover {
  background: var(--amber-dark);
}
.pc-add:disabled {
  background: var(--neutral-200);
  cursor: not-allowed;
}

/* ============ CATALOG ============ */
.catalog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.catalog-header h1 {
  font-size: 22px;
  font-weight: 800;
}
.catalog-header .subtitle {
  font-size: 13px;
  color: var(--muted);
}
.filter-btn {
  display: none;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card);
  font-size: 13px;
  align-items: center;
  gap: 6px;
}
.sort-select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card);
  color: var(--text);
  font-size: 14px;
}
.catalog-layout {
  display: flex;
  gap: 24px;
}
.sidebar {
  width: 220px;
  flex-shrink: 0;
}
.sidebar.sticky {
  position: sticky;
  top: 120px;
}
.filter-section {
  margin-bottom: 24px;
}
.filter-section h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}
.filter-link {
  display: block;
  padding: 6px 8px;
  font-size: 13px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
}
.filter-link:hover {
  background: var(--neutral-100);
}
.filter-link.active {
  font-weight: 700;
  color: var(--amber-dark);
}
.rating-filter {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  font-size: 13px;
  cursor: pointer;
  border-radius: 4px;
}
.rating-filter:hover {
  background: var(--neutral-100);
}
.rating-filter.active {
  font-weight: 700;
  color: var(--amber-dark);
}
.price-range {
  padding: 0 8px;
}
.price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.price-inputs input {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--card);
  color: var(--text);
}
.price-apply {
  width: 100%;
  margin-top: 8px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--card);
  font-size: 13px;
}
.brand-list {
  max-height: 180px;
  overflow-y: auto;
}
.brand-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  font-size: 13px;
  cursor: pointer;
  border-radius: 4px;
}
.brand-item:hover {
  background: var(--neutral-100);
}
.brand-item input {
  cursor: pointer;
}
.catalog-main {
  flex: 1;
}
.result-count {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}
.empty-state {
  text-align: center;
  padding: 80px 20px;
  border: 2px dashed var(--border);
  border-radius: 12px;
}
.empty-state .icon {
  font-size: 48px;
  margin-bottom: 12px;
}

/* ============ PRODUCT DETAIL ============ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumb a:hover {
  color: var(--amber-dark);
}
.breadcrumb span {
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 300px;
}
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.gallery-main {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--neutral-100);
  position: relative;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
}
.gallery-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  background: var(--neutral-100);
}
.gallery-thumb.active {
  border-color: var(--amber);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pd-brand {
  font-size: 13px;
  color: var(--muted);
}
.pd-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  margin: 4px 0 8px;
}
.pd-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 16px;
}
.pd-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.pd-discount {
  font-size: 20px;
  color: var(--red);
  font-weight: 700;
}
.pd-price {
  font-size: 30px;
  font-weight: 800;
}
.pd-was {
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
}
.pd-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 16px 0;
}
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}
.stock-badge.in {
  background: #dcfce7;
  color: #15803d;
}
.stock-badge.out {
  background: #fee2e2;
  color: #b91c1c;
}
[data-theme="dark"] .stock-badge.in {
  background: #052e16;
  color: #4ade80;
}
[data-theme="dark"] .stock-badge.out {
  background: #450a0a;
  color: #f87171;
}
/* Variant selectors (color & size) */
.variant-section {
  margin: 14px 0;
}
.variant-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}
.variant-label .selected-val {
  color: var(--amber-dark);
  font-weight: 700;
}
.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  cursor: pointer;
  position: relative;
  transition: all 0.15s;
  flex-shrink: 0;
}
.color-swatch:hover {
  transform: scale(1.1);
}
.color-swatch.active {
  border-color: var(--amber);
  box-shadow: 0 0 0 2px var(--amber);
}
.color-swatch.active::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  font-weight: 700;
}
.color-swatch[data-light="true"].active::after {
  color: #000;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}
.size-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.size-btn {
  min-width: 48px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.size-btn:hover {
  border-color: var(--amber);
}
.size-btn.active {
  background: var(--amber);
  color: #000;
  border-color: var(--amber);
}
.variant-required {
  color: var(--red);
  font-size: 12px;
  margin-left: 4px;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.qty-control button {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.qty-control button:hover {
  background: var(--neutral-100);
}
.qty-control span {
  width: 40px;
  text-align: center;
  font-weight: 600;
}
.pd-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pd-actions .btn {
  flex: 1;
  min-width: 140px;
}
.pd-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
}
.pd-trust div {
  font-size: 12px;
}
.pd-trust .icon {
  font-size: 20px;
}

/* ============ REVIEWS ============ */
.reviews-section {
  margin-top: 40px;
}
.reviews-section h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
}
.review-summary {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}
.review-summary .big-rating {
  font-size: 36px;
  font-weight: 800;
}
.rating-breakdown {
  margin-top: 16px;
}
.rating-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 6px;
}
.rating-bar .label {
  width: 48px;
  color: var(--muted);
}
.rating-bar .track {
  flex: 1;
  height: 8px;
  background: var(--neutral-100);
  border-radius: 4px;
  overflow: hidden;
}
.rating-bar .fill {
  height: 100%;
  background: var(--amber);
  border-radius: 4px;
}
.rating-bar .count {
  width: 32px;
  text-align: right;
  color: var(--muted);
}
.review-list {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 8px;
}
.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}
.review-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.review-user {
  display: flex;
  align-items: center;
  gap: 8px;
}
.review-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.1);
  color: var(--amber-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.review-name {
  font-size: 14px;
  font-weight: 600;
}
.review-verified {
  font-size: 11px;
  color: var(--green);
}
.review-date {
  font-size: 12px;
  color: var(--muted);
}
.review-title {
  font-weight: 600;
  margin: 8px 0 4px;
}
.review-comment {
  font-size: 14px;
  color: var(--muted);
}
.review-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-top: 24px;
}
.review-form h3 {
  font-weight: 700;
  margin-bottom: 12px;
}
.star-input {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}
.star-input span {
  font-size: 28px;
  cursor: pointer;
  color: var(--neutral-200);
  transition: transform 0.1s;
}
.star-input span:hover {
  transform: scale(1.2);
}
.star-input span.active {
  color: var(--amber);
}
.form-group {
  margin-bottom: 12px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}
.form-group input,
.form-group textarea,
.form-group select, .nice-select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card);
  color: var(--text);
  font-size: 14px;
}
.form-group input:focus,
.form-group textarea:focus, .nice-select:focus {
  outline: none;
  border-color: var(--amber);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ============ RELATED ============ */
.related-products {
  margin-top: 40px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.related-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.related-card:hover {
  box-shadow: var(--shadow-lg);
}
.related-card img {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
}
.related-card .body {
  padding: 8px;
}
.related-card .title {
  font-size: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card .price {
  font-size: 14px;
  font-weight: 800;
  margin-top: 4px;
}

/* ============ DRAWER / MODAL ============ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 300;
  display: none;
}
.drawer-overlay.open {
  display: block;
}
.cart-drawer {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s;
}
.drawer-overlay.open .cart-drawer {
  transform: translateX(0);
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}
.drawer-header h3 {
  font-size: 18px;
  font-weight: 700;
}
.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}
.cart-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--neutral-100);
  flex-shrink: 0;
}
.cart-item .ci-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cart-item .ci-title {
  font-size: 13px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-item .ci-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--amber-dark);
}
.cart-item .ci-variant {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.cart-item .ci-variant .ci-dot {
  color: var(--neutral-200);
  margin: 0 4px;
}
.cart-item .ci-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-item .ci-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.cart-item .ci-qty button {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item .ci-qty button:hover {
  background: var(--neutral-100);
}
.cart-item .ci-qty span {
  width: 32px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}
.cart-item .ci-remove {
  color: var(--muted);
  padding: 4px;
}
.cart-item .ci-remove:hover {
  color: var(--red);
}
.cart-footer {
  border-top: 1px solid var(--border);
  padding: 16px;
}
.cart-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 6px;
}
.cart-line.total {
  font-size: 18px;
  font-weight: 800;
  border-top: 1px solid var(--border);
  padding-top: 8px;
  margin-top: 8px;
}
.cart-free-ship {
  background: var(--amber-light);
  color: var(--amber-dark);
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 12px;
  margin-top: 8px;
}
[data-theme="dark"] .cart-free-ship {
  color: var(--amber);
}
.cart-empty {
  text-align: center;
  padding: 40px 20px;
}
.cart-empty .icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay.open {
  display: flex;
}
.modal {
  background: var(--bg);
  border-radius: 12px;
  padding: 24px;
  max-width: 400px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--muted);
}
.modal h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}
.modal-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.tab {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  color: var(--muted);
}
.tab.active {
  color: var(--amber-dark);
  border-bottom-color: var(--amber);
}

/* ============ MOBILE NAV ============ */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 350;
  display: none;
}
.mobile-nav-overlay.open {
  display: block;
}
.mobile-nav {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 280px;
  background: var(--bg);
  padding: 16px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s;
}
.mobile-nav-overlay.open .mobile-nav {
  transform: translateX(0);
}
.mobile-nav-overlay::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-header h3 {
  font-size: 16px;
  font-weight: 700;
}
.close-nav {
  color: var(--muted);
}
.mobile-nav-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 8px;
  font-size: 14px;
  border-radius: 6px;
  transition: background 0.15s;
}
.mobile-nav-item:hover {
  background: var(--neutral-100);
}
.mobile-nav-section {
  padding: 12px 8px 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.5px;
}

/* ============ CHECKOUT ============ */
.checkout-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
.checkout-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
}
.checkout-card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}
.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--amber);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.payment-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}
.payment-option.active {
  border-color: var(--amber);
  background: var(--amber-light);
}
.payment-option input {
  cursor: pointer;
}
.summary-card {
  position: sticky;
  top: 120px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}
.summary-card h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}
.summary-items {
  max-height: 240px;
  overflow-y: auto;
  margin-bottom: 16px;
}
.summary-item {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
.summary-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
}
.summary-item .si-qty {
  position: absolute;
}
.summary-qty-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  background: var(--amber);
  color: #000;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.summary-item img {
  position: relative;
}
.auth-prompt {
  background: var(--amber-light);
  border: 1px solid var(--amber);
  border-radius: 8px;
  padding: 12px;
  color: var(--amber-dark);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}
[data-theme="dark"] .auth-prompt {
  color: var(--amber);
}

/* ============ ORDERS ============ */
.order-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}
.order-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--neutral-100);
  border-bottom: 1px solid var(--border);
}
.order-head .field {
  font-size: 12px;
}
.order-head .field .label {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 11px;
}
.order-head .field .value {
  font-weight: 600;
}
.order-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  background: var(--amber-light);
  color: var(--amber-dark);
}
.order-body {
  padding: 16px;
}
.order-tracking {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.track-step {
  display: flex;
  align-items: center;
}
.track-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background: var(--neutral-100);
  color: var(--muted);
}
.track-dot.active {
  background: var(--amber);
  color: #000;
}
.track-line {
  height: 2px;
  width: 32px;
  background: var(--neutral-100);
}
.track-line.active {
  background: var(--amber);
}
@media (min-width: 640px) {
  .track-line {
    width: 60px;
  }
}
.order-item {
  display: flex;
  gap: 12px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
}
.order-item:hover {
  background: var(--neutral-100);
}
.order-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
}
.order-item .oi-title {
  font-size: 13px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.order-item .oi-qty {
  font-size: 12px;
  color: var(--muted);
}
.order-item .oi-price {
  font-size: 14px;
  font-weight: 800;
}

/* ============ ORDER SUCCESS ============ */
.success-card {
  max-width: 720px;
  margin: 40px auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.success-header {
  text-align: center;
  padding: 32px;
  background: #dcfce7;
  border-bottom: 1px solid var(--border);
}
[data-theme="dark"] .success-header {
  background: #052e16;
}
.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 12px;
}
.success-card h1 {
  font-size: 24px;
  font-weight: 800;
}
.success-card .sub {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}
.success-order-num {
  display: inline-block;
  background: var(--card);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
  box-shadow: var(--shadow);
}
.success-body {
  padding: 24px;
}
.success-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

/* ============ FOOTER ============ */
.footer {
  margin-top: auto;
  background: var(--neutral-900);
  color: #d4d4d4;
}
.footer-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 16px;
  border-bottom: 1px solid var(--neutral-800);
}
.feature {
  display: flex;
  align-items: center;
  gap: 12px;
}
.feature-icon {
  font-size: 24px;
}
.feature strong {
  color: #fff;
  font-size: 14px;
}
.feature small {
  color: #a3a3a3;
  font-size: 12px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 16px;
}
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 12px;
}
.footer-col p {
  font-size: 13px;
  color: #a3a3a3;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: #a3a3a3;
  padding: 4px 0;
  cursor: pointer;
}
.footer-col a:hover {
  color: var(--amber);
}
.footer-bottom {
  border-top: 1px solid var(--neutral-800);
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
}
.payment-icons {
  display: flex;
  gap: 6px;
}
.payment-icons span {
  border: 1px solid var(--neutral-700);
  background: var(--neutral-800);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
}

/* ============ TOAST ============ */
.toast-container {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  background: var(--neutral-900);
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  max-width: 360px;
  animation: slideIn 0.3s;
  border-left: 4px solid var(--green);
}
.toast.error {
  border-left-color: var(--red);
}
.toast.info {
  border-left-color: var(--amber);
}
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ============ SKELETON ============ */
.skeleton {
  background: var(--neutral-100);
  border-radius: 4px;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.skeleton-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.skeleton-card .sk-img {
  aspect-ratio: 1;
}
.skeleton-card .sk-body {
  padding: 12px;
}
.skeleton-card .sk-line {
  height: 12px;
  margin-bottom: 8px;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--neutral-100);
}
::-webkit-scrollbar-thumb {
  background: var(--neutral-200);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .product-detail {
    grid-template-columns: 1fr;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
  }
  .filter-btn {
    display: inline-flex;
  }
}
@media (max-width: 768px) {
  .menu-btn {
    display: inline-flex;
  }
  .user-btn {
    display: none;
  }
  .cart-label {
    display: none;
  }
  .category-nav {
    display: none;
  }
  .footer-features {
    grid-template-columns: 1fr;
  }
  .footer-links {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 24px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .pd-actions .btn {
    flex: 1 1 100%;
  }
   .section {
    padding: 20px 8px;
  }
   .header-top {
        display: flex;
        align-items: center;
        width: 100%;
    }

    /* Brand name on the left */
    .logo {
        order: 1;
        margin-right: auto;
        white-space: nowrap;
    }

   

    .mobile-search-toggle {
        order: 2;
        margin-left: 6px;
    }

    .header-actions {
        order: 3;
        margin-left: 6px;
    } 
  
}
@media (max-width: 480px) {
 
  .header-top {
    padding: 0 8px;
    gap: 6px;
  }
  .logo {
    font-size: 18px;
  }
  .section {
    padding: 20px 8px;
  }
  
}
.hero-image {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
   
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
}

/* ==========================================
   CART PAGE
   ========================================== */

.cart-page {
    padding-top: 32px;
    padding-bottom: 60px;
}


/* Checkout steps */

.cart-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 32px;
}

.cart-step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.cart-step.active {
    color: var(--text);
}

.cart-step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    border: 1px solid var(--border);
    font-size: 13px;
}

.cart-step.active .cart-step-number {
    background: var(--amber);
    border-color: var(--amber);
    color: #fff;
}

.cart-step-line {
    width: 60px;
    height: 1px;
    background: var(--border);
}


/* Page heading */

.cart-page-head {
    margin-bottom: 20px;
}

.cart-page-head h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
}

.cart-page-head p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
}


/* Main layout */

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}


/* Card */

.cart-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.cart-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}

.cart-card-head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 750;
}

.cart-count {
    font-size: 12px;
    color: var(--muted);
}


/* Cart items */

.cart-items {
    width: 100%;
}

.cart-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 18px;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.cart-item:last-child {
    border-bottom: 0;
}


/* Image */

.cart-item-image {
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: var(--surface-2);
    text-decoration: none;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


/* Product info */

.cart-item-info {
    min-width: 0;
    padding-top: 2px;
}

.cart-item-name {
    display: block;
    color: var(--text);
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
    text-decoration: none;
}

.cart-item-name:hover {
    color: var(--amber);
}

.cart-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.cart-item-meta span {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 6px;
    background: var(--surface-2);
    color: var(--muted);
    font-size: 11px;
}

.cart-item-price {
    margin-top: 12px;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}


/* Right side */

.cart-item-side {
    min-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}

.cart-quantity {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface);
}

.cart-quantity button {
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 17px;
    cursor: pointer;
}

.cart-quantity button:hover {
    background: var(--surface-2);
}

.cart-quantity .qty {
    width: 42px;
    height: 32px;
    padding: 0 4px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}

.cart-quantity .qty::-webkit-outer-spin-button,
.cart-quantity .qty::-webkit-inner-spin-button {
    margin: 0;
}

.cart-item-total {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
}

.cart-remove {
    color: #e74c3c;
    font-size: 12px;
    text-decoration: none;
}

.cart-remove:hover {
    text-decoration: underline;
}


/* Coupon */

.cart-actions {
    padding: 18px 20px;
    border-top: 1px solid var(--border);
}

.coupon-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.coupon-label {
    width: 100%;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}

.coupon-input {
    flex: 1;
    min-width: 160px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    background: var(--surface);
    color: var(--text);
}

.coupon-input:focus {
    border-color: var(--amber);
}

.coupon-button,
.coupon-remove {
    height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.coupon-button {
    background: var(--amber);
    color: #fff;
}

.coupon-remove {
    background: var(--surface-2);
    color: var(--text);
}


/* Summary */

.cart-summary {
    position: sticky;
    top: 20px;
}

.summary-body {
    padding: 20px;
}

.cart-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 9px 0;
    color: var(--muted);
    font-size: 13px;
}

.cart-line span:last-child {
    color: var(--text);
    font-weight: 600;
}

.cart-line.total {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    color: var(--text);
    font-size: 17px;
    font-weight: 800;
}

.cart-line.total span:last-child {
    font-size: 19px;
    font-weight: 800;
}


/* Checkout */

.checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin-top: 18px;
    padding: 0 18px;
    border-radius: 9px;
    background: var(--amber);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity .2s ease;
}

.checkout-btn:hover {
    opacity: .9;
}

.continue-shopping {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 14px;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.continue-shopping:hover {
    color: var(--amber);
}


/* Empty cart */

.cart-empty {
    padding: 70px 20px;
    text-align: center;
}

.cart-empty-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--surface-2);
}

.cart-empty-icon svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    color: var(--muted);
}

.cart-empty h2 {
    margin: 0;
    font-size: 21px;
    font-weight: 800;
}

.cart-empty p {
    margin: 8px 0 20px;
    color: var(--muted);
    font-size: 13px;
}

.cart-empty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border-radius: 8px;
    background: var(--amber);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}


/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 900px) {

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

}


@media (max-width: 640px) {

    .cart-page {
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .cart-steps {
        gap: 6px;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .cart-step {
        font-size: 11px;
    }

    .cart-step-number {
        width: 26px;
        height: 26px;
        min-width: 26px;
    }

    .cart-step-line {
        width: 25px;
        min-width: 25px;
    }

    .cart-page-head h1 {
        font-size: 23px;
    }

    .cart-item {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 12px;
        padding: 15px;
    }

    .cart-item-image {
        width: 72px;
        height: 72px;
    }

    .cart-item-info {
        min-width: 0;
    }

    .cart-item-name {
        font-size: 13px;
    }

    .cart-item-price {
        margin-top: 8px;
        font-size: 13px;
    }

    .cart-item-side {
        grid-column: 1 / -1;
        min-width: 0;
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .cart-card-head {
        padding: 15px;
    }

    .cart-actions {
        padding: 15px;
    }

    .coupon-form {
        align-items: stretch;
    }

    .coupon-input {
        min-width: 0;
        width: 100%;
        flex: 1 1 100%;
    }

    .coupon-button,
    .coupon-remove {
        flex: 1;
    }

    .summary-body {
        padding: 15px;
    }

}


@media (max-width: 400px) {

    .cart-step span:last-child {
        display: none;
    }

    .cart-item-side {
        gap: 6px;
    }

    .cart-item-total {
        font-size: 13px;
    }

}

/* Register Page */
.register-page {
    padding-top: 40px;
    padding-bottom: 60px;
}

.register-card {
    max-width: 560px;
    margin: 0 auto;
}

.register-head {
    text-align: center;
    margin-bottom: 24px;
}

.register-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(144, 194, 83, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-icon i {
    font-size: 32px;
    color: #90c253;
    line-height: 1;
}

.register-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.register-head h1 {
    margin: 0;
    font-size: 25px;
    font-weight: 800;
}

.register-head p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
}

/* Register Form */
.register-form .form-group {
    margin-bottom: 16px;
}

.register-form .form-group > label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 700;
}

.register-input-wrap {
    position: relative;
}

.register-input-wrap > i.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 18px;
    z-index: 1;
    pointer-events: none;
}

.register-input-wrap input,
.register-input-wrap select {
    width: 100%;
    padding-left: 40px;
}

.register-input-wrap input.has-toggle {
    padding-right: 44px;
}

/* Password toggle */
.register-password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-password-toggle i {
    font-size: 18px;
}

/* Terms */
.register-terms {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
}

.register-terms label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    cursor: pointer;
    line-height: 1.5;
}

.register-terms input {
    margin-top: 3px;
}

.register-terms a {
    color: var(--amber-dark);
    font-weight: 700;
    text-decoration: none;
}

.register-terms a:hover {
    text-decoration: underline;
}

/* Footer login link */
.register-login {
    text-align: center;
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
}

.register-login a {
    color: var(--amber-dark);
    font-weight: 700;
    text-decoration: none;
}

.register-login a:hover {
    text-decoration: underline;
}

/* Address result */
#txtResult {
    margin-bottom: 16px;
}

/* Mobile */
@media (max-width: 600px) {
    .register-page {
        padding-top: 24px;
        padding-bottom: 40px;
    }

    .register-card {
        max-width: 100%;
    }

    .register-head h1 {
        font-size: 22px;
    }
}

.checkout-alert {
    padding: 14px 16px;
    margin-bottom: 20px;

    background: #fff8e6;
    border: 1px solid #f5d98b;
    border-radius: 12px;

    color: #795b13;
    font-size: 14px;
    line-height: 1.6;
}

.checkout-alert > div {
    display: block;
    padding: 5px 0;
}

.checkout-alert > div + div {
    border-top: 1px solid #f5d98b;
}

.container[style*="background-color:#fff"] {
    background-color: #fff !important;
    border-radius: 14px;
    margin-bottom: 30px;
    overflow: hidden;
}

.container[style*="background-color:#fff"] > div[style*="padding:30px"] {
    padding: 30px !important;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.8;
}

.container[style*="background-color:#fff"] p {
    margin: 0 0 16px;
}

.container[style*="background-color:#fff"] p strong {
    color: #1f2937;
    font-weight: 600;
}

.container[style*="background-color:#fff"] ul,
.container[style*="background-color:#fff"] ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.container[style*="background-color:#fff"] li {
    margin-bottom: 7px;
    padding-left: 4px;
}

.container[style*="background-color:#fff"] ul li::marker,
.container[style*="background-color:#fff"] ol li::marker {
    color: #90c253;
}

.topic-page-title {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.topic-page-title h1 {
    margin: 0 0 20px;
    color: #1f2937;
    font-size: 2rem !important;
    line-height: 1.3;
    font-weight: 700;
}

.topic-page-body {
    color: #4b5563;
}

.topic-page-body p {
    margin-bottom: 16px;
}

.topic-page-body strong {
    color: #1f2937;
    font-weight: 600;
}

.topic-page-body ul,
.topic-page-body ol {
    margin-bottom: 22px;
}

.topic-page-body li {
    margin-bottom: 8px;
}

@media (max-width: 767px) {
    .container[style*="background-color:#fff"] > div[style*="padding:30px"] {
        padding: 20px 16px !important;
        font-size: 14px;
    }

    .topic-page-title {
        margin-top: 25px;
        padding-top: 20px;
    }

    .topic-page-title h1 {
        font-size: 1.5rem !important;
    }

    .container[style*="background-color:#fff"] ul,
    .container[style*="background-color:#fff"] ol {
        padding-left: 20px;
    }
}



/* =========================================
   Track Order Page
========================================= */

.track-order-page {
    padding-top: 35px;
    padding-bottom: 50px;
}


/* =========================================
   Page Heading
========================================= */

.track-page-head {
    margin-bottom: 25px;
}

.track-page-head h1 {
    margin: 0;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
}

.track-page-head p {
    margin: 7px 0 0;
    color: #777;
    font-size: 14px;
}


/* =========================================
   Search
========================================= */

.track-search-card {
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 25px;
}

.track-search-form {
    max-width: 650px;
}

.track-search-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.track-search-row {
    display: flex;
    gap: 10px;
}




.track-search-row button {
    height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 9px;
    background: #90c253;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.track-search-row button i {
    margin-right: 5px;
}


/* =========================================
   Order Card
========================================= */

.track-order-card {
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 16px;
    margin-bottom: 22px;
    overflow: hidden;
}


/* =========================================
   Order Header
========================================= */

.track-order-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid #eee;
}

.track-order-label {
    display: block;
    color: #888;
    font-size: 12px;
    margin-bottom: 2px;
}

.track-order-id h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.track-order-time {
    display: block;
    margin-top: 5px;
    color: #888;
    font-size: 12px;
}

.track-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

.track-status.paid {
    background: #edf8e4;
    color: #5d922d;
}

.track-status.unpaid {
    background: #fff0f0;
    color: #d9534f;
}


/* =========================================
   Summary
========================================= */

.track-summary {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border-bottom: 1px solid #eee;
}

.track-summary-item {
    padding: 17px 18px;
    border-right: 1px solid #eee;
}

.track-summary-item:last-child {
    border-right: 0;
}

.track-summary-item span {
    display: block;
    margin-bottom: 6px;
    color: #888;
    font-size: 12px;
}

.track-summary-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.track-green {
    color: #6ca637 !important;
}

.track-red {
    color: #d9534f !important;
}


/* =========================================
   Sections
========================================= */

.track-section {
    padding: 22px;
    border-bottom: 1px solid #eee;
}

.track-section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 17px;
}

.track-section-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    background: #f1f8e9;
    color: #75a73f;
    border-radius: 9px;
}

.track-section-head h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 650;
}

.track-section-head span {
    display: block;
    margin-top: 3px;
    color: #888;
    font-size: 12px;
}


/* =========================================
   Customer Information
========================================= */

.track-customer-info {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 12px;
}

.track-customer-item {
    padding: 13px 15px;
    background: #fafafa;
    border-radius: 9px;
}

.track-customer-item span {
    display: block;
    margin-bottom: 5px;
    color: #888;
    font-size: 11px;
}

.track-customer-item strong {
    display: block;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    word-break: break-word;
}


/* =========================================
   Products
========================================= */

.track-products {
    width: 100%;
}

.track-product {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

.track-product:first-child {
    padding-top: 0;
}

.track-product:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.track-product-image {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
}

.track-product-image img {
    width: 68px;
    height: 68px;
    display: block;
    object-fit: contain;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fff;
}

.track-product-no-image {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f7;
    border-radius: 10px;
    color: #aaa;
    font-size: 22px;
}

.track-product-info {
    flex: 1;
    min-width: 0;
}

.track-product-name {
    display: block;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
   
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: left;
}

a.track-product-name:hover {
    color: #75a73f;
}

.track-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 5px;
    color: #888;
    font-size: 12px;
}

.track-product-total {
    min-width: 110px;
    text-align: right;
    color: #333;
    font-size: 15px;
    font-weight: 650;
}


/* =========================================
   Empty Products
========================================= */

.track-empty-products {
    padding: 20px 0;
    color: #888;
    text-align: center;
    font-size: 13px;
}


/* =========================================
   Footer
========================================= */

.track-order-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 22px;
    background: #fafafa;
}

.track-order-total {
    display: flex;
    align-items: center;
    gap: 12px;
}

.track-order-total span {
    color: #888;
    font-size: 13px;
}

.track-order-total strong {
    font-size: 18px;
    font-weight: 700;
}

.track-view-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 15px;
    border: 1px solid #90c253;
    border-radius: 8px;
    color: #75a73f;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.track-view-button:hover {
    background: #90c253;
    color: #fff;
}


/* =========================================
   Empty State
========================================= */

.track-empty-card {
    padding: 60px 20px;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 16px;
    text-align: center;
}

.track-empty-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    background: #f3f8ec;
    border-radius: 50%;
    color: #80af48;
}

.track-empty-icon svg {
    width: 28px;
    height: 28px;
}

.track-empty-card h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 650;
}

.track-empty-card p {
    margin: 8px 0 0;
    color: #888;
    font-size: 13px;
}


/* =========================================
   Pagination
========================================= */

.track-pagination {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    overflow-x: auto;
}

.track-pagination nav {
    max-width: 100%;
}


/* =========================================
   Responsive
========================================= */

@media (max-width: 991px) {

    .track-summary {
        grid-template-columns: repeat(3, 1fr);
    }

    .track-summary-item:nth-child(3) {
        border-right: 0;
    }

    .track-customer-info {
        grid-template-columns: 1fr 1fr;
    }

    .track-customer-address {
        grid-column: 1 / -1;
    }

}


@media (max-width: 767px) {

    .track-order-page {
        padding-top: 25px;
    }

    .track-page-head h1 {
        font-size: 24px;
    }

    .track-search-card {
        padding: 18px;
    }

    .track-search-row {
        flex-direction: column;
    }

    .track-search-row button {
        width: 100%;
    }

    .track-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .track-summary-item {
        border-right: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }

    .track-summary-item:nth-child(2n) {
        border-right: 0;
    }

    .track-customer-info {
        grid-template-columns: 1fr;
    }

    .track-customer-address {
        grid-column: auto;
    }

}


@media (max-width: 575px) {

    .track-order-head {
        padding: 17px;
    }

    .track-section {
        padding: 17px;
    }

    .track-order-footer {
        padding: 15px 17px;
    }

    .track-product {
        align-items: flex-start;
    }

    .track-product-image,
    .track-product-image img,
    .track-product-no-image {
        width: 55px;
        height: 55px;
        flex-basis: 55px;
    }

    .track-product-total {
        min-width: auto;
        font-size: 13px;
    }

    .track-product-meta {
        flex-direction: column;
        gap: 3px;
    }

    .track-order-total {
        gap: 7px;
    }

    .track-order-total strong {
        font-size: 16px;
    }

}
/* ===== Status Labels ===== */

.label {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border-radius: 4px;
}

.label-primary {
    background-color: #337ab7;
}

.label-success {
    background-color: #5cb85c;
}

.label-info {
    background-color: #5bc0de;
}

.label-warning {
    background-color: #f0ad4e;
}

.label-danger {
    background-color: #d9534f;
}

.label-default {
    background-color: #777;
}

.track-order-id-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.track-order-id-row h2 {
    margin: 0;
}

.track-order-status-inline {
    display: inline-flex;
    align-items: center;
}

.track-order-status-inline .label {
    margin: 0;
}

.login-input {
    width: 100%;
    height: 44px;
    padding: 0 43px 0 40px;
    border: 1px solid var(--amber);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

.login-input::placeholder {
    color: var(--slate);
}

.login-input:focus {
    border-color: var(--teal);
}

.f-apps {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.f-app {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid var(--amber);
  border-radius: 8px;
  color: var(--amber);
}
.f-app:hover {
  border-color: #fff;
  color: #fff;
}
.f-app svg {
  width: 20px;
  height: 20px;
}
.f-app small {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a94a3;
}
.f-app b {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}


.empty-products {
    width: 100%;
    padding: 80px 20px;
    text-align: center;
    box-sizing: border-box;
}

.empty-products-inner {
    max-width: 520px;
    margin: 0 auto;
}

.empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f6f3;
}

.empty-icon .svg-ico {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: var(--accent);
}

.empty-products h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #222;
}

.empty-products p {
    margin: 10px auto 0;
    max-width: 460px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.empty-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

.empty-actions .btn-bz {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-sizing: border-box;
    transition: 0.2s ease;
}



.empty-actions .btn-primary:hover {
    opacity: 0.9;
}

.empty-actions .btn-outline {
  
    color: #333;
    border: 1px solid #d9d9d9;
}



@media (max-width: 576px) {
    .empty-products {
        padding: 60px 16px;
    }

    .empty-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 16px;
    }

    .empty-icon .svg-ico {
        width: 30px;
        height: 30px;
    }

    .empty-products h2 {
        font-size: 21px;
    }

    .empty-products p {
        font-size: 13px;
    }

    .empty-actions {
        gap: 8px;
    }

    .empty-actions .btn-bz {
        flex: 1;
        padding: 10px 12px;
        font-size: 13px;
    }
}