/* ================================================================
   ALHADEEDY TITANIUM HAMMER — style.css
   Aesthetic: Precision industrial / dark luxury e-commerce
   Fonts: Barlow Condensed (display) · Crimson Pro (italic) · Jost (body)
================================================================ */

/* ────────────────────────────────
   CUSTOM PROPERTIES
──────────────────────────────── */
:root {
  --primary:       #B71C1C;
  --primary-dark:  #7F0000;
  --primary-light: #E53935;
  --secondary:     #37474F;
  --secondary-dark:#263238;
  --accent:        #FFA000;
  --accent-light:  #FFD54F;
  --bg:            #FAFAFA;
  --surface:       #FFFFFF;
  --surface-2:     #F5F5F5;
  --border:        #E0E0E0;
  --text:          #1C2526;
  --text-muted:    #607D8B;
  --text-light:    #90A4AE;
  --success:       #2E7D32;
  --success-bg:    #E8F5E9;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-serif:   'Crimson Pro', serif;
  --font-body:    'Jost', sans-serif;

  --nav-h:     64px;
  --topbar-h:  36px;
  --radius:    8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.06);
  --shadow:    0 4px 20px rgba(0,0,0,.09);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.14);
  --transition:.22s cubic-bezier(.4,0,.2,1);
}

/* ────────────────────────────────
   RESET & BASE
──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img   { display: block; max-width: 100%; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* ────────────────────────────────
   CONTAINER
──────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ────────────────────────────────
   TOP BAR
──────────────────────────────── */
.topbar {
  height: var(--topbar-h);
  background: var(--secondary-dark);
  color: rgba(255,255,255,.75);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  gap: 16px;
}

.topbar strong { color: var(--accent); }

.topbar i { color: var(--accent); margin-right: 5px; }

.topbar-right { display: flex; align-items: center; gap: 10px; }

.divider { opacity: .3; }

/* ────────────────────────────────
   NAVIGATION
──────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--secondary-dark);
  border-bottom: 2px solid var(--primary);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: var(--surface);
  letter-spacing: 2px;
  flex-shrink: 0;
}

.logo-bracket { color: rgba(255,255,255,.3); }
.logo-accent  { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
}

.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  padding: 7px 14px;
  border-radius: 5px;
  letter-spacing: .4px;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--surface);
  background: rgba(255,255,255,.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav-icon-btn {
  width: 38px; height: 38px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: 15px;
  transition: all var(--transition);
  position: relative;
}

.nav-icon-btn:hover {
  background: rgba(255,255,255,.08);
  color: var(--surface);
}

.cart-btn { background: var(--primary); color: var(--surface) !important; }
.cart-btn:hover { background: var(--primary-dark) !important; }

.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--secondary-dark);
  transition: transform .2s;
}

.cart-count.bump { animation: bump .3s ease; }

@keyframes bump {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.5); }
  100% { transform: scale(1); }
}

/* ────────────────────────────────
   BREADCRUMB
──────────────────────────────── */
.breadcrumb-wrap {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.breadcrumb a { transition: color var(--transition); }
.breadcrumb a:hover { color: var(--primary); }

.breadcrumb i {
  font-size: 9px;
  opacity: .4;
}

.breadcrumb span { color: var(--text); font-weight: 600; }

/* ────────────────────────────────
   PRODUCT PAGE GRID
──────────────────────────────── */
.product-page { padding: 48px 0 32px; }

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* ────────────────────────────────
   LEFT — GALLERY
──────────────────────────────── */
.gallery { display: flex; flex-direction: column; gap: 14px; }

/* Main image */
.gallery-main {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: crosshair;
  box-shadow: var(--shadow);
}

.gallery-zoom {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: var(--ox, 50%) var(--oy, 50%);
  transition: transform .35s ease, opacity .3s ease;
  user-select: none;
  pointer-events: none;
}

.gallery-main.zoomed .gallery-zoom img { transform: scale(2); }

/* Image badges */
.img-badge {
  position: absolute;
  top: 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  border-radius: 5px;
}

.img-badge--sale {
  left: 14px;
  background: var(--primary);
  color: var(--surface);
}

.img-badge--new {
  right: 14px;
  background: var(--accent);
  color: #000;
}

.zoom-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: rgba(255,255,255,.7);
  background: rgba(0,0,0,.45);
  padding: 5px 12px;
  border-radius: 20px;
  pointer-events: none;
  transition: opacity var(--transition);
  white-space: nowrap;
}

.gallery-main:hover .zoom-hint,
.gallery-main.zoomed .zoom-hint { opacity: 0; }

/* Thumbnails */
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.thumb {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  padding: 0;
  background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease, filter .3s ease;
}

.thumb:hover img { transform: scale(1.08); }

.thumb--active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(183,28,28,.15);
}

.thumb:not(.thumb--active) img { filter: brightness(.85); }
.thumb:not(.thumb--active):hover img { filter: brightness(1); }

/* Spec strip */
.spec-strip {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.spec-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}

.spec-item:last-child { border-right: none; }
.spec-item:hover { background: var(--surface-2); }

.spec-item i {
  font-size: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.spec-item strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.spec-item span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

/* ────────────────────────────────
   RIGHT — PRODUCT INFO
──────────────────────────────── */
.product-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.product-brand {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(183,28,28,.07);
  border: 1px solid rgba(183,28,28,.2);
  padding: 3px 10px;
  border-radius: 4px;
}

.product-sku {
  font-size: 11.5px;
  color: var(--text-light);
}

.product-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: 1px;
  color: var(--secondary-dark);
  margin-bottom: 14px;
}

.product-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--text-muted);
  font-size: .72em;
  letter-spacing: 0;
  display: block;
  margin-top: 4px;
}

/* Rating */
.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.stars { color: var(--accent); font-size: 15px; display: flex; gap: 2px; }

.rating-score {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.rating-reviews {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rating-sep { color: var(--border); }

.in-stock {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 5px;
}

.in-stock i { font-size: 11px; }

/* Price */
.price-block {
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.price-original {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-light);
  text-decoration: line-through;
  letter-spacing: .5px;
}

.price-current {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: 1px;
}

.price-badge {
  background: var(--primary);
  color: var(--surface);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 9px;
  border-radius: 4px;
  align-self: flex-start;
  margin-top: 6px;
}

.price-total-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.price-total-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.price-total {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--secondary-dark);
  letter-spacing: .5px;
  transition: all .2s ease;
}

.price-total.changed {
  animation: priceFlash .35s ease;
}

@keyframes priceFlash {
  0%   { color: var(--accent); transform: scale(1.05); }
  100% { color: var(--secondary-dark); transform: scale(1); }
}

.price-total-note { font-size: 11.5px; color: var(--text-muted); }

/* Description */
.description { margin-bottom: 22px; }

.desc-short, .desc-long p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

.desc-long { padding-top: 8px; }

.desc-features {
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.desc-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.desc-features i {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  font-size: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.read-more-btn {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  transition: opacity var(--transition);
}

.read-more-btn:hover { opacity: .7; }

.read-more-btn i { transition: transform var(--transition); font-size: 11px; }
.read-more-btn.expanded i { transform: rotate(180deg); }

/* Variants */
.variants { margin-bottom: 20px; display: flex; flex-direction: column; gap: 18px; }

.variant-group {}

.variant-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.variant-label strong { color: var(--text); }

.variant-price-note {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 400;
}

.variant-options { display: flex; gap: 8px; flex-wrap: wrap; }

.variant-btn {
  position: relative;
  padding: 9px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  transition: all var(--transition);
  white-space: nowrap;
}

.variant-btn:hover {
  border-color: var(--secondary);
  background: var(--surface-2);
}

.variant-btn--active {
  border-color: var(--primary);
  background: rgba(183,28,28,.05);
  color: var(--primary);
  box-shadow: 0 0 0 3px rgba(183,28,28,.12);
}

.variant-popular {
  position: absolute;
  top: -9px; right: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .5px;
  background: var(--accent);
  color: #000;
  padding: 1px 6px;
  border-radius: 3px;
}

/* Color options */
.color-options { gap: 10px; }

.color-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  background: var(--surface);
  transition: all var(--transition);
  min-width: 70px;
  position: relative;
}

.color-btn:hover {
  border-color: var(--secondary);
}

.color-btn--active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(183,28,28,.12);
}

.swatch {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--swatch);
  border: 2px solid rgba(0,0,0,.12);
  flex-shrink: 0;
}

.color-name { font-size: 12px; font-weight: 600; color: var(--text); }

.color-premium {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
}

/* Quantity */
.qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.qty-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.qty-btn {
  width: 40px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--surface-2);
  transition: all var(--transition);
}

.qty-btn:hover { background: var(--primary); color: var(--surface); }
.qty-btn:disabled { opacity: .35; cursor: not-allowed; }
.qty-btn:disabled:hover { background: var(--surface-2); color: var(--text-muted); }

.qty-input {
  width: 52px;
  text-align: center;
  border: none;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  outline: none;
  -moz-appearance: textfield;
  background: var(--surface);
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.qty-limit {
  font-size: 11.5px;
  color: var(--text-light);
  font-style: italic;
}

/* CTA Buttons */
.cta-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}

.btn-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 20px;
  background: var(--secondary-dark);
  color: var(--surface);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .3px;
  transition: all var(--transition);
  border: 2px solid var(--secondary-dark);
  position: relative;
  overflow: hidden;
}

.btn-cart::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.btn-cart span, .btn-cart i { position: relative; z-index: 1; }

.btn-cart:hover::before { transform: scaleX(1); }
.btn-cart:hover { border-color: var(--primary); }

.btn-cart.adding { pointer-events: none; }

.btn-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 20px;
  background: var(--primary);
  color: var(--surface);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .3px;
  border: 2px solid var(--primary);
  transition: all var(--transition);
}

.btn-buy:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(183,28,28,.3);
}

.btn-wishlist {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 22px;
  transition: all var(--transition);
  background: var(--surface);
}

.btn-wishlist:hover {
  border-color: #e91e63;
  color: #e91e63;
  background: #fff0f5;
}

.btn-wishlist.active i { color: #e91e63; }
.btn-wishlist.active {
  border-color: #e91e63;
  color: #e91e63;
  background: #fff0f5;
}

/* Trust badges */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.trust-badge i {
  font-size: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.trust-badge strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.trust-badge span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

/* Payment icons */
.payment-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.payment-label {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-right: 4px;
}

.pay-icon {
  font-size: 28px;
  color: var(--text-light);
  transition: color var(--transition);
}

.pay-icon:hover { color: var(--secondary); }

/* ────────────────────────────────
   RELATED PRODUCTS
──────────────────────────────── */
.related-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 0;
  margin-top: 32px;
}

.related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.related-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--secondary-dark);
}

.view-all {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.view-all:hover { gap: 10px; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.related-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.related-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.related-card:hover .related-card__img img { transform: scale(1.06); }

.related-card__body { padding: 16px; }

.related-card__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary-dark);
  margin-bottom: 4px;
  line-height: 1.2;
  letter-spacing: .3px;
}

.related-card__sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.related-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.related-card__price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: .5px;
}

.related-card__add {
  font-size: 12px;
  font-weight: 700;
  padding: 7px 16px;
  background: var(--secondary-dark);
  color: var(--surface);
  border-radius: var(--radius);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.related-card__add:hover {
  background: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(183,28,28,.25);
}

.related-card__badge {
  position: absolute;
  top: 10px; left: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--primary);
  color: var(--surface);
}

/* ────────────────────────────────
   TOAST
──────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 1000;
  background: var(--surface);
  border-left: 4px solid var(--success);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  min-width: 300px;
  max-width: 380px;
  transform: translateY(20px) translateX(20px);
  opacity: 0;
  pointer-events: none;
  transition: all .35s cubic-bezier(.34,1.56,.64,1);
}

.toast--show {
  transform: translateY(0) translateX(0);
  opacity: 1;
  pointer-events: all;
}

.toast--error { border-left-color: var(--primary); }

.toast-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.toast--error .toast-icon { background: #ffebee; color: var(--primary); }

.toast-body { flex: 1; }
.toast-body strong { display: block; font-size: 14px; color: var(--text); margin-bottom: 2px; }
.toast-body span   { font-size: 12px; color: var(--text-muted); }

.toast-close {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1;
  transition: color var(--transition);
  flex-shrink: 0;
  padding: 2px 4px;
}

.toast-close:hover { color: var(--text); }

/* ────────────────────────────────
   FOOTER
──────────────────────────────── */
.footer {
  background: var(--secondary-dark);
  padding-top: 52px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo { font-size: 26px; display: inline-block; margin-bottom: 12px; }

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  line-height: 1.6;
  max-width: 200px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 9px; }

.footer-col a {
  font-size: 13.5px;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--accent); }

.footer-social { display: flex; gap: 10px; }

.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,.5);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--surface);
}

.footer-bottom {
  padding: 16px 24px;
  font-size: 12px;
  color: rgba(255,255,255,.22);
  text-align: center;
}

/* ────────────────────────────────
   SCROLLBAR
──────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }

/* ────────────────────────────────
   RESPONSIVE
──────────────────────────────── */
@media (max-width: 1024px) {
  .product-grid  { gap: 36px; }
  .footer-inner  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .product-grid  { grid-template-columns: 1fr; }
  .gallery       { max-width: 520px; margin: 0 auto; }
  .related-grid  { grid-template-columns: 1fr 1fr; }
  .nav-links     { display: none; }
  .topbar-right  { display: none; }
  .footer-inner  { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 540px) {
  .cta-buttons   { grid-template-columns: 1fr; }
  .trust-badges  { grid-template-columns: 1fr; }
  .related-grid  { grid-template-columns: 1fr; }
  .spec-strip    { flex-direction: column; }
  .spec-item     { border-right: none; border-bottom: 1px solid var(--border); }
  .spec-item:last-child { border-bottom: none; }
  .footer-inner  { grid-template-columns: 1fr; }
  .qty-row       { flex-wrap: wrap; }
}
