﻿:root {
  --red-main: #930000;
  --red-dark: #730000;
  --red-bright: #e1061b;
  --gold: #d4ad3e;
  --bg: #f4f5f8;
  --surface: #ffffff;
  --text: #141820;
  --muted: #666d79;
  --line: #e6e8ee;
  --footer: #0e1218;
  --radius: 14px;
  --shadow-sm: 0 4px 14px rgba(17, 22, 35, 0.06);
  --shadow-md: 0 10px 28px rgba(17, 22, 35, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, 'Segoe UI', Tahoma, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 14px;
}

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

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

.container {
  width: min(1220px, 94vw);
  margin: 0 auto;
}

.top-strip {
  background: var(--red-main);
  color: #ffe6e6;
  border-top: 1px solid #620000;
  border-bottom: 1px solid #620000;
}

.strip-items {
  min-height: 28px;
  display: flex;
  justify-content: center;
  gap: 24px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
}

.strip-items i {
  color: var(--gold);
  margin-right: 5px;
  font-size: 9px;
}

.main-header {
  background: #fff;
  border-left: 3px solid var(--red-main);
  border-right: 3px solid var(--red-main);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-row {
  min-height: 74px;
  display: grid;
  grid-template-columns: 160px 1fr 56px;
  align-items: center;
  gap: 16px;
}

.logo {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
}

.logo-red {
  color: #941119;
}

.logo-gold {
  color: var(--gold);
}

.search {
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
  border: 2px solid #a54048;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  display: flex;
}

.search input {
  flex: 1;
  border: 0;
  padding: 11px 14px;
  font-size: 14px;
  outline: none;
}

.search button {
  width: 44px;
  border: 0;
  border-radius: 50%;
  margin: 3px;
  background: var(--red-main);
  color: #fff;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.search button:hover {
  background: var(--red-dark);
  transform: scale(1.05);
}

.cart {
  justify-self: end;
  position: relative;
  font-size: 23px;
  color: #981117;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -9px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}

.category-nav {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 22px;
  overflow-x: auto;
  white-space: nowrap;
}

.nav-row a {
  color: #404551;
  font-size: 14px;
  font-weight: 500;
  position: relative;
}

.nav-row a.active,
.nav-row a:hover {
  color: var(--red-main);
}

.page {
  padding-bottom: 44px;
}

.promo-banner {
  background: var(--red-bright);
  color: #fff;
}

.promo-content {
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
}

.promo-content-dynamic {
  grid-template-columns: 1fr auto auto auto;
}

.btn-view-offers {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  justify-self: center;
  align-self: center;
}

.promo-content h2 {
  margin: 0;
  font-size: 27px;
}

.promo-content p {
  margin: 2px 0 0;
  font-size: 17px;
}

.countdown {
  display: flex;
  gap: 6px;
}

.countdown div {
  min-width: 50px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  padding: 5px;
  text-align: center;
}

.countdown strong {
  display: block;
  font-size: 18px;
}

.countdown span {
  font-size: 12px;
}

.close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 15, 0.66);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 90;
  padding: 16px;
}

.modal-overlay.is-open {
  display: flex;
}

.modal-content {
  width: min(720px, 96vw);
  max-height: 88vh;
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

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

.modal-header h2 {
  margin: 0;
  font-size: 22px;
}

.modal-close {
  border: 0;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  color: #6a7280;
}

.modal-body {
  padding: 14px 16px 16px;
}

.promotions-list {
  display: grid;
  gap: 10px;
}

.promotion-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.promotion-item-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.promotion-item h3 {
  margin: 0;
  font-size: 16px;
}

.promotion-item p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.promotion-item .promotion-duration {
  margin-top: 8px;
  color: #4e5768;
  font-weight: 600;
  font-size: 12px;
}

.promotion-item .promotion-duration span {
  font-weight: 500;
  color: #6b7382;
}

.promotion-discount-badge {
  background: #9a0101;
  color: #fff;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
}

.hero {
  height: 460px;
  position: relative;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(124, 8, 14, .9) 0%, rgba(124, 8, 14, .68) 38%, rgba(124, 8, 14, .45) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pill {
  align-self: flex-start;
  border-radius: 999px;
  background: var(--gold);
  color: #5a2f00;
  padding: 7px 16px;
  font-weight: 700;
  font-size: 12px;
}

.hero h1 {
  margin: 15px 0 10px;
  line-height: 1.02;
  font-size: clamp(34px, 4.8vw, 64px);
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  margin: 0 0 18px;
  max-width: 580px;
  font-size: 22px;
}

.hero-actions {
  display: flex;
  gap: 12px;
}

.btn,
.btn-primary,
.btn-ghost,
.btn-offer {
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 15px;
  cursor: pointer;
  border: 0;
  transition: transform .2s ease, box-shadow .25s ease;
}

.btn:hover,
.btn-primary:hover,
.btn-ghost:hover,
.btn-offer:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
}

.btn,
.btn-primary,
.btn-offer {
  background: var(--gold);
  color: #6a3600;
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .85);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: #31384a;
  border: 1px solid var(--line);
}

.benefits {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.benefits-row {
  min-height: 86px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: center;
}

.benefits article {
  display: flex;
  gap: 10px;
  align-items: center;
}

.benefits i {
  color: #c59619;
  font-size: 18px;
}

.benefits h3 {
  margin: 0;
  font-size: 15px;
}

.benefits p {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 42px 0 10px;
}

.section-head {
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
}

.section-head h2 span {
  color: #8f1219;
}

.section-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.section-head a {
  color: #8f1219;
  font-weight: 600;
  font-size: 13px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.cat-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  min-height: 250px;
  border: 1px solid #ecd79d;
  background: #fff;
}

.cat-card a {
  display: block;
  height: 100%;
}

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

.cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .74) 100%);
}

.cat-card div {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: #fff;
  z-index: 2;
}

.cat-card h3 {
  margin: 0;
  font-size: 20px;
}

.cat-card p,
.cat-card span {
  margin: 3px 0 0;
  font-size: 12px;
}

.cat-card span {
  color: #f7d668;
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 13px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
  position: relative;
}

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

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

.product-card h3 {
  margin: 0;
  font-size: 14px;
  padding: 10px 10px 2px;
}

.muted {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  padding: 0 10px;
}

.price {
  margin: 6px 0 10px;
  font-weight: 700;
  padding: 0 10px;
  font-size: 14px;
}

.product-card .btn {
  margin: 0 10px 12px;
  font-size: 12px;
  padding: 8px 12px;
}

.discount,
.new {
  position: absolute;
  left: 9px;
  z-index: 3;
  border-radius: 6px;
  padding: 4px 7px;
  font-weight: 700;
  color: #fff;
  font-size: 11px;
}

.discount {
  top: 9px;
  background: #9a0101;
}

.new {
  top: 35px;
  background: var(--gold);
  color: #fff9d9;
}

.offer-panel {
  border-radius: 18px;
  background: linear-gradient(180deg, #a50000, #850000);
  color: #fff;
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.offer-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: radial-gradient(circle at 8px 8px, #fff 1px, transparent 1px);
  background-size: 20px 20px;
}

.offer-panel>* {
  position: relative;
  z-index: 1;
}

.offer-panel h2 {
  margin: 0 0 6px;
  font-size: 32px;
}

.offer-panel h2 span {
  color: var(--gold);
}

.offer-panel p {
  margin: 0;
  font-size: 14px;
}

.pagination {
  display: flex;
  gap: 8px;
  margin: 20px 0 0;
}

.pagination a {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 13px;
}

.pagination a.active {
  background: #f6d869;
  color: #633100;
  border-color: #eac955;
}

.intro h1 {
  margin: 0;
  font-size: 30px;
}

.intro p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

.search-page-form {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  max-width: 760px;
}

.search-page-form input {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 14px;
  font-size: 14px;
  background: #fff;
}

.search-page-layout .filters-panel {
  top: 96px;
}

.search-results-head {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 11px 14px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.search-highlight mark {
  background: #ffe493;
  color: #6b3a00;
  border-radius: 5px;
  padding: 0 3px;
}

.search-empty-state h3 {
  margin: 0 0 6px;
}

.search-empty-state p {
  margin: 0 0 12px;
  color: var(--muted);
}

.search-suggestion-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-suggestion-links a {
  border: 1px solid #e8d7a5;
  border-radius: 999px;
  padding: 7px 12px;
  background: #fffaf0;
  color: #7a4e00;
  font-size: 12px;
  font-weight: 600;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

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

.card h3 {
  margin: 0;
  font-size: 14px;
  padding: 10px 10px 4px;
}

.empty-state {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  border: 1px dashed #cfd6e1;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.product-layout>div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.product-layout img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 12px;
}

.spec-list {
  padding-left: 17px;
}

.spec-list li {
  margin-bottom: 6px;
  font-size: 13px;
}

.actions-row {
  margin-top: 14px;
  display: grid;
  gap: 8px;
  max-width: 360px;
}

.actions-row input {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 11px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
}

.category-page-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 16px;
  align-items: start;
}

.category-page-layout .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.filters-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 12px;
  position: sticky;
  top: 110px;
}

.filters-panel h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.filter-links {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.filter-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: #3b4250;
  background: #f5f6fa;
}

.filter-links a.active {
  background: #a30000;
  color: #fff;
}

.filter-form {
  display: grid;
  gap: 10px;
}

.filter-group {
  display: grid;
  gap: 5px;
}

.filter-group label {
  font-size: 12px;
  font-weight: 600;
  color: #4a5262;
}

.filter-group input,
.filter-group select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  width: 100%;
  background: #fff;
}

.filter-actions {
  display: grid;
  gap: 6px;
}

.filter-actions .btn {
  justify-content: center;
}

.cart-items,
.summary-box {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 12px;
}

.summary-box h2 {
  margin-top: 0;
  font-size: 17px;
}

.summary-box p {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.summary-box .btn {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
}

.cart-item {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.cart-item img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 8px;
}

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

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.site-footer {
  margin-top: 44px;
  background: linear-gradient(180deg, #10141d, #090c12);
  color: #b9bfca;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 30px;
  padding: 38px 0 24px;
}

.site-footer h3 {
  margin: 0 0 10px;
  font-size: 36px;
}

.site-footer h4 {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 19px;
}

.site-footer p,
.site-footer li {
  margin: 0 0 7px;
  font-size: 13px;
  color: #aeb5c2;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-title {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}

.social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #bc0a13;
  color: #fff;
}

.visit-box {
  margin-top: 12px;
  background: #bf0b14;
  color: #fff;
  border-radius: 10px;
  padding: 11px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-bottom {
  min-height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 12px;
}

.footer-bottom nav {
  display: flex;
  gap: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

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

@media (max-width: 820px) {
  .strip-items {
    font-size: 11px;
    gap: 10px;
  }

  .header-row {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 12px 0;
  }

  .logo {
    font-size: 32px;
  }

  .cart {
    position: absolute;
    right: 18px;
    top: 44px;
  }

  .nav-row {
    min-height: 46px;
    gap: 14px;
  }

  .nav-row a {
    font-size: 13px;
  }

  .promo-content {
    grid-template-columns: 1fr;
    padding: 10px 0;
  }

  .promo-content-dynamic {
    grid-template-columns: 1fr;
  }

  .btn-view-offers {
    width: fit-content;
  }

  .promo-content h2 {
    font-size: 20px;
  }

  .promo-content p {
    font-size: 13px;
  }

  .countdown strong {
    font-size: 14px;
  }

  .hero {
    height: 380px;
  }

  .hero p {
    font-size: 14px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .benefits-row {
    grid-template-columns: repeat(2, 1fr);
    min-height: auto;
    padding: 12px 0;
  }

  .section {
    padding-top: 24px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .search-page-form {
    grid-template-columns: 1fr;
  }

  .search-results-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-grid,
  .cards-grid,
  .category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .category-page-layout .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .offer-panel {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .product-layout,
  .cart-layout,
  .category-page-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .filters-panel {
    position: static;
    top: auto;
  }

  .footer-bottom {
    flex-direction: column;
    padding: 12px 0;
    gap: 6px;
  }

}




@media (max-width: 560px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .category-page-layout .product-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.product-media,
.product-buybox {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 14px;
}

.product-media {
  display: flex;
  flex-direction: column;
}

.main-product-image {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #eceff5;
}

.thumbs-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  align-self: flex-start;
}

.thumb {
  width: 62px;
  height: 62px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  background: #fff;
  cursor: pointer;
}

.thumb.active {
  border-color: #7527d8;
  box-shadow: 0 0 0 2px rgba(117, 39, 216, .15);
}

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

.mini-breadcrumb {
  padding: 0;
  font-size: 12px;
  margin-bottom: 6px;
}

.product-title {
  margin: 0 0 6px;
  font-size: 28px;
}

.product-rating {
  margin: 0 0 10px;
  color: #c89c1f;
  font-size: 13px;
}

.product-rating span {
  color: #6a7080;
}

.product-buybox {
  display: flex;
  flex-direction: column;
}

.product-buybox .muted,
.product-buybox .price {
  padding-left: 0;
  padding-right: 0;
}

.product-price-main {
  margin: 0 0 12px;
  font-size: 40px;
  font-weight: 800;
  color: #8f1219;
}

.product-price-main span {
  font-size: 28px;
  color: #9ba1ad;
  text-decoration: line-through;
  margin-left: 6px;
}

.product-desc {
  margin: 0 0 14px;
  color: #515968;
  line-height: 1.5;
}

.option-group {
  margin-bottom: 12px;
}

.option-group strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

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

.pill-option {
  border: 1px solid #d7dbe4;
  background: #fff;
  color: #394052;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
}

.pill-option.active {
  border-color: #9f1017;
  color: #9f1017;
  background: #fff7f7;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-control button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;
}

.qty-control input {
  width: 58px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
}

.buy-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.buy-actions .btn {
  min-height: 44px;
  justify-content: center;
  margin: 0;
}

.buy-now-btn {
  justify-content: center;
  background: #a30000;
  color: #fff;
}

.product-meta-row {
  margin-top: 10px;
  display: flex;
  gap: 16px;
  color: #667084;
  font-size: 13px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.product-benefits {
  margin-top: 10px;
  padding-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.product-benefits div {
  display: grid;
  gap: 3px;
  font-size: 12px;
  color: #666d79;
}

.product-benefits i {
  color: #c59b23;
}

.product-benefits strong {
  color: #232935;
  font-size: 13px;
}

.product-specs-card {
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 12px;
}

.product-specs-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.product-tabs-card {
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.product-tabs-nav {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 10px 12px 0;
}

.tab-btn {
  border: 0;
  background: transparent;
  color: #5c6475;
  font-size: 13px;
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.tab-btn.active {
  color: #9c1118;
  border-bottom-color: #9c1118;
  font-weight: 600;
}

.tab-panel {
  display: none;
  padding: 12px;
  color: #505867;
}

.tab-panel.active {
  display: block;
}

.related-products-section {
  margin-top: 18px;
}

@media (max-width: 1000px) {
  .product-showcase {
    grid-template-columns: 1fr;
  }

  .main-product-image {
    height: 420px;
  }

  .product-benefits {
    grid-template-columns: 1fr;
  }
}

/* FIX: Responsive Grid Styles */
@media (max-width: 768px) {
  .cat-card {
    min-height: auto !important;
    background: #fdfdfd !important;
    border: 1px solid #eaeaea !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 15px 10px !important;
    text-align: center !important;
  }

  .cat-card a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    height: auto !important;
  }

  .cat-card img {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain !important;
    margin-bottom: 10px !important;
    border-radius: 0 !important;
  }

  .cat-card::after {
    display: none !important;
  }

  .cat-card div {
    position: static !important;
    color: var(--text) !important;
    padding: 0 !important;
  }

  .cat-card h3 {
    color: #333 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
  }

  .cat-card p,
  .cat-card span {
    display: none !important;
  }

  .product-card img {
    height: 140px !important;
  }

  .product-card h3 {
    font-size: 13px !important;
    height: 3em !important;
    /* Limit height for 2 lines */
    overflow: hidden !important;
  }

  .product-card .btn {
    padding: 6px 10px !important;
    font-size: 11px !important;
    width: calc(100% - 20px) !important;
  }
}
