/* WishHQ — MAXSHOP-inspired e-commerce theme */
:root {
  --red: #e31c23;
  --red-dark: #c4161c;
  --red-soft: #fff0f0;
  --black: #1a1a1a;
  --dark: #222222;
  --nav: #2d2d2d;
  --text: #555555;
  --muted: #888888;
  --heading: #222222;
  --border: #e6e6e6;
  --gray: #f5f5f5;
  --gray-2: #f0f0f0;
  --white: #ffffff;
  --blue: #2196f3;
  --blue-d: #1565c0;
  --orange: #ff9800;
  --green: #43a047;
  --purple: #8e24aa;
  --gold: #f5a623;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  --radius: 2px;
  --container: 1170px;
  --font: "Open Sans", Arial, Helvetica, sans-serif;
  --font-head: "Montserrat", "Open Sans", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  min-width: 320px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--heading); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--red); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 14px;
}
p { margin: 0 0 14px; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font-family: inherit; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.grid { display: grid; }
.hidden { display: none !important; }
.text-red { color: var(--red); }
.uppercase { text-transform: uppercase; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 11px 22px;
  font-size: 13px;
  border-radius: var(--radius);
  transition: 0.2s;
  line-height: 1;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--red); color: #fff; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--red);
  color: var(--red);
}
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-white { background: #fff; color: var(--dark); }
.btn-white:hover { background: var(--dark); color: #fff; }

/* ========== TOP BAR ========== */
.topbar {
  background: #f3f3f3;
  border-bottom: 1px solid #ececec;
  font-size: 12px;
  color: #777;
  min-height: 38px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 12px;
  flex-wrap: wrap;
  padding: 6px 0;
}
.promo-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.promo-chip span.tag {
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  padding: 3px 9px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.4px;
}
.top-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.top-links a, .top-links button.linkish {
  color: #666;
  font-size: 12px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.top-links a:hover, .top-links button.linkish:hover { color: var(--red); }
.top-links .sep { color: #ddd; }

/* ========== HEADER ========== */
.header {
  background: #fff;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark { width: 42px; height: 38px; flex-shrink: 0; }
.logo-fallback {
  display: flex;
  align-items: baseline;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -1px;
  color: var(--black);
  line-height: 1;
}
.logo-fallback .hq { color: var(--red); }
a.logo:hover,
a.logo:hover .logo-fallback { color: var(--black); }
.search-wrap {
  flex: 1;
  display: flex;
  height: 46px;
  border: 1px solid #ddd;
  background: #fff;
}
.search-wrap select {
  border: 0;
  border-right: 1px solid #eee;
  padding: 0 12px;
  min-width: 140px;
  color: #666;
  background: #fafafa;
  outline: none;
  font-size: 13px;
}
.search-wrap input {
  flex: 1;
  border: 0;
  padding: 0 14px;
  outline: none;
  font-size: 13px;
}
.search-wrap button {
  width: 52px;
  border: 0;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}
.search-wrap button:hover { background: var(--red-dark); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.ha-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--dark);
  color: #fff;
  padding: 10px 16px;
  min-height: 46px;
  border: 0;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.4px;
  position: relative;
}
.ha-btn:hover, .ha-btn:hover .ha-sub { color: #fff; background: var(--red); }
.ha-btn i { font-size: 16px; }
.ha-sub { display: block; font-size: 11px; font-weight: 500; opacity: 0.85; text-transform: none; }
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--red);
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Cart dropdown */
.cart-drop-wrap { position: relative; }
.cart-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 340px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  z-index: 50;
  padding: 16px;
  border-top: 3px solid var(--red);
}
.cart-drop-wrap:hover .cart-dropdown { display: block; }
.cart-item-mini {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.cart-item-mini img { width: 58px; height: 58px; object-fit: cover; }
.cart-item-mini h5 { font-size: 13px; margin: 0 0 4px; font-weight: 600; }
.cart-item-mini .price { color: var(--red); font-weight: 700; }
.cart-drop-total { display: flex; justify-content: space-between; padding: 12px 0; font-weight: 700; }
.cart-drop-actions { display: flex; gap: 8px; }
.cart-drop-actions .btn { flex: 1; padding: 10px; }

/* ========== NAV ========== */
.nav-bar {
  background: var(--nav);
  position: relative;
  z-index: 40;
}
.nav-inner {
  display: flex;
  align-items: stretch;
  min-height: 50px;
}
.cat-btn {
  background: var(--red);
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  min-width: 230px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.cat-btn:hover { background: var(--red-dark); color: #fff !important; }
.main-nav {
  display: flex;
  align-items: stretch;
  flex: 1;
  padding-left: 8px;
}
.main-nav a {
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  position: relative;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active { color: var(--red); }
.nav-badge {
  position: absolute;
  top: 6px;
  right: 4px;
  font-size: 8px;
  padding: 1px 5px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.4;
}
.nav-badge.hot { background: var(--blue); }
.nav-badge.new { background: var(--orange); }
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 22px;
  padding: 0 16px;
  cursor: pointer;
}

/* Category mega panel */
.cat-panel {
  display: none;
  position: absolute;
  left: 15px;
  top: 100%;
  width: 230px;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 0;
  z-index: 45;
  box-shadow: var(--shadow);
}
.cat-panel.open,
.home-cats { display: block; }
.cat-panel a,
.home-cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-bottom: 1px solid #f2f2f2;
  font-size: 13px;
  color: #444;
}
.cat-panel a:hover,
.home-cats a:hover { color: var(--red); background: #fff8f8; }
.home-cats {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 0;
}

/* ========== BREADCRUMB ========== */
.breadcrumb-wrap {
  background: var(--gray);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  font-size: 13px;
}
.breadcrumb-wrap a { color: #777; }
.breadcrumb-wrap span { color: var(--red); }
.breadcrumb-wrap i { font-size: 10px; margin: 0 8px; color: #bbb; }

/* ========== HERO ========== */
.hero-row {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 0;
  margin-top: 0;
  min-height: 420px;
}
.hero-slider {
  position: relative;
  overflow: hidden;
  background: #111;
  min-height: 420px;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.slide.active { opacity: 1; z-index: 1; }
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
}
.slide-content {
  position: relative;
  z-index: 2;
  padding: 50px 56px;
  max-width: 520px;
  color: #fff;
}
.slide-content .eyebrow {
  color: var(--red);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 10px;
}
.slide-content h2 {
  color: #fff;
  font-size: 42px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.slide-content p { color: #eee; font-size: 15px; margin-bottom: 22px; }
.slider-dots {
  position: absolute;
  bottom: 18px;
  left: 56px;
  z-index: 3;
  display: flex;
  gap: 8px;
}
.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
}
.slider-dots button.active { background: var(--red); }

/* Promo tiles */
.promo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 20px 0 10px;
}
.promo-tile {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 22px;
}
.promo-tile img {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 55%;
  height: 120%;
  object-fit: cover;
  opacity: 0.85;
  mix-blend-mode: luminosity;
}
.promo-tile .pt-body { position: relative; z-index: 1; max-width: 60%; }
.promo-tile h3 { color: #fff; font-size: 18px; text-transform: uppercase; margin: 0 0 6px; }
.promo-tile p { color: rgba(255,255,255,0.9); font-size: 12px; margin: 0 0 12px; }
.promo-tile.blue { background: linear-gradient(135deg, #1e88e5, #1565c0); }
.promo-tile.gold { background: linear-gradient(135deg, #f9a825, #ef6c00); }
.promo-tile.green { background: linear-gradient(135deg, #43a047, #2e7d32); }
.promo-tile.purple { background: linear-gradient(135deg, #8e24aa, #6a1b9a); }

/* Section headers */
.section { padding: 36px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid #eee;
  margin-bottom: 22px;
  padding-bottom: 10px;
}
.section-head h2 {
  font-size: 22px;
  text-transform: uppercase;
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--red);
  margin-bottom: -12px;
}
.section-head a { font-size: 13px; color: #888; text-transform: uppercase; font-weight: 600; }
.section-head a:hover { color: var(--red); }

.cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  color: #fff;
  margin-bottom: 16px;
}
.cat-head h2 { color: #fff; font-size: 16px; text-transform: uppercase; margin: 0; }
.cat-head.green { background: var(--green); }
.cat-head.orange { background: var(--orange); }
.cat-head.blue { background: var(--blue-d); }
.cat-head.red { background: var(--red); }

/* Product card */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.product-grid.five { grid-template-columns: repeat(5, 1fr); }
.product-card {
  background: #fff;
  border: 1px solid #eee;
  position: relative;
  transition: box-shadow 0.2s;
  overflow: hidden;
}
.product-card:hover { box-shadow: var(--shadow); }
.pc-img {
  position: relative;
  background: #fafafa;
  aspect-ratio: 1;
  overflow: hidden;
}
.pc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.product-card:hover .pc-img img { transform: scale(1.06); }
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  text-transform: uppercase;
  z-index: 2;
}
.badge.sale { background: var(--red); }
.badge.new { background: var(--blue); }
.badge.hot { background: var(--orange); }
.pc-actions {
  position: absolute;
  right: 10px;
  top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(8px);
  transition: 0.25s;
  z-index: 2;
}
.product-card:hover .pc-actions { opacity: 1; transform: none; }
.pc-actions button {
  width: 34px;
  height: 34px;
  border: 0;
  background: #fff;
  color: var(--dark);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.pc-actions button:hover { background: var(--red); color: #fff; }
.pc-body { padding: 14px 12px 16px; text-align: center; }
.stars { color: var(--gold); font-size: 12px; margin-bottom: 6px; letter-spacing: 1px; }
.pc-body h3 { font-size: 14px; font-weight: 600; margin: 0 0 6px; min-height: 38px; }
.pc-body h3 a { color: var(--heading); }
.price { font-weight: 700; color: var(--red); font-size: 16px; }
.price del { color: #999; font-weight: 500; font-size: 13px; margin-left: 6px; }
.add-cart {
  margin-top: 10px;
  width: 100%;
  background: var(--dark);
  color: #fff;
  border: 0;
  padding: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.add-cart:hover { background: var(--red); }

/* Category block */
.cat-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  align-items: stretch;
}
.cat-block .product-grid {
  grid-template-columns: repeat(2, 1fr);
}
.cat-banner {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.cat-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,0.7));
}
.cat-banner .cb-text { position: relative; z-index: 1; }
.cat-banner h3 { color: #fff; font-size: 24px; text-transform: uppercase; }
.wide-banner {
  margin: 10px 0 30px;
  position: relative;
  overflow: hidden;
  min-height: 140px;
  display: flex;
  align-items: center;
  background: #111;
  color: #fff;
}
.wide-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.wide-banner .wb-text {
  position: relative;
  z-index: 1;
  padding: 28px 40px;
}
.wide-banner h3 { color: #fff; font-size: 28px; text-transform: uppercase; margin: 0 0 6px; }
.wide-banner p { margin: 0 0 12px; color: #ddd; }

/* Bottom trio */
.trio {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}
.widget {
  background: #fff;
  border: 1px solid #eee;
}
.widget-title {
  background: var(--red);
  color: #fff;
  padding: 12px 16px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}
.widget-body { padding: 16px; }
.news-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f2f2f2;
}
.news-item:last-child { border-bottom: 0; }
.news-item img { width: 90px; height: 70px; object-fit: cover; flex-shrink: 0; }
.news-item h4 { font-size: 14px; margin: 0 0 4px; }
.news-item .meta { font-size: 12px; color: #999; }
.mini-prod {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f2f2f2;
}
.mini-prod img { width: 70px; height: 70px; object-fit: cover; }
.mini-prod h4 { font-size: 13px; margin: 0 0 4px; }
.testimonial { text-align: center; padding: 8px; }
.testimonial img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
}
.testimonial q { display: block; font-style: italic; color: #666; margin-bottom: 12px; }
.testimonial strong { display: block; color: var(--heading); }

/* Newsletter */
.newsletter {
  background: var(--nav);
  color: #fff;
  padding: 22px 0;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.socials {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.socials a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #3a3a3a;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
}
.socials a i {
  display: block;
  line-height: 1;
  width: 1em;
  text-align: center;
}
.socials a:hover { background: var(--red); color: #fff; }
.news-cta { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 240px; }
.news-cta i { font-size: 28px; color: var(--red); }
.news-cta h3 { color: #fff; margin: 0; font-size: 16px; text-transform: uppercase; }
.news-cta p { margin: 0; font-size: 12px; color: #bbb; }
.news-form { display: flex; min-width: 320px; }
.news-form input.invalid { outline: 2px solid var(--red); }
.news-form button {
  background: var(--red);
  color: #fff;
  border: 0;
  padding: 0 22px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 0.4px;
}
.news-form button:hover { background: var(--red-dark); }

/* Footer */
.footer {
  background: #f6f6f6;
  padding: 48px 0 20px;
  border-top: 1px solid #eee;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 30px;
}
.footer h4 {
  font-size: 15px;
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}
.footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--red);
}
.footer p { font-size: 13px; color: #666; }
.footer-logo { height: 42px; margin-bottom: 12px; }
.footer a { display: block; color: #666; font-size: 13px; padding: 5px 0; }
.footer a:hover { color: var(--red); padding-left: 4px; }
.footer a.logo {
  display: flex;
  align-items: center;
  padding: 0;
  margin-bottom: 12px;
  color: var(--black);
}
.footer a.logo:hover { color: var(--black); padding-left: 0; }
.footer .logo-fallback { font-size: 24px; }
.footer .socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1;
}
.footer .socials a:hover {
  color: #fff;
  padding-left: 0;
  background: var(--red);
}
.footer .logo-mark { width: 34px; height: 30px; }
.footer-legal a { display: inline; padding: 0; }
.pay-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.pay-badge {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #555;
  letter-spacing: 0.3px;
}
.copyright {
  background: #ececec;
  padding: 14px 0;
  font-size: 12px;
  color: #777;
  text-align: center;
}

/* Page title */
.page-title {
  padding: 8px 0 24px;
}
.page-title h1 {
  font-size: 28px;
  text-transform: uppercase;
  margin: 0;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 40px;
}
.about-grid img { width: 100%; height: 420px; object-fit: cover; }
.about-copy h2 { font-size: 28px; text-transform: uppercase; }
.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 20px 0 40px;
}
.feature-box {
  text-align: center;
  padding: 28px 16px;
  border: 1px solid #eee;
  background: #fff;
}
.feature-box i { font-size: 32px; color: var(--red); margin-bottom: 10px; }
.feature-box h3 { font-size: 15px; text-transform: uppercase; margin-bottom: 6px; }
.dashed-title {
  text-align: center;
  margin: 30px 0 24px;
  position: relative;
}
.dashed-title h2 {
  display: inline-block;
  background: #fff;
  padding: 0 18px;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
}
.dashed-title::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  border-top: 1px dashed #ccc;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.team-card {
  border: 1px solid #eee;
  text-align: center;
  background: #fff;
}
.team-card img { width: 100%; height: 260px; object-fit: cover; }
.team-card .tb { padding: 16px 14px 20px; }
.team-card h3 { font-size: 16px; margin: 0 0 4px; text-transform: uppercase; }
.team-card .role { color: var(--red); font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.team-socials { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.team-socials a {
  width: 28px; height: 28px;
  background: #f3f3f3;
  color: #555;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}
.team-socials a:hover { background: var(--red); color: #fff; }

/* Shop layout */
.shop-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 24px;
  padding: 24px 0 40px;
}
.side-widget { margin-bottom: 22px; border: 1px solid #eee; }
.filter-list a, .cat-list a {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid #f3f3f3;
  font-size: 13px;
  color: #555;
}
.filter-list a.active, .cat-list a.active { color: var(--red); font-weight: 700; }
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 16px;
  gap: 12px;
  flex-wrap: wrap;
}
.shop-toolbar select { padding: 8px 10px; border: 1px solid #ddd; }

/* Product detail */
.pd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding: 28px 0 40px;
}
.pd-img { border: 1px solid #eee; background: #fafafa; }
.pd-img img { width: 100%; height: 480px; object-fit: cover; }
.pd-info .price { font-size: 26px; }
.qty-row { display: flex; align-items: center; gap: 10px; margin: 16px 0; }
.qty-row input { width: 70px; padding: 8px; border: 1px solid #ddd; text-align: center; }
.pd-meta { font-size: 13px; color: #777; margin: 12px 0; }
.tabs { margin: 10px 0 40px; }
.tab-btns { display: flex; border-bottom: 2px solid #eee; gap: 8px; }
.tab-btns button {
  background: none;
  border: 0;
  padding: 12px 18px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  color: #777;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}
.tab-btns button.active { color: var(--red); border-bottom-color: var(--red); }
.tab-panel { display: none; padding: 20px 0; }
.tab-panel.active { display: block; }

/* Blog */
.blog-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 28px;
  padding: 24px 0 40px;
}
.blog-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  padding: 0 0 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid #eee;
}
.blog-card img { width: 100%; height: 190px; object-fit: cover; }
.blog-card h2 { font-size: 20px; text-transform: uppercase; margin: 0 0 8px; }
.blog-meta { font-size: 12px; color: #999; margin-bottom: 10px; }
.blog-meta i { color: var(--red); margin-right: 4px; }
.pagination { display: flex; gap: 6px; margin-top: 10px; }
.pagination a, .pagination span {
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  background: #fff;
  font-weight: 700;
}
.pagination .current { background: var(--blue); color: #fff; border-color: var(--blue); }

.article img.featured { width: 100%; height: 420px; object-fit: cover; margin: 16px 0 20px; }
.article p { text-align: justify; margin-bottom: 16px; }
.comment-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* FAQ */
.faq-item { border: 1px solid #eee; margin-bottom: 10px; background: #fff; }
.faq-q {
  width: 100%;
  text-align: left;
  background: #fafafa;
  border: 0;
  padding: 14px 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--heading);
}
.faq-q:hover, .faq-item.open .faq-q { color: var(--red); }
.faq-a { display: none; padding: 0 18px 16px; }
.faq-item.open .faq-a { display: block; }

/* Forms */
.form-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 28px;
  max-width: 720px;
}
.form-card.wide { max-width: none; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 6px;
  font-size: 13px;
}
.form-group label .req { color: var(--red); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid #ddd;
  padding: 11px 12px;
  outline: none;
  font-size: 14px;
  background: #fff;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--red); }
.form-group textarea { min-height: 140px; resize: vertical; }
.field-error { color: var(--red); font-size: 12px; margin-top: 4px; display: none; }
.form-group.invalid input,
.form-group.invalid textarea,
.form-group.invalid select { border-color: var(--red); }
.form-group.invalid .field-error { display: block; }
.form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-weight: 600;
}
.form-success.show { display: block; }
.contact-intro { max-width: 780px; margin-bottom: 24px; }

/* Cart / checkout */
.cart-table { width: 100%; border-collapse: collapse; margin: 10px 0 20px; }
.cart-table th {
  background: #f7f7f7;
  text-align: left;
  padding: 12px;
  font-size: 13px;
  text-transform: uppercase;
}
.cart-table td { padding: 14px 12px; border-bottom: 1px solid #eee; vertical-align: middle; }
.cart-table img { width: 70px; height: 70px; object-fit: cover; }
.cart-qty { width: 64px; padding: 6px; border: 1px solid #ddd; text-align: center; }
.cart-remove { background: none; border: 0; color: var(--red); cursor: pointer; font-size: 16px; }
.cart-summary {
  background: #fafafa;
  border: 1px solid #eee;
  padding: 20px;
  max-width: 380px;
  margin-left: auto;
}
.cart-summary h3 { text-transform: uppercase; font-size: 16px; }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; }
.sum-row.total { font-size: 18px; font-weight: 700; color: var(--red); border-top: 1px solid #ddd; margin-top: 8px; padding-top: 12px; }
.empty-cart { text-align: center; padding: 50px 20px; }
.order-success {
  display: none;
  text-align: center;
  padding: 48px 20px;
  border: 1px solid #c8e6c9;
  background: #f1f8f4;
  margin: 20px 0 40px;
}
.order-success.show { display: block; }
.order-success i { font-size: 48px; color: var(--green); margin-bottom: 12px; }
.order-success h2 { text-transform: none; }

/* Legal long content */
.legal {
  padding: 10px 0 48px;
  max-width: 900px;
}
.legal h2 { font-size: 18px; margin-top: 28px; }
.legal h3 { font-size: 15px; margin-top: 18px; }
.legal ul { padding-left: 18px; list-style: disc; margin-bottom: 14px; }
.legal li { margin-bottom: 6px; }
.legal p { text-align: justify; }

/* Toast */
.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: var(--dark);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
  display: none;
  box-shadow: var(--shadow);
  font-size: 13px;
  max-width: 280px;
}
.toast.show { display: block; animation: fadeup 0.3s; }
@keyframes fadeup {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* Modal */
.modal-bg {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-bg.show { display: flex; }
.modal {
  background: #fff;
  width: 100%;
  max-width: 420px;
  padding: 28px;
  position: relative;
}
.modal h2 { text-transform: uppercase; font-size: 20px; }
.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: 0;
  font-size: 22px;
  cursor: pointer;
}

/* Subscribe split */
.split-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding: 20px 0 40px;
}

/* Responsive */
@media (max-width: 1100px) {
  .product-grid.five { grid-template-columns: repeat(4, 1fr); }
  .hero-row, .cat-block { grid-template-columns: 1fr; }
  .home-cats, .cat-panel { position: static; width: 100%; }
  .cat-btn { min-width: 180px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trio { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; }
  .search-wrap { order: 3; flex: 1 1 100%; }
  .logo { flex: 1; }
  .promo-row, .feature-row, .team-grid { grid-template-columns: 1fr 1fr; }
  .product-grid, .product-grid.five { grid-template-columns: 1fr 1fr; }
  .about-grid, .pd-grid, .blog-card, .shop-layout, .blog-layout, .split-page {
    grid-template-columns: 1fr;
  }
  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--nav);
    padding: 10px 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 20px; }
  .menu-toggle { display: block; margin-left: auto; }
  .cat-btn { min-width: auto; }
  .slide-content h2 { font-size: 28px; }
  .blog-card img, .pd-img img, .about-grid img, .article img.featured { height: 240px; }
}
@media (max-width: 600px) {
  .promo-row, .feature-row, .team-grid, .product-grid, .product-grid.five, .footer-grid {
    grid-template-columns: 1fr;
  }
  .top-links { display: none; }
  .ha-btn span { display: none; }
  .news-form { min-width: 100%; width: 100%; }
  .cart-dropdown { width: 280px; }
  .cart-table thead { display: none; }
  .cart-table tr { display: block; margin-bottom: 16px; border: 1px solid #eee; }
  .cart-table td { display: flex; justify-content: space-between; }
}
