/* ============================================
   MOBILITY PLUS ONLINE - Main Stylesheet
   ============================================ */

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

:root {
  --color-primary: #cf0e2d;
  --color-primary-dark: #bc0d29;
  --color-primary-light: #d42642;
  --color-text: #1d1d1d;
  --color-text-light: #666;
  --color-text-lighter: #949494;
  --color-bg: #fff;
  --color-bg-alt: #f8f8f8;
  --color-bg-dark: #4d4d4d;
  --color-border: #e5e5e5;
  --color-border-light: #f0f0f0;
  --color-star: #d4a843;
  --color-badge-bg: #2d8a4e;
  --color-badge-text: #fff;
  --font-heading: 'Montserrat', 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-max: 1200px;
  --header-height: 70px;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.25;
}

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

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-to-content {
  position: absolute;
  top: -100px;
  left: 10px;
  background: var(--color-primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  z-index: 10000;
  transition: top 0.3s;
}
.skip-to-content:focus {
  top: 10px;
}

/* ---------- Announcement Bar ---------- */
.announcement-bar {
  background: var(--color-bg-dark);
  color: #ddd;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 12px 16px;
  position: relative;
  z-index: 100;
}
.announcement-bar__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}
.announcement-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ddd;
  font-weight: 700;
}
.announcement-phone:hover {
  opacity: 0.9;
  color: #fff;
}
.announcement-phone svg {
  flex-shrink: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: var(--header-height);
  gap: 20px;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 10;
}
.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Logo */
.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.header-logo img {
  height: 52px;
  width: auto;
  border-bottom-left-radius: 35%;
  border-top-right-radius: 45%;
  border-top-left-radius: 35%;
  border-bottom-right-radius: 45%;
}

/* Desktop Nav */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  transition: color var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}
.nav-link svg {
  transition: transform 0.3s;
}

/* Dropdown */
.has-dropdown:hover .nav-link svg {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  padding: 8px 0;
  z-index: 100;
}
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--color-text);
  transition: background var(--transition), color var(--transition);
}
.dropdown-menu li a:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--color-text);
  transition: background var(--transition), color var(--transition);
  position: relative;
}
.header-icon:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}
.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--color-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.search-overlay.active {
  opacity: 1;
  visibility: visible;
}
.search-overlay__inner {
  width: 100%;
  max-width: 600px;
  padding: 0 20px;
  position: relative;
}
.search-form {
  display: flex;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.search-input {
  flex: 1;
  padding: 16px 20px;
  border: none;
  font-size: 16px;
  font-family: inherit;
  outline: none;
}
.search-submit {
  padding: 16px 20px;
  color: var(--color-primary);
  transition: color var(--transition);
}
.search-submit:hover {
  color: var(--color-primary-dark);
}
.search-close {
  position: absolute;
  top: -50px;
  right: 20px;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  transition: opacity var(--transition);
}
.search-close:hover {
  opacity: 0.7;
}

/* ---------- Mobile Navigation ---------- */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background: #fff;
  z-index: 1600;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-nav.active {
  transform: translateX(0);
}
.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav__title {
  font-size: 18px;
  font-weight: 700;
}
.mobile-nav__close {
  font-size: 28px;
  color: var(--color-text);
  line-height: 1;
}
.mobile-nav__list {
  flex: 1;
  padding: 8px 0;
}
.mobile-nav__list > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border-light);
}
.mobile-nav__list > li > a:hover {
  color: var(--color-primary);
  background: var(--color-bg-alt);
}
.mobile-nav__toggle {
  font-size: 20px;
  font-weight: 300;
  transition: transform 0.3s;
}
.mobile-nav__item--parent.open .mobile-nav__toggle {
  transform: rotate(45deg);
}
.mobile-nav__sub {
  display: none;
  background: var(--color-bg-alt);
}
.mobile-nav__item--parent.open .mobile-nav__sub {
  display: block;
}
.mobile-nav__sub li a {
  display: block;
  padding: 12px 20px 12px 40px;
  font-size: 14px;
  color: var(--color-text-light);
  border-bottom: 1px solid var(--color-border-light);
}
.mobile-nav__sub li a:hover {
  color: var(--color-primary);
}
.mobile-nav__footer {
  padding: 16px 20px;
  border-top: 1px solid var(--color-border);
}
.mobile-nav__login {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary);
}

/* ---------- Feature Bar ---------- */
.feature-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 14px 20px;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
}
.feature-bar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text);
  white-space: nowrap;
}
.feature-bar__item svg {
  color: var(--color-primary);
  flex-shrink: 0;
}
.feature-bar__item strong {
  font-weight: 700;
}
.feature-bar__divider {
  width: 1px;
  height: 24px;
  background: var(--color-border);
}

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-section__bg {
  position: absolute;
  inset: 0;
}
.hero-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}
.hero-section__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 20px;
}
.hero-section__title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  letter-spacing: -0.5px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline:hover {
  background: #fff;
  color: var(--color-text);
}

/* ---------- Products Section ---------- */
.products-section {
  padding: 50px 0;
  background: var(--color-bg);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ---------- Product Card ---------- */
.product-card {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  background: #fff;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.product-card__image-wrap {
  position: relative;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
  overflow: hidden;
  background: #fafafa;
}
.product-compare {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  cursor: pointer;
}
.product-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--color-badge-bg);
  color: var(--color-badge-text);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
  letter-spacing: 0.3px;
}
.product-card__badge--new {
  background: var(--color-primary);
  color: #fff;
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}
.product-card__image {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card__image {
  transform: scale(1.05);
}
.product-card__info {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}
.product-card__title a:hover {
  color: var(--color-primary);
}
.product-card__vendor {
  font-size: 12px;
  color: var(--color-text-lighter);
  margin-bottom: 8px;
}
.product-card__vendor a {
  color: var(--color-text-lighter);
}
.product-card__vendor a:hover {
  color: var(--color-primary);
}
.product-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.stars {
  display: flex;
  gap: 1px;
}
.rating-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text);
}
.review-count {
  font-size: 12px;
  color: var(--color-text-lighter);
}
.product-card__price {
  margin-bottom: 8px;
}
.price-current {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
}
.product-card__desc {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  transition: color var(--transition);
}
.product-card__link:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* ---------- Advantage Section ---------- */
.advantage-section {
  padding: 70px 0;
  background: var(--color-bg-alt);
}
.section-title {
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 40px;
  color: var(--color-text);
  letter-spacing: -0.3px;
}
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.advantage-card {
  text-align: center;
  padding: 30px 20px;
}
.advantage-card__icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}
.advantage-card__icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.advantage-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}
.advantage-card__text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ---------- Category Section ---------- */
.category-section {
  padding: 70px 0;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.category-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition), transform var(--transition);
  background: #fff;
}
.category-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  transform: translateY(-4px);
  color: inherit;
}
.category-card__image {
  height: 300px;
  overflow: hidden;
}
.category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.category-card:hover .category-card__image img {
  transform: scale(1.05);
}
.category-card__content {
  padding: 24px 28px;
}
.category-card__title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--color-text);
}
.category-card__text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}
.category-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}
.category-card__link::after {
  content: ' \2192';
  transition: margin-left var(--transition);
}
.category-card:hover .category-card__link::after {
  margin-left: 6px;
}

/* ---------- Outdoor Section ---------- */
.outdoor-section {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.outdoor-section__bg {
  position: absolute;
  inset: 0;
}
.outdoor-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.outdoor-section__content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  gap: 50px;
  width: 100%;
}
.outdoor-section__card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  max-width: 280px;
  flex-shrink: 0;
}
.outdoor-section__product-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.outdoor-section__product-info {
  padding: 16px;
}
.outdoor-section__product-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.outdoor-section__product-vendor {
  font-size: 12px;
  color: var(--color-text-lighter);
  margin-bottom: 8px;
}
.outdoor-section__product-price {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.outdoor-section__product-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
}
.outdoor-section__product-link:hover {
  text-decoration: underline;
}
.outdoor-section__text {
  color: #fff;
}
.outdoor-section__title {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  letter-spacing: -0.5px;
}
.outdoor-section__desc {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  max-width: 500px;
}

/* ---------- Needs Section ---------- */
.needs-section {
  padding: 70px 0;
  background: var(--color-bg-alt);
  text-align: center;
}
.needs-section__subtitle {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 30px;
}
.needs-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}
.needs-tag {
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 30px;
  transition: all var(--transition);
  cursor: pointer;
}
.needs-tag:hover,
.needs-tag.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ---------- Finance Section ---------- */
.finance-section {
  padding: 60px 0;
}
.finance-card {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f8f0f4 0%, #fdf5f9 100%);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.finance-card__image {
  flex: 1;
  max-width: 400px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.finance-card__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.finance-card__content {
  flex: 1;
  padding: 40px;
}
.finance-card__title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--color-text);
}
.finance-card__text {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ---------- Back to Top ---------- */
.back-to-top {
  text-align: center;
  padding: 16px;
}
.back-to-top a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-light);
  transition: color var(--transition);
}
.back-to-top a:hover {
  color: var(--color-primary);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-bg-dark);
  color: #ddd;
  padding-top: 60px;
}
.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col__title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  font-size: 14px;
  color: #ddd;
  transition: color var(--transition);
}
.footer-links a:hover {
  color: #fff;
}
.footer-subscribe-text {
  font-size: 14px;
  color: #ddd;
  margin-bottom: 14px;
  line-height: 1.5;
}
.footer-subscribe-form {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
}
.footer-subscribe-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  border-radius: 4px 0 0 4px;
  outline: none;
}
.footer-subscribe-input::placeholder {
  color: #888;
}
.footer-subscribe-input:focus {
  border-color: var(--color-primary);
}
.footer-subscribe-btn {
  padding: 10px 20px;
  background: var(--color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background var(--transition);
}
.footer-subscribe-btn:hover {
  background: var(--color-primary-dark);
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #ccc;
  transition: all var(--transition);
}
.footer-social__link:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Footer Payments */
.footer-payments {
  padding: 24px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-payments__label {
  font-size: 13px;
  color: #888;
  font-weight: 500;
}
.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.payment-icon {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  font-size: 12px;
  color: #aaa;
  font-weight: 500;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: #666;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

/* Page Masthead */
.page-masthead {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  padding: 40px 0;
  text-align: center;
}
.page-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.5px;
}

/* Contact Section */
.contact-section {
  padding: 50px 0 70px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 50px;
  align-items: start;
}

/* Contact Form */
.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 36px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.form-fields-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field {
  margin-bottom: 20px;
}
.form-field--half {
  margin-bottom: 0;
}
.form-field-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: black;
  margin-bottom: 8px;
}
.form-field-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 15px;
  font-family: var(--font-family);
  color: black;
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-field-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(139,26,26,0.1);
}
.form-field-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}
.form-action-row {
  margin-top: 8px;
}
.button-primary {
  display: inline-block;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-family);
}
.button-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}
.contact-form-button {
  width: 100%;
}

/* Contact Success Message */
.contact-success {
  text-align: center;
  padding: 40px 36px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.contact-success svg {
  margin-bottom: 16px;
}
.contact-success h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}
.contact-success p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Contact Info Sidebar */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info__card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.contact-info__card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}
.contact-info__icon {
  width: 52px;
  height: 52px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.contact-info__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}
.contact-info__text {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.contact-info__text:hover {
  text-decoration: underline;
}
.contact-info__subtext {
  font-size: 13px;
  color: var(--color-text-lighter);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-section {
    height: 280px;
  }
  .hero-section__title {
    font-size: 28px;
  }
  .outdoor-section__content {
    flex-direction: column;
    text-align: center;
  }
  .outdoor-section__desc {
    margin-left: auto;
    margin-right: auto;
  }
  .outdoor-section__card {
    max-width: 220px;
  }
  .outdoor-section__title {
    font-size: 30px;
  }
  .finance-card {
    flex-direction: column;
  }
  .finance-card__image {
    max-width: 300px;
  }

  /* Contact */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* Mobile Landscape & Small Tablets */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .mobile-menu-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    display: none;
  }

  .header-inner {
    justify-content: flex-start;
    gap: 8px;
    padding: 0 12px;
  }

  .header-logo img {
    height: 40px;
  }

  .header-actions {
    margin-left: auto;
    gap: 4px;
  }

  .header-icon {
    width: 40px;
    height: 40px;
  }

  /* Announcement Bar */
  .announcement-bar {
    font-size: 12px;
    padding: 10px 12px;
    line-height: 1.4;
  }
  .announcement-phone {
    font-size: 12px;
    gap: 6px;
  }
  .announcement-phone svg {
    width: 14px;
    height: 14px;
  }

  /* Feature Bar */
  .feature-bar {
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
  }
  .feature-bar__divider {
    width: 40px;
    height: 1px;
  }
  .feature-bar__item {
    font-size: 12px;
    gap: 8px;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
  .feature-bar__item svg {
    width: 18px;
    height: 18px;
  }

  /* Hero */
  .hero-section {
    height: 200px;
  }
  .hero-section__title {
    font-size: 22px;
    margin-bottom: 14px;
  }
  .hero-section__content {
    padding: 16px;
  }
  .btn {
    padding: 12px 24px;
    font-size: 13px;
  }

  /* Products */
  .products-section {
    padding: 24px 0;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-card__image-wrap {
    height: 150px;
    padding: 8px;
  }
  .product-card__info {
    padding: 10px;
  }
  .product-card__title {
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 4px;
  }
  .product-card__vendor {
    font-size: 11px;
    margin-bottom: 4px;
  }
  .product-card__rating {
    gap: 4px;
    margin-bottom: 4px;
  }
  .stars svg {
    width: 12px;
    height: 12px;
  }
  .rating-text,
  .review-count {
    font-size: 10px;
  }
  .price-current {
    font-size: 14px;
  }
  .product-card__desc {
    display: none;
  }
  .product-card__link {
    font-size: 11px;
  }
  .product-card__badge {
    font-size: 10px;
    padding: 3px 7px;
    top: 8px;
    right: 8px;
  }
  .product-compare {
    width: 16px;
    height: 16px;
    top: 8px;
    left: 8px;
  }

  /* Advantage */
  .advantage-section {
    padding: 40px 0;
  }
  .section-title {
    font-size: 22px;
    margin-bottom: 28px;
  }
  .advantage-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .advantage-card {
    padding: 24px 16px;
  }
  .advantage-card__icon img {
    width: 64px;
    height: 64px;
  }
  .advantage-card__title {
    font-size: 16px;
    margin-bottom: 8px;
  }
  .advantage-card__text {
    font-size: 13px;
  }

  /* Category */
  .category-section {
    padding: 40px 0;
  }
  .category-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .category-card__image {
    height: 200px;
  }
  .category-card__content {
    padding: 16px 20px;
  }
  .category-card__title {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .category-card__text {
    font-size: 13px;
    margin-bottom: 12px;
  }

  /* Outdoor */
  .outdoor-section {
    min-height: auto;
    padding: 40px 0;
  }
  .outdoor-section__bg img {
    filter: brightness(0.5);
  }
  .outdoor-section__content {
    flex-direction: column;
    text-align: center;
    padding: 30px 16px;
    gap: 24px;
  }
  .outdoor-section__card {
    max-width: 220px;
  }
  .outdoor-section__product-img {
    height: 160px;
  }
  .outdoor-section__title {
    font-size: 24px;
    margin-bottom: 8px;
  }
  .outdoor-section__desc {
    font-size: 14px;
    margin-bottom: 16px;
    max-width: 100%;
  }

  /* Needs Section */
  .needs-section {
    padding: 40px 0;
  }
  .needs-tags {
    gap: 8px;
  }
  .needs-tag {
    padding: 10px 16px;
    font-size: 13px;
    min-height: 40px;
  }

  /* Finance */
  .finance-section {
    padding: 40px 0;
  }
  .finance-card {
    flex-direction: column;
    text-align: center;
  }
  .finance-card__image {
    max-width: 240px;
    padding: 20px;
  }
  .finance-card__content {
    padding: 20px;
  }
  .finance-card__title {
    font-size: 20px;
    margin-bottom: 8px;
  }
  .finance-card__text {
    font-size: 14px;
    margin-bottom: 16px;
  }

  /* Contact */
  .page-masthead {
    padding: 28px 0;
  }
  .page-title {
    font-size: 26px;
  }
  .contact-section {
    padding: 30px 0 40px;
  }
  .contact-form {
    padding: 24px 20px;
    border-radius: 8px;
  }
  .form-fields-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-field--half {
    margin-bottom: 20px;
  }
  .form-field-input {
    padding: 14px 16px;
    font-size: 16px;
  }
  .contact-info {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .contact-info__card {
    padding: 24px 20px;
  }
  .contact-info__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
  }
  .contact-info__icon svg {
    width: 20px;
    height: 20px;
  }

  /* Back to Top */
  .back-to-top {
    padding: 12px;
  }

  /* Footer */
  .site-footer {
    padding-top: 40px;
  }
  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-bottom: 24px;
  }
  .footer-col__title {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .footer-links a {
    font-size: 13px;
  }
  .footer-subscribe-input {
    padding: 12px;
    font-size: 14px;
  }
  .footer-subscribe-btn {
    padding: 12px 16px;
    font-size: 13px;
  }
  .footer-payments {
    padding: 16px 0;
    gap: 8px;
  }
  .footer-payments__label {
    font-size: 12px;
  }
  .payment-icon {
    font-size: 11px;
    padding: 3px 8px;
  }
  .footer-bottom {
    padding: 16px;
    font-size: 12px;
  }
}

/* Mobile Portrait (small phones) */
@media (max-width: 480px) {
  .header-inner {
    padding: 0 10px;
  }
  .header-logo img {
    height: 34px;
  }
  .header-icon {
    width: 36px;
    height: 36px;
  }
  .header-icon svg {
    width: 18px;
    height: 18px;
  }

  .announcement-bar {
    font-size: 11px;
    padding: 8px 10px;
  }

  .hero-section {
    height: 160px;
  }
  .hero-section__title {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .hero-section__content {
    padding: 12px;
  }
  .btn {
    padding: 10px 20px;
    font-size: 12px;
  }

  .products-section {
    padding: 16px 0;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .product-card {
    border-radius: 8px;
  }
  .product-card__image-wrap {
    height: 130px;
    padding: 6px;
    border-radius: 8px 8px 0 0;
  }
  .product-card__info {
    padding: 8px;
  }
  .product-card__title {
    font-size: 11px;
  }
  .product-card__vendor {
    font-size: 10px;
    margin-bottom: 2px;
  }
  .stars svg {
    width: 10px;
    height: 10px;
  }
  .rating-text,
  .review-count {
    font-size: 9px;
  }
  .price-current {
    font-size: 13px;
  }
  .product-card__link {
    font-size: 10px;
  }

  .section-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .advantage-card {
    padding: 20px 12px;
  }
  .advantage-card__icon img {
    width: 56px;
    height: 56px;
  }
  .advantage-card__title {
    font-size: 15px;
  }
  .advantage-card__text {
    font-size: 12px;
  }

  .category-card__image {
    height: 160px;
  }
  .category-card__content {
    padding: 14px 16px;
  }
  .category-card__title {
    font-size: 16px;
  }

  .outdoor-section__content {
    padding: 24px 12px;
    gap: 16px;
  }
  .outdoor-section__card {
    max-width: 160px;
  }
  .outdoor-section__product-img {
    height: 120px;
  }
  .outdoor-section__product-info {
    padding: 10px;
  }
  .outdoor-section__product-name {
    font-size: 12px;
  }
  .outdoor-section__product-price {
    font-size: 14px;
  }
  .outdoor-section__title {
    font-size: 20px;
  }
  .outdoor-section__desc {
    font-size: 13px;
  }

  .needs-section {
    padding: 30px 0;
  }
  .needs-section__subtitle {
    font-size: 13px;
    margin-bottom: 20px;
  }
  .needs-tag {
    padding: 8px 14px;
    font-size: 12px;
    min-height: 36px;
  }

  .finance-card__image {
    max-width: 180px;
    padding: 16px;
  }
  .finance-card__title {
    font-size: 18px;
  }

  /* Contact - Small Phones */
  .page-title {
    font-size: 22px;
  }
  .contact-form {
    padding: 20px 16px;
  }
  .button-primary {
    padding: 14px 32px;
    font-size: 14px;
  }
  .contact-info__title {
    font-size: 15px;
  }
  .contact-info__text {
    font-size: 14px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-col__title {
    font-size: 13px;
  }
  .footer-links li {
    margin-bottom: 6px;
  }
  .footer-links a {
    font-size: 12px;
  }
  .footer-subscribe-text {
    font-size: 12px;
  }
  .footer-subscribe-form {
    flex-direction: column;
    gap: 8px;
  }
  .footer-subscribe-input {
    border-radius: 6px;
    text-align: center;
  }
  .footer-subscribe-btn {
    border-radius: 6px;
    width: 100%;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-payments {
    flex-direction: column;
    gap: 8px;
  }
  .payment-icons {
    gap: 6px;
  }

  /* Mobile nav improvements */
  .mobile-nav {
    width: 85vw;
    max-width: 300px;
  }
  .mobile-nav__list > li > a {
    padding: 16px 16px;
    font-size: 14px;
    min-height: 48px;
  }
  .mobile-nav__sub li a {
    padding: 12px 16px 12px 32px;
    font-size: 13px;
    min-height: 44px;
  }
}

/* ============================================
   MOBILE-FIRST ENHANCEMENTS
   ============================================ */

/* Touch-friendly tap targets - minimum 44px */
@media (pointer: coarse) {
  .header-icon,
  .nav-link,
  .needs-tag,
  .btn,
  .mobile-menu-toggle,
  .mobile-nav__close,
  .footer-links a,
  .footer-social__link,
  .back-to-top a {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Safe area insets for notched phones */
@supports (padding: env(safe-area-inset-bottom)) {
  .site-footer {
    padding-bottom: env(safe-area-inset-bottom);
  }
  .announcement-bar {
    padding-top: calc(8px + env(safe-area-inset-top));
  }
}

/* Smooth touch feedback */
.product-card:active,
.category-card:active,
.needs-tag:active,
.btn:active,
.footer-social__link:active {
  transform: scale(0.98);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-alt);
}
::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .product-card:hover,
  .category-card:hover {
    transform: none;
  }
}

/* ============================================
   COLLECTION PAGE STYLES
   ============================================ */

/* Collection Header */
.collection-header {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  padding: 40px 0 30px;
}
.collection-header__title {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 0;
  letter-spacing: -0.5px;
}
.collection-header__desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  max-width: 900px;
}

/* Breadcrumbs */
.breadcrumbs {
  margin-bottom: 16px;
}
.breadcrumbs__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumbs__item {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--color-text-lighter);
}
.breadcrumbs__item::after {
  content: '/';
  margin-left: 6px;
  color: var(--color-text-lighter);
}
.breadcrumbs__item:last-child::after {
  display: none;
}
.breadcrumbs__item a {
  color: var(--color-text-light);
  transition: color var(--transition);
}
.breadcrumbs__item a:hover {
  color: var(--color-primary);
}
.breadcrumbs__item.current {
  color: var(--color-text);
  font-weight: 500;
}

/* Recently Viewed */
.recently-viewed-section {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.recently-viewed__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
}
.recently-viewed__clear {
  font-size: 13px;
  color: var(--color-text-lighter);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  transition: color var(--transition);
}
.recently-viewed__clear:hover {
  color: var(--color-primary);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
}
.breadcrumb a {
  color: var(--color-text-lighter);
  transition: color var(--transition);
}
.breadcrumb a:hover {
  color: var(--color-primary);
}
.breadcrumb__separator {
  color: var(--color-text-lighter);
  font-size: 12px;
}
.breadcrumb__current {
  color: var(--color-text);
  font-weight: 500;
}

/* Collection Content Layout */
.collection-content {
  padding: 30px 0 60px;
  background: var(--color-bg);
}
.collection-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  align-items: start;
}

/* Mobile Filter Toggle */
.filter-toggle-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: 20px;
}
.filter-toggle-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.filter-toggle-btn svg {
  flex-shrink: 0;
}

/* Sidebar */
.collection-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 24px;
  max-height: calc(100vh - var(--header-height) - 40px);
  overflow-y: auto;
}
.sidebar-header {
  display: none;
}
.sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}
.sidebar-close {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 24px;
  color: var(--color-text);
  line-height: 1;
  cursor: pointer;
  background: none;
  border: none;
}

/* Filter Groups */
.filter-group {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border-light);
}
.filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.filter-group__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

/* Price Filter */
.filter-price {
  display: flex;
  gap: 12px;
}
.filter-price__field {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}
.filter-price__symbol {
  position: absolute;
  left: 12px;
  font-size: 14px;
  color: var(--color-text-lighter);
  pointer-events: none;
}
.filter-price__input {
  width: 100%;
  padding: 10px 12px 10px 24px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 13px;
  font-family: inherit;
  color: var(--color-text);
  background: #fff;
  outline: none;
  transition: border-color var(--transition);
}
.filter-price__input:focus {
  border-color: var(--color-primary);
}

/* Filter List */
.filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.filter-list li {
  margin-bottom: 6px;
}
.filter-list li:last-child {
  margin-bottom: 0;
}
.filter-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--color-text-light);
  border-radius: 4px;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.filter-link:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}
.filter-link.active {
  background: rgba(139, 26, 26, 0.08);
  color: var(--color-primary);
  font-weight: 600;
}
.filter-count {
  font-size: 12px;
  color: var(--color-text-lighter);
  font-weight: 400;
}

/* Sidebar Overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Collection Main Area */
.collection-main {
  min-width: 0;
}

/* Collection Toolbar */
.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
  gap: 12px;
}
.collection-toolbar__left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.collection-toolbar__count {
  font-size: 13px;
  color: var(--color-text-lighter);
}
.collection-toolbar__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Sort Dropdown */
.collection-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}
.collection-sort__label {
  font-size: 13px;
  color: var(--color-text-lighter);
  white-space: nowrap;
}
.collection-sort__select {
  padding: 8px 32px 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 13px;
  font-family: inherit;
  color: var(--color-text);
  background: #fff;
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color var(--transition);
}
.collection-sort__select:focus {
  border-color: var(--color-primary);
}

/* View Toggle */
.collection-view-toggle {
  display: flex;
  gap: 4px;
}
.view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  color: var(--color-text-lighter);
  border: 1px solid var(--color-border);
  background: #fff;
  cursor: pointer;
  transition: all var(--transition);
}
.view-btn:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.view-btn.active {
  color: var(--color-primary);
  background: rgba(139, 26, 26, 0.08);
  border-color: var(--color-primary);
}

/* Collection Products Grid */
.collection-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* List View */
.collection-products.list-view {
  grid-template-columns: 1fr;
  gap: 16px;
}
.collection-products.list-view .product-card {
  flex-direction: row;
  align-items: stretch;
}
.collection-products.list-view .product-card__image-wrap {
  width: 200px;
  min-width: 200px;
  height: auto;
  min-height: 180px;
}
.collection-products.list-view .product-card__info {
  flex: 1;
  padding: 20px;
}
.collection-products.list-view .product-card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 4;
}

/* Pagination */
.collection-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
}
.pagination-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  transition: all var(--transition);
  text-decoration: none;
}
.pagination-btn:hover:not(.disabled) {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.pagination-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.pagination-pages {
  display: flex;
  gap: 6px;
}
.pagination-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  transition: all var(--transition);
  text-decoration: none;
}
.pagination-page:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.pagination-page.current {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* Collection Page Responsive */
@media (max-width: 1024px) {
  .collection-layout {
    grid-template-columns: 220px 1fr;
    gap: 20px;
  }
  .collection-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .collection-header {
    padding: 28px 0 20px;
  }
  .collection-header__title {
    font-size: 28px;
    margin-bottom: 0;
  }
  .collection-header__desc {
    font-size: 13px;
    line-height: 1.6;
  }
  .breadcrumb {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .collection-content {
    padding: 0 0 40px;
  }

  .collection-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Show mobile filter toggle */
  .filter-toggle-btn {
    display: flex;
  }

  /* Sidebar becomes mobile drawer */
  .collection-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    max-height: 100%;
    z-index: 1001;
    border-radius: 0;
    border: none;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    overflow-y: auto;
    background: #fff;
  }
  .collection-sidebar.active {
    transform: translateX(0);
  }

  .sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
  }
  .sidebar-close {
    display: block;
    position: static;
    font-size: 28px;
  }
  .sidebar-title {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    font-size: 18px;
  }
  .collection-sidebar .filter-group {
    padding: 16px 20px;
    margin-bottom: 0;
    border-bottom: 1px solid var(--color-border-light);
  }

  .sidebar-overlay {
    display: block;
  }

  /* Toolbar */
  .collection-toolbar {
    margin-bottom: 16px;
    padding: 12px 0;
  }
  .collection-toolbar__right {
    width: 100%;
    justify-content: space-between;
  }

  /* Products */
  .collection-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-card__image-wrap {
    height: 140px;
    padding: 8px;
  }
  .product-card__info {
    padding: 10px;
  }
  .product-card__title {
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 4px;
  }
  .product-card__vendor {
    font-size: 10px;
    margin-bottom: 4px;
  }
  .price-current {
    font-size: 13px;
  }
  .product-card__desc {
    display: none;
  }
  .product-card__link {
    font-size: 11px;
  }

  /* Pagination */
  .collection-pagination {
    margin-top: 24px;
    padding-top: 20px;
    flex-wrap: wrap;
  }
  .pagination-btn {
    padding: 8px 14px;
    font-size: 13px;
  }
  .pagination-page {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .collection-header {
    padding: 20px 0 16px;
  }
  .collection-header__title {
    font-size: 24px;
  }

  .collection-sort__label {
    display: none;
  }
  .collection-sort__select {
    padding: 10px 32px 10px 12px;
    font-size: 14px;
  }

  .view-btn {
    width: 40px;
    height: 40px;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --color-text: #e0e0e0;
    --color-text-light: #aaa;
    --color-text-lighter: #888;
    --color-bg: #121212;
    --color-bg-alt: #1e1e1e;
    --color-bg-dark: #0a0a0a;
    --color-border: #333;
    --color-border-light: #2a2a2a;
  }
  body {
    background: #121212;
  }
  .site-header,
  .feature-bar {
    background: #1a1a1a;
    border-color: #333;
  }
  .dropdown-menu {
    background: #1e1e1e;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  }
  .dropdown-menu li a {
    color: #ccc;
  }
  .dropdown-menu li a:hover {
    background: #2a2a2a;
    color: var(--color-primary-light);
  }
  .mobile-nav {
    background: #1a1a1a;
  }
  .mobile-nav__list > li > a {
    color: #ccc;
    border-color: #333;
  }
  .mobile-nav__sub {
    background: #161616;
  }
  .product-card,
  .category-card {
    background: #1a1a1a;
    border-color: #333;
  }
  .product-card__image-wrap {
    background: #222;
  }
  .needs-tag {
    background: #1e1e1e;
    color: #ccc;
    border-color: #444;
  }
  .finance-card {
    background: linear-gradient(135deg, #1a1215 0%, #1e1418 100%);
  }
  .search-form {
    background: #1e1e1e;
  }
  .search-input {
    color: #fff;
  }
  .footer-subscribe-input {
    background: rgba(255,255,255,0.05);
    border-color: #444;
  }
}

/* ============================================
   HOMEPAGE SPECIFIC STYLES
   ============================================ */

/* Section Heading */
.section-heading {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 30px;
  color: var(--color-text);
  letter-spacing: -0.3px;
}

/* Hero Carousel Section */
.hero-carousel-section {
  padding: 40px 0 10px;
}
.hero-carousel-section--alt {
  padding-top: 20px;
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
}
.hero-carousel__track {
  position: relative;
  width: 100%;
  height: 320px;
}
.hero-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.hero-carousel__slide.active {
  opacity: 1;
  pointer-events: auto;
}
.hero-carousel__content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-carousel__content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-carousel__btn {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.hero-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: all var(--transition);
  z-index: 5;
}
.hero-carousel__arrow:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.hero-carousel__arrow--prev {
  left: 16px;
}
.hero-carousel__arrow--next {
  right: 16px;
}
.hero-carousel__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.hero-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.hero-carousel__dot.active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
}

/* Products Scroll */
.products-section {
  padding: 30px 0 40px;
}
.products-scroll-wrapper {
  position: relative;
}
.products-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0 20px;
}
.products-scroll::-webkit-scrollbar {
  display: none;
}
.products-scroll .product-card {
  min-width: 280px;
  max-width: 280px;
  flex-shrink: 0;
}
.products-scroll__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  transition: all var(--transition);
  z-index: 5;
  border: 1px solid var(--color-border);
}
.products-scroll__arrow:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  color: var(--color-primary);
}
.products-scroll__arrow--prev {
  left: -12px;
}
.products-scroll__arrow--next {
  right: -12px;
}

/* Homepage Responsive */
@media (max-width: 1024px) {
  .hero-carousel__track {
    height: 280px;
  }
  .products-scroll .product-card {
    min-width: 250px;
    max-width: 250px;
  }
}

@media (max-width: 768px) {
  .section-heading {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .hero-carousel-section {
    padding: 24px 0 6px;
  }
  .hero-carousel__track {
    height: 200px;
  }
  .hero-carousel__arrow {
    width: 36px;
    height: 36px;
  }
  .hero-carousel__arrow--prev {
    left: 8px;
  }
  .hero-carousel__arrow--next {
    right: 8px;
  }
  .hero-carousel__btn {
    bottom: 20px;
    padding: 10px 20px;
    font-size: 12px;
  }
  .products-section {
    padding: 20px 0 30px;
  }
  .products-scroll {
    gap: 12px;
    padding: 4px 0 16px;
  }
  .products-scroll .product-card {
    min-width: 220px;
    max-width: 220px;
  }
  .products-scroll__arrow {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-carousel__track {
    height: 160px;
    border-radius: 8px;
  }
  .hero-carousel__dots {
    bottom: 8px;
  }
  .hero-carousel__dot {
    width: 8px;
    height: 8px;
  }
  .hero-carousel__dot.active {
    width: 22px;
  }
  .products-scroll .product-card {
    min-width: 200px;
    max-width: 200px;
  }
}

/* ============================================
   POLICY PAGES STYLES
   ============================================ */

.policy-section {
  padding: 40px 0 60px;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
}

.policy-content p {
  margin-bottom: 20px;
}

.policy-content p:last-child {
  margin-bottom: 0;
}

.policy-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-content a:hover {
  color: var(--color-primary-dark);
}

.policy-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--color-text);
}

.policy-content h2:first-of-type {
  margin-top: 28px;
}

/* Ordered List */
.policy-list--ordered {
  counter-reset: policy-counter;
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.policy-list--ordered > li {
  counter-increment: policy-counter;
  position: relative;
  padding-left: 36px;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.7;
}

.policy-list--ordered > li:last-child {
  margin-bottom: 0;
}

.policy-list--ordered > li::before {
  content: counter(policy-counter) ".";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 16px;
}

.policy-list--ordered > li strong {
  font-weight: 700;
}

/* Bullet List */
.policy-list--bullet {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
}

.policy-list--bullet li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.7;
}

.policy-list--bullet li:last-child {
  margin-bottom: 0;
}

.policy-list--bullet li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.policy-list--bullet li strong {
  font-weight: 700;
}

/* Policy Responsive */
@media (max-width: 768px) {
  .policy-section {
    padding: 28px 0 40px;
  }

  .policy-content {
    font-size: 14px;
    line-height: 1.65;
  }

  .policy-content h2 {
    font-size: 18px;
    margin-top: 24px;
    margin-bottom: 12px;
  }

  .policy-list--ordered > li {
    font-size: 14px;
    padding-left: 32px;
    margin-bottom: 16px;
  }

  .policy-list--ordered > li::before {
    font-size: 15px;
  }

  .policy-list--bullet li {
    font-size: 14px;
    padding-left: 20px;
  }
}

@media (max-width: 480px) {
  .policy-section {
    padding: 20px 0 32px;
  }

  .policy-content {
    font-size: 14px;
  }

  .policy-content h2 {
    font-size: 16px;
    margin-top: 20px;
  }

  .policy-list--ordered > li {
    padding-left: 28px;
    margin-bottom: 14px;
  }

  .policy-list--bullet li {
    padding-left: 18px;
  }

  .policy-list--bullet li::before {
    width: 5px;
    height: 5px;
    left: 3px;
    top: 11px;
  }
}

/* ============================================
   TERMS OF SERVICE SPECIFIC STYLES
   ============================================ */

.policy-bold-heading {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--color-text);
  line-height: 1.4;
}

.tos-section {
  margin-bottom: 28px;
  text-align: justify;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
}

.tos-section:last-of-type {
  margin-bottom: 32px;
}

.policy-image {
  margin: 32px 0;
  text-align: center;
}

.policy-image img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.policy-effective-date {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
}

/* Terms of Service Responsive */
@media (max-width: 768px) {
  .policy-bold-heading {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .tos-section {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 24px;
    text-align: left;
  }

  .policy-effective-date {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .policy-bold-heading {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .tos-section {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .policy-image {
    margin: 24px 0;
  }

  .policy-effective-date {
    font-size: 13px;
    margin-top: 20px;
    padding-top: 16px;
  }
}

/* ============================================
   PRODUCT PAGE STYLES
   ============================================ */

/* Product Section */
.product-page-section {
  padding: 20px 0 40px;
  background: var(--color-bg);
}
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

/* ---------- Product Gallery ---------- */
.product-gallery__main {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fafafa;
  overflow: hidden;
}
.product-gallery__zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.product-gallery__zoom:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.product-gallery__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  padding: 24px;
  cursor: zoom-in;
}
.product-gallery__img {
  max-height: 480px;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.product-gallery__hint {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-lighter);
  padding: 0 16px 14px;
}
.product-gallery__thumbs-wrap {
  position: relative;
  margin-top: 16px;
}
.product-gallery__thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 4px 40px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.product-gallery__thumbs::-webkit-scrollbar {
  display: none;
  height: 0;
}
.product-gallery__thumbs.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
  scroll-behavior: auto;
}
.gallery-thumbs__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 44px;
  padding: 0;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-family);
}
.gallery-thumbs__nav:hover:not(:disabled) {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.gallery-thumbs__nav:disabled {
  opacity: 0.35;
  cursor: default;
}
.gallery-thumbs__nav--prev {
  left: 0;
}
.gallery-thumbs__nav--next {
  right: 0;
}
.product-gallery__thumb {
  flex: 0 0 86px;
  width: 86px;
  height: 86px;
  padding: 4px;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: border-color var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  -webkit-user-drag: none;
}
.product-gallery__thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.product-gallery__thumb:hover {
  border-color: var(--color-text-lighter);
}
.product-gallery__thumb.active {
  border-color: var(--color-primary);
}

/* ---------- Product Info ---------- */
.product-info__vendor {
  font-size: 13px;
  color: var(--color-text-lighter);
  margin-bottom: 8px;
}
.product-info__vendor a {
  color: var(--color-text-light);
  font-weight: 600;
}
.product-info__vendor a:hover {
  color: var(--color-primary);
}
.product-info__title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.product-info__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.product-info__rating .rating-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}
.product-info__rating .review-count {
  font-size: 13px;
  color: var(--color-text-lighter);
}

/* Price */
.product-info__price {
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg-alt);
  margin-bottom: 20px;
}
.product-info__price-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.price-original-label {
  font-size: 13px;
  color: var(--color-text-lighter);
}
.price-original {
  font-size: 14px;
  color: var(--color-text-lighter);
  text-decoration: line-through;
}
.product-info__price-current {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text);
}

/* Financing */
.product-finance {
  margin-bottom: 20px;
}
.product-finance__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.product-finance__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: #fff;
  transition: all var(--transition);
}
.product-finance__link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.product-finance__preapproved {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary);
  border-radius: 6px;
  text-align: center;
  transition: background var(--transition);
}
.product-finance__preapproved:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

/* Description */
.product-info__description {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 18px;
}
.product-info__description p {
  margin-bottom: 12px;
}
.product-info__description img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 12px 0;
}
.product-info__features-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin: 16px 0 10px;
}
.product-info__features {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 14px;
}
.product-info__features li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text);
}
.product-info__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  background-color: var(--color-primary);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3"><polyline points="20 6 9 17 4 12"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3"><polyline points="20 6 9 17 4 12"/></svg>') center / contain no-repeat;
}
@media (min-width: 480px) {
  .product-info__features {
    grid-template-columns: 1fr 1fr;
  }
}
.product-info__disclaimer {
  font-size: 12px;
  color: var(--color-text-lighter);
  line-height: 1.5;
  margin-top: 6px;
}
.product-info__banners {
  margin-bottom: 18px;
}
.product-info__banners img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 12px 0;
}

/* Highlights */
.product-info__highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.product-info__highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  padding: 10px 12px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  border-radius: 6px;
}
.product-info__highlights li svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

/* Buy Box */
.product-buy {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.quantity-selector__label {
  display: block;
  width: 100%;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin-bottom: 8px;
}
.quantity-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.quantity-selector__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 48px;
  font-size: 18px;
  color: var(--color-text);
  background: var(--color-bg-alt);
  cursor: pointer;
  transition: all var(--transition);
}
.quantity-selector__btn:hover {
  background: var(--color-primary);
  color: #fff;
}
.quantity-selector__input {
  width: 56px;
  height: 48px;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  text-align: center;
  font-size: 15px;
  font-family: inherit;
  font-weight: 600;
  color: var(--color-text);
  -moz-appearance: textfield;
  appearance: textfield;
  outline: none;
}
.quantity-selector__input::-webkit-outer-spin-button,
.quantity-selector__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.add-to-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  min-width: 200px;
  height: 48px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-family);
}
.add-to-cart-btn:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}
.add-to-cart-btn.added {
  background: var(--color-badge-bg);
  border-color: var(--color-badge-bg);
}
.product-buy__note {
  font-size: 13px;
  color: var(--color-badge-bg);
  font-weight: 600;
  margin-bottom: 22px;
}

/* ---------- Product Options ---------- */
.product-options {
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg-alt);
}
.product-option {
  margin-bottom: 16px;
}
.product-option:last-child {
  margin-bottom: 0;
}
.product-option__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin-bottom: 10px;
}
.product-option__label span {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--color-text-light);
}
.product-option__swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.swatch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-family);
}
.swatch:hover {
  border-color: var(--color-text-lighter);
}
.swatch.active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(207,14,45,0.15);
}
.swatch img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.swatch__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}
.product-option__select {
  width: 100%;
  padding: 12px 38px 12px 14px;
  font-size: 14px;
  font-family: var(--font-family);
  font-weight: 500;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.product-option__select:focus {
  border-color: var(--color-primary);
}
.product-info__installments {
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 6px;
}
.product-info__installments strong {
  color: var(--color-text);
}

/* Share */
.product-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}
.product-share__label {
  font-size: 13px;
  color: var(--color-text-lighter);
  font-weight: 600;
}
.product-share__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-light);
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  transition: all var(--transition);
}
.product-share__link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ---------- Specifications ---------- */
.specs-section {
  padding: 50px 0 20px;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}
.specs-section__title {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.specs-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.specs-tabs__tab {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-light);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-family);
}
.specs-tabs__tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.specs-tabs__tab.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.specs-panel {
  display: none;
}
.specs-panel.active {
  display: block;
  animation: specsFade 0.25s ease;
}
@keyframes specsFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.specs-table {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}
.specs-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid var(--color-border-light);
}
.specs-row:last-child {
  border-bottom: none;
}
.specs-label {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-bg-alt);
  border-right: 1px solid var(--color-border-light);
}
.specs-value {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--color-text-light);
}

/* ---------- Product Banner Images ---------- */
.product-banners {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--color-bg);
}
.product-banners__img {
  width: 100%;
  overflow: hidden;
}
.product-banners__img img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Recently Viewed / Related ---------- */
.recently-viewed-products {
  padding: 40px 0 60px;
  background: var(--color-bg);
}
.recently-viewed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
}
.recently-viewed-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
}
.recently-viewed-clear {
  font-size: 13px;
  color: var(--color-text-lighter);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  transition: color var(--transition);
}
.recently-viewed-clear:hover {
  color: var(--color-primary);
}
.related-scroll {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.related-card {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.related-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.related-card__image-wrap {
  height: 160px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  overflow: hidden;
}
.related-card__image-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.related-card:hover .related-card__image-wrap img {
  transform: scale(1.05);
}
.related-card__info {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.related-card__vendor {
  font-size: 11px;
  color: var(--color-text-lighter);
  margin-bottom: 4px;
}
.related-card__title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  flex: 1;
}
.related-card__title a:hover {
  color: var(--color-primary);
}
.related-card__price .price-current {
  font-size: 14px;
}

/* ---------- Lightbox ---------- */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.gallery-lightbox.active {
  opacity: 1;
  visibility: visible;
}
.gallery-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 40px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: opacity var(--transition);
}
.gallery-lightbox__close:hover {
  opacity: 0.7;
}
.gallery-lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.2s ease;
}
.gallery-lightbox__img.zoomed {
  cursor: zoom-out;
}
.gallery-lightbox__hint {
  font-size: 13px;
  color: #aaa;
}

/* ---------- Cart Toast ---------- */
.cart-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  z-index: 2500;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #222;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.cart-toast.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.cart-toast svg {
  color: #4caf50;
  flex-shrink: 0;
}

/* ---------- Product Page Responsive ---------- */
@media (max-width: 1024px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .product-gallery__stage {
    min-height: 380px;
  }
  .product-gallery__img {
    max-height: 380px;
  }
  .related-scroll {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .product-page-section {
    padding: 14px 0 30px;
  }
  .product-gallery__stage {
    min-height: 280px;
    padding: 16px;
  }
  .product-gallery__img {
    max-height: 280px;
  }
  .product-info__title {
    font-size: 24px;
  }
  .product-info__price-current {
    font-size: 24px;
  }
  .product-info__highlights {
    grid-template-columns: 1fr;
  }
  .add-to-cart-btn {
    min-width: 100%;
  }
  .product-buy {
    flex-direction: column;
  }
  .quantity-selector {
    justify-content: center;
  }
  .specs-section__title {
    font-size: 24px;
  }
  .specs-row {
    grid-template-columns: 1fr;
  }
  .specs-label {
    border-right: none;
    border-bottom: 1px solid var(--color-border-light);
    padding-bottom: 8px;
  }
  .specs-value {
    padding-top: 4px;
  }
  .related-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 8px;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .related-scroll::-webkit-scrollbar {
    height: 4px;
  }
  .related-scroll::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
  }
  .related-card {
    flex: 0 0 150px;
    scroll-snap-align: start;
  }
  .related-card__image-wrap {
    height: 120px;
  }
  .product-share__link span {
    display: none;
  }
  .product-share__link {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .product-info__title {
    font-size: 21px;
  }
  .product-gallery__thumb {
    flex-basis: 68px;
    width: 68px;
    height: 68px;
  }
  .product-gallery__thumbs {
    padding-left: 34px;
    padding-right: 34px;
  }
  .gallery-thumbs__nav {
    width: 26px;
    height: 40px;
  }
  .product-gallery__stage {
    min-height: 240px;
  }
  .product-gallery__img {
    max-height: 240px;
  }
  .specs-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -20px 20px;
    padding: 0 20px;
  }
  .specs-tabs__tab {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .cart-toast {
    white-space: normal;
    width: 90%;
    justify-content: center;
    text-align: center;
  }
}

/* ============================================
   CART PAGE
   ============================================ */
.cart-section {
  padding: 50px 0 70px;
}

/* Layout */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}
.cart-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

/* Cart items panel */
.cart-items-panel {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.cart-panel-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border-light);
}
.cart-panel-title__count {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-lighter);
}

/* Cart item row */
.cart-item {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border-light);
  align-items: center;
}
.cart-item:first-of-type {
  padding-top: 0;
}
.cart-item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}
.cart-item__img {
  flex: 0 0 110px;
  width: 110px;
  height: 110px;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cart-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cart-item__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.35;
}
.cart-item__name:hover {
  color: var(--color-primary);
}
.cart-item__meta {
  font-size: 13px;
  color: var(--color-text-lighter);
}
.cart-item__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 4px;
}
.qty-btn {
  width: 34px;
  height: 36px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-bg-alt);
  transition: background var(--transition), color var(--transition);
}
.qty-btn:hover {
  background: var(--color-primary);
  color: #fff;
}
.qty-input {
  width: 46px;
  height: 36px;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  text-align: center;
  font-size: 15px;
  font-family: var(--font-family);
  color: var(--color-text);
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cart-item__remove {
  align-self: flex-start;
  font-size: 13px;
  color: var(--color-text-lighter);
  text-decoration: underline;
  transition: color var(--transition);
}
.cart-item__remove:hover {
  color: var(--color-primary);
}
.cart-item__line-total {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

/* Cart actions */
.cart-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-light);
}
.cart-actions__continue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}
.cart-actions__continue svg {
  transition: transform var(--transition);
}
.cart-actions__continue:hover svg {
  transform: translateX(-3px);
}
.cart-actions__clear {
  font-size: 14px;
  color: var(--color-text-lighter);
  text-decoration: underline;
}
.cart-actions__clear:hover {
  color: var(--color-primary);
}

/* Order form */
.order-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.order-form__section {
  margin-bottom: 28px;
}
.order-form__section:last-child {
  margin-bottom: 0;
}
.order-form__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border-light);
}
.form-field-title__optional {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-lighter);
}

/* Payment options */
.payment-options {
  border: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  background: #fff;
}
.payment-option:hover {
  border-color: var(--color-primary-light);
}
.payment-option:has(input:checked) {
  border-color: var(--color-primary);
  background: rgba(139,26,26,0.04);
  box-shadow: 0 0 0 3px rgba(139,26,26,0.1);
}
.payment-option input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}
.payment-option__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.payment-option__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
}
.payment-option__hint {
  font-size: 13px;
  color: var(--color-text-lighter);
}

/* Sidebar / summary */
.cart-sidebar {
  min-width: 0;
}
.order-summary {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  position: sticky;
  top: 90px;
}
.order-summary__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border-light);
}
.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  color: var(--color-text);
  margin-bottom: 12px;
}
.summary-row__free {
  color: var(--color-badge-bg);
  font-weight: 600;
}
.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-text);
  padding: 16px 0;
  margin: 4px 0 12px;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}
.order-summary__note {
  font-size: 13px;
  color: var(--color-text-lighter);
  margin-bottom: 18px;
  line-height: 1.5;
}
.order-submit-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.order-submit-note {
  font-size: 12px;
  color: var(--color-text-lighter);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}
.order-summary__payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-light);
}
.order-summary__payments .payment-icon {
  font-size: 11px;
  padding: 4px 8px;
}

/* Empty cart */
.cart-empty {
  text-align: center;
  padding: 70px 20px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.cart-empty svg {
  margin-bottom: 18px;
}
.cart-empty h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 10px;
}
.cart-empty p {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 24px;
}
.cart-empty__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Secondary button (empty-cart actions) */
.button-secondary {
  display: inline-block;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  background: #fff;
  border: 2px solid var(--color-primary);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-family);
}
.button-secondary:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Success panel */
.order-copy-btn {
  margin-top: 20px;
}
.order-success__links {
  margin-top: 18px;
  font-size: 14px;
  color: var(--color-primary);
}

/* Visually hidden (fieldset legend) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .order-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .payment-options {
    grid-template-columns: 1fr;
  }
  .cart-items-panel,
  .order-form {
    padding: 20px;
  }
  .cart-item {
    flex-wrap: wrap;
  }
  .cart-item__img {
    flex: 0 0 84px;
    width: 84px;
    height: 84px;
  }
  .cart-item__line-total {
    width: 100%;
    padding-left: 102px;
  }
  .cart-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

