* {
  box-sizing: border-box;
}

:root {
  --red-700: #9c0d12;
  --red-600: #bd131a;
  --red-500: #d21f27;
  --red-100: #ffe9eb;
  --ink-900: #151821;
  --ink-700: #383f4d;
  --ink-500: #5f6776;
  --line: #e8ebf0;
  --bg: #f6f8fb;
  --white: #ffffff;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  color: var(--ink-700);
  background: var(--white);
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
}

.section-space {
  padding-block: 68px;
}

.section-space-sm {
  padding-block: 42px;
}

.page-hero {
  background: linear-gradient(180deg, #fff 0%, #f8fafe 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 10px 0 0;
  color: var(--ink-900);
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.1;
}

.page-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px;
}

.page-card h2 {
  margin: 0 0 10px;
  color: var(--ink-900);
  font-size: 34px;
}

.page-card p {
  margin: 0 0 18px;
  color: var(--ink-500);
  max-width: 58ch;
  line-height: 1.75;
}

.page-card-image {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: #f4f7fc;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 16px;
}

.eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: var(--red-600);
}

.announcement-bar {
  background: linear-gradient(90deg, var(--red-700), var(--red-500));
  color: var(--white);
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding-inline: 16px;
  font-size: 13px;
}

.announcement-bar p {
  margin: 0;
}

.announcement-bar a {
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-main {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand-logo {
  height: 64px;
  width: auto;
  display: block;
}

.search-wrap {
  height: 48px;
  border: 1px solid #d9dee8;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-inline: 18px;
  color: #8b93a4;
}

.search-wrap input {
  border: none;
  outline: none;
  width: 100%;
  font: inherit;
  color: var(--ink-700);
}

.search-wrap input::placeholder {
  color: #97a0b1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.account-dropdown {
  position: absolute;
  right: 0;
  top: 46px;
  z-index: 70;
}

.account-dropdown-menu {
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(19, 26, 43, 0.08);
  padding: 10px;
}

.account-dropdown-label {
  margin: 4px 6px 8px;
  color: var(--ink-500);
  font-size: 12px;
  font-weight: 700;
}

.account-dropdown-link {
  display: block;
  width: 100%;
  padding: 10px;
  border: none;
  background: transparent;
  text-align: left;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.account-dropdown-link:hover {
  background: #f5f7fb;
}

.account-dropdown-logout {
  color: var(--red-600);
}

.order-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
}

.order-card p {
  margin: 0 0 6px;
}

.order-card ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.order-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.order-status.placed,
.order-status.confirmed {
  background: #e9f6ee;
  color: #0d7a3a;
}

.order-status.pending {
  background: #fff5e8;
  color: #a56307;
}

.order-status.packed {
  background: #eef4ff;
  color: #2152b6;
}

.order-status.shipped,
.order-status.delivered {
  background: #e8f4ff;
  color: #0a4a92;
}

.order-status.cancelled {
  background: #ffe9eb;
  color: #9c0d12;
}

.header-actions button {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #d8dde7;
  background: var(--white);
  color: var(--ink-700);
  cursor: pointer;
}

.header-actions button span {
  position: absolute;
  top: -6px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red-600);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
}

.btn-link {
  border: none;
  background: transparent;
  color: var(--red-600);
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.auth-grid,
.cart-layout,
.checkout-layout {
  display: grid;
  gap: 20px;
}

.profile-layout {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 680px);
}

.profile-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}

.profile-card h1 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--ink-900);
}

.profile-card form {
  display: grid;
  gap: 10px;
}

.profile-card label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-700);
}

.profile-card input,
.profile-card textarea {
  width: 100%;
  border: 1px solid #d8dde7;
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
}

.profile-action-row {
  margin-top: 8px;
  display: flex;
  gap: 10px;
}

.auth-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.cart-layout,
.checkout-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
}

.auth-card,
.cart-card,
.cart-summary,
.checkout-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}

.auth-card h1,
.auth-card h2,
.cart-card h1,
.cart-summary h2,
.checkout-card h1,
.checkout-card h2 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--ink-900);
}

.auth-subtitle {
  margin-top: 0;
  margin-bottom: 16px;
  color: var(--ink-500);
}

.auth-card form,
.checkout-card form {
  display: grid;
  gap: 10px;
}

.auth-card label,
.checkout-card label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-700);
}

.auth-card input,
.checkout-card input,
.checkout-card textarea {
  width: 100%;
  border: 1px solid #d8dde7;
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 12px;
}

.cart-item-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 10px;
  background: #f8f9fc;
}

.cart-item-main h3 {
  margin: 0 0 8px;
  color: var(--ink-900);
  font-size: 16px;
}

.cart-item-price,
.cart-line-total {
  margin: 0;
  font-weight: 700;
  color: var(--ink-900);
}

.cart-qty-row {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-qty-btn {
  min-width: 36px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.cart-summary-row.total {
  font-size: 18px;
}

@media (max-width: 900px) {
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cart-item {
    grid-template-columns: 1fr;
  }

  .cart-line-total {
    justify-self: start;
  }
}

.header-nav-wrap {
  border-top: 1px solid var(--line);
}

.header-nav {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 28px;
  overflow-x: auto;
  white-space: nowrap;
}

.header-nav a {
  font-size: 14px;
  font-weight: 600;
  color: #50586a;
  border-bottom: 2px solid transparent;
  padding-top: 2px;
}

.header-nav .login-nav-link {
  margin-left: auto;
  color: var(--red-600);
}

.header-nav a.active,
.header-nav a:hover {
  color: var(--red-600);
  border-bottom-color: var(--red-600);
}

.header-nav a.contact-nav-btn {
  border: 1px solid #e0e6f0;
  border-radius: 999px;
  padding: 7px 14px;
  color: var(--ink-700);
  font-weight: 700;
}

.header-nav a.contact-nav-btn:hover,
.header-nav a.contact-nav-btn.active {
  color: var(--white);
  border-color: var(--red-600);
  background: var(--red-600);
}

.hero {
  background:
    radial-gradient(circle at 90% 10%, #ffd9dd 0, transparent 36%),
    linear-gradient(180deg, #fff 0%, #f9fbff 100%);
  border-bottom: 1px solid var(--line);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.hero-copy h1 {
  margin: 14px 0 14px;
  color: var(--ink-900);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  max-width: 13ch;
}

.hero-text {
  margin: 0;
  color: var(--ink-500);
  font-size: 17px;
  max-width: 54ch;
  line-height: 1.65;
}

.hero-cta-row {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(24, 28, 39, 0.12);
}

.btn-primary {
  background: linear-gradient(180deg, #dc2a31, var(--red-600));
  color: var(--white);
}

.btn-secondary {
  border-color: #d7dce6;
  color: var(--ink-700);
  background: var(--white);
}

.btn-secondary-light {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-block {
  width: 100%;
}

.amazon-buy-link {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 8px;
}

.amazon-buy-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: 50px;
  object-fit: contain;
  border-radius: 8px;
}

.hero-stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-stats article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.hero-stats h3 {
  margin: 0;
  color: var(--ink-900);
  font-size: clamp(22px, 3vw, 30px);
}

.hero-stats p {
  margin: 6px 0 0;
  color: var(--ink-500);
  font-size: 13px;
}

.hero-visual {
  position: relative;
}

.hero-image-card {
  background: linear-gradient(180deg, #fff, #f2f6ff);
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(10, 14, 23, 0.1);
  padding: 30px;
}

.hero-image-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.hero-chip {
  position: absolute;
  min-height: 44px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid #dae0ea;
  box-shadow: 0 8px 22px rgba(16, 22, 34, 0.12);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  color: var(--ink-700);
  font-size: 12px;
  font-weight: 700;
}

.hero-chip i {
  color: var(--red-600);
}

.chip-left {
  left: -18px;
  top: 56px;
}

.chip-right {
  right: -14px;
  bottom: 36px;
}

.trust-row {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.trust-row article {
  min-height: 60px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-700);
}

.trust-row i {
  color: var(--red-600);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 8px 0 0;
  color: var(--ink-900);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.category-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(22, 29, 42, 0.1);
}

.category-image-wrap {
  min-height: 260px;
  background: #f7f9fc;
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 20px;
}

.category-image {
  width: 100%;
  max-height: 210px;
  object-fit: contain;
}

.category-content {
  padding: 22px;
}

.category-content h3 {
  margin: 0;
  color: var(--ink-900);
  font-size: 24px;
}

.category-content p {
  margin: 10px 0 16px;
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.6;
}

.category-content a {
  color: var(--red-600);
  font-weight: 700;
  font-size: 14px;
}

.products-shell {
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.showcase-carousel {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #f7f9fd 100%);
  overflow: hidden;
}

.showcase-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.showcase-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.showcase-media {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 32px;
  background: #f4f7fc;
  border-right: 1px solid var(--line);
}

.showcase-media img {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
}

.showcase-content {
  padding: 48px;
}

.showcase-content h3 {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.08;
  color: var(--ink-900);
  max-width: 14ch;
}

.showcase-content p {
  margin: 14px 0 24px;
  font-size: 16px;
  color: var(--ink-500);
  line-height: 1.7;
  max-width: 40ch;
}

.showcase-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #d5dbe6;
  background: rgba(255, 255, 255, 0.94);
  color: #4d576a;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
}

.showcase-prev {
  left: 14px;
}

.showcase-next {
  right: 14px;
}

.showcase-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.showcase-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #cfd6e2;
  cursor: pointer;
}

.showcase-dot.active {
  width: 24px;
  border-radius: 999px;
  background: var(--red-600);
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.product-image-wrap {
  position: relative;
  background: #f7f9fd;
  border-bottom: 1px solid var(--line);
}

.product-image {
  width: 100%;
  height: 210px;
  object-fit: contain;
  display: block;
  padding: 14px;
}

.product-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--red-700);
  background: var(--red-100);
}

.product-meta {
  padding: 16px;
}

.product-meta h3 {
  margin: 0;
  font-size: 16px;
  color: var(--ink-900);
  line-height: 1.45;
}

.rating {
  margin: 8px 0 12px;
  color: #6e7788;
  font-size: 13px;
}

.rating i {
  color: #ffb224;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.price {
  margin: 0;
  color: var(--red-600);
  font-size: 24px;
  font-weight: 800;
}

.cut-price {
  margin: 0;
  color: #8b94a5;
  text-decoration: line-through;
  font-size: 13px;
}

.offer-band {
  background: linear-gradient(120deg, var(--red-700), var(--red-500));
  color: var(--white);
}

.offer-band-inner {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.offer-band-inner h2 {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 46px);
  max-width: 20ch;
}

.offer-band-inner p {
  margin: 10px 0 20px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 68ch;
}

.about-section {
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.about-copy h2 {
  margin: 12px 0 14px;
  color: var(--ink-900);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
}

.about-copy p {
  margin: 0 0 14px;
  color: var(--ink-500);
  line-height: 1.85;
  max-width: 62ch;
}

.about-page-text-red p,
.about-page-text-red h2 {
  color: var(--red-600);
}

.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  align-items: start;
}

.filter-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 18px;
  position: sticky;
  top: 110px;
}

.filter-panel h3 {
  margin: 0 0 14px;
  color: var(--ink-900);
  font-size: 20px;
}

.filter-group {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 12px;
}

.filter-group h4 {
  margin: 0 0 10px;
  color: var(--ink-900);
  font-size: 14px;
}

.filter-group label {
  display: block;
  margin: 8px 0;
  font-size: 13px;
  color: var(--ink-700);
}

.catalog-area {
  min-width: 0;
}

.results-bar {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  margin-bottom: 14px;
}

.results-bar p {
  margin: 0;
  color: var(--ink-700);
  font-size: 14px;
  font-weight: 600;
}

.results-bar select {
  border: 1px solid #d6dce7;
  border-radius: 8px;
  min-height: 36px;
  padding: 0 10px;
  font-family: inherit;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: start;
}

.deals-grid {
  grid-template-columns: repeat(3, 1fr);
}

.deals-grid .catalog-image-wrap {
  min-height: 180px;
  height: 180px;
  aspect-ratio: auto;
}

.deals-grid .catalog-info {
  gap: 6px;
}

.deals-grid .catalog-price {
  margin-top: 0;
}

.deals-grid .catalog-card {
  overflow: visible;
}

.catalog-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 21, 32, 0.1);
}

.catalog-image-wrap {
  position: relative;
  min-height: 220px;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--line);
  background: #f6f9fd;
  display: grid;
  place-items: center;
  padding: 14px;
}

.catalog-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.catalog-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  background: var(--red-100);
  color: var(--red-700);
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 9px;
}

.catalog-info {
  padding: 16px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.catalog-info h3 {
  margin: 0;
  color: var(--ink-900);
  font-size: 15px;
  line-height: 1.35;
  min-height: 0;
}

.catalog-info p {
  margin: 0;
  color: var(--ink-700);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.catalog-rating {
  margin-top: 8px;
  font-weight: 600;
  color: #5d6778;
}

.catalog-rating i {
  color: #ffb224;
}

.catalog-price {
  margin-top: auto;
  padding-top: 10px;
  color: var(--red-600);
  font-size: 22px;
  font-weight: 800;
}

.catalog-price span {
  color: #9098a7;
  font-size: 12px;
  text-decoration: line-through;
  font-weight: 500;
}

.catalog-price .price-off {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #2b8a3e;
  text-decoration: none;
}

.breadcrumbs {
  margin: 0 0 14px;
  font-size: 13px;
  color: #6d7586;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.6fr 280px;
  gap: 18px;
  align-items: start;
}

.detail-content {
  min-width: 0;
}

.detail-gallery,
.detail-content,
.buy-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.detail-gallery {
  padding: 12px;
}

.detail-main-image {
  width: 100%;
  height: 360px;
  object-fit: contain;
  border-radius: 10px;
  background: #f6f9fd;
  border: 1px solid var(--line);
}

.thumb-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  overflow-x: auto;
  padding-bottom: 4px;
  gap: 8px;
}

.thumb-row.collapsed img:nth-child(n + 5) {
  display: none;
}

.thumb-row img {
  width: 88px;
  min-width: 88px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  cursor: pointer;
}

.thumb-row img.active {
  border-color: var(--red-600);
  box-shadow: 0 0 0 1px var(--red-600);
}

.thumb-more-btn {
  width: 88px;
  min-width: 88px;
  height: 90px;
  border-radius: 8px;
  border: 1px dashed #c7d0df;
  background: #f8fafe;
  color: var(--ink-700);
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}

.detail-content {
  padding: 18px;
}

.detail-content h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  color: var(--ink-900);
}

.detail-price {
  margin: 8px 0 14px;
  color: var(--red-600);
  font-size: 30px;
  font-weight: 800;
}

.detail-price span {
  margin-left: 8px;
  text-decoration: line-through;
  font-size: 14px;
  color: #8f97a6;
  font-weight: 500;
}

.detail-price .price-off {
  margin-left: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #2b8a3e;
  text-decoration: none;
}

.detail-content ul {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--ink-700);
}

.detail-content li {
  margin-bottom: 8px;
  line-height: 1.55;
  font-weight: 500;
}

.detail-content h3 {
  margin: 0 0 10px;
  color: var(--ink-900);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table td {
  border: 1px solid var(--line);
  padding: 10px;
  font-size: 13px;
  font-weight: 500;
}

.spec-table td:first-child {
  background: #f8fafe;
  font-weight: 600;
  width: 40%;
}

.buy-box {
  padding: 16px;
  position: sticky;
  top: 110px;
}

.buy-price {
  margin: 0 0 8px;
  color: var(--red-600);
  font-size: 32px;
  font-weight: 800;
}

.stock {
  margin: 8px 0 12px;
  font-weight: 700;
}

.stock.in {
  color: #148443;
}

.small-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: #5f6776;
  font-weight: 500;
}

.about-logo-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
  min-height: 460px;
  display: grid;
  place-items: center;
  padding: 34px;
}

.about-logo-big {
  width: min(100%, 560px);
  height: auto;
  display: block;
  object-fit: contain;
}

.video-wrap {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  line-height: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  align-items: start;
}

.contact-panel,
.contact-form-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 20px;
}

.contact-panel h2,
.contact-form-panel h2 {
  margin: 0 0 10px;
  color: var(--ink-900);
}

.contact-list {
  margin: 14px 0 0;
  display: grid;
  gap: 12px;
}

.contact-list p {
  margin: 0;
  color: var(--ink-700);
}

.contact-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink-900);
}

.wholesale-note {
  margin-top: 14px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ffd9dd;
  background: #fff5f6;
  color: #8f1d24;
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d4dbe7;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink-700);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.order-details-card h3 {
  margin: 14px 0 8px;
  color: var(--ink-900);
}

.tracking-timeline {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.tracking-step {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}

.tracking-step.done {
  border-color: #b8e2c8;
  background: #f0faf4;
}

.tracking-step.pending {
  border-color: #eadfce;
  background: #fffaf2;
}

.tracking-step-title {
  margin: 0;
  font-weight: 700;
  color: var(--ink-900);
}

.tracking-step-meta {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink-700);
}

.logistics {
  text-align: center;
}

.logo-row {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  flex-wrap: wrap;
}

.courier-logo {
  height: 44px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.courier-logo--double {
  height: 88px;
}

.courier-logo:hover {
  opacity: 1;
}

.newsletter {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.newsletter-inner {
  min-height: 136px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.newsletter-inner h3 {
  margin: 8px 0 0;
  color: var(--ink-900);
  font-size: 30px;
}

.newsletter form {
  display: flex;
  gap: 10px;
  width: min(520px, 100%);
}

.newsletter input {
  flex: 1;
  border: 1px solid #d7dde7;
  border-radius: 10px;
  height: 46px;
  padding: 0 14px;
  font: inherit;
  outline: none;
}

.site-footer {
  background: #121621;
  color: #98a0af;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 32px;
  padding-block: 56px 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  height: 64px;
  display: block;
  margin-bottom: 14px;
}

.footer-grid p {
  max-width: 32ch;
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.7;
}

.footer-grid h4 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.footer-grid a {
  display: block;
  color: #a2a9b7;
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-socials {
  display: flex;
  gap: 9px;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #d0d4db;
}

.footer-socials a:hover {
  background: var(--red-600);
}

.footer-bottom {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  gap: 16px;
}

@media (max-width: 1120px) {
  .hero-layout,
  .about-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .page-card {
    grid-template-columns: 1fr;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
  }

  .catalog-grid,
  .deals-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .buy-box {
    position: static;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .hero-chip {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-slide {
    grid-template-columns: 1fr;
  }

  .showcase-media {
    min-height: 320px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .showcase-content {
    padding: 30px;
  }

  .showcase-content h3,
  .showcase-content p {
    max-width: 100%;
  }

  .about-logo-panel {
    min-height: 360px;
  }
}

@media (max-width: 860px) {
  .header-main {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 10px 14px;
  }

  .brand {
    justify-self: center;
  }

  .header-actions {
    justify-content: center;
  }

  .section-space {
    padding-block: 52px;
  }

  .category-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .newsletter-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-block: 24px;
  }

  .newsletter form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter input,
  .newsletter .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-block: 12px;
  }

  .showcase-btn {
    display: none;
  }
}

@media (max-width: 580px) {
  .container,
  .footer-bottom {
    width: min(1240px, 100% - 24px);
  }

  .announcement-bar {
    flex-direction: column;
    padding-block: 8px;
    gap: 4px;
  }

  .section-head {
    display: block;
  }

  .section-head h2 {
    margin-top: 8px;
  }

  .offer-band-inner h2 {
    font-size: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding-block: 42px 28px;
  }

  .catalog-grid,
  .deals-grid {
    grid-template-columns: 1fr;
  }

  .results-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
  }
}
