/* ==========================================================================
   TechZone — Reusable components
   ========================================================================== */

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-heading);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: var(--color-primary);
  color: var(--text-inverse);
  box-shadow: 0 6px 16px rgba(26, 111, 228, 0.3);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--text-inverse);
  color: var(--color-primary-darker);
}

.btn-light:hover {
  background: var(--bg-soft);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--text-inverse);
  color: var(--color-accent-dark);
}

.btn-accent:hover {
  background: var(--bg-soft);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary-light);
}

.btn-dark {
  background: var(--color-dark);
  color: var(--text-inverse);
}

.btn-dark:hover {
  background: var(--color-dark-2);
  transform: translateY(-2px);
}

.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 15px 32px; font-size: 15px; }

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  color: var(--color-primary);
  flex-shrink: 0;
  transition: all var(--transition);
}

.icon-btn:hover {
  background: var(--color-primary);
  color: var(--text-inverse);
}

/* ---------------- Topbar ---------------- */
.topbar {
  background: var(--color-primary-darker);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12.5px;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
}

.topbar-left, .topbar-right, .topbar-center {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-center { color: rgba(255, 255, 255, 0.85); }

.topbar-right a:hover { color: var(--text-inverse); }
.topbar-right .sep { opacity: 0.5; }

.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-item svg { width: 14px; height: 14px; }

/* ---------------- Header ---------------- */
.site-header {
  background: var(--bg-white);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 200;
  transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 21px;
  color: var(--text-heading);
}

.brand-name span { color: var(--color-primary); }

.brand-tag {
  font-size: 10.5px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.header-search {
  flex: 1;
  max-width: 560px;
}

.header-search form {
  display: flex;
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  overflow: hidden;
  transition: border-color var(--transition);
}

.header-search form:focus-within {
  border-color: var(--color-primary);
}

.header-search input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  padding: 11px 4px 11px 20px;
  font-size: 14px;
}

.header-search button {
  width: 40px;
  height: 40px;
  margin: 3px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-search button:hover { background: var(--color-primary-dark); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  flex-shrink: 0;
}

.header-action-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-heading);
  position: relative;
}

.header-action-link svg {
  width: 22px;
  height: 22px;
  color: var(--text-heading);
}

.header-action-link:hover svg,
.header-action-link:hover { color: var(--color-primary); }

.icon-badge {
  position: absolute;
  top: -7px;
  right: -9px;
  min-width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  background: var(--color-danger);
  color: var(--text-inverse);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--text-heading);
  flex-shrink: 0;
}

/* ---------------- Sub nav (category bar) ---------------- */
.sub-nav {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
}

.sub-nav .container {
  display: flex;
  align-items: center;
  gap: 24px;
}

.category-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-primary);
  color: var(--text-inverse);
  font-weight: 700;
  font-size: 13.5px;
  padding: 13px 20px;
  flex-shrink: 0;
  position: relative;
}

.category-toggle:hover { background: var(--color-primary-dark); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.main-nav a {
  display: inline-block;
  padding: 15px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  border-bottom: 2.5px solid transparent;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Category dropdown panel */
.category-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  background: var(--bg-white);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 50;
  text-align: left;
}

.category-toggle-wrap {
  position: relative;
}

.category-toggle-wrap:hover .category-panel,
.category-toggle-wrap.is-open .category-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.category-panel a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
}

.category-panel a:hover {
  background: var(--bg-soft);
  color: var(--color-primary);
}

.category-panel svg { width: 18px; height: 18px; color: var(--color-primary); }

/* ---------------- Hero (full-width banner) ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  background-image: url('../images/background-banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-swiper { overflow: hidden; }

.hero-slide {
  position: relative;
  min-height: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
  padding: 36px 0;
}

.hero-copy { max-width: 540px; position: relative; z-index: 2; }

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-visual img {
  width: 100%;
  max-width: 600px;
  filter: drop-shadow(0 24px 40px rgba(4, 20, 60, 0.35));
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-inverse);
  background: rgba(255, 255, 255, 0.16);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.hero-title {
  font-size: 38px;
  color: var(--text-inverse);
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.hero-title .accent { color: #ffd166; display: block; }

.hero-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  margin-bottom: 26px;
  max-width: 440px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.hero-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 24px;
  z-index: 5;
  pointer-events: none;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: background var(--transition);
}

.hero-arrow:hover { background: rgba(255, 255, 255, 0.32); }

.hero-dots {
  position: absolute;
  bottom: 22px !important;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 5;
}

.hero-dots .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  cursor: pointer;
}

.hero-dots .swiper-pagination-bullet-active {
  background: var(--text-inverse);
  width: 22px;
  border-radius: var(--radius-full);
}

/* ---------------- Category strip ---------------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}

.category-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 12px;
  text-align: center;
  transition: all var(--transition);
}

.category-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.category-card .icon-wrap {
  width: 88px;
  height: 88px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all var(--transition);
}

.category-card .icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition);
}

.category-card:hover .icon-wrap {
  transform: scale(1.05);
}

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

.category-card span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-heading);
}

/* ---------------- Product card ---------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.product-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f0f3f8;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  color: var(--text-inverse);
  z-index: 2;
}

.product-badge.badge-hot { background: var(--color-danger); }
.product-badge.badge-sale { background: var(--color-primary); }
.product-badge.badge-new { background: var(--color-success); }
.product-badge.badge-discount { background: var(--color-danger); }

.product-wish {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  z-index: 2;
  opacity: 0;
  transform: translateX(6px);
  transition: all var(--transition);
}

.product-card:hover .product-wish {
  opacity: 1;
  transform: translateX(0);
}

.product-wish:hover { color: var(--color-danger); }
.product-wish svg { width: 16px; height: 16px; }

.product-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-cat {
  font-size: 11.5px;
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.product-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 39px;
  transition: color var(--transition);
}

.product-card:hover .product-name { color: var(--color-primary); }

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.product-price-row .price { font-size: 16px; }

.product-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.add-cart-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.add-cart-btn svg { width: 17px; height: 17px; }
.add-cart-btn:hover { background: var(--color-primary-dark); transform: scale(1.06); }

/* ---------------- Carousels (product / brand sliders) ---------------- */
.carousel-wrap {
  position: relative;
}

.carousel-wrap .swiper {
  overflow: hidden;
  padding: 6px 2px 28px;
}

.carousel-wrap .swiper-slide {
  height: auto;
}

.carousel-wrap .swiper-slide .product-card {
  height: 100%;
}

.carousel-arrow {
  position: absolute;
  top: calc(50% - 11px);
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 10;
  transition: all var(--transition);
}

.carousel-arrow:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--text-inverse);
}

.carousel-arrow.carousel-prev { left: -14px; }
.carousel-arrow.carousel-next { right: -14px; }

.carousel-arrow svg { width: 18px; height: 18px; }

.carousel-arrow.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.carousel-wrap .swiper-pagination {
  bottom: 0 !important;
}

.carousel-wrap .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  background: var(--border-color);
  opacity: 1;
}

.carousel-wrap .swiper-pagination-bullet-active {
  background: var(--color-primary);
  width: 20px;
  border-radius: var(--radius-full);
}

.brand-swiper .swiper-slide { width: auto; min-width: 150px; }

/* ---------------- Promo band ---------------- */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.promo-card {
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 210px;
  position: relative;
  overflow: hidden;
}

.promo-card.promo-blue {
  background: linear-gradient(135deg, #0a3a85, #1a6fe4);
}

.promo-card.promo-orange {
  background: linear-gradient(135deg, #ff9800, #f5760a);
}

.promo-card-body { position: relative; z-index: 2; max-width: 280px; }

.promo-card h3 {
  color: var(--text-inverse);
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.promo-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13.5px;
  margin-bottom: 20px;
}

.promo-card-media {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.promo-card-media img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.25));
}

.promo-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  right: -60px;
  bottom: -80px;
}

/* ---------------- Countdown ---------------- */
.countdown {
  display: flex;
  gap: 8px;
}

.countdown .box {
  background: var(--color-dark);
  color: var(--text-inverse);
  border-radius: var(--radius-sm);
  min-width: 46px;
  padding: 6px 4px;
  text-align: center;
}

.countdown .box strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
}

.countdown .box span {
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

/* ---------------- Reasons / why choose ---------------- */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.reason-item {
  text-align: center;
}

.reason-item .icon-circle {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin: 0 auto 14px;
}

.reason-item .icon-circle svg { width: 30px; height: 30px; }

.reason-item h4 {
  font-size: 14.5px;
  margin-bottom: 2px;
}

.reason-item p {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ---------------- Brand strip ---------------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
  align-items: center;
}

.brand-logo-item {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  filter: grayscale(1);
  opacity: 0.65;
  transition: all var(--transition);
}

.brand-logo-item img {
  max-width: 100%;
  max-height: 36px;
  object-fit: contain;
}

.brand-logo-item:hover {
  filter: grayscale(0);
  opacity: 1;
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* ---------------- News card ---------------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.news-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.news-thumb {
  position: relative;
  aspect-ratio: 16/11;
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.news-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--text-inverse);
}

.news-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.news-body h3 {
  font-size: 14.5px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition);
}

.news-card:hover .news-body h3 { color: var(--color-primary); }

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: auto;
}

.news-meta .date {
  display: flex;
  align-items: center;
  gap: 5px;
}

.news-meta svg { width: 14px; height: 14px; }

.news-meta .read-more {
  color: var(--color-primary);
  font-weight: 700;
}

/* ---------------- Newsletter ---------------- */
.newsletter-band {
  background: linear-gradient(120deg, #0a3a85, #1a6fe4);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.newsletter-copy {
  display: flex;
  align-items: center;
  gap: 16px;
}

.newsletter-copy .icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse);
  flex-shrink: 0;
}

.newsletter-copy h3 {
  color: var(--text-inverse);
  font-size: 18px;
  margin-bottom: 4px;
}

.newsletter-copy p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 420px;
  min-width: 260px;
}

.newsletter-form input {
  flex: 1;
  border: none;
  outline: none;
  border-radius: var(--radius-full);
  padding: 13px 20px;
  font-size: 14px;
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-brand .brand-name,
.footer-brand .brand-tag { color: var(--text-inverse); }
.footer-brand .brand-tag { color: rgba(255, 255, 255, 0.6); }

.footer-desc {
  font-size: 13.5px;
  margin: 16px 0 20px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse);
  transition: all var(--transition);
}

.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover { background: var(--color-primary); transform: translateY(-3px); }

.footer-heading {
  color: var(--text-inverse);
  font-size: 15px;
  margin-bottom: 18px;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 12px;
  font-size: 13.5px;
}

.footer-links a:hover { color: var(--text-inverse); }

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}

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

.footer-bottom-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse);
}

.footer-bottom-social a svg { width: 15px; height: 15px; }
.footer-bottom-social a:hover { background: var(--color-primary); }

/* ---------------- Back to top ---------------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 300;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.back-to-top:hover { background: var(--color-primary-dark); }

/* ---------------- Toast ---------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 20px);
  background: var(--color-dark);
  color: var(--text-inverse);
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 500;
  white-space: nowrap;
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.toast svg { width: 16px; height: 16px; color: var(--color-success); }

/* ---------------- Mobile nav drawer ---------------- */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 21, 36, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 400;
}

.mobile-nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 84vw;
  height: 100%;
  background: var(--bg-white);
  z-index: 401;
  transition: right var(--transition);
  overflow-y: auto;
  padding: 20px;
}

.mobile-nav.is-open { right: 0; }

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-close {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-heading);
}

.mobile-nav a {
  display: block;
  padding: 13px 4px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-heading);
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav a:hover,
.mobile-nav a.is-active { color: var(--color-primary); }

.mobile-nav-cats {
  margin-top: 20px;
}

.mobile-nav-cats h5 {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.mobile-nav-cats a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  border-bottom: none;
  padding: 9px 4px;
}

.mobile-nav-cats svg { width: 18px; height: 18px; color: var(--color-primary); }

/* ---------------- Swiper overrides ---------------- */
.swiper { width: 100%; }
