﻿:root {
  --red: #e63946;
  --red-dark: #c1121f;
  --bg: #0a0a0a;
  --surface: #111111;
  --surface2: #1a1a1a;
  --surface3: #222222;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f0f0f0;
  --text-muted: #888;
  --radius: 14px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.seo-hidden-keywords {
  padding: 18px 40px 24px;
  color: rgba(255, 255, 255, 0.4);
  font-size: clamp(12px, 1.6vw, 14px);
  font-weight: 400;
  line-height: 1.7;
  text-align: center;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: transparent;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #e63946, #ff6b6b, #ffd93d);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 15px rgba(230, 57, 70, 0.6);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(230, 57, 70, 0.8);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 40px;
}

.logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  width: auto;
  height: 52px;
  object-fit: contain;
}

.footer-logo-img {
  width: auto;
  height: 56px;
  object-fit: contain;
  margin-bottom: 4px;
}

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

.nav-links > li > a {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: var(--transition);
}

.nav-links > li > a:hover {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-search-btn,
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}

.nav-search-btn:hover,
.cart-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.search-bar {
  display: none;
  padding: 16px 40px;
  background: rgba(10, 10, 10, 0.98);
  border-top: 1px solid var(--border);
}

.search-bar.open {
  display: block;
}

.search-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
  padding: 12px 20px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 50px;
}

.search-inner input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #fff;
  outline: none;
}

.search-inner input::placeholder {
  color: var(--text-muted);
}

#search-close {
  color: var(--text-muted);
  cursor: pointer;
}

.search-suggestions {
  display: none;
  overflow-y: auto;
  max-width: 600px;
  max-height: 420px;
  margin: 0 auto;
  background: rgba(18, 18, 18, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  backdrop-filter: blur(24px);
}

.search-suggestions.open {
  display: block;
}

.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px;
  border-left: 3px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.search-suggestion-item:hover {
  background: rgba(230, 57, 70, 0.1);
  border-left-color: var(--red);
}

.search-suggestion-img,
.search-suggestion-page-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
}

.search-suggestion-img {
  width: 48px;
  min-width: 48px;
  height: 48px;
  background: var(--surface2);
  border: 1px solid var(--border);
}

.search-suggestion-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-suggestion-page-icon {
  width: 36px;
  min-width: 36px;
  height: 36px;
  background: rgba(230, 57, 70, 0.12);
  border: 1px solid rgba(230, 57, 70, 0.25);
  color: var(--red);
}

.search-suggestion-info {
  flex: 1;
}

.search-suggestion-name {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.search-suggestion-meta {
  display: flex;
  gap: 8px;
  margin-top: 3px;
  font-size: 12px;
}

.search-suggestion-cat {
  color: var(--text-muted);
  text-transform: capitalize;
}

/* Intentionally NOT position:relative — .dropdown below needs its
   containing block to be .navbar (the nearest positioned ancestor once this
   is left static), not the individual nav item. That way every dropdown
   centers on the full-width navbar itself, so it can never overflow off one
   side of the screen just because its trigger item sits left- or
   right-of-center, regardless of how many sub-categories it has. */
.has-dropdown {
  position: static;
}

.nav-links > li.has-dropdown > a::after {
  content: "\25BE";
  margin-left: 5px;
  font-size: 10px;
  opacity: 0.6;
}

/* Hover-bridge: the dropdown sits at top:100% of the fixed .navbar (see the
   comment above .has-dropdown), which leaves a gap between the link itself
   and the dropdown's top edge. Moving the cursor straight down through that
   gap drops :hover on .has-dropdown and the menu closes early. This
   invisible strip extends the link's own hover area down to the dropdown,
   so it lives on the <a> (safe to position:relative) rather than on
   .has-dropdown, which must stay static for the dropdown's centering. */
.nav-links > li.has-dropdown > a {
  position: relative;
}

.nav-links > li.has-dropdown > a::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 300px;
  height: 40px;
  transform: translateX(-50%);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: block;
  padding: 24px;
  background: rgba(12, 12, 12, 0.98);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  pointer-events: none;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-menu {
  left: 50%;
  display: grid;
  gap: 24px;
  width: fit-content;
  /* Centered on the full-width navbar (see .has-dropdown above), so this
     just needs to stay within the viewport itself — 96vw leaves a small
     margin on both sides no matter how many sub-categories a menu has,
     instead of a fixed px cap that only worked for narrower categories. */
  max-width: min(1600px, 96vw);
  overflow-x: auto;
  padding: 24px 30px;
  transform: translateX(-50%) translateY(15px);
  grid-auto-flow: column;
  grid-auto-columns: 140px;
}

.has-dropdown:hover .mega-menu {
  transform: translateX(-50%) translateY(0);
}

/* Company dropdown is a short link list, not a full-width mega-menu, so it
   anchors under its own trigger instead of centering on the whole navbar —
   overrides the shared .has-dropdown static positioning for this item only. */
.company-dropdown {
  position: relative;
}

.simple-menu {
  left: auto;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 180px;
  padding: 12px;
  transform: translateY(15px);
}

.company-dropdown:hover .simple-menu {
  transform: translateY(0);
}

.dropdown-link {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 14px;
  transition: var(--transition);
}

.dropdown-link:hover,
.dropdown-link.active {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.mega-item {
  text-align: center;
  transition: var(--transition);
  min-width: 0;
}

.mega-item:hover {
  transform: translateY(-5px);
}

.mega-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.mega-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mega-item:hover img {
  transform: scale(1.1);
}

.mega-title {
  display: block;
  margin-bottom: 2px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mega-subtitle {
  color: var(--text-muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-wholesale-btn {
  padding: 6px 14px !important;
  background: var(--red) !important;
  color: #fff !important;
  border-radius: 50px !important;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  position: relative;
  display: flex;
  flex: 0 0 100%;
  align-items: center;
  width: 100%;
  height: 100%;
  /* .navbar is position:fixed and floats on top of this slide (styles.css
     .navbar) — without this, plain vertical centering pushes the topmost
     content (the hero badge) underneath the fixed navbar on shorter
     viewports, overlapping the nav links instead of sitting below them. This
     shifts the centered content down by roughly the navbar's own height,
     plus extra breathing room so the badge doesn't sit flush against it. */
  padding-top: 150px;
}

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

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 35%, transparent 60%);
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  margin-bottom: 28px;
  padding: 8px 18px;
  background: rgba(230, 57, 70, 0.18);
  border: 1px solid rgba(230, 57, 70, 0.4);
  border-radius: 50px;
  color: var(--red);
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.hero-title {
  margin-bottom: 24px;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: clamp(46px, 6.5vw, 84px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
}

.hero-sub {
  max-width: 440px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat {
  text-align: center;
}

.stat-num {
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 32px;
  font-weight: 800;
}

.stat-label {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  color: #fff;
  transform: translateY(-50%);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
  transition: transform 0.25s ease;
}

.carousel-btn:hover {
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 10px 30px rgba(230, 57, 70, 0.45);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev:hover svg {
  transform: translateX(-2px);
}

.carousel-next:hover svg {
  transform: translateX(2px);
}

.carousel-btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.carousel-prev {
  left: 28px;
}

.carousel-next {
  right: 28px;
}

.carousel-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  z-index: 10;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.dot {
  width: 10px;
  height: 10px;
  padding: 0;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  width: 28px;
  background: var(--red);
  border-color: var(--red);
  border-radius: 6px;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.particle {
  position: absolute;
  bottom: -10px;
  width: 2px;
  height: 2px;
  background: var(--red);
  border-radius: 50%;
  opacity: 0.4;
  animation: float linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(100vh) scale(0);
  }
  100% {
    transform: translateY(-100px) scale(1);
    opacity: 0;
  }
}

.marquee-wrap {
  overflow: hidden;
  padding: 13px 0;
  background: var(--red);
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 26s linear infinite;
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
}

.marquee-link {
  flex-shrink: 0;
  padding: 0 20px;
  color: #fff;
}

.marquee-sep {
  padding: 0 4px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes pulse-badge {
  0%, 100% {
    box-shadow: 0 0 6px rgba(230, 57, 70, 0.7);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 14px rgba(230, 57, 70, 1);
    transform: scale(1.15);
  }
}

.section-header {
  margin-bottom: 60px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 16px;
  background: rgba(230, 57, 70, 0.12);
  border: 1px solid rgba(230, 57, 70, 0.25);
  border-radius: 50px;
  color: var(--red);
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 16px;
  font-family: "Outfit", sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
}

.section-sub {
  max-width: 500px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 16px;
}

.categories,
.why-us,
.contact {
  padding: 100px 0;
}

.featured,
.testimonials {
  padding: 100px 0;
  background: var(--surface);
}

.category-grid {
  display: grid;
  gap: 24px;
}

.category-grid-big {
  grid-template-columns: repeat(4, 1fr);
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.category-card:hover {
  border-color: var(--red);
  box-shadow: 0 20px 60px rgba(230, 57, 70, 0.15);
  transform: translateY(-6px);
}

.category-img-wrap {
  height: 200px;
  overflow: hidden;
}

.category-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.category-card:hover .category-img-wrap img {
  transform: scale(1.07);
}

.category-info {
  padding: 20px 20px 10px;
}

.category-info h3 {
  margin-bottom: 6px;
  font-family: "Outfit", sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.category-info p {
  color: var(--text-muted);
  font-size: 14px;
}

.category-count {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  background: rgba(230, 57, 70, 0.1);
  border-radius: 50px;
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
}

.category-arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(230, 57, 70, 0.35);
  color: #fff;
  transition: var(--transition);
}

.category-arrow svg {
  transition: transform 0.25s ease;
}

.category-card:hover .category-arrow {
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.55);
  transform: scale(1.1);
}

.category-card:hover .category-arrow svg {
  transform: translateX(2px);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 24px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-muted);
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: capitalize;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.product-card:hover {
  border-color: rgba(230, 57, 70, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: translateY(-6px);
}

.product-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface2);
}

.p-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .p-img-main {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  background: var(--red);
  border-radius: 4px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.product-wishlist:hover {
  background: var(--red);
}

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 152px;
  padding: 20px;
}

.product-category-tag {
  margin-bottom: 6px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.product-name {
  display: block;
  min-height: 22px;
  margin-bottom: 6px;
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.product-category-details {
  min-height: 20px;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.4;
  text-transform: capitalize;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.product-price {
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.product-old-price {
  margin-left: 6px;
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: line-through;
}

.add-to-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  width: 36px;
  height: 36px;
  background: var(--red);
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.add-to-cart:hover {
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.5);
  transform: scale(1.1);
}

.load-more-wrap {
  margin-top: 48px;
  text-align: center;
}

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

.feature-card {
  position: relative;
  padding: 36px 28px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.feature-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: radial-gradient(circle at 30% 0%, rgba(230, 57, 70, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card h3,
.feature-card p {
  position: relative;
  z-index: 1;
}

.feature-card:hover {
  border-color: rgba(230, 57, 70, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  transform: translateY(-6px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  background: rgba(230, 57, 70, 0.1);
  border: 1px solid rgba(230, 57, 70, 0.25);
  border-radius: 16px;
  color: var(--red);
  transition: var(--transition);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card:hover .feature-icon {
  background: var(--red);
  color: #fff;
  transform: scale(1.08) rotate(-4deg);
}

.feature-card h3 {
  margin-bottom: 10px;
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

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

.testimonial-card {
  padding: 32px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(230, 57, 70, 0.3);
}

.testimonial-card.featured-review {
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.08), var(--surface2));
  border-color: rgba(230, 57, 70, 0.4);
}

.stars {
  margin-bottom: 16px;
  color: #ffd93d;
  font-size: 18px;
  letter-spacing: 2px;
}

.testimonial-card p {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 14px;
  font-style: italic;
  line-height: 1.8;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.reviewer strong {
  display: block;
  font-size: 14px;
}

.reviewer span {
  color: var(--text-muted);
  font-size: 12px;
}

.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 80px 40px;
  background: linear-gradient(135deg, var(--red-dark), var(--red), #ff6b6b);
  text-align: center;
}

.cta-banner::before {
  position: absolute;
  inset: 0;
  content: "";
  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.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  margin-bottom: 12px;
  font-family: "Outfit", sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
}

.cta-banner p {
  margin-bottom: 32px;
  font-size: 18px;
  opacity: 0.9;
}

.cta-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.cta-form input {
  min-width: 280px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.2);
  border: 0;
  border-radius: 50px;
  color: #fff;
  outline: none;
  backdrop-filter: blur(10px);
}

.cta-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.cta-form .btn-primary {
  background: #fff;
  color: var(--red);
}

.cta-note {
  font-size: 13px;
  opacity: 0.75;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  flex-shrink: 0;
  font-size: 24px;
}

.contact-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.contact-item p {
  color: var(--text-muted);
  font-size: 14px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px 18px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: #fff;
  outline: none;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-success {
  display: none;
  color: #4ade80;
  font-size: 14px;
  text-align: center;
}

.form-success.show {
  display: block;
}

.footer {
  padding: 80px 0 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--surface3);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--red);
  border-color: var(--red);
}

.footer-col h4 {
  margin-bottom: 20px;
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 700;
}

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

.footer-col a {
  color: var(--text-muted);
  font-size: 14px;
  transition: var(--transition);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.footer-bottom p,
.footer-legal a {
  color: var(--text-muted);
  font-size: 13px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.cart-overlay.open {
  display: block;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  bottom: 0;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  width: 420px;
  background: var(--surface);
  border-left: 1px solid var(--border);
  transition: var(--transition);
}

.cart-sidebar.open {
  right: 0;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.cart-header h3 {
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 700;
}

#cart-close {
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.cart-empty {
  padding: 40px 0;
  color: var(--text-muted);
  text-align: center;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  min-width: 56px;
  height: 56px;
  background: var(--surface2);
  border-radius: 10px;
  overflow: hidden;
}

.cart-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
}

.cart-item-price {
  color: var(--red);
  font-size: 14px;
}

.cart-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.cart-qty button {
  width: 24px;
  height: 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
}

.cart-item-remove {
  align-self: flex-start;
  padding: 4px;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
}

.cart-footer {
  padding: 24px;
  padding-bottom: 90px;
  border-top: 1px solid var(--border);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 16px;
}

.cart-total strong {
  color: var(--red);
  font-size: 20px;
}

.checkout-btn {
  width: 100%;
}

.back-to-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-4px);
}

@media (max-width: 1280px) {
  /* Squeezes the top-level nav (9 items after the Home add + Company
     consolidation) so it stays on one line down to the 1024px breakpoint
     below, instead of wrapping to two lines before the hamburger menu
     takes over at 768px. */
  .nav-container {
    padding: 20px 24px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links > li > a {
    font-size: 12px;
  }
}

@media (max-width: 1024px) {
  .slide-content {
    padding: 0 60px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .category-grid-big {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-img-wrap {
    height: 160px;
  }
}

/* The slide-down menu takes over from tablet width: the full menu bar does
   not fit under ~1024px (links wrapped onto two lines and pushed the logo
   and the account/cart icons off screen). */
@media (max-width: 1024px) {
  .nav-container {
    padding: 16px 18px;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;
    z-index: 999;
    display: none;
    flex-direction: column;
    gap: 0;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    background: #0d0d0d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .nav-links > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    font-weight: 600;
  }

  .nav-links > li.has-dropdown > a::before {
    content: none;
  }

  .nav-links > li.has-dropdown > a::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-right: 2px solid rgba(255, 255, 255, 0.45);
    border-bottom: 2px solid rgba(255, 255, 255, 0.45);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }

  .nav-links > li.has-dropdown.open > a::after {
    transform: rotate(-135deg);
  }

  .nav-links .dropdown,
  .nav-links li.has-dropdown .dropdown {
    position: static;
    display: none;
    grid-template-columns: unset !important;
    gap: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: #161616;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none !important;
    pointer-events: auto;
  }

  .nav-links li.has-dropdown.open .dropdown {
    display: flex;
    flex-direction: column;
  }

  .nav-links .dropdown-link {
    padding: 13px 20px 13px 28px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
  }

  .nav-links .mega-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 13px 20px 13px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    transform: none;
  }

  .nav-links .mega-img-wrap,
  .nav-links .mega-subtitle {
    display: none;
  }

  .nav-links .mega-title {
    flex: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 500;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .slide-content {
    padding: 0 28px;
  }

  .hero-title {
    font-size: clamp(30px, 8vw, 52px);
    letter-spacing: -1px;
  }

  .hero-sub {
    max-width: 320px;
    margin-bottom: 28px;
    font-size: 15px;
  }

  .hero-btns {
    gap: 10px;
    margin-bottom: 36px;
  }

  .hero-btns .btn {
    padding: 11px 22px;
    font-size: 14px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .stat-num {
    font-size: 24px;
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
  }

  .carousel-prev {
    left: 8px;
  }

  .carousel-next {
    right: 8px;
  }

  .slide-bg-img {
    object-position: 70% center;
  }

  .slide-overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.55) 50%, rgba(0, 0, 0, 0.1) 100%);
  }

  .category-grid,
  .category-grid-big {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-img-wrap {
    height: 120px;
  }

  .category-info {
    padding: 12px 12px 8px;
  }

  .category-info h3 {
    margin-bottom: 0;
    font-size: 14px;
  }

  .category-info p {
    display: none;
  }

  .category-count {
    margin-top: 4px;
    padding: 3px 8px;
    font-size: 11px;
  }

  .category-arrow {
    right: 10px;
    bottom: 10px;
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-info {
    min-height: unset;
    padding: 10px;
  }

  .product-name {
    min-height: unset;
    margin-bottom: 4px;
    font-size: 13px;
  }

  .product-category-tag,
  .product-category-details,
  .product-price,
  .product-old-price {
    display: none;
  }

  .add-to-cart {
    width: 30px;
    min-width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .product-badge {
    padding: 3px 7px;
    font-size: 9px;
  }

  .product-wishlist {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .filter-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 13px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .section-sub {
    font-size: 14px;
  }

  .categories,
  .featured,
  .why-us,
  .testimonials,
  .contact {
    padding: 60px 0;
  }

  .testimonial-grid,
  .features-grid,
  .contact-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .cart-sidebar {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .search-suggestions {
    max-width: 100%;
    max-height: 60vh;
    border-radius: 0 0 12px 12px;
  }

  .search-suggestion-item {
    gap: 12px;
    padding: 12px 16px;
  }

  .search-suggestion-img {
    width: 44px;
    min-width: 44px;
    height: 44px;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .search-bar {
    padding: 12px 20px;
  }

  .slide-content {
    padding: 0 16px;
  }

  .hero-title {
    font-size: clamp(26px, 9vw, 42px);
  }

  .hero-btns {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-btns .btn {
    width: 100%;
  }

  .products-grid,
  .category-grid,
  .category-grid-big {
    gap: 8px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

.nav-links > li.active > a {
  color: #fff;
}

.section-tag {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.simple-page {
  padding: 160px 0 120px;
  text-align: center;
}

.page-hero {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 80px;
}

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

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.78) 0%, rgba(230, 57, 70, 0.3) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.page-hero-content h1 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.page-hero-content p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  max-width: 620px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.page-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  padding: 60px 0 100px;
}

.sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.sidebar-card,
.billing-form,
.cart-items-list,
.cart-summary,
.account-card,
.account-menu,
.account-content,
.wholesale-form-wrap,
.order-details-box,
.checkout-dropdown {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.sidebar-card {
  padding: 24px;
  margin-bottom: 20px;
}

.sidebar-title {
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #fff;
}

.filter-list,
.price-range,
.account-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.account-form select option {
  background: #1f1f1f;
  color: #fff;
}

.filter-item,
.filter-sub-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
  font-size: 14px;
  color: var(--text-muted);
  background: transparent;
}

.filter-item:hover,
.filter-item.active,
.filter-sub-item:hover,
.filter-sub-item.active-sub {
  background: rgba(230, 57, 70, 0.1);
  border-color: rgba(230, 57, 70, 0.25);
  color: var(--red);
}

.filter-item.passive {
  cursor: default;
}

.filter-sub-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 14px;
  margin-top: 4px;
}

.filter-count {
  font-size: 11px;
  background: var(--surface2);
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--text-muted);
}

.price-inputs,
.form-row,
.form-row-2,
.detail-grid,
.coupon-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.price-inputs input,
.form-group input,
.form-group select,
.form-group textarea,
.variation-select-field select,
.account-field input,
.account-field select,
.account-field textarea,
.coupon-row input,
.checkout-dropdown input {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 14px;
  color: #fff;
  outline: none;
}

.form-group textarea,
.account-field textarea {
  resize: vertical;
}

.price-inputs input:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.variation-select-field select:focus,
.account-field input:focus,
.account-field select:focus,
.account-field textarea:focus,
.coupon-row input:focus,
.checkout-dropdown input:focus {
  border-color: var(--red);
}

.product-main {
  min-width: 0;
}

.product-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.results-count {
  color: var(--text-muted);
  font-size: 14px;
}

.results-count strong {
  color: #fff;
}

.sort-select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: #fff;
  padding: 9px 16px;
  border-radius: 9px;
  outline: none;
}

.page-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}

.page-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.page-pagination button {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.page-pagination button.active {
  background: var(--red);
  border-color: var(--red);
}

.pcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.pcard:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 57, 70, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.pcard-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface2);
  cursor: pointer;
}

.pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.pcard-img .img-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
}

.pcard:hover .img-main {
  opacity: 0;
  transform: scale(1.08);
}

.pcard:hover .img-hover {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.pcard-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ffc107;
  color: #111;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  border-radius: 4px;
  z-index: 2;
  text-transform: uppercase;
}

.pcard-badge.sold-out {
  background: var(--red);
  color: #fff;
}

.pcard-wish {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  z-index: 2;
}

.pcard-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pcard-cat {
  font-size: 11px;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.pcard-name {
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.35;
  color: #fff;
}

.pcard-category-details {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.4;
  text-transform: capitalize;
}

.pcard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 12px;
}

.pcard-price {
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.pcard-old {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 6px;
}

.pcard-add {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  cursor: pointer;
}

.pcard-add:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.related-section {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.related-title {
  font-family: "Outfit", sans-serif;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 32px;
}

.related-slider-wrap {
  overflow-x: auto;
  padding-bottom: 16px;
}

.related-grid-scroll {
  display: flex;
  gap: 24px;
  width: max-content;
}

.related-grid-scroll .pcard {
  width: 260px;
  flex-shrink: 0;
}

.category-hub-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.hub-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}

.hub-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.hub-card span {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.accessories-hub {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 14px;
}

.accessories-hub .hub-card {
  width: 140px;
  flex: 0 0 140px;
}

.empty-listing {
  grid-column: 1 / -1;
  color: var(--text-muted);
  text-align: center;
  padding: 40px 0;
}

.about-section,
.team-section,
.contact-page {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.about-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--red);
  color: #fff;
  padding: 16px 24px;
  border-radius: 14px;
}

.about-img-badge .num,
.astat .num {
  font-family: "Outfit", sans-serif;
  font-size: 36px;
  font-weight: 800;
}

.about-text h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 800;
  margin-bottom: 20px;
}

.about-text p,
.wholesale-card p,
.blog-card-body p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}

.about-stats,
.contact-cards,
.wholesale-grid,
.team-grid,
.dashboard-cards {
  display: grid;
  gap: 20px;
}

.about-stats {
  grid-template-columns: 1fr 1fr;
  margin-top: 36px;
}

.astat,
.contact-card,
.wholesale-card,
.dashboard-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.team-section {
  background: var(--surface);
}

.team-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  margin-top: 48px;
}

.team-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.team-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.team-info {
  padding: 20px;
}

.team-info p,
.contact-card p,
.contact-card a {
  color: var(--text-muted);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  padding: 60px 0 100px;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-img {
  height: 220px;
  flex-shrink: 0;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-body h3 {
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 52px;
}

.blog-card-body p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: auto;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.blog-tag {
  display: inline-block;
  background: rgba(230, 57, 70, 0.12);
  border: 1px solid rgba(230, 57, 70, 0.25);
  color: var(--red);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.wholesale-hero {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  padding: 80px 40px;
  text-align: center;
  margin-top: 80px;
}

.wholesale-hero h1 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  margin-bottom: 16px;
}

.wholesale-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  padding: 60px 0;
}

.wh-num {
  font-family: "Outfit", sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 12px;
}

.wholesale-form-wrap {
  padding: 56px 64px;
  max-width: 780px;
  margin: 0 auto 100px;
  background: #111;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
}

.wholesale-form-wrap h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.wholesale-form-wrap > p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.wh-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.wh-form input,
.wh-form select,
.wh-form textarea {
  padding: 15px 18px;
  font-size: 14px;
  border-radius: 12px;
}

.wh-form textarea {
  min-height: 130px;
  resize: vertical;
}

.wh-form .form-row {
  gap: 18px;
}

.wh-form .btn-primary {
  width: 100%;
  padding: 16px;
  font-size: 15px;
  letter-spacing: 0.4px;
  border-radius: 12px;
  margin-top: 6px;
  justify-content: center;
}

.contact-form-card {
  margin-top: 40px;
}

.contact-cards {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  margin-bottom: 60px;
}

.contact-card {
  text-align: center;
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(230, 57, 70, 0.12);
  color: var(--red);
  font-weight: 700;
  margin-bottom: 16px;
}

.map-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 60px;
  height: 380px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.product-page,
.cart-page,
.checkout-page,
.account-page {
  padding: 140px 0 100px;
}

.product-details-grid,
.cart-grid,
.checkout-grid,
.account-shell,
.account-grid {
  display: grid;
  gap: 36px;
}

.product-details-grid {
  grid-template-columns: 1.2fr 1fr;
  align-items: start;
}

.gallery-area,
.gallery-container {
  display: flex;
  gap: 20px;
}

.gallery-area {
  flex-direction: column;
}

.thumbnails {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 80px;
}

.thumb {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface2);
  opacity: 0.6;
}

.thumb.active {
  opacity: 1;
  border-color: var(--red);
}

.main-image {
  flex: 1;
  aspect-ratio: 1;
  background: var(--surface2);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-breadcrumb {
  justify-content: flex-start;
}

.product-title,
.checkout-section-title,
.success-title,
.account-title {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
}

.product-title {
  font-size: 42px;
  margin-bottom: 16px;
  line-height: 1.1;
}

.product-price-big {
  font-family: "Outfit", sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 30px;
  display: flex;
  gap: 16px;
}

.product-old-price-big {
  font-size: 20px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-description-summary {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 24px;
  border-left: 2px solid var(--red);
  padding-left: 14px;
}

.product-free-shipping-banner {
  position: relative;
  background: rgba(230, 57, 70, 0.05);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 28px;
  color: var(--red);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.product-free-shipping-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  border: 2px dashed var(--red);
  background: transparent;
  animation: march-border 18s linear infinite;
  background-image: repeating-linear-gradient(
    90deg,
    var(--red) 0,
    var(--red) 8px,
    transparent 8px,
    transparent 18px
  ),
  repeating-linear-gradient(
    180deg,
    var(--red) 0,
    var(--red) 8px,
    transparent 8px,
    transparent 18px
  ),
  repeating-linear-gradient(
    90deg,
    var(--red) 0,
    var(--red) 8px,
    transparent 8px,
    transparent 18px
  ),
  repeating-linear-gradient(
    180deg,
    var(--red) 0,
    var(--red) 8px,
    transparent 8px,
    transparent 18px
  );
  background-size: 26px 2px, 2px 26px, 26px 2px, 2px 26px;
  background-position: 0 0, 100% 0, 0 100%, 0 0;
  background-repeat: repeat-x, repeat-y, repeat-x, repeat-y;
  animation: march-border 2s linear infinite;
  border: none;
}

@keyframes march-border {
  0% {
    background-position: 0 0, 100% 0, 100% 100%, 0 100%;
  }
  100% {
    background-position: 26px 0, 100% 26px, calc(100% - 26px) 100%, 0 calc(100% - 26px);
  }
}

.product-stock-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #22c55e;
  margin-bottom: 16px;
}

.product-stock-indicator .stock-check {
  font-size: 16px;
  color: #22c55e;
}

.btn-buy-now {
  padding: 14px 28px;
  background: #111;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn-buy-now:hover {
  background: #222;
  border-color: rgba(255,255,255,0.3);
}

.product-description-body p {
  color: rgba(255,255,255,0.75);
  line-height: 1.85;
  margin-bottom: 16px;
  font-size: 15px;
}

.product-description-body p:last-child {
  margin-bottom: 0;
}

.product-description-body .seo-footer-note {
  color: rgba(255,255,255,0.45);
  font-style: italic;
  font-size: 13px;
  margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 16px;
}

.variation-selector-wrap {
  margin-bottom: 24px;
}

.variation-label {
  display: block;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.variation-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.variation-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  border-radius: 12px;
  color: #fff;
}

.variation-chip.active {
  background: var(--red);
  border-color: var(--red);
}

.variation-chip.outofstock {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

.variation-select-grid {
  display: grid;
  gap: 12px;
}

.variation-select-field {
  display: grid;
  gap: 8px;
}

.variation-select-field span {
  font-weight: 700;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  align-items: center;
}

.add-btn-large {
  flex: 1;
  min-width: 140px;
}

.qty-input {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 6px 16px;
}

.qty-input button {
  width: 32px;
  height: 32px;
}

.qty-input input {
  width: 45px;
  text-align: center;
  background: transparent;
  border: none;
  color: #fff;
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.spec-item {
  display: flex;
  gap: 12px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
}

.spec-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-item b {
  width: 150px;
  flex-shrink: 0;
}

.product-tabs {
  margin-top: 80px;
  border-top: 1px solid var(--border);
}

.tab-headers {
  display: flex;
  gap: 40px;
  border-bottom: 1px solid var(--border);
}

.tab-header {
  padding: 24px 0;
  color: var(--red);
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  border-bottom: 3px solid var(--red);
}

.tab-content {
  padding: 40px 0;
  color: var(--text-muted);
  line-height: 1.9;
}

.tab-content h3 {
  color: #fff;
  margin-bottom: 20px;
}

.cart-grid {
  grid-template-columns: 2fr 1fr;
  align-items: start;
}

.cart-items-list,
.cart-summary {
  padding: 24px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-img {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  background: var(--surface3);
  overflow: hidden;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-title {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.cart-item-price {
  color: var(--red);
  font-weight: 700;
  margin-bottom: 10px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-item-qty button {
  background: var(--surface);
  border: 1px solid var(--border);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.cart-item-remove {
  color: var(--text-muted);
  font-size: 20px;
}

.cart-summary {
  position: sticky;
  top: 120px;
}

.cart-summary h3,
.checkout-section-title {
  font-size: 22px;
  margin-bottom: 24px;
}

.summary-row,
.summary-total,
.os-summary-row,
.os-summary-total,
.od-row {
  display: flex;
  justify-content: space-between;
}

.summary-total,
.os-summary-total {
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--border);
  font-weight: 700;
}

.empty-cart-msg {
  text-align: center;
  padding: 60px 0;
  color: var(--text-muted);
}

.free-shipping-notice-small,
.discount-row {
  color: #4ade80;
}

.checkout-toggles {
  margin-bottom: 30px;
}

.checkout-banner {
  background: #f9f9f9;
  border-top: 3px solid var(--red);
  padding: 16px 20px;
  margin-bottom: 16px;
  font-size: 15px;
  color: #111;
}

.inline-link,
.link-button {
  color: var(--red);
  font-weight: 600;
  background: transparent;
  cursor: pointer;
}

.checkout-dropdown {
  padding: 24px;
  margin-bottom: 24px;
}

.checkout-grid {
  grid-template-columns: 1.5fr 1fr;
  align-items: start;
}

.billing-form {
  padding: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.order-summary-box {
  background: #fdfdfd;
  border: 1px dashed #ccc;
  border-radius: 16px;
  padding: 32px;
  color: #111;
  position: sticky;
  top: 120px;
}

/* .account-field is normally styled for AccountPage's dark card — override
   it here since the payment section lives on this light card instead. */
.order-summary-box .account-field input,
.order-summary-box .account-field select,
.order-summary-box .account-field textarea {
  background: #fff;
  color: #111;
  border: 1px solid #ddd;
}

.order-summary-box .account-field label {
  color: #444;
}

.order-summary-box .checkout-section-title {
  color: #111;
}

.os-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.os-table th,
.account-table th,
.account-table td {
  text-align: left;
  padding: 14px 12px;
}

.os-item-cell {
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.os-item-img {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  background: #f0f0f0;
  overflow: hidden;
}

.os-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.os-item-name,
.os-item-total,
.order-summary-box .os-summary-row,
.order-summary-box .os-summary-total,
.order-summary-box p,
.order-summary-box span {
  color: #111;
}

.remove-inline {
  color: var(--text-muted);
}

.qty-badge {
  border: 1px solid #ccc;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.payment-methods {
  margin: 24px 0;
}

.pm-option {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.pm-option-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.card-payment-form {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 18px 6px;
  margin: 4px 0 20px;
}

.card-payment-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.card-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #64748b;
}

.pay-btn {
  width: 100%;
  background: #8e1f2f;
  color: #fff;
  padding: 18px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
}

.account-grid {
  grid-template-columns: 240px 1fr;
}

.account-card,
.account-menu,
.account-content {
  padding: 32px;
}

.account-sub {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 26px;
}

.split-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.split-auth > div:last-child {
  border-left: 1px solid var(--border);
  padding-left: 30px;
}

.auth-tabs {
  display: flex;
  gap: 4px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  width: fit-content;
  margin-bottom: 24px;
}

.auth-tab-btn {
  padding: 9px 24px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.auth-tab-btn.active {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
}

.auth-tab-btn:not(.active):hover {
  color: var(--text);
}

.account-card {
  max-width: 480px;
  margin: 0 auto;
}

.split-auth-single {
  display: block;
  max-width: 420px;
}

.split-auth-single > div:last-child {
  border-left: none;
  padding-left: 0;
}

.account-menu h3 {
  font-family: "Outfit", sans-serif;
  font-size: 22px;
  margin-bottom: 16px;
}

.account-menu button {
  width: 100%;
  text-align: left;
  color: var(--text-muted);
  padding: 12px 14px;
  border-radius: 12px;
}

.account-menu button.active,
.account-menu button:hover {
  background: rgba(230, 57, 70, 0.12);
  color: var(--red);
}

.dashboard-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-card {
  text-align: center;
}

.dashboard-card strong {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 24px;
  margin-bottom: 6px;
}

.account-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.account-table th,
.account-table td {
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.status-pill {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.status-pill.processing,
.status-pill.pending-payment {
  background: rgba(255, 193, 7, 0.12);
  color: #ffc107;
}

.status-pill.completed,
.status-pill.paid {
  background: rgba(58, 201, 102, 0.12);
  color: #3ac966;
}

.order-success-wrap {
  max-width: 560px;
  margin: 60px auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 44px 40px;
  text-align: center;
}

.order-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(58, 201, 102, 0.12);
  color: #3ac966;
  margin-bottom: 20px;
}

.order-success-title {
  font-family: "Outfit", sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.order-success-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.order-success-id {
  display: inline-block;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.order-success-id strong {
  color: var(--text);
  letter-spacing: 0.4px;
}

.order-success-details {
  text-align: left;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px 18px;
  margin-bottom: 20px;
}

.osd-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.osd-row:last-child {
  border-bottom: none;
}

.osd-row span:first-child {
  color: var(--text-muted);
}

.osd-status {
  font-weight: 700;
  color: var(--red);
}

.osd-item {
  font-size: 13px;
}

.order-success-note {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 26px;
}

.order-success-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.orders-list {
  display: grid;
  gap: 16px;
}

.order-track-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
}

.order-track-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.order-track-id {
  display: block;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 15px;
}

.order-track-date {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 2px;
}

.order-track-total {
  font-weight: 700;
  font-size: 15px;
}

.status-pill--lg {
  padding: 6px 14px;
  font-size: 12px;
}

.status-pill.confirmed {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
}

.status-pill.shipped {
  background: rgba(129, 140, 248, 0.14);
  color: #a5b4fc;
}

.status-pill.delivered {
  background: rgba(58, 201, 102, 0.12);
  color: #3ac966;
}

.status-pill.cancelled,
.status-pill.failed {
  background: rgba(255, 123, 123, 0.12);
  color: #ff7b7b;
}

.order-track-items {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.order-track-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.order-track-item img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.otrack-name {
  font-size: 13px;
  font-weight: 600;
}

.otrack-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.order-progress {
  display: flex;
  align-items: flex-start;
  margin: 18px 0;
}

.op-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
}

.op-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 1;
}

.op-step.done .op-dot {
  background: var(--red);
  border-color: var(--red);
}

.op-step.current .op-dot {
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.2);
}

.op-line {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.op-step.done .op-line {
  background: var(--red);
}

.op-label {
  margin-top: 8px;
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.op-step.done .op-label,
.op-step.current .op-label {
  color: var(--text);
}

.order-cancelled-note {
  color: #ff7b7b;
  font-size: 13px;
  font-weight: 600;
  margin: 14px 0;
}

.order-track-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

.wishlist-list {
  display: grid;
  gap: 12px;
}

.wishlist-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
}

.account-msg {
  font-size: 13px;
  color: var(--text-muted);
  min-height: 18px;
}

.account-msg.error {
  color: #ff7b7b;
}

.account-msg.success {
  color: #72d572;
}

.remember-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
}

.remember-inline input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.account-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 24px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #1a1a1a inset !important;
  -webkit-text-fill-color: white !important;
  transition: background-color 5000s ease-in-out 0s;
}

.account-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9999;
}

.account-modal-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  position: relative;
}

.account-modal-card h3 {
  font-family: "Outfit", sans-serif;
  font-size: 24px;
  margin-bottom: 8px;
}

.account-modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 24px;
}

.recovery-code-preview {
  color: #72d572;
  font-size: 13px;
  background: rgba(114, 213, 114, 0.08);
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(114, 213, 114, 0.2);
}

.success-page {
  padding: 180px 0 140px;
  text-align: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-weight: 700;
}

.success-msg {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.order-details-box {
  padding: 32px;
  max-width: 600px;
  margin: 0 auto 40px;
  text-align: left;
}

.od-row {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.od-label {
  color: var(--text-muted);
  font-size: 14px;
}

.od-value {
  font-weight: 600;
  color: #fff;
}

@media (max-width: 1024px) {
  .page-layout,
  .checkout-grid,
  .cart-grid,
  .product-details-grid,
  .about-grid,
  .account-grid,
  .split-auth,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: sticky;
    top: 70px;
    z-index: 10;
    background: var(--background);
    margin-bottom: 20px;
  }

  .sidebar-card {
    padding: 12px 0;
    margin-bottom: 0;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .sidebar-title {
    display: none;
  }

  .filter-list {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  
  .filter-list::-webkit-scrollbar {
    display: none;
  }

  .filter-list > div {
    display: flex;
    flex-direction: row;
    gap: 12px;
  }

  .filter-item, .filter-sub-item {
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: 20px;
    width: auto;
    font-size: 14px;
  }

  .filter-sub-list {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-top: 0;
    margin-left: 0;
    border-left: none;
    padding-left: 0;
  }
  
  .filter-count {
    display: none;
  }

  .cart-summary,
  .order-summary-box {
    position: static;
  }

  .category-hub-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-container {
    flex-direction: column-reverse;
  }

  .thumbnails {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
  }
}

@media (max-width: 768px) {
  .page-hero {
    height: 280px;
  }

  .category-hub-grid,
  .contact-cards,
  .blog-grid,
  .dashboard-cards {
    grid-template-columns: 1fr 1fr;
  }

  .price-inputs,
  .form-row,
  .form-row-2,
  .detail-grid,
  .coupon-row,
  .about-stats {
    grid-template-columns: 1fr;
  }

  .wishlist-item,
  .cart-item-row,
  .action-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .wholesale-form-wrap,
  .account-card,
  .account-menu,
  .account-content,
  .billing-form,
  .cart-items-list,
  .cart-summary,
  .order-summary-box {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .category-hub-grid,
  .contact-cards,
  .dashboard-cards,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .product-title {
    font-size: 30px;
  }

  .product-price-big {
    font-size: 28px;
    flex-direction: column;
    gap: 6px;
  }
}

.dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 20px;
}

.dialog-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 420px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: dialog-pop 0.15s ease-out;
}

@keyframes dialog-pop {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.dialog-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.dialog-message {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  white-space: pre-line;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.dialog-btn {
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.dialog-btn-cancel {
  background: var(--surface3);
  color: var(--text);
}

.dialog-btn-cancel:hover {
  background: var(--surface);
}

.dialog-btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  border-color: transparent;
}

.dialog-btn-primary:hover {
  filter: brightness(1.1);
}

.dialog-btn-danger {
  background: linear-gradient(135deg, #d32f2f, #8e0000);
}

.oauth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.oauth-divider::before,
.oauth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 16px;
  background: #fff;
  color: #1f1f1f;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-google:hover {
  background: #f4f4f4;
}

/* Rich text editor content — shared typography rules for both the admin
   Tiptap editor (.rte-content) and the public blog post body (.blog-body),
   since they render the exact same HTML the editor produces. */
.rte-content,
.blog-body {
  line-height: 1.8;
  font-size: 1.05rem;
  color: inherit;
}

.rte-content {
  min-height: 220px;
  outline: none;
}

.rte-content p.is-editor-empty:first-child::before {
  content: attr(data-placeholder);
  float: left;
  color: #9ca3af;
  pointer-events: none;
  height: 0;
}

.rte-content h2, .blog-body h2 { font-size: 1.6em; font-weight: 800; margin: 1em 0 0.5em; line-height: 1.3; }
.rte-content h3, .blog-body h3 { font-size: 1.3em; font-weight: 700; margin: 1em 0 0.5em; line-height: 1.3; }
.rte-content h4, .blog-body h4 { font-size: 1.1em; font-weight: 700; margin: 1em 0 0.5em; line-height: 1.3; }
.rte-content p, .blog-body p { margin: 0 0 1em; }
.rte-content ul, .blog-body ul { list-style: disc; padding-left: 1.4em; margin: 0 0 1em; }
.rte-content ol, .blog-body ol { list-style: decimal; padding-left: 1.4em; margin: 0 0 1em; }
.rte-content li, .blog-body li { margin-bottom: 0.4em; }
.rte-content blockquote, .blog-body blockquote {
  border-left: 3px solid var(--red);
  margin: 1em 0;
  padding: 0.4em 0 0.4em 1em;
  color: #6b7280;
  font-style: italic;
}
.rte-content a, .blog-body a { color: var(--red); text-decoration: underline; }
.rte-content img, .blog-body img { max-width: 100%; border-radius: 10px; margin: 0.6em 0; display: block; }
.rte-content strong, .blog-body strong { font-weight: 700; }

/* Cards that open a page when clicked anywhere on them (see site.js). */
[data-card-href] {
  cursor: pointer;
}

/* Product descriptions can carry simple HTML typed in Dolibarr (see Html::richText). */
.product-description-summary p {
  margin: 0 0 8px;
}
.product-description-summary p:last-child {
  margin-bottom: 0;
}
.product-description-summary ul,
.product-description-summary ol,
.product-description-body ul,
.product-description-body ol {
  margin: 0 0 12px;
  padding-left: 22px;
}
.product-description-body li,
.product-description-summary li {
  margin-bottom: 4px;
}
.product-description-body a,
.product-description-summary a {
  color: var(--red);
  text-decoration: underline;
}

/* Shown when an item could not be added to the cart (see site.js). */
.cart-error-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 3000;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 14px 18px;
  border-radius: 12px;
  background: #7f1d1d;
  border: 1px solid var(--red);
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* ---- Phone and tablet fixes ---- */
@media (max-width: 1024px) {
  /* Tablet: 3 products per row instead of 2 very wide ones. */
  .products-grid,
  .page-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 768px) {
  /* Phone: 2 products per row on every listing (home, category, related). */
  .products-grid,
  .page-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .pcard-body {
    padding: 10px;
  }

  .pcard-name {
    font-size: 13px;
  }

  .pcard-price {
    font-size: 14px;
  }

  /* Add-to-cart "+" stays big enough to tap (it was shrunk to 30px). */
  .add-to-cart,
  .pcard-add {
    width: 38px;
    min-width: 38px;
    height: 38px;
    font-size: 20px;
    flex-shrink: 0;
  }

  /* Product page: Add to Cart and Buy Now each take the full width
     instead of two different widths stacked on the left. */
  .action-row {
    align-items: stretch;
  }

  /* ...but the quantity stepper keeps its own compact width. */
  .action-row .qty-input {
    align-self: flex-start;
  }

  .action-row .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Nothing may push the page wider than the screen. */
  html,
  body {
    overflow-x: hidden;
  }

  img,
  video,
  iframe {
    max-width: 100%;
  }
}

/* A cart form while its in-page request is on its way (see site.js). */
form.is-busy {
  opacity: 0.55;
  pointer-events: none;
}
