/* ================================================================
   Zeig T-Shirt Store — Main Stylesheet
   ================================================================ */

/* ─── Reset & Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:   #1a1a2e;
  --accent:    #e94560;
  --light:     #f5f5f5;
  --white:     #ffffff;
  --dark:      #0f0f23;
  --gray:      #6c757d;
  --border:    #dee2e6;
  --success:   #28a745;
  --danger:    #dc3545;
  --warning:   #ffc107;
  --info:      #17a2b8;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --shadow:    0 4px 24px rgba(0,0,0,0.08);
  --radius:    8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--light);
  color: #222;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ─── Container ──────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }

@media (max-width: 576px) {
  .container, .container-sm { padding: 0 1rem; }
  .card { padding: 1.25rem; }
}

/* ─── Navbar ─────────────────────────────────────────────────────── */
.navbar {
  background: var(--primary);
  color: var(--white);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1.5rem;
}
.navbar-brand {
  font-size: 1.8rem; font-weight: 900; letter-spacing: 2px;
  color: var(--white);
}
.navbar-brand span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { color: rgba(255,255,255,0.85); font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cart-li {
  margin-left: auto; padding-left: 1.5rem;
  border-left: 1px solid rgba(255,255,255,0.15);
}
.nav-cart-badge {
  background: var(--accent); color: var(--white);
  border-radius: 50%; width: 20px; height: 20px;
  font-size: 0.7rem; display: inline-flex; align-items: center; justify-content: center;
  margin-left: 2px; vertical-align: middle;
}
.nav-hamburger { display: none; cursor: pointer; font-size: 1.5rem; color: var(--white); background: none; border: none; }
.navbar-icons { display: none; align-items: center; gap: 0.35rem; }
.nav-icon-btn {
  position: relative; background: none; border: none; color: var(--white);
  font-size: 1.25rem; cursor: pointer; padding: 0.4rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.nav-icon-btn.active i.fa-regular { font-weight: 900; color: var(--accent); }
.nav-drawer-close { display: none; }

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #16213e 60%, var(--dark) 100%);
  color: var(--white);
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 100%;
  height: 60px; background: var(--light);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-title { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; line-height: 1.2; margin-bottom: 1rem; }
.hero-title span { color: var(--accent); }
.hero-sub { font-size: 1.15rem; opacity: 0.85; margin-bottom: 2rem; max-width: 550px; margin-left: auto; margin-right: auto; }

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.65rem 1.5rem; border-radius: var(--radius); font-size: 0.95rem;
  font-weight: 600; border: 2px solid transparent; cursor: pointer;
  transition: all 0.25s; text-align: center; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: #c73652; border-color: #c73652; color: var(--white); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--white); }
.btn-dark { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-dark:hover { background: #111; color: var(--white); }
.btn-success { background: var(--success); color: var(--white); border-color: var(--success); }
.btn-danger { background: var(--danger); color: var(--white); border-color: var(--danger); }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.82rem; }
.btn-lg { padding: 0.85rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ─── Section ────────────────────────────────────────────────────── */
.section { padding: 4rem 0; }
.section-title { font-size: 1.9rem; font-weight: 800; margin-bottom: 0.4rem; }
.section-sub { color: var(--gray); margin-bottom: 2.5rem; }

/* ─── Product Cards ──────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.product-card-img { display: block; height: 240px; overflow: hidden; position: relative; }
.product-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.badge-sale {
  position: absolute; top: 10px; right: 10px;
  background: var(--accent); color: var(--white);
  padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.75rem; font-weight: 700;
}
.badge-out {
  position: absolute; top: 10px; left: 10px;
  background: var(--gray); color: var(--white);
  padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.75rem; font-weight: 700;
}
.product-card-body { padding: 1rem; }
.product-card-name { font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; }
.product-card-category { font-size: 0.8rem; color: var(--gray); margin-bottom: 0.5rem; }
.product-price { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.price-current { font-size: 1.1rem; font-weight: 800; color: var(--accent); }
.price-original { font-size: 0.88rem; color: var(--gray); text-decoration: line-through; }

/* ─── Forms ──────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.form-control {
  width: 100%; padding: 0.65rem 0.9rem; font-size: 0.95rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  background: var(--white); transition: border-color 0.2s;
  font-family: var(--font-main);
}
.form-control:focus { outline: none; border-color: var(--accent); }
.form-control.is-invalid { border-color: var(--danger); }
.invalid-feedback { color: var(--danger); font-size: 0.82rem; margin-top: 0.3rem; }
.form-select {
  width: 100%; padding: 0.65rem 0.9rem; font-size: 0.95rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  background: var(--white); cursor: pointer; font-family: var(--font-main);
}
.form-select:focus { outline: none; border-color: var(--accent); }
.form-check { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.form-check-input { width: 1rem; height: 1rem; cursor: pointer; accent-color: var(--accent); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ─── Cards ──────────────────────────────────────────────────────── */
.card { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.card-sm { padding: 1.25rem; }
.card-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; }

/* ─── Table ──────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--white); }

/* ─── Cart / Checkout layout ────────────────────────────────────────
   minmax(0, ...) keeps the flexible column from blowing out past its
   fixed-width sibling on narrow viewports (grid tracks default to
   min-content otherwise). ── */
.cart-layout     { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; align-items: start; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2rem; align-items: start; }

@media (max-width: 860px) {
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
}
thead { background: var(--primary); color: var(--white); }
th, td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
th { font-weight: 600; font-size: 0.88rem; }
tbody tr:hover { background: #f9f9f9; }

/* ─── Alert / Flash ──────────────────────────────────────────────── */
.alert { padding: 0.85rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.2rem; font-size: 0.95rem; }
.alert-success { background: #d4edda; color: #155724; border-left: 4px solid var(--success); }
.alert-error,
.alert-danger { background: #f8d7da; color: #721c24; border-left: 4px solid var(--danger); }
.alert-info { background: #d1ecf1; color: #0c5460; border-left: 4px solid var(--info); }
.alert-warning { background: #fff3cd; color: #856404; border-left: 4px solid var(--warning); }

/* ─── Toast notifications ───────────────────────────────────────────
   Flash messages float top-right instead of pushing page content. ── */
.toast-stack {
  position: fixed; top: 82px; right: 1.25rem; z-index: 1200;
  display: flex; flex-direction: column; gap: 0.6rem;
  width: 100%; max-width: 360px;
}
.toast {
  margin-bottom: 0; padding-right: 2.2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  display: flex; align-items: flex-start; gap: 0.6rem;
  position: relative; animation: toastIn 0.3s ease;
}
.toast .fa { margin-top: 0.15rem; flex-shrink: 0; }
.toast-close {
  position: absolute; top: 0.55rem; right: 0.65rem;
  background: none; border: none; font-size: 1.1rem; line-height: 1;
  cursor: pointer; color: inherit; opacity: 0.55; padding: 0;
}
.toast-close:hover { opacity: 1; }
@keyframes toastIn { from { transform: translateX(24px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

@media (max-width: 480px) {
  .toast-stack { top: 66px; right: 0.75rem; left: 0.75rem; max-width: none; width: auto; }
}

/* ─── Badges ─────────────────────────────────────────────────────── */
.badge { padding: 0.25rem 0.65rem; border-radius: 4px; font-size: 0.78rem; font-weight: 700; }
.badge-success { background: #d4edda; color: #155724; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-danger  { background: #f8d7da; color: #721c24; }
.badge-info    { background: #d1ecf1; color: #0c5460; }
.badge-primary { background: #cce5ff; color: #004085; }
.badge-secondary { background: #e2e3e5; color: #383d41; }

/* ─── Cart Table ─────────────────────────────────────────────────── */
.cart-img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; }
.qty-input { width: 65px; text-align: center; }

/* ─── Cart Items — modern row layout ────────────────────────────────── */
.cart-item-row {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--border);
}
.cart-item-row:last-child { border-bottom: none; }
.cart-item-img {
  width: 84px; height: 84px; flex-shrink: 0; border-radius: var(--radius);
  overflow: hidden; background: var(--light);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 700; font-size: 1rem; display: block; }
.cart-item-name:hover { color: var(--accent); }
.cart-item-attrs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.4rem; }
.cart-item-attr {
  font-size: 0.75rem; font-weight: 600; color: var(--gray);
  background: var(--light); border: 1px solid var(--border);
  padding: 0.15rem 0.55rem; border-radius: 999px;
}
.cart-item-unit-price { font-size: 0.8rem; color: var(--gray); margin-top: 0.35rem; }

.qty-stepper {
  display: inline-flex; align-items: center; border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden; flex-shrink: 0;
}
.qty-step-btn {
  width: 32px; height: 32px; border: none; background: var(--light);
  font-size: 1.1rem; font-weight: 700; cursor: pointer; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.qty-step-btn:hover { background: var(--accent); color: var(--white); }
.qty-stepper .qty-input {
  width: 42px; border: none; text-align: center; font-weight: 700;
  padding: 0; height: 32px;
}
.qty-stepper .qty-input:focus { outline: none; }

.cart-item-total { text-align: right; font-weight: 800; min-width: 90px; flex-shrink: 0; }
.cart-item-was { font-size: 0.78rem; color: var(--gray); text-decoration: line-through; font-weight: 400; }

.cart-remove-btn {
  background: none; border: none; color: var(--gray); cursor: pointer;
  font-size: 1.05rem; padding: 0.5rem; flex-shrink: 0; transition: color 0.15s;
}
.cart-remove-btn:hover { color: var(--danger); }

@media (max-width: 576px) {
  .cart-item-row { flex-wrap: wrap; gap: 0.75rem 0.9rem; padding: 1rem; }
  .cart-item-img { width: 68px; height: 68px; }
  .cart-item-total { min-width: 0; margin-left: auto; text-align: right; }
  .qty-stepper { order: 3; }
  .cart-item-total { order: 4; }
  .cart-remove-btn { order: 5; }
}

/* ─── Pagination ─────────────────────────────────────────────────── */
.pagination { display: flex; gap: 0.4rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.pagination a, .pagination span {
  padding: 0.45rem 0.85rem; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: 0.9rem; color: var(--primary);
  transition: all 0.2s;
}
.pagination a:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }
.pagination .active span { background: var(--accent); color: var(--white); border-color: var(--accent); }
.pagination .disabled span { color: var(--gray); cursor: default; }

/* ─── Sidebar Filter ─────────────────────────────────────────────── */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; }
.filter-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.filter-card h5 { font-weight: 700; margin-bottom: 1rem; font-size: 1rem; }
.size-options, .color-options { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.size-btn {
  padding: 0.3rem 0.75rem; border: 2px solid var(--border); border-radius: 4px;
  cursor: pointer; font-size: 0.85rem; font-weight: 600; transition: all 0.2s; background: var(--white);
}
.size-btn.active, .size-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ─── Footer ─────────────────────────────────────────────────────── */
.footer { background: var(--primary); color: rgba(255,255,255,0.8); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-brand { font-size: 1.6rem; font-weight: 900; color: var(--white); margin-bottom: 0.75rem; }
.footer-brand span { color: var(--accent); }
.footer h5 { font-weight: 700; color: var(--white); margin-bottom: 1rem; font-size: 0.95rem; }
.footer ul li a { color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: color 0.2s; }
.footer ul li a:hover { color: var(--white); }
.footer ul li { margin-bottom: 0.5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.2rem; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ─── Admin Sidebar ──────────────────────────────────────────────── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px; min-width: 240px; background: var(--primary); color: var(--white);
  display: flex; flex-direction: column; padding: 1.5rem 0;
  position: fixed; top: 0; left: 0; height: 100vh; overflow-y: auto; z-index: 100;
}
.admin-sidebar .sidebar-brand { padding: 0 1.5rem 1.5rem; font-size: 1.4rem; font-weight: 900; }
.admin-sidebar .sidebar-brand span { color: var(--accent); }
.admin-sidebar ul li a {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 1.5rem; color: rgba(255,255,255,0.8);
  font-size: 0.93rem; transition: all 0.2s;
}
.admin-sidebar ul li a:hover,
.admin-sidebar ul li a.active { background: rgba(255,255,255,0.1); color: var(--white); }
.admin-sidebar ul li a.active { border-left: 3px solid var(--accent); }
.admin-content { margin-left: 240px; flex: 1; padding: 2rem; }
.admin-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2rem; background: var(--white); padding: 1rem 1.5rem;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.admin-topbar h4 { font-size: 1.25rem; font-weight: 700; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.2rem; margin-bottom: 2rem; }
.stat-card { background: var(--white); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.stat-card .stat-label { font-size: 0.83rem; color: var(--gray); margin-bottom: 0.3rem; }
.stat-card .stat-value { font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat-card .stat-icon { font-size: 2rem; }

/* ─── Page header ────────────────────────────────────────────────── */
.page-header { background: var(--primary); color: var(--white); padding: 2.5rem 0; margin-bottom: 3rem; }
.page-header h1 { font-size: 2rem; font-weight: 800; }
.breadcrumb { display: flex; gap: 0.4rem; font-size: 0.88rem; opacity: 0.75; margin-top: 0.4rem; }
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ─── Auth pages ─────────────────────────────────────────────────── */
.auth-wrapper { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.auth-card { background: var(--white); border-radius: var(--radius); padding: 2.5rem; width: 100%; max-width: 480px; box-shadow: var(--shadow); }
.auth-logo { text-align: center; font-size: 2rem; font-weight: 900; color: var(--primary); margin-bottom: 1.5rem; }
.auth-logo span { color: var(--accent); }
.auth-title { text-align: center; font-size: 1.4rem; font-weight: 700; margin-bottom: 1.75rem; }

/* ─── Order Summary ──────────────────────────────────────────────── */
.order-summary { background: var(--light); border-radius: var(--radius); padding: 1.5rem; }
.order-row { display: flex; justify-content: space-between; padding: 0.5rem 0; font-size: 0.95rem; border-bottom: 1px solid var(--border); }
.order-row:last-child { border: none; font-weight: 700; font-size: 1.05rem; }

/* ─── Checkout item rows ─────────────────────────────────────────── */
.checkout-item-row {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem;
}
.checkout-item-img {
  position: relative; width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 6px; overflow: hidden; background: var(--white);
}
.checkout-item-img img { width: 100%; height: 100%; object-fit: cover; }
.checkout-item-qty-badge {
  position: absolute; top: -6px; right: -6px;
  background: var(--primary); color: var(--white);
  font-size: 0.65rem; font-weight: 700; min-width: 16px; height: 16px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}
.checkout-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.checkout-item-name { font-weight: 700; }
.checkout-item-attrs { font-size: 0.78rem; color: var(--gray); }
.checkout-item-offer { font-size: 0.76rem; color: #157347; }
.checkout-item-total { font-weight: 700; white-space: nowrap; }

/* ─── Product Detail ─────────────────────────────────────────────── */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.product-main-img { border-radius: var(--radius); overflow: hidden; }
.product-main-img img { width: 100%; object-fit: cover; max-height: 500px; }
.product-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.5rem; }
.product-price-big { font-size: 1.6rem; font-weight: 800; color: var(--accent); margin-bottom: 1rem; }
.product-price-big del { font-size: 1rem; color: var(--gray); margin-left: 0.5rem; }
.size-chip, .color-chip {
  padding: 0.35rem 0.85rem; border: 2px solid var(--border); border-radius: 20px;
  font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.size-chip:hover, .size-chip.selected { border-color: var(--accent); color: var(--accent); }
.color-chip:hover, .color-chip.selected { border-color: var(--accent); background: var(--accent); color: var(--white); }

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 992px) {
  .shop-layout { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.5rem;
  }
  .nav-hamburger { display: block; grid-column: 1; }
  .navbar-brand { grid-column: 2; justify-self: center; font-size: 1.5rem; }
  .navbar-icons { display: flex; grid-column: 3; }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 280px;
    max-width: 82vw;
    background: var(--primary);
    padding: 4.5rem 1.5rem 2rem;
    gap: 0.15rem;
    transform: translateX(-110%);
    transition: transform 0.3s ease;
    z-index: 1100;
    overflow-y: auto;
    box-shadow: 4px 0 24px rgba(0,0,0,0.3);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.65rem 0; font-size: 1.05rem; }
  .nav-links .nav-cart-li { display: none; }
  .nav-links .btn { display: block; text-align: center; margin: 0.35rem 0 0 !important; }

  .nav-drawer-close {
    display: block;
    position: absolute; top: 0.9rem; right: 1.1rem;
    background: none; border: none; color: var(--white);
    font-size: 1.8rem; line-height: 1; cursor: pointer;
  }

  .nav-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
    z-index: 1090;
  }
  .nav-overlay.open { opacity: 1; pointer-events: auto; }

  .form-row { grid-template-columns: 1fr; }
  .admin-sidebar { transform: translateX(-100%); transition: transform 0.3s; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-content { margin-left: 0; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .stat-cards { grid-template-columns: 1fr; }
}

/* ─── Utility ────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-muted  { color: var(--gray); }
.text-accent { color: var(--accent); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.d-flex  { display: flex; }
.d-grid  { display: grid; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-100 { width: 100%; }
.hidden { display: none; }

/* ================================================================
   PRODUCT CARD — Enhanced
   ================================================================ */
.product-card-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.product-card:hover .product-card-overlay { opacity: 1; }
.overlay-text {
  color: #fff; font-weight: 700; font-size: 0.9rem;
  background: rgba(0,0,0,0.5); padding: 0.4rem 1rem; border-radius: 20px;
  display: flex; align-items: center; gap: 0.4rem;
}
.product-card-rating {
  display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.5rem;
}
.product-card-rating .stars { color: #f39c12; font-size: 0.82rem; }
.rating-count { font-size: 0.78rem; color: var(--gray); }
.price-save { font-size: 0.82rem; font-weight: 700; color: var(--success); }
.card-sizes {
  display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.5rem;
}
.card-size-dot {
  font-size: 0.72rem; padding: 0.15rem 0.45rem;
  border: 1px solid var(--border); border-radius: 3px; color: var(--gray);
  cursor: pointer; user-select: none; transition: all 0.15s;
}
.card-size-dot:hover { border-color: var(--accent); color: var(--accent); }
.card-size-dot.selected { background: var(--accent); border-color: var(--accent); color: var(--white); font-weight: 700; }

@keyframes cardSizeShake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(3px); }
  30%, 50%, 70% { transform: translateX(-5px); }
  40%, 60% { transform: translateX(5px); }
}
.card-sizes.size-shake,
.size-options.size-shake { animation: cardSizeShake 0.5s; }
.pc-info-row.size-shake .pc-info-label { color: var(--accent); }

/* ================================================================
   PRODUCT DETAIL PAGE
   ================================================================ */

/* Slim breadcrumb bar */
.breadcrumb-bar {
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
}
.breadcrumb-bar .breadcrumb { flex-wrap: wrap; opacity: 1; }
.breadcrumb-bar .breadcrumb a { color: var(--gray); font-size: 0.82rem; }
.breadcrumb-bar .breadcrumb a:hover { color: var(--accent); }
.breadcrumb-bar .breadcrumb span { color: #bbb; font-size: 0.82rem; }

.pd-section { padding: 2rem 0 4rem; }

/* 3-column layout: images | info | sidebar */
.pd-layout {
  display: grid;
  grid-template-columns: 380px 1fr 280px;
  gap: 2rem;
  align-items: start;
}

/* ── Images column ── */
.pd-images { display: flex; flex-direction: column; gap: 0.75rem; position: sticky; top: 80px; }

.pd-thumbs {
  display: flex; flex-direction: row; flex-wrap: wrap; gap: 0.5rem;
}
.pd-thumb {
  width: 64px; height: 64px; border: 2px solid var(--border);
  border-radius: 6px; overflow: hidden; cursor: pointer; transition: border-color 0.2s;
}
.pd-thumb:hover, .pd-thumb.active { border-color: var(--accent); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pd-main-img-wrap {
  position: relative; border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden; background: #fafafa;
}
.pd-main-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; transition: transform 0.4s; }
.pd-main-img-wrap:hover .pd-main-img { transform: scale(1.04); }

.pd-disc-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--danger); color: #fff;
  font-size: 0.78rem; font-weight: 800;
  padding: 0.25rem 0.6rem; border-radius: 4px;
}

.pd-actions-row {
  display: flex; gap: 0.75rem;
}
.pd-action-btn {
  flex: 1; padding: 0.55rem; border: 1.5px solid var(--border);
  border-radius: var(--radius); background: #fff; cursor: pointer;
  font-size: 0.85rem; font-weight: 600; color: var(--primary);
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  transition: all 0.2s;
}
.pd-action-btn:hover { border-color: var(--accent); color: var(--accent); }
.pd-action-btn.wishlisted { color: var(--danger); border-color: var(--danger); }
.pd-action-btn.wishlisted .fa { content: '\f004'; }

/* ── Info column ── */
.pd-category-tag {
  font-size: 0.78rem; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.3rem;
}
.pd-title { font-size: 1.55rem; font-weight: 800; line-height: 1.3; margin-bottom: 0.3rem; }
.pd-sku { font-size: 0.78rem; color: var(--gray); margin-bottom: 0.75rem; }

.pd-rating-bar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem;
  margin-bottom: 1rem; font-size: 0.85rem;
}
.pd-rating-pill {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: var(--success); color: #fff;
  padding: 0.2rem 0.55rem; border-radius: 4px; font-size: 0.82rem; font-weight: 700;
}
.pd-rating-pill.sm { font-size: 0.75rem; padding: 0.15rem 0.45rem; }
.pd-score { font-weight: 800; }
.pd-rating-count { color: var(--gray); }
.pd-rating-sep { color: var(--border); }
.pd-sold-count { color: var(--gray); }
.pd-sold-count .fa { color: var(--success); }

.pd-price-block { margin-bottom: 1rem; }
.pd-price-main { font-size: 2rem; font-weight: 900; color: var(--primary); }
.pd-price-mrp { font-size: 0.95rem; color: var(--gray); margin-left: 0.6rem; }
.pd-price-off { font-size: 1rem; font-weight: 700; color: var(--success); margin-left: 0.4rem; }
.pd-price-note { font-size: 0.8rem; color: var(--gray); margin-top: 0.25rem; }
.pd-price-note .fa { color: var(--accent); margin-right: 0.2rem; }

.pd-stock-status {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.9rem; font-weight: 600; padding: 0.3rem 0.75rem;
  border-radius: 20px; margin-bottom: 1rem;
}
.pd-stock-status.in-stock  { background: #d4edda; color: #155724; }
.pd-stock-status.out-stock { background: #f8d7da; color: #721c24; }
.pd-low-stock { font-weight: 400; font-size: 0.82rem; }

.pd-divider { border: none; border-top: 1px solid var(--border); margin: 1rem 0; }

.pd-option-group { margin-bottom: 1.25rem; }
.pd-option-label {
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; font-size: 0.9rem; margin-bottom: 0.6rem;
}
.pd-size-guide-link {
  font-size: 0.82rem; font-weight: 600; color: var(--accent);
  display: flex; align-items: center; gap: 0.3rem;
}

.pd-qty-row { display: flex; align-items: center; gap: 0; }
.pd-qty-btn {
  width: 38px; height: 38px; border: 1.5px solid var(--border);
  background: var(--light); font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; font-weight: 700;
}
.pd-qty-btn:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.pd-qty-btn:last-child  { border-radius: 0 var(--radius) var(--radius) 0; }
.pd-qty-btn:hover { background: var(--border); }
.pd-qty-input {
  width: 55px; height: 38px; text-align: center;
  border: 1.5px solid var(--border); border-left: none; border-right: none;
  font-size: 1rem; font-weight: 700; background: #fff;
}
.pd-qty-input:focus { outline: none; }

.pd-cta-row { display: flex; gap: 0.75rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.pd-cta-btn { flex: 1; min-width: 140px; padding: 0.85rem 1rem; font-size: 1rem; }

.pd-out-of-stock-box {
  display: flex; align-items: flex-start; gap: 1rem;
  background: #fff3cd; border-radius: var(--radius); padding: 1rem;
  border-left: 4px solid var(--warning); margin-bottom: 1.25rem;
}
.pd-out-of-stock-box .fa { font-size: 1.5rem; color: var(--warning); margin-top: 0.1rem; }
.pd-out-of-stock-box p { font-size: 0.85rem; color: var(--gray); margin-top: 0.2rem; }

.pd-offers-block {
  display: flex; flex-direction: column; gap: 0.6rem;
  margin-bottom: 1.1rem;
}
.pd-offer-row {
  display: flex; align-items: flex-start; gap: 0.75rem;
  background: #eafaf1; border: 1px dashed #7fd4a8; border-radius: var(--radius);
  padding: 0.65rem 0.85rem; font-size: 0.85rem;
}
.pd-offer-row .fa { color: #157347; font-size: 1.05rem; margin-top: 0.15rem; }
.pd-offer-row strong { display: block; color: #157347; margin-bottom: 0.1rem; }
.pd-offer-row span { color: #3c6e57; }

.pd-delivery-block { display: flex; flex-direction: column; gap: 0.85rem; }
.pd-delivery-row {
  display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.87rem;
}
.pd-delivery-row .fa {
  font-size: 1.1rem; color: var(--primary); margin-top: 0.1rem; min-width: 20px;
}
.pd-delivery-row strong { display: block; font-size: 0.9rem; margin-bottom: 0.1rem; }
.pd-delivery-row span { color: var(--gray); }

/* ── Sidebar column ── */
.pd-offer-card, .pd-seller-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1rem;
}
.pd-offer-title {
  font-size: 0.92rem; font-weight: 700; margin-bottom: 0.85rem;
  display: flex; align-items: center; gap: 0.4rem;
}
.pd-offer-title .fa { color: var(--accent); }
.pd-offer-list { display: flex; flex-direction: column; gap: 0.65rem; }
.pd-offer-list li { font-size: 0.82rem; color: #444; display: flex; gap: 0.5rem; align-items: flex-start; }
.offer-tag {
  background: var(--primary); color: #fff; font-size: 0.68rem;
  font-weight: 700; padding: 0.1rem 0.4rem; border-radius: 3px;
  white-space: nowrap; flex-shrink: 0; margin-top: 0.1rem;
}
.pd-seller-name { font-weight: 700; font-size: 1rem; margin-bottom: 0.4rem; }
.pd-seller-rating { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--gray); }

/* ================================================================
   TABS (Description / Highlights / Reviews)
   ================================================================ */
.pd-tabs-section {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.pd-tabs {
  display: flex; border-bottom: 1.5px solid var(--border);
  background: var(--light); overflow-x: auto;
}
.pd-tab {
  padding: 0.85rem 1.5rem; font-size: 0.9rem; font-weight: 600;
  background: none; border: none; cursor: pointer; color: var(--gray);
  border-bottom: 3px solid transparent; transition: all 0.2s; white-space: nowrap;
}
.pd-tab:hover { color: var(--primary); }
.pd-tab.active { color: var(--accent); border-bottom-color: var(--accent); background: #fff; }

.pd-tab-panel { display: none; padding: 2rem; }
.pd-tab-panel.active { display: block; }

.pd-panel-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 1rem; }
.pd-desc-text { line-height: 1.8; color: #444; font-size: 0.95rem; }

.pd-description-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
.pd-spec-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.pd-spec-table th, .pd-spec-table td {
  padding: 0.6rem 0.75rem; border: 1px solid var(--border); text-align: left;
}
.pd-spec-table th { background: var(--light); font-weight: 600; width: 40%; }
.pd-spec-table thead th { background: var(--primary); color: #fff; }

.pd-highlights-list { display: flex; flex-direction: column; gap: 0.75rem; }
.pd-highlights-list li {
  display: flex; align-items: flex-start; gap: 0.7rem;
  font-size: 0.95rem; color: #333;
}
.pd-highlights-list .fa { color: var(--success); margin-top: 0.15rem; flex-shrink: 0; }

/* Reviews */
.pd-reviews-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }
.pd-rating-summary { text-align: center; }
.pd-big-score { font-size: 3.5rem; font-weight: 900; color: var(--primary); line-height: 1; }
.pd-big-stars { color: #f39c12; font-size: 1.2rem; margin: 0.4rem 0; }
.pd-total-reviews { font-size: 0.85rem; color: var(--gray); margin-bottom: 1rem; }
.pd-bar-rows { display: flex; flex-direction: column; gap: 0.4rem; }
.pd-bar-row { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--gray); }
.pd-bar-row span:first-child { width: 28px; text-align: right; flex-shrink: 0; }
.pd-bar-row span:last-child  { width: 30px; text-align: left; flex-shrink: 0; }
.pd-bar { flex: 1; height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.pd-bar-fill { height: 100%; background: #f39c12; border-radius: 4px; }

.pd-review-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.pd-review-card {
  background: var(--light); border-radius: var(--radius); padding: 1.25rem;
  border: 1px solid var(--border);
}
.pd-rev-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.pd-rev-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; flex-shrink: 0;
}
.pd-rev-date { font-size: 0.78rem; color: var(--gray); }
.pd-rev-stars { color: #f39c12; font-size: 0.82rem; }
.pd-rev-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.3rem; }
.pd-rev-body { font-size: 0.87rem; color: #555; line-height: 1.6; }
.ml-auto { margin-left: auto; }

/* Related section */
.pd-related-section { border-top: 1.5px solid var(--border); padding-top: 2.5rem; }

/* ================================================================
   SIZE GUIDE MODAL
   ================================================================ */
.pd-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.55); align-items: center; justify-content: center;
  padding: 1rem;
}
.pd-modal {
  background: #fff; border-radius: var(--radius);
  width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.pd-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border);
}
.pd-modal-header h3 { font-size: 1.1rem; font-weight: 800; }
.pd-modal-close {
  background: none; border: none; font-size: 1.5rem; cursor: pointer;
  color: var(--gray); line-height: 1;
}
.pd-modal-close:hover { color: var(--danger); }
.pd-modal-body { padding: 1.5rem; }

/* ================================================================
   RESPONSIVE — Product Detail
   ================================================================ */
@media (max-width: 1100px) {
  .pd-layout { grid-template-columns: 340px 1fr; }
  .pd-sidebar { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .pd-offer-card, .pd-seller-card { margin-bottom: 0; }
}
@media (max-width: 768px) {
  .pd-layout { grid-template-columns: 1fr; }
  .pd-images { position: static; }
  .pd-sidebar { display: grid; grid-template-columns: 1fr; gap: 0; }
  .pd-description-grid { grid-template-columns: 1fr; }
  .pd-reviews-layout { grid-template-columns: 1fr; }
  .pd-cta-row { flex-direction: column; }
  .pd-cta-btn { width: 100%; }
}
@media (max-width: 480px) {
  .pd-title { font-size: 1.25rem; }
  .pd-price-main { font-size: 1.6rem; }
  .pd-tab { padding: 0.7rem 1rem; font-size: 0.82rem; }
}

/* ================================================================
   HOME PAGE — Full Redesign
   ================================================================ */

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #16213e 55%, #0f3460 100%);
  color: var(--white);
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}
.hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(233,69,96,0.15) 0%, transparent 70%);
  top: -100px; right: 100px;
  pointer-events: none;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(233,69,96,0.2);
  color: var(--accent);
  border: 1px solid rgba(233,69,96,0.4);
  padding: 0.25rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero-title span { color: var(--accent); }
.hero-sub {
  font-size: 1.05rem;
  opacity: 0.82;
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.4rem; font-weight: 900; color: var(--white); }
.hero-stat span { font-size: 0.78rem; opacity: 0.65; }
.hero-stat-sep { width: 1px; height: 36px; background: rgba(255,255,255,0.2); }

.hero-visual { display: flex; justify-content: center; align-items: flex-end; }
.hero-img-wrap {
  position: relative;
  width: 380px; max-width: 100%;
}
.hero-img-wrap img {
  width: 100%;
  border-radius: 16px 16px 0 0;
  display: block;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  aspect-ratio: 3/4;
  object-fit: cover;
}
.hero-badge-float {
  position: absolute;
  top: 20px; right: -16px;
  background: var(--accent);
  color: #fff;
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 800; text-align: center;
  line-height: 1.2;
  box-shadow: 0 4px 16px rgba(233,69,96,0.5);
}
.hero-badge-float .fa { font-size: 1rem; margin-bottom: 2px; }

.hero-wave {
  width: 100%;
  line-height: 0;
  margin-top: auto;
}
.hero-wave svg { width: 100%; height: 60px; display: block; }

/* ── Trust Strip ── */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
}
.trust-item .fa {
  font-size: 1.6rem;
  color: var(--accent);
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}
.trust-item strong { display: block; font-size: 0.9rem; font-weight: 700; }
.trust-item span   { font-size: 0.78rem; color: var(--gray); }

/* ── Generic Home Section ── */
.home-section { padding: 3.5rem 0; }
.bg-light-section { background: var(--light); }

.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ── Category Cards ── */
.category-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.cat-card {
  border-radius: 12px;
  padding: 1.75rem 1.25rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(0,0,0,0.22); color: #fff; }
.cat-card-soon { opacity: 0.6; cursor: default; }
.cat-card-soon:hover { transform: none; box-shadow: none; }
.cat-card .fa   { font-size: 1.8rem; margin-bottom: 0.4rem; }
.cat-card span  { font-size: 1.1rem; font-weight: 800; }
.cat-card small { font-size: 0.8rem; opacity: 0.78; }

/* ── Horizontal Product Card ── */
.home-scroll-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.product-card-h {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.product-card-h:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.12); }
.product-card-h-img {
  width: 160px;
  min-width: 160px;
  position: relative;
  overflow: hidden;
}
.product-card-h-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}
.product-card-h:hover .product-card-h-img img { transform: scale(1.06); }
.product-card-h-body {
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}
.product-card-h-name {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}
.product-card-h-name a:hover { color: var(--accent); }
.product-card-h-desc {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 0.25rem;
}

/* ── Why Zeig ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.zeig-way-grid { grid-template-columns: repeat(3, 1fr); }
.zeig-way-grid .why-card { text-align: left; }
.zeig-way-grid .why-icon { margin: 0 0 1rem; }
.section-sub-wide { max-width: 700px; margin: 0 auto 2.5rem; line-height: 1.7; }
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.25s;
}
.why-card:hover { transform: translateY(-4px); }
.why-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1rem;
}
.why-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 0.5rem; }
.why-card p  { font-size: 0.85rem; color: var(--gray); line-height: 1.6; }

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--accent);
}
.test-stars { color: #f39c12; font-size: 0.9rem; margin-bottom: 0.85rem; }
.test-text {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.25rem;
}
.test-author { display: flex; align-items: center; gap: 0.75rem; }
.test-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  color: #fff; font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.test-author strong { display: block; font-size: 0.92rem; }
.test-author span   { font-size: 0.78rem; color: var(--gray); }

/* ── CTA Banner ── */
.home-cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #0f3460 100%);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.home-cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 0.75rem; }
.cta-content h2 span { color: var(--accent); }
.cta-content p  { font-size: 1.05rem; opacity: 0.78; margin-bottom: 2rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: #fff; }

/* ── Home empty state ── */
.home-empty {
  text-align: center;
  padding: 3rem;
  color: var(--gray);
}
.home-empty .fa { font-size: 3rem; margin-bottom: 0.75rem; }

/* ── Deals section highlight ── */
.deals-section { background: #fff9f0; }

/* ================================================================
   HOME PAGE RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .category-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .home-scroll-row { grid-template-columns: 1fr; }
  .product-card-h { flex-direction: column; }
  .product-card-h-img { width: 100%; min-width: unset; height: 200px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; }
  .category-cards { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
}

/* ================================================================
   SHOP PAGE — Full Redesign
   ================================================================ */

/* ── Shop Header ── */
.shop-header {
  background: var(--primary);
  color: var(--white);
  padding: 2rem 0;
  border-bottom: 3px solid var(--accent);
}
.shop-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.shop-header-title { font-size: 1.8rem; font-weight: 900; margin-bottom: 0.3rem; }
.shop-header .breadcrumb { opacity: 0.7; }
.shop-header .breadcrumb a { color: rgba(255,255,255,0.8); }
.shop-header .breadcrumb a:hover { color: var(--accent); }

/* ================================================================
   BUY ONE GET ONE FREE PAGE
   ================================================================ */
.b1g1-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #16213e 60%, var(--dark) 100%);
  color: var(--white);
  padding: 3rem 0 2.5rem;
  text-align: center;
}
.b1g1-hero .breadcrumb { justify-content: center; opacity: 0.7; margin-top: 0.6rem; }
.b1g1-hero .breadcrumb a { color: rgba(255,255,255,0.8); }
.b1g1-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(233,69,96,0.15); border: 1px solid var(--accent);
  color: var(--accent); font-size: 0.78rem; font-weight: 700;
  padding: 0.35rem 0.9rem; border-radius: 999px; margin-bottom: 1rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.b1g1-hero-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; line-height: 1.15; }
.b1g1-hero-sub {
  max-width: 560px; margin: 0.9rem auto 0;
  color: rgba(255,255,255,0.75); font-size: 1rem; line-height: 1.7;
}
.b1g1-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin: -2.5rem 0 2.5rem;
}
.b1g1-step {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.5rem; text-align: center; position: relative;
}
.b1g1-step-num {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--white);
  font-size: 0.85rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.b1g1-step .fa { font-size: 1.6rem; color: var(--accent); margin: 0.5rem 0 0.6rem; }
.b1g1-step h4 { font-size: 1rem; font-weight: 800; margin-bottom: 0.35rem; }
.b1g1-step p { font-size: 0.85rem; color: var(--gray); line-height: 1.6; }

@media (max-width: 768px) {
  .b1g1-steps { grid-template-columns: 1fr; margin-top: -2rem; }
}

/* Active filter chips */
.active-filter-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-size: 0.78rem; font-weight: 600;
  transition: background 0.2s;
}
.filter-chip:hover { background: rgba(233,69,96,0.4); color: #fff; }
.filter-chip .fa { font-size: 0.7rem; }

/* ── Page Wrap ── */
.shop-page-wrap { padding: 2rem 0 4rem; }

/* ── Layout ── */
.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

/* ════════════════════════════════
   SIDEBAR
   ════════════════════════════════ */
.shop-sidebar {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: sticky;
  top: 80px;
}
.sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.25rem;
  background: var(--primary);
  color: #fff;
}
.sidebar-header h3 { font-size: 1rem; font-weight: 700; margin: 0; display: flex; gap: 0.5rem; align-items: center; }
.sidebar-reset { font-size: 0.78rem; color: rgba(255,255,255,0.75); display: flex; align-items: center; gap: 0.3rem; }
.sidebar-reset:hover { color: var(--accent); }

/* Filter Groups */
.filter-group { border-bottom: 1px solid var(--border); }
.filter-group:last-child { border-bottom: none; }

.filter-group-title {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 1.25rem;
  font-weight: 700; font-size: 0.88rem;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
}
.filter-group-title:hover { background: var(--light); }
.filter-group-title span { display: flex; align-items: center; gap: 0.45rem; }
.filter-group-title .fa { color: var(--accent); }
.toggle-icon { font-size: 0.75rem; color: var(--gray); transition: transform 0.25s; }
.toggle-icon.rotated { transform: rotate(-180deg); }

.filter-group-body { padding: 0.5rem 1.25rem 1rem; }
.filter-group-body.collapsed { display: none; }

/* Search within sidebar */
.filter-search-wrap { position: relative; }
.filter-search-wrap .form-control { padding-right: 2.5rem; }
.filter-search-btn {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 38px; background: var(--accent); color: #fff;
  border: none; cursor: pointer; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.85rem;
}

/* Radio rows (category) */
.filter-radio-row {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.45rem 0.5rem; border-radius: 6px;
  cursor: pointer; font-size: 0.88rem; transition: background 0.15s;
  margin-bottom: 0.1rem;
}
.filter-radio-row:hover { background: var(--light); }
.filter-radio-row.active { background: #fff0f3; color: var(--accent); font-weight: 700; }
.filter-radio-row input { accent-color: var(--accent); flex-shrink: 0; }
.filter-radio-label { flex: 1; }
.filter-count {
  background: var(--light); color: var(--gray);
  font-size: 0.72rem; padding: 0.1rem 0.45rem;
  border-radius: 10px; font-weight: 600;
}

/* Size chips */
.filter-size-grid { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.6rem; }
.filter-size-chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; padding: 0.35rem 0.6rem;
  border: 2px solid var(--border); border-radius: 6px;
  font-size: 0.82rem; font-weight: 700; cursor: pointer; transition: all 0.2s;
  background: var(--white);
}
.filter-size-chip input { display: none; }
.filter-size-chip:hover { border-color: var(--accent); color: var(--accent); }
.filter-size-chip.active {
  border-color: var(--accent); background: var(--accent); color: #fff;
}

/* Color swatches */
.filter-color-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; margin-bottom: 0.6rem; }
.filter-color-swatch { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; cursor: pointer; }
.filter-color-swatch input { display: none; }
.swatch-circle {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid transparent;
  transition: transform 0.2s, border-color 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.filter-color-swatch:hover .swatch-circle { transform: scale(1.15); }
.filter-color-swatch.active .swatch-circle { border-color: var(--accent); transform: scale(1.15); }
.swatch-name { font-size: 0.65rem; color: var(--gray); text-align: center; }

/* Price range */
.price-range-display {
  text-align: center; font-weight: 700; font-size: 0.95rem;
  color: var(--accent); margin-bottom: 0.75rem;
}
.price-slider-wrap { position: relative; height: 30px; margin-bottom: 0.5rem; }
.price-slider {
  position: absolute; width: 100%;
  -webkit-appearance: none; height: 4px;
  background: var(--border); border-radius: 2px; outline: none;
  pointer-events: none;
  top: 50%; transform: translateY(-50%);
}
.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px;
  background: var(--accent); border-radius: 50%;
  cursor: pointer; pointer-events: all;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.price-slider::-moz-range-thumb {
  width: 18px; height: 18px; background: var(--accent);
  border-radius: 50%; cursor: pointer; pointer-events: all; border: none;
}
.price-inputs-row { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.price-input-box { flex: 1; }
.price-input-box label { font-size: 0.72rem; color: var(--gray); font-weight: 600; display: block; margin-bottom: 0.2rem; }
.price-input-box .form-control { padding: 0.4rem 0.6rem; font-size: 0.85rem; }
.price-dash { color: var(--gray); font-weight: 700; flex-shrink: 0; }

/* Toggle switches */
.filter-toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; font-size: 0.88rem; font-weight: 600; padding: 0.3rem 0;
}
.filter-toggle-input { display: none; }
.filter-toggle-track {
  width: 40px; height: 22px; background: var(--border);
  border-radius: 11px; position: relative; transition: background 0.25s;
  flex-shrink: 0;
}
.filter-toggle-track::after {
  content: '';
  position: absolute; width: 16px; height: 16px;
  background: #fff; border-radius: 50%;
  top: 3px; left: 3px;
  transition: left 0.25s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.filter-toggle-input:checked + .filter-toggle-track { background: var(--accent); }
.filter-toggle-input:checked + .filter-toggle-track::after { left: 21px; }

/* Clear filter button */
.clear-filter-btn {
  background: none; border: 1px dashed var(--border);
  color: var(--gray); font-size: 0.78rem; cursor: pointer;
  padding: 0.25rem 0.6rem; border-radius: 4px;
  display: inline-flex; align-items: center; gap: 0.3rem;
  margin-top: 0.4rem; transition: all 0.2s;
}
.clear-filter-btn:hover { border-color: var(--danger); color: var(--danger); }

/* ════════════════════════════════
   MAIN PRODUCT AREA
   ════════════════════════════════ */
.shop-main { min-width: 0; }

/* Toolbar */
.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem;
  background: var(--white); padding: 0.85rem 1.25rem;
  border-radius: var(--radius); box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}
.shop-result-count { font-size: 0.9rem; color: var(--gray); }
.shop-result-count strong { color: var(--primary); }
.shop-toolbar-right { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }

/* Sort select */
.shop-sort-wrap { display: flex; align-items: center; gap: 0.4rem; }
.sort-label { font-size: 0.85rem; font-weight: 600; color: var(--gray); white-space: nowrap; }
.sort-select { padding: 0.4rem 0.7rem; font-size: 0.85rem; width: auto; }

/* View toggle */
.view-toggle { display: flex; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.view-btn {
  padding: 0.4rem 0.65rem; background: none; border: none;
  cursor: pointer; color: var(--gray); font-size: 0.9rem;
  transition: all 0.2s;
}
.view-btn:hover { background: var(--light); color: var(--primary); }
.view-btn.active { background: var(--primary); color: #fff; }

/* Mobile filter toggle button */
.shop-filter-toggle { display: none; position: relative; }
.filter-badge {
  position: absolute; top: -6px; right: -6px;
  background: var(--accent); color: #fff;
  font-size: 0.65rem; font-weight: 800;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* Empty state */
.shop-empty {
  text-align: center; padding: 5rem 2rem;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.shop-empty-icon {
  width: 80px; height: 80px; background: var(--light);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.shop-empty-icon .fa { font-size: 2rem; color: var(--gray); }
.shop-empty h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.5rem; }
.shop-empty p  { color: var(--gray); font-size: 0.95rem; }

/* Products list view */
.products-list {
  display: flex !important;
  flex-direction: column;
  gap: 1rem;
}
.products-list .product-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
.products-list .product-card-img {
  width: 200px; min-width: 200px; height: auto;
  flex-shrink: 0;
}
.products-list .product-card-body {
  display: flex; flex-direction: column; justify-content: center;
  flex: 1;
}
.products-list .badge-sale,
.products-list .badge-out { top: 8px; }

/* Pagination */
.shop-pagination { margin-top: 2.5rem; }

/* Sidebar overlay (mobile) */
.sidebar-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 998;
}
.sidebar-overlay.active { display: block; }
.no-scroll { overflow: hidden; }

/* ── Responsive ── */
@media (max-width: 992px) {
  .shop-layout { grid-template-columns: 1fr; }

  .shop-sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 300px; z-index: 999;
    transform: translateX(-110%);
    transition: transform 0.3s ease;
    border-radius: 0;
    overflow-y: auto;
  }
  .shop-sidebar.open { transform: translateX(0); }
  .shop-filter-toggle { display: inline-flex; }
}

@media (max-width: 480px) {
  .shop-header-inner { flex-direction: column; align-items: flex-start; }
  .shop-toolbar { flex-direction: column; align-items: flex-start; }
  .shop-toolbar-right { width: 100%; justify-content: space-between; }
  .sort-select { font-size: 0.78rem; }
  .filter-color-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ================================================================
   PRODUCT CARD — Detailed Version
   ================================================================ */

/* Meta row: category + SKU */
.pc-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.product-card-category {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.product-card-category .fa { font-size: 0.65rem; }
.pc-sku {
  font-size: 0.68rem;
  color: var(--gray);
  background: var(--light);
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  font-family: monospace;
}

/* Product name */
.product-card-name {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.4rem;
}
.product-card-name a { color: var(--primary); }
.product-card-name a:hover { color: var(--accent); }

/* Rating with pill */
.product-card-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.pc-score-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background: var(--success);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
.pc-score-pill .fa { font-size: 0.65rem; }
.rating-count { font-size: 0.75rem; color: var(--gray); }

/* Description */
.pc-desc {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.55;
  margin-bottom: 0.5rem;
}

/* Offer badge (ribbon over image) + inline strip */
.badge-offer {
  position: absolute; bottom: 10px; left: 10px;
  background: var(--success); color: var(--white);
  padding: 0.25rem 0.65rem; border-radius: 4px;
  font-size: 0.72rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: 0.3rem;
  max-width: calc(100% - 20px);
}
.badge-offer .fa { font-size: 0.68rem; }
.pc-offer-strip {
  display: flex; align-items: center; gap: 0.35rem;
  background: #eafaf1; color: #157347;
  border: 1px dashed #7fd4a8;
  border-radius: 6px;
  padding: 0.3rem 0.55rem;
  font-size: 0.74rem; font-weight: 700;
  margin-bottom: 0.6rem;
}
.pc-offer-strip .fa { font-size: 0.7rem; }

/* Info rows: sizes + colors */
.pc-info-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}
.pc-info-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}
.pc-info-label .fa { color: var(--accent); font-size: 0.65rem; }

/* Size dots */
.card-sizes { display: flex; flex-wrap: wrap; gap: 0.25rem; }
.card-size-dot {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  color: var(--gray);
  background: var(--white);
}

/* Color dots */
.pc-color-dots { display: flex; align-items: center; gap: 0.3rem; flex-wrap: wrap; }
.pc-color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  cursor: default;
  transition: transform 0.15s;
}
.pc-color-dot:hover { transform: scale(1.25); }
.pc-color-more {
  font-size: 0.68rem;
  color: var(--gray);
  font-weight: 700;
  background: var(--light);
  padding: 0.1rem 0.35rem;
  border-radius: 10px;
}

/* Tags row */
.pc-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
  margin-top: 0.4rem;
}
.pc-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
}
.pc-tag .fa { font-size: 0.6rem; }
.pc-tag-green  { background: #d4edda; color: #155724; }
.pc-tag-red    { background: #f8d7da; color: #721c24; }
.pc-tag-blue   { background: #d1ecf1; color: #0c5460; }
.pc-tag-accent { background: #fff0f3; color: var(--accent); }

/* CTA buttons row */
.pc-cta-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.pc-cart-form { flex: 1; }
.pc-cart-btn  { width: 100%; }
.pc-view-btn  { flex-shrink: 0; }

/* Horizontal card attrs row */
.pc-attrs-row {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.pc-attr { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.pc-attr-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray);
  white-space: nowrap;
}

/* Horizontal card bottom row */
.pc-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.pc-bottom-row .pc-tags-row { margin-bottom: 0; }
.pc-bottom-row .pc-cta-row  { flex-shrink: 0; }

/* Horizontal card name */
.product-card-h-name {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.3rem;
}
.product-card-h-name a { color: var(--primary); }
.product-card-h-name a:hover { color: var(--accent); }

/* Ensure card body has space */
.product-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Product price row */
.product-price {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.price-current  { font-size: 1.15rem; font-weight: 900; color: var(--accent); }
.price-original { font-size: 0.85rem; color: var(--gray); text-decoration: line-through; }
.price-save     { font-size: 0.75rem; font-weight: 700; color: var(--success); }

/* List view overrides */
.products-list .product-card-body { padding: 0.85rem 1rem; }
.products-list .pc-desc { display: block; }
.products-list .pc-tags-row { margin-top: 0.25rem; }
