/* ── Variables ── */
:root {
  --brand:       #B2C81A;
  --brand-dark:  #8fa114;
  --brand-pale:  #f4f8d6;
  --black:       #111111;
  --gray-dark:   #1f1f1f;
  --gray:        #6b7280;
  --gray-light:  #f5f5f5;
  --white:       #ffffff;
  --border:      #e5e7eb;
  --radius:      12px;
  --shadow:      0 2px 12px rgba(0,0,0,.08);
  --header-h:    68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--black); background: var(--white); }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }

/* ── Header ── */
.store-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--black);
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.store-nav {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.store-logo img {
  height: 38px; width: auto; object-fit: contain;
  filter: brightness(0) invert(1);
}
.store-nav-links {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 4px;
}
.store-nav-links a {
  color: #d1d5db; font-size: 14.5px; font-weight: 500;
  padding: 7px 14px; border-radius: 8px;
  transition: color .15s, background .15s;
}
.store-nav-links a:hover,
.store-nav-links a.active {
  color: var(--brand); background: rgba(178,200,26,.1);
}
.store-nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 8px; border: none;
  background: rgba(255,255,255,.08); color: #d1d5db;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; transition: background .15s, color .15s;
  text-decoration: none; position: relative;
}
.icon-btn:hover { background: rgba(178,200,26,.15); color: var(--brand); }
.cart-btn { text-decoration: none; }
.cart-count {
  position: absolute; top: -5px; right: -5px;
  background: var(--brand); color: var(--black);
  font-size: 10px; font-weight: 800; min-width: 18px; height: 18px;
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  padding: 0 4px; border: 2px solid var(--black);
}

/* Search bar */
.store-search-bar {
  background: var(--gray-dark); padding: 0;
  max-height: 0; overflow: hidden;
  transition: max-height .25s ease, padding .25s ease;
}
.store-search-bar.open { max-height: 72px; padding: 14px 0; }
.search-form {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.08); border-radius: 10px; padding: 8px 14px;
}
.search-form i { color: var(--brand); font-size: 16px; }
.search-form input {
  flex: 1; background: none; border: none; outline: none;
  color: white; font-size: 15px;
}
.search-form input::placeholder { color: #6b7280; }
.search-form button {
  background: var(--brand); border: none; color: var(--black);
  font-weight: 700; padding: 6px 16px; border-radius: 7px; cursor: pointer;
}

/* Mobile menu */
.mobile-menu {
  display: none; flex-direction: column;
  background: var(--gray-dark); padding: 8px 16px 16px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: #d1d5db; padding: 10px 4px;
  font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ── Flash bars ── */
.flash-bar {
  padding: 12px 20px; display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; position: relative;
}
.flash-bar button {
  margin-left: auto; background: none; border: none;
  font-size: 18px; cursor: pointer; opacity: .7; padding: 0 4px;
}
.flash-success { background: #f0fdf4; color: #166534; border-bottom: 3px solid #16a34a; }
.flash-error   { background: #fff5f5; color: #991b1b; border-bottom: 3px solid #dc2626; }
.flash-info    { background: #eff6ff; color: #1e40af; border-bottom: 3px solid #3b82f6; }

/* ── Buttons ── */
.btn-brand {
  display: inline-flex; align-items: center;
  background: var(--brand); color: var(--black);
  font-weight: 700; font-size: 14px; padding: 10px 22px;
  border-radius: 9px; border: 2px solid transparent;
  cursor: pointer; transition: background .15s, transform .1s;
}
.btn-brand:hover { background: var(--brand-dark); color: var(--black); transform: translateY(-1px); }
.btn-brand:active { transform: translateY(0); }
.btn-lg-brand { padding: 13px 28px; font-size: 15px; }
.btn-ghost {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--black);
  font-weight: 600; font-size: 14px; padding: 10px 22px;
  border-radius: 9px; border: 2px solid var(--border);
  cursor: pointer; transition: border-color .15s, background .15s;
}
.btn-ghost:hover { border-color: var(--brand); background: var(--brand-pale); color: var(--black); }
.btn-ghost-sm {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--gray);
  font-size: 13px; padding: 6px 14px; border-radius: 7px;
  border: 1px solid var(--border); cursor: pointer; transition: all .15s;
}
.btn-ghost-sm:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-outline-brand {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--brand-dark);
  font-weight: 700; font-size: 14px; padding: 10px 22px;
  border-radius: 9px; border: 2px solid var(--brand);
}
.btn-outline-brand:hover { background: var(--brand); color: var(--black); }
.text-brand { color: var(--brand) !important; }

/* ── Hero ── */
.hero {
  background: var(--black); position: relative;
  overflow: hidden; padding: 80px 0;
  min-height: 540px; display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 70% 50%, rgba(178,200,26,.15) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(178,200,26,.06) 0%, transparent 50%);
}
.hero-inner {
  position: relative; display: flex; align-items: center;
  justify-content: space-between; gap: 40px;
}
.hero-text { max-width: 560px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--brand); font-size: 13px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px;
}
.hero-text h1 {
  color: white; font-size: clamp(32px, 5vw, 54px);
  font-weight: 900; line-height: 1.1; margin: 0 0 16px;
}
.hero-sub { color: #9ca3af; font-size: 16px; line-height: 1.7; margin-bottom: 28px; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-actions .btn-ghost { border-color: rgba(255,255,255,.2); color: white; }
.hero-actions .btn-ghost:hover { border-color: var(--brand); background: rgba(178,200,26,.1); }
.hero-badges { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badge {
  display: flex; align-items: center; gap: 6px;
  color: #9ca3af; font-size: 12.5px; font-weight: 500;
}
.hero-badge i { color: var(--brand); }
.hero-image { display: flex; align-items: center; justify-content: center; }
.hero-circle {
  width: 340px; height: 340px; border-radius: 50%;
  background: rgba(178,200,26,.12); border: 2px solid rgba(178,200,26,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 120px; color: var(--brand); opacity: .8;
}

/* ── Sections ── */
.section-padded { padding: 64px 0; }
.bg-light-gray  { background: var(--gray-light); }
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}
.section-title { font-size: 22px; font-weight: 800; margin: 0; }
.section-link { color: var(--brand-dark); font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.section-link:hover { color: var(--brand); }

/* ── Category grid ── */
.category-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px;
}
.category-card {
  background: var(--white); border-radius: var(--radius);
  padding: 24px 16px; text-align: center;
  border: 2px solid var(--border); transition: all .2s;
  color: var(--black);
}
.category-card:hover {
  border-color: var(--brand); box-shadow: 0 4px 16px rgba(178,200,26,.2);
  transform: translateY(-2px);
}
.category-icon { font-size: 30px; color: var(--brand-dark); margin-bottom: 10px; }
.category-name { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.category-count { font-size: 11.5px; color: var(--gray); }

/* ── Product grid ── */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px;
}
.product-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.product-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-3px); }
.product-card-img-wrap {
  display: block; aspect-ratio: 1; overflow: hidden; position: relative;
  background: var(--gray-light);
}
.product-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .product-card-img-wrap img { transform: scale(1.04); }
.product-no-img {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: #d1d5db;
}
.product-badge {
  position: absolute; top: 10px; left: 10px;
  font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 20px;
}
.badge-low { background: #fef2f2; color: #dc2626; }
.product-card-body { padding: 14px; }
.product-cat { font-size: 11px; color: var(--brand-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.product-name { display: block; font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 8px; line-height: 1.4; }
.product-name:hover { color: var(--brand-dark); }
.product-price { font-size: 18px; font-weight: 800; color: var(--brand-dark); margin-bottom: 12px; }
.btn-add-to-cart {
  width: 100%; padding: 9px; border: none; border-radius: 8px;
  background: var(--black); color: white; font-size: 13px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px;
  transition: background .15s;
}
.btn-add-to-cart:hover { background: var(--brand); color: var(--black); }
.btn-add-to-cart:disabled { background: var(--gray-light); color: var(--gray); cursor: not-allowed; }

/* ── Trust band ── */
.trust-band { background: var(--black); padding: 40px 0; }
.trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px;
}
.trust-item { display: flex; align-items: center; gap: 14px; color: #d1d5db; }
.trust-item i { font-size: 30px; color: var(--brand); flex-shrink: 0; }
.trust-item strong { display: block; color: white; font-size: 15px; }
.trust-item span { font-size: 13px; }

/* ── Breadcrumb bar ── */
.breadcrumb-bar { background: var(--gray-light); padding: 12px 0; border-bottom: 1px solid var(--border); }
.breadcrumb-item a { color: var(--brand-dark); font-size: 13px; }
.breadcrumb-item.active { font-size: 13px; color: var(--gray); }

/* ── Product detail ── */
.product-detail-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 48px;
}
@media (max-width: 768px) { .product-detail-layout { grid-template-columns: 1fr; } }
.product-main-img {
  border-radius: var(--radius); overflow: hidden;
  background: var(--gray-light); aspect-ratio: 1;
}
.product-main-img img { width: 100%; height: 100%; object-fit: cover; }
.no-img-large {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 96px; color: #d1d5db;
}
.stock-warning { margin-top: 10px; color: #dc2626; font-size: 13.5px; font-weight: 600; }
.product-cat-link { color: var(--brand-dark); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.product-detail-name { font-size: clamp(22px, 3vw, 30px); font-weight: 900; margin: 8px 0; }
.product-sku { font-size: 12.5px; color: var(--gray); }
.product-detail-price { font-size: 32px; font-weight: 900; color: var(--brand-dark); margin: 12px 0; }
.product-description { font-size: 14.5px; color: var(--gray); line-height: 1.8; margin: 16px 0; }
.stock-status { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; margin-bottom: 16px; }
.in-stock  { color: #16a34a; }
.out-of-stock { color: #dc2626; }
.add-to-cart-big { display: flex; align-items: center; gap: 10px; }
.qty-selector {
  display: flex; align-items: center; border: 2px solid var(--border); border-radius: 9px; overflow: hidden;
}
.qty-btn {
  width: 38px; height: 42px; border: none; background: var(--gray-light);
  font-size: 18px; font-weight: 600; cursor: pointer; transition: background .15s;
}
.qty-btn:hover:not(:disabled) { background: var(--brand-pale); }
.qty-selector input {
  width: 54px; height: 42px; border: none; border-left: 2px solid var(--border);
  border-right: 2px solid var(--border); text-align: center; font-weight: 700; font-size: 16px;
}
.btn-add-big {
  flex: 1; padding: 12px 20px; font-size: 15px; font-weight: 700;
}
.product-meta-tags { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.product-meta-tags span { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--gray); }
.product-meta-tags i { color: var(--brand); }
.related-section { margin-top: 40px; }

/* ── Shop page ── */
.shop-header { margin-bottom: 20px; }
.shop-title { font-size: 22px; font-weight: 900; margin: 0; }
.shop-count { font-size: 13px; margin: 2px 0 0; }
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; }
@media (max-width: 900px) { .shop-layout { grid-template-columns: 1fr; } .shop-sidebar { order: -1; } }
.shop-sidebar { padding: 0; }
.filter-group { margin-bottom: 22px; }
.filter-title { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--gray); margin-bottom: 10px; }
.filter-list { display: flex; flex-direction: column; gap: 6px; }
.filter-option { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; padding: 3px 0; }
.filter-option input[type="radio"] { accent-color: var(--brand); width: 16px; height: 16px; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range .form-control { padding: 7px 10px; font-size: 13.5px; }
.search-input-wrap { position: relative; }
.search-input-wrap i { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--gray); }
.search-input-wrap input { padding-left: 34px; }
.empty-shop { text-align: center; padding: 60px 20px; color: var(--gray); }
.empty-shop i { font-size: 56px; display: block; opacity: .2; margin-bottom: 12px; }
.empty-shop h3 { color: var(--black); }
.empty-shop a { color: var(--brand-dark); }

/* ── Cart ── */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }
.empty-cart { text-align: center; padding: 80px 20px; }
.empty-cart i { font-size: 72px; color: #d1d5db; display: block; margin-bottom: 16px; }
.empty-cart h3 { margin-bottom: 8px; }
.empty-cart p { color: var(--gray); }
.cart-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.cart-row img, .cart-no-img {
  width: 72px; height: 72px; border-radius: 10px; object-fit: cover; flex-shrink: 0;
}
.cart-no-img { background: var(--gray-light); display: flex; align-items: center; justify-content: center; font-size: 28px; color: #d1d5db; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { display: block; font-weight: 700; font-size: 14.5px; color: var(--black); margin-bottom: 4px; }
.cart-item-name:hover { color: var(--brand-dark); }
.cart-item-price { font-size: 13px; color: var(--gray); }
.cart-item-qty { flex-shrink: 0; }
.qty-form { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden; }
.qty-form .qty-btn { width: 32px; height: 34px; border: none; background: var(--gray-light); font-size: 16px; cursor: pointer; }
.qty-num { width: 36px; text-align: center; font-weight: 700; font-size: 14px; }
.cart-item-subtotal { font-size: 15px; font-weight: 800; flex-shrink: 0; width: 80px; text-align: right; }
.cart-remove { background: none; border: none; color: #d1d5db; cursor: pointer; font-size: 18px; transition: color .15s; padding: 4px; }
.cart-remove:hover { color: #dc2626; }
.cart-actions { display: flex; justify-content: space-between; padding-top: 16px; }
.cart-summary, .checkout-card { background: var(--gray-light); border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); }
.cart-summary-title { font-weight: 800; font-size: 16px; margin-bottom: 16px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14.5px; margin-bottom: 10px; }
.summary-total { font-size: 18px; font-weight: 900; border-top: 2px solid var(--border); padding-top: 12px; margin-top: 8px; }
.cart-secure { text-align: center; font-size: 12px; color: var(--gray); margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.cart-secure i { color: var(--brand); }
.page-h1 { font-size: 24px; font-weight: 900; }

/* ── Checkout ── */
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
@media (max-width: 900px) { .checkout-layout { grid-template-columns: 1fr; } }
.checkout-section-title { font-size: 15px; font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; }
.payment-option {
  display: flex; align-items: center; gap: 12px;
  padding: 16px; border-radius: 10px; border: 2px solid var(--border);
  cursor: pointer; transition: border-color .15s;
}
.payment-option.selected { border-color: var(--brand); background: var(--brand-pale); }
.payment-option i:first-child { font-size: 22px; color: var(--brand-dark); }
.payment-option strong { display: block; font-size: 14px; }
.payment-option span { font-size: 12.5px; color: var(--gray); }
.check-icon { margin-left: auto; color: var(--brand-dark); font-size: 20px; }
.btn-place-order { width: 100%; padding: 14px; font-size: 16px; justify-content: center; }
.order-disclaimer { font-size: 12px; color: var(--gray); text-align: center; margin-top: 10px; }
.co-item { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.co-item-img { position: relative; flex-shrink: 0; }
.co-item-img img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.co-item-no-img { width: 48px; height: 48px; border-radius: 8px; background: var(--border); display: flex; align-items: center; justify-content: center; font-size: 20px; color: #d1d5db; }
.co-item-qty { position: absolute; top: -6px; right: -6px; background: var(--black); color: white; font-size: 10px; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.co-item-name { flex: 1; font-size: 13.5px; font-weight: 600; min-width: 0; }
.co-item-price { font-size: 14px; font-weight: 700; flex-shrink: 0; }

/* ── Order success ── */
.order-success-wrap { max-width: 680px; margin: 0 auto; }
.order-success-header { text-align: center; margin-bottom: 36px; }
.success-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--brand); color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; font-weight: 900; margin: 0 auto 16px;
}
.order-success-header h1 { font-size: 28px; font-weight: 900; margin-bottom: 6px; }
.order-success-header p { color: var(--gray); }
.order-number { display: inline-block; background: var(--brand-pale); color: var(--brand-dark); font-weight: 800; padding: 6px 18px; border-radius: 20px; font-size: 15px; margin-top: 8px; }
.order-success-body { background: var(--gray-light); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); }
.order-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
@media (max-width: 600px) { .order-meta-grid { grid-template-columns: 1fr; } }
.order-meta-card { background: white; border-radius: 10px; padding: 14px; display: flex; align-items: flex-start; gap: 12px; }
.order-meta-card i { font-size: 20px; color: var(--brand-dark); flex-shrink: 0; margin-top: 2px; }
.order-meta-card strong { display: block; font-size: 12px; text-transform: uppercase; color: var(--gray); letter-spacing: .4px; margin-bottom: 3px; }
.order-meta-card span { font-size: 14px; font-weight: 600; }
.status-pending { color: #d97706; }
.order-items-title { font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.order-item-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.order-item-row img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.order-item-no-img { width: 44px; height: 44px; border-radius: 8px; background: var(--border); display: flex; align-items: center; justify-content: center; font-size: 18px; color: #d1d5db; }
.order-item-info { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; }
.order-item-name { font-size: 14px; font-weight: 600; }
.order-item-qty { font-size: 13px; color: var(--gray); }
.order-item-total { font-size: 14px; font-weight: 700; flex-shrink: 0; }
.order-total-bar { display: flex; justify-content: space-between; font-size: 18px; font-weight: 900; padding: 14px 0 10px; }
.order-total-amount { color: var(--brand-dark); }
.order-email-note { background: white; border-radius: 8px; padding: 12px 16px; font-size: 13.5px; color: var(--gray); display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.order-email-note i { color: var(--brand); font-size: 16px; }
.order-success-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ── About page ── */
.page-hero {
  padding: 64px 0; text-align: center;
  background: var(--gray-light); border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: 32px; font-weight: 900; margin-bottom: 8px; }
.page-hero p { color: var(--gray); }
.page-hero-dark { background: var(--black); }
.page-hero-dark h1, .page-hero-dark p { color: white; }
.label-brand { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--brand-dark); }
.about-heading { font-size: 28px; font-weight: 900; margin: 8px 0 16px; }
.about-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-stat {
  background: var(--gray-light); border-radius: var(--radius);
  padding: 22px; text-align: center; border: 2px solid var(--border);
  display: flex; flex-direction: column; gap: 4px;
}
.about-stat-num { font-size: 28px; font-weight: 900; color: var(--brand-dark); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 40px; }
.value-card { background: var(--gray-light); border-radius: var(--radius); padding: 28px; border: 2px solid var(--border); text-align: center; }
.value-card i { font-size: 32px; color: var(--brand); display: block; margin-bottom: 12px; }
.value-card h5 { font-weight: 800; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--gray); margin: 0; }

/* ── Contact ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 768px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info h3 { font-size: 24px; font-weight: 900; margin-bottom: 6px; }
.contact-items { margin-top: 24px; display: flex; flex-direction: column; gap: 18px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--brand-pale); color: var(--brand-dark); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }

/* ── Footer ── */
.store-footer { background: var(--black); color: #9ca3af; padding: 56px 0 24px; margin-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { height: 36px; width: auto; filter: brightness(0) invert(1); margin-bottom: 12px; }
.footer-brand p { font-size: 13.5px; line-height: 1.7; }
.footer-nap { display: flex; flex-direction: column; gap: 7px; margin: 12px 0; font-style: normal; }
.footer-nap-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #9ca3af; text-decoration: none; }
.footer-nap-item:hover { color: var(--brand); }
.footer-nap-item i { color: var(--brand); flex-shrink: 0; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.08); color: #9ca3af; display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s; }
.footer-social a:hover { background: var(--brand); color: var(--black); }
.footer-heading { color: white; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 14px; }
.store-footer ul { list-style: none; padding: 0; margin: 0; }
.store-footer li { margin-bottom: 8px; font-size: 13.5px; }
.store-footer li a { color: #9ca3af; transition: color .15s; }
.store-footer li a:hover { color: var(--brand); }
.store-footer li i { color: var(--brand); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 20px; font-size: 13px; text-align: center; }

/* ── Auth pages ── */
.auth-page {
  min-height: calc(100vh - var(--header-h) - 100px);
  display: flex; align-items: center; justify-content: center; padding: 40px 20px;
  background: var(--gray-light);
}
.auth-card {
  background: white; border-radius: 16px; padding: 36px 32px;
  width: 100%; max-width: 560px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  border: 1px solid var(--border);
}
.auth-card-sm { max-width: 420px; }
.auth-logo { text-align: center; margin-bottom: 24px; }
.auth-logo img { height: 46px; width: auto; }
.auth-title { font-size: 22px; font-weight: 900; text-align: center; margin-bottom: 4px; }
.auth-sub { color: var(--gray); text-align: center; font-size: 14px; margin-bottom: 24px; }
.auth-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group-full { grid-column: 1 / -1; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 5px; }
.req { color: #dc2626; }
.pass-wrap { position: relative; }
.pass-wrap .form-control { padding-right: 44px; }
.pass-toggle {
  position: absolute; right: 0; top: 0; bottom: 0; width: 42px;
  background: none; border: none; color: var(--gray); cursor: pointer; font-size: 16px;
}
.pass-toggle:hover { color: var(--brand-dark); }
.auth-switch { text-align: center; font-size: 13.5px; color: var(--gray); margin-top: 18px; }
.auth-switch a { color: var(--brand-dark); font-weight: 700; }
.auth-divider { position: relative; text-align: center; margin: 20px 0; }
.auth-divider::before { content:''; position:absolute; left:0; right:0; top:50%; height:1px; background:var(--border); }
.auth-divider span { background:white; padding: 0 12px; font-size:12.5px; color:var(--gray); position:relative; }
.justify-center { justify-content: center; }
@media (max-width: 500px) { .auth-form-grid { grid-template-columns: 1fr; } .form-group-full { grid-column: 1; } }

/* ── Checkout login prompt ── */
.checkout-login-prompt {
  display: flex; align-items: center; gap: 10px;
  background: var(--brand-pale); border: 1px solid rgba(178,200,26,.4);
  border-radius: 10px; padding: 12px 16px; font-size: 13.5px; margin-bottom: 20px;
}
.checkout-login-prompt i { font-size: 20px; color: var(--brand-dark); flex-shrink: 0; }
.checkout-login-prompt a { color: var(--brand-dark); font-weight: 700; }

/* ── Nav account dropdown ── */
.nav-account-dropdown { position: relative; }
.nav-account-btn {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); border: none; border-radius: 8px;
  padding: 5px 10px 5px 6px; color: #d1d5db; cursor: pointer; font-size: 13.5px;
  transition: background .15s;
}
.nav-account-btn:hover { background: rgba(178,200,26,.15); color: var(--brand); }
.nav-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand); color: var(--black);
  font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-account-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 8px);
  background: #1f1f1f; border-radius: 10px; min-width: 180px;
  box-shadow: 0 8px 24px rgba(0,0,0,.4); padding: 6px 0;
  z-index: 300;
}
.nav-account-menu.open { display: block; }
.nav-account-menu a {
  display: flex; align-items: center; padding: 9px 14px;
  color: #d1d5db; font-size: 13.5px; transition: background .15s, color .15s;
}
.nav-account-menu a:hover { background: rgba(255,255,255,.06); color: var(--brand); }
.nav-login-btn {
  display: flex; align-items: center; gap: 7px;
  background: var(--brand); color: var(--black);
  font-weight: 700; font-size: 13.5px; padding: 7px 14px;
  border-radius: 8px; transition: background .15s;
}
.nav-login-btn:hover { background: var(--brand-dark); color: var(--black); }

/* ── Account pages ── */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
@media (max-width: 820px) { .account-layout { grid-template-columns: 1fr; } }
.account-sidebar { background: white; border-radius: 12px; border: 1px solid var(--border); overflow: hidden; }
.account-avatar { display: flex; align-items: center; gap: 12px; padding: 20px 18px; border-bottom: 1px solid var(--border); background: var(--gray-light); }
.avatar-circle { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: var(--black); font-size: 20px; font-weight: 900; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.avatar-name { font-weight: 700; font-size: 14px; }
.avatar-email { font-size: 12px; color: var(--gray); }
.account-nav { padding: 6px 0; }
.acc-nav-item { display: flex; align-items: center; gap: 10px; padding: 11px 18px; color: var(--black); font-size: 14px; font-weight: 500; transition: background .15s, color .15s; }
.acc-nav-item i { font-size: 16px; color: var(--gray); }
.acc-nav-item:hover { background: var(--gray-light); color: var(--brand-dark); }
.acc-nav-item.active { background: var(--brand-pale); color: var(--brand-dark); font-weight: 700; }
.acc-nav-item.active i { color: var(--brand-dark); }
.acc-nav-logout { color: #dc2626 !important; margin-top: 4px; border-top: 1px solid var(--border); }
.acc-nav-logout i { color: #dc2626 !important; }
.account-main { min-width: 0; }
.account-section-title { font-size: 18px; font-weight: 900; margin-bottom: 16px; }
.account-empty { text-align: center; padding: 56px 20px; }
.account-empty i { font-size: 64px; color: #d1d5db; display: block; margin-bottom: 14px; }
.orders-list { display: flex; flex-direction: column; gap: 12px; }
.order-card { background: white; border-radius: 12px; border: 1px solid var(--border); overflow: hidden; }
.order-card-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border); background: var(--gray-light); }
.order-num { font-weight: 800; font-size: 15px; margin-right: 10px; }
.order-date { font-size: 13px; color: var(--gray); }
.order-status-badge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.order-card-body { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; gap: 12px; }
.order-info { display: flex; gap: 16px; font-size: 14px; }
.order-total { font-weight: 800; }
.order-status-banner { border: 1px solid; border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; font-size: 14px; font-weight: 600; }
.ms-1 { margin-left: .25rem; }

/* ── Bootstrap overrides ── */
.form-control:focus, .form-select:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 .2rem rgba(178,200,26,.18) !important;
}
.breadcrumb-item + .breadcrumb-item::before { color: var(--gray); }

/* ── Responsive helpers ── */
.w-100 { width: 100%; }
.mt-2  { margin-top: .5rem; }
.mt-3  { margin-top: 1rem; }
.mt-4  { margin-top: 1.5rem; }
.mt-5  { margin-top: 3rem; }
.mb-4  { margin-bottom: 1.5rem; }
.mb-5  { margin-bottom: 3rem; }
.py-4  { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-5  { padding-top: 3rem; padding-bottom: 3rem; }
.text-muted  { color: var(--gray) !important; }
.text-center { text-align: center; }
.d-block     { display: block; }
.me-1 { margin-right: .25rem; }
.me-2 { margin-right: .5rem; }
.me-3 { margin-right: 1rem; }

/* ── Floating WhatsApp Button ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  padding: 12px 20px 12px 16px;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  animation: waBounce 2.5s ease-in-out infinite;
}
.whatsapp-float:hover {
  background: #1ebe5d;
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
  animation: none;
}
.whatsapp-float i {
  font-size: 22px;
  line-height: 1;
}
@keyframes waBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@media (max-width: 576px) {
  .whatsapp-float { padding: 13px; border-radius: 50%; }
  .whatsapp-float .wa-label { display: none; }
}

/* ── Shop Pagination ── */
.shop-pagination { display:flex; gap:6px; justify-content:center; margin-top:32px; flex-wrap:wrap; }
.page-btn { display:flex; align-items:center; justify-content:center; min-width:38px; height:38px; padding:0 10px; border-radius:8px; border:1px solid var(--border); color:var(--black); font-size:14px; font-weight:600; transition:background .15s, color .15s; }
.page-btn:hover { background:var(--brand); border-color:var(--brand); color:var(--black); }
.page-btn.active { background:var(--brand); border-color:var(--brand); color:var(--black); }

/* ── LBP price ── */
.product-price-lbp { display:block; font-size:11px; color:var(--gray); font-weight:500; margin-top:2px; }

/* ── Search autocomplete dropdown ── */
.search-suggest { display:none; position:absolute; top:calc(100% + 6px); left:0; right:0; background:#1f1f1f; border-radius:10px; box-shadow:0 8px 24px rgba(0,0,0,.4); z-index:500; overflow:hidden; }
.suggest-item { display:flex; align-items:center; gap:10px; padding:10px 14px; color:#d1d5db; font-size:13.5px; transition:background .12s; }
.suggest-item:hover { background:rgba(178,200,26,.12); color:var(--brand); }
.suggest-item img { width:36px; height:36px; object-fit:cover; border-radius:6px; flex-shrink:0; }
.suggest-no-img { width:36px; height:36px; border-radius:6px; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; flex-shrink:0; color:#6b7280; }
.suggest-name { flex:1; }
.suggest-price { color:var(--brand); font-weight:700; font-size:13px; }
