/* ============================================================
   NEGOZIO – Design System
   ============================================================ */

/* ----------------------------------------------------------
   1. CSS Variables
   ---------------------------------------------------------- */
:root {
  --color-primary:  #1a1a2e;
  --color-accent:   #e94560;
  --color-text:     #333;
  --color-bg:       #fff;
  --color-border:   #ddd;
  --color-success:  #28a745;
  --color-warning:  #fd7e14;
  --color-danger:   #dc3545;
  --color-muted:    #6c757d;
  --color-light:    #f8f9fa;

  --radius:         4px;
  --shadow:         0 2px 8px rgba(0, 0, 0, .12);
  --shadow-hover:   0 6px 20px rgba(0, 0, 0, .18);
  --transition:     .2s ease;

  --font-base:      system-ui, -apple-system, BlinkMacSystemFont,
                    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --sidebar-width:  240px;
}

/* ----------------------------------------------------------
   2. Reset
   ---------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul,
ol {
  list-style: none;
}

/* ----------------------------------------------------------
   3. Navigation
   ---------------------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.nav-logo:hover {
  text-decoration: none;
  opacity: .9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: rgba(255, 255, 255, .85);
  font-size: .95rem;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  text-decoration: none;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  flex-direction: column;
  background: var(--color-primary);
  padding: .75rem 1.5rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.nav-drawer a {
  color: rgba(255, 255, 255, .85);
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-size: .95rem;
}

.nav-drawer a:last-child {
  border-bottom: none;
}

.nav-drawer.is-open {
  display: flex;
}

/* ----------------------------------------------------------
   4. Hero Section
   ---------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--color-primary);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
}

.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 2rem 1.5rem;
  max-width: 680px;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.75rem;
  opacity: .9;
}

/* ----------------------------------------------------------
   5. Buttons
   ---------------------------------------------------------- */
.btn-primary,
.btn-secondary,
button[type="submit"]:not(.nav-hamburger) {
  display: inline-block;
  padding: .6rem 1.4rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-base);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), opacity var(--transition);
  border: 2px solid transparent;
  line-height: 1.4;
  text-align: center;
}

.btn-primary {
  background: #000;
  color: #fff;
  border-color: #000;
}

.btn-primary:hover {
  background: #333;
  border-color: #333;
  color: #fff;
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: #000;
  border-color: #000;
}

.btn-secondary:hover {
  background: #000;
  color: #fff;
  text-decoration: none;
}

.btn-primary:disabled,
.btn-secondary:disabled {
  opacity: .55;
  cursor: not-allowed;
}

/* ----------------------------------------------------------
   6. Layout Helpers
   ---------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 3rem 0;
}

/* ----------------------------------------------------------
   7. Shop – Sidebar + Product Grid
   ---------------------------------------------------------- */
.shop-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

/* Sidebar Filters */
.sidebar-filters {
  width: var(--sidebar-width);
  flex-shrink: 0;
  position: sticky;
  top: 76px; /* below sticky nav */
}

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-group legend,
.filter-group .filter-label {
  font-weight: 700;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--color-primary);
  margin-bottom: .5rem;
  display: block;
}

.filter-group label {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .92rem;
  cursor: pointer;
  padding: .2rem 0;
}

.filter-group input[type="checkbox"],
.filter-group input[type="radio"] {
  accent-color: var(--color-accent);
  width: 15px;
  height: 15px;
}

/* Product Grid */
.product-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Product Card */
.product-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.product-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--color-light);
}

.product-card__body {
  padding: .9rem 1rem;
}

.product-card__name {
  font-size: .97rem;
  font-weight: 600;
  margin-bottom: .35rem;
  color: var(--color-text);
}

.product-card__price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-accent);
}

.product-card__price--old {
  font-size: .9rem;
  text-decoration: line-through;
  color: var(--color-muted);
  margin-right: .4rem;
}

.product-card__actions {
  padding: .75rem 1rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: .5rem;
}

/* ----------------------------------------------------------
   8. Forms
   ---------------------------------------------------------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-bottom: 1.1rem;
}

.form-group label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-control,
input[type="text"]:not([class]),
input[type="email"]:not([class]),
input[type="password"]:not([class]),
input[type="number"]:not([class]),
input[type="tel"]:not([class]),
input[type="search"]:not([class]),
select:not([class]),
textarea:not([class]) {
  width: 100%;
  padding: .55rem .8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-control:focus,
input[type="text"]:not([class]):focus,
input[type="email"]:not([class]):focus,
input[type="password"]:not([class]):focus,
input[type="number"]:not([class]):focus,
input[type="tel"]:not([class]):focus,
input[type="search"]:not([class]):focus,
select:not([class]):focus,
textarea:not([class]):focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(233, 69, 96, .18);
}

textarea.form-control,
textarea:not([class]) {
  resize: vertical;
  min-height: 100px;
}

.form-error {
  font-size: .83rem;
  color: var(--color-danger);
  margin-top: .2rem;
}

/* ----------------------------------------------------------
   9. Checkout Form – Two-column layout
   ---------------------------------------------------------- */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.checkout-section {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.checkout-section h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: .5rem;
}

/* ----------------------------------------------------------
   10. Tables (admin)
   ---------------------------------------------------------- */
.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .93rem;
}

thead tr {
  background: var(--color-primary);
  color: #fff;
}

thead th {
  padding: .7rem 1rem;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

tbody tr:nth-child(odd) {
  background: var(--color-bg);
}

tbody tr:nth-child(even) {
  background: var(--color-light);
}

tbody tr:hover {
  background: #f0f0f5;
}

tbody td {
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

/* ----------------------------------------------------------
   11. Badges
   ---------------------------------------------------------- */
.badge {
  display: inline-block;
  padding: .2em .55em;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1;
}

.badge--success {
  background: #d4edda;
  color: #155724;
}

.badge--warning {
  background: #fff3cd;
  color: #856404;
}

.badge--danger {
  background: #f8d7da;
  color: #721c24;
}

.badge--info {
  background: #d1ecf1;
  color: #0c5460;
}

/* ----------------------------------------------------------
   12. Cookie Banner – Premium Minimalist
   ---------------------------------------------------------- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #000;
  color: #fff;
  transform: translateY(100%);
  opacity: 0;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1),
              opacity .4s cubic-bezier(.4, 0, .2, 1);
}

#cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.cookie-text {
  flex: 1;
  min-width: 0;
}

.cookie-title {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 6px;
}

.cookie-desc {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, .7);
  max-width: 480px;
}

.cookie-desc a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, .3);
  transition: text-decoration-color .2s ease;
}

.cookie-desc a:hover {
  text-decoration-color: #fff;
}

.cookie-options {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}

.cookie-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.cookie-option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(255, 255, 255, .3);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: all .2s ease;
  flex-shrink: 0;
}

.cookie-option input[type="checkbox"]:checked {
  background: #fff;
  border-color: #fff;
}

.cookie-option input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid #000;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.cookie-option input[type="checkbox"]:disabled {
  opacity: .6;
  cursor: default;
}

.cookie-option-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #fff;
}

.cookie-option-desc {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: rgba(255, 255, 255, .4);
  letter-spacing: .05em;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .15em;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}

.cookie-btn--primary {
  background: #fff;
  color: #000;
}

.cookie-btn--primary:hover {
  background: rgba(255, 255, 255, .85);
}

.cookie-btn--secondary {
  background: transparent;
  color: rgba(255, 255, 255, .6);
  border: 1px solid rgba(255, 255, 255, .2);
}

.cookie-btn--secondary:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}

/* ----------------------------------------------------------
   13. Alerts / Flash Messages
   ---------------------------------------------------------- */
.alert {
  padding: .85rem 1.1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: .95rem;
  border: 1px solid transparent;
}

.alert--success {
  background: #d4edda;
  color: #155724;
  border-color: #c3e6cb;
}

.alert--error,
.alert--danger {
  background: #f8d7da;
  color: #721c24;
  border-color: #f5c6cb;
}

.alert--warning {
  background: #fff3cd;
  color: #856404;
  border-color: #ffeeba;
}

/* ----------------------------------------------------------
   14. Pagination
   ---------------------------------------------------------- */
.pagination {
  display: flex;
  gap: .4rem;
  justify-content: center;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 .6rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--color-text);
  transition: background var(--transition), color var(--transition);
}

.pagination a:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  text-decoration: none;
}

.pagination .active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ----------------------------------------------------------
   15. Utility
   ---------------------------------------------------------- */
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-muted   { color: var(--color-muted); }
.text-accent  { color: var(--color-accent); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.d-flex  { display: flex; }
.gap-1   { gap: .5rem; }
.gap-2   { gap: 1rem; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-100 { width: 100%; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ----------------------------------------------------------
   16. Responsive – 768px breakpoint
   ---------------------------------------------------------- */
@media (max-width: 768px) {

  /* Nav */
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Shop layout – stack sidebar above grid */
  .shop-layout {
    flex-direction: column;
  }

  .sidebar-filters {
    width: 100%;
    position: static;
  }

  /* Product grid: 2 columns on tablet */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Checkout: single column */
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  /* Hero */
  .hero {
    min-height: 320px;
  }

  /* Cookie banner – stack on mobile */
  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
  }

  .cookie-options {
    flex-direction: column;
    gap: 10px;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
  }

  /* Tables – allow horizontal scroll */
  table {
    min-width: 600px;
  }
}

@media (max-width: 480px) {
  /* Product grid: single column on phones */
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------
   17. Nav actions + buttons inline nav
   ---------------------------------------------------------- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nav-btn {
  color: rgba(255,255,255,.9);
  font-size: .9rem;
  padding: .35rem .85rem;
  border-radius: var(--radius);
  transition: background var(--transition);
  white-space: nowrap;
}

.nav-btn:hover {
  background: rgba(255,255,255,.12);
  text-decoration: none;
  color: #fff;
}

.nav-btn--outline {
  border: 1px solid rgba(255,255,255,.4);
}

.cart-icon {
  color: #fff;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: .3rem;
}

.cart-icon:hover { text-decoration: none; opacity: .85; }

#cart-count {
  background: var(--color-accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ----------------------------------------------------------
   18. Footer
   ---------------------------------------------------------- */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,.8);
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-col strong {
  color: #fff;
  font-size: .95rem;
  margin-bottom: .25rem;
}

.footer-col a {
  color: rgba(255,255,255,.7);
  font-size: .88rem;
  transition: color var(--transition);
}

.footer-col a:hover { color: #fff; text-decoration: none; }

.footer-col p {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
}

.footer-piva {
  margin-top: .25rem;
  font-size: .8rem !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  padding: 1rem 1.5rem;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}

/* ----------------------------------------------------------
   19. Home – brands + CTA
   ---------------------------------------------------------- */
.featured-products,
.brands-row,
.home-cta {
  padding: 3rem 0;
}

.featured-products h2,
.brands-row h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 2rem;
}

.brands-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.brands-list li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .6rem 1.4rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.brands-list li a:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.brand-name {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1rem;
  letter-spacing: .03em;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cta-card {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.cta-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: .75rem;
}

.cta-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: .4rem;
}

.cta-card p {
  font-size: .9rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.product-card__brand {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-muted);
  display: block;
  margin-bottom: .2rem;
}

.product-card__no-img,
.product-no-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: .85rem;
}

/* btn alias classes used in some views */
.btn { display: inline-block; }
.btn.btn-primary { background: var(--color-accent); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  display: inline-block;
  padding: .45rem 1rem;
  border-radius: var(--radius);
  font-size: .9rem;
  transition: background var(--transition), color var(--transition);
}
.btn-outline:hover { background: var(--color-accent); color: #fff; text-decoration: none; }
.btn-sm { padding: .35rem .8rem; font-size: .85rem; }
.btn-reset {
  color: var(--color-muted);
  font-size: .85rem;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  display: block;
  margin-top: .5rem;
}

/* ----------------------------------------------------------
   20. Shop – sidebar alias + product card info
   ---------------------------------------------------------- */
.shop-filters {
  width: var(--sidebar-width);
  flex-shrink: 0;
  position: sticky;
  top: 76px;
}

.shop-filters h2 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.shop-filters h3 {
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: .4rem;
}

.shop-filters button[type="submit"] {
  width: 100%;
  margin-top: .5rem;
}

.shop-main { flex: 1; min-width: 0; }

.shop-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: .75rem;
}

.shop-header h1 { font-size: 1.4rem; color: var(--color-primary); }
.shop-header p   { font-size: .9rem; color: var(--color-muted); }

.product-card-info { padding: .9rem 1rem; }

.product-brand {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--color-muted);
  display: block;
  margin-bottom: .2rem;
}

.product-price { margin-top: .4rem; font-weight: 700; }
.price         { color: var(--color-accent); font-size: 1.05rem; }
.price-sale    { color: var(--color-accent); font-size: 1.05rem; margin-right: .35rem; }
.price-original { font-size: .9rem; text-decoration: line-through; color: var(--color-muted); }

.no-results {
  text-align: center;
  padding: 3rem;
  color: var(--color-muted);
  font-size: 1rem;
}

/* ----------------------------------------------------------
   23. Static Pages & Account (Premium Minimalist)
   ---------------------------------------------------------- */
.static-page, .account-page {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.static-page h1, .account-page h1 {
  font-size: 2.2rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: 2.5rem;
  text-align: center;
}

.static-page h2, .account-page h2 {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 3rem 0 1.2rem;
  border-bottom: 1px solid #eee;
  padding-bottom: .6rem;
}

.static-page p, .static-page li {
  font-size: .95rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1.2rem;
}

.legal-ref {
  font-size: .8rem !important;
  color: #999 !important;
  text-align: center;
  margin-bottom: 3rem;
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
}

.faq-item summary {
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 300;
  transition: transform .3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 1rem 0;
  color: #666;
}

/* Tables */
.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.table th {
  text-align: left;
  text-transform: uppercase;
  font-size: .75rem;
  letter-spacing: .1em;
  color: #999;
  padding: 1rem;
  border-bottom: 2px solid #000;
}

.table td {
  padding: 1.2rem 1rem;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

/* Badges */
.badge {
  display: inline-block;
  padding: .25rem .6rem;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  border-radius: 2px;
}

.badge--pending   { background: #fff8e1; color: #f57f17; }
.badge--paid      { background: #e8f5e9; color: #2e7d32; }
.badge--shipped   { background: #e3f2fd; color: #1565c0; }
.badge--delivered { background: #f1f8e9; color: #33691e; }
.badge--cancelled { background: #ffebee; color: #c62828; }
.badge--warning   { background: #fff3e0; color: #ef6c00; }
.badge--success   { background: #e8f5e9; color: #2e7d32; }

/* Buttons SM & Outline */
.btn-sm {
  padding: .4rem .8rem;
  font-size: .75rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid #000;
  color: #000;
}

.btn-outline:hover {
  background: #000;
  color: #fff;
}

/* ----------------------------------------------------------
   24. Layout & Responsive Defaults
   ---------------------------------------------------------- */
.main-content {
  min-height: calc(100vh - 60px - 200px);
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shop-filters {
    width: 100%;
    position: static;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .cta-grid {
    grid-template-columns: 1fr;
  }
}
