.hero {
  position: relative;
  min-height: calc(100vh - 140px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero picture {
  position: absolute;
  inset: 0;
  display: block;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 17, 19, 0.95) 0%, rgba(15, 17, 19, 0.72) 36%, rgba(15, 17, 19, 0.14) 74%),
    linear-gradient(0deg, rgba(15, 17, 19, 0.7) 0%, transparent 34%);
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 66px 0 96px;
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  color: var(--text);
  font-size: clamp(42px, 8vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 570px;
  margin: 22px 0 0;
  color: #d6d5ce;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(var(--max), calc(100% - 32px));
  margin: -42px auto 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.trust-band span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 82px;
  padding: 12px;
  color: var(--text);
  background: rgba(20, 23, 25, 0.86);
  backdrop-filter: blur(14px);
  font-weight: 800;
  text-align: center;
}

.trust-band i {
  color: var(--amber);
}

.promo-slider,
.visual-campaigns {
  width: min(var(--max), calc(100% - 32px));
  margin: 30px auto 0;
}

.promo-slider a,
.visual-promo-card {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.promo-slider picture,
.promo-slider img,
.visual-promo-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.promo-slider picture {
  display: block;
}

.trust-mobile-only {
  display: none;
}

.visual-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.visual-promo-card {
  position: relative;
  min-height: 230px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.visual-promo-card img {
  height: 100%;
  min-height: 230px;
}

.visual-promo-card span,
.visual-promo-card strong {
  position: absolute;
  left: 24px;
  color: #111820;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42);
}

.visual-promo-card span {
  top: 24px;
  max-width: 50%;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.08;
}

.visual-promo-card strong {
  bottom: 22px;
  font-size: 16px;
  text-decoration: underline;
}

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

.category-tile {
  min-height: 182px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  transition: 180ms ease;
}

.category-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 199, 189, 0.48);
}

.category-tile span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: #111414;
  background: linear-gradient(135deg, var(--amber), #fff0b8);
}

.category-tile strong,
.category-tile small {
  display: block;
}

.category-tile strong {
  margin-bottom: 8px;
  font-size: 17px;
}

.category-tile small {
  color: var(--muted);
  line-height: 1.55;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: stretch;
  gap: 22px;
}

.quick-order {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.quick-order-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  text-align: left;
  cursor: pointer;
}

.quick-order-row .product-visual {
  width: 58px;
  height: 58px;
  min-height: 58px;
}

.quick-order-row strong {
  font-size: 15px;
}

.quick-order-row em {
  color: var(--amber);
  font-style: normal;
  font-weight: 900;
}

.procurement-panel {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 100%;
  padding: 28px;
  border: 1px solid rgba(246, 168, 59, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(246, 168, 59, 0.16), rgba(18, 199, 189, 0.08)),
    rgba(255, 255, 255, 0.06);
}

.procurement-panel strong {
  font-size: 29px;
  line-height: 1.12;
}

.procurement-panel p {
  color: var(--muted);
  line-height: 1.75;
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05)),
    rgba(0, 0, 0, 0.18);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 6px 9px;
  border-radius: 999px;
  color: #131414;
  background: var(--amber);
  font-size: 12px;
  font-weight: 900;
}

.product-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: min(150px, 100%);
  aspect-ratio: 1;
  min-height: 120px;
  overflow: hidden;
  border-radius: 8px;
  color: var(--product-accent);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.65), transparent 34%),
    linear-gradient(145deg, var(--product-color), color-mix(in srgb, var(--product-color) 65%, #000 35%));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 18px 38px rgba(0, 0, 0, 0.28);
}

.product-visual i {
  position: relative;
  z-index: 2;
  color: var(--product-accent);
  font-size: 42px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
}

.product-shine {
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
}

.product-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.product-title {
  min-height: 44px;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.product-unit {
  color: var(--muted);
  font-size: 13px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #d8d6cf;
  font-size: 13px;
}

.product-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.product-meta i {
  color: var(--amber);
}

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

.price-row strong,
.detail-price strong {
  color: #fff2b9;
  font-size: 23px;
}

.price-row s,
.detail-price s {
  color: #9f9d98;
}

.price-row em {
  padding: 4px 7px;
  border-radius: 999px;
  color: #131414;
  background: #8df2e8;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.catalog-hero {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 24px;
  padding: 46px 0 22px;
}

.catalog-hero h1 {
  font-size: clamp(34px, 6vw, 64px);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 20px;
  align-items: start;
}

.filter-panel,
.results-toolbar,
.cart-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(12px);
}

.filter-panel {
  position: sticky;
  top: 150px;
  padding: 16px;
}

.filter-heading,
.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.filter-heading {
  margin-bottom: 13px;
}

.filter-heading span,
.results-toolbar span {
  color: var(--muted);
  font-size: 13px;
}

.filter-panel nav {
  display: grid;
  gap: 7px;
}

.filter-panel a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 39px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.filter-panel a.is-active,
.filter-panel a:hover {
  color: #111414;
  background: linear-gradient(135deg, #8df2e8, #fff0b8);
}

.catalog-results {
  min-width: 0;
}

.results-toolbar {
  min-height: 54px;
  margin-bottom: 16px;
  padding: 0 14px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  width: min(var(--max), calc(100% - 32px));
  margin: 22px auto 0;
}

.product-detail-media,
.product-detail-info {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
}

.product-detail-media {
  display: grid;
  place-items: center;
  min-height: 520px;
  padding: 38px;
}

.product-detail-media .product-visual {
  width: min(360px, 100%);
}

.product-detail-media .product-visual i {
  font-size: 92px;
}

.product-detail-info {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 38px;
}

.breadcrumb-link {
  color: #8df2e8;
  font-size: 14px;
  font-weight: 800;
}

.product-detail-info .product-badge {
  position: static;
  width: max-content;
}

.product-detail h1 {
  font-size: clamp(32px, 5vw, 54px);
}

.product-detail p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.detail-meta {
  gap: 12px;
}

.detail-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.detail-price strong {
  font-size: 38px;
}

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

.delivery-grid span {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #dedbd4;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 700;
}

.delivery-grid i {
  color: var(--green);
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 20px;
  align-items: start;
}

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

.cart-row {
  display: grid;
  grid-template-columns: 72px 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
}

.cart-row .product-visual {
  width: 62px;
  min-height: 62px;
}

.cart-row .product-visual i {
  font-size: 24px;
}

.cart-row strong,
.cart-row span {
  display: block;
}

.cart-row span {
  margin-top: 5px;
  color: var(--muted);
}

.quantity-control {
  display: grid;
  grid-template-columns: 34px 34px 34px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quantity-control button,
.quantity-control span {
  display: grid;
  place-items: center;
  height: 34px;
  border: 0;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.quantity-control span {
  margin: 0;
  color: var(--text);
  font-weight: 800;
}

.cart-summary {
  position: sticky;
  top: 150px;
  display: grid;
  gap: 14px;
  padding: 18px;
}

.cart-summary span {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.cart-summary > strong {
  color: #fff2b9;
  font-size: 32px;
}

.empty-state {
  margin: 0;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
}

@media (max-width: 980px) {
  .trust-band,
  .category-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-section,
  .catalog-layout,
  .product-detail,
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel,
  .cart-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 126px;
    margin: 12px 8px 18px;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(20, 32, 50, 0.1);
  }

  .promo-slider {
    width: calc(100% - 16px);
    margin: 14px auto 22px;
  }

  .promo-slider a {
    border-radius: 0;
    box-shadow: none;
  }

  .promo-slider img {
    display: block;
    min-height: 0;
    object-fit: contain;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(4, 50, 76, 0.92) 0%, rgba(4, 50, 76, 0.72) 45%, rgba(4, 50, 76, 0.08) 100%);
  }

  .hero img {
    object-position: 72% center;
  }

  .hero-content {
    width: 100%;
    padding: 16px;
    align-self: center;
  }

  .hero h1 {
    max-width: 285px;
    font-size: 22px;
    line-height: 1.08;
  }

  .hero p,
  .hero-actions {
    display: none;
  }

  .hero .eyebrow {
    margin-bottom: 6px;
    color: #ffffff;
    font-size: 10px;
  }

  .trust-band {
    grid-template-columns: repeat(2, 1fr);
    width: calc(100% - 16px);
    margin: 36px auto 22px;
    border: 1px solid #e4e6ea;
    border-radius: 0;
    background: #e4e6ea;
    box-shadow: none;
  }

  .trust-band span {
    min-height: 76px;
    color: #273142;
    background: #ffffff;
    font-size: 13px;
  }

  .trust-band .trust-desktop-only {
    display: none;
  }

  .trust-band .trust-mobile-only {
    display: flex;
  }

  .trust-band i {
    color: #2f9edf;
    font-size: 22px;
  }

  .section-shell {
    width: 100%;
    padding: 22px 8px;
  }

  .visual-campaigns {
    width: 100%;
    margin: 0;
    padding: 0 8px 22px;
  }

  .visual-campaigns .section-heading {
    display: none;
  }

  .visual-promo-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .visual-promo-card {
    min-height: 188px;
    border-color: #edf0f3;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(20, 32, 50, 0.08);
  }

  .visual-promo-card img {
    min-height: 188px;
  }

  .visual-promo-card span {
    top: 22px;
    left: 20px;
    max-width: 48%;
    font-size: 25px;
  }

  .visual-promo-card strong {
    left: 20px;
    bottom: 18px;
    font-size: 16px;
  }

  .section-heading {
    padding: 0 8px;
    margin-bottom: 16px;
  }

  .section-heading h2 {
    color: #273142;
    font-size: 25px;
    line-height: 1.25;
  }

  .section-heading p {
    color: #646b75;
  }

  .section-heading a {
    color: #0a4f86;
  }

  .section-shell > .section-heading a {
    display: none;
  }

  .eyebrow,
  .panel-kicker {
    color: #0a6fa8;
  }

  .category-tile {
    min-height: 156px;
    padding: 18px;
    border-color: #eef0f3;
    color: #1e2733;
    background:
      radial-gradient(circle at 78% 50%, rgba(18, 199, 189, 0.22) 0 38%, transparent 39%),
      #f8fafc;
    box-shadow: 0 5px 16px rgba(20, 32, 50, 0.08);
  }

  .category-tile strong {
    color: #172033;
    font-size: 22px;
  }

  .category-tile small {
    color: #5e6670;
  }

  .quick-order-row,
  .procurement-panel,
  .product-card {
    color: #273142;
    border-color: #e7e9ed;
    background: #ffffff;
    box-shadow: 0 5px 16px rgba(20, 32, 50, 0.08);
  }

  .quick-order-row strong,
  .product-title {
    color: #273142;
  }

  .product-media {
    background: #ffffff;
  }

  .product-unit,
  .product-meta,
  .procurement-panel p {
    color: #656d78;
  }

  .price-row strong,
  .detail-price strong {
    color: #d77800;
  }

  .product-body .btn-primary {
    color: #ffffff;
    background: #f58200;
  }

  .site-footer {
    margin-top: 18px;
    color: #273142;
    border-color: #e7e9ed;
    background: #ffffff;
  }

  .footer-grid h2,
  .footer-grid .brand strong {
    color: #273142;
  }

  .footer-grid p,
  .footer-grid a,
  .footer-grid span {
    color: #646b75;
  }

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

  .category-grid {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-media {
    min-height: 136px;
    padding: 12px;
  }

  .product-visual {
    width: min(102px, 100%);
    min-height: 92px;
  }

  .product-visual i {
    font-size: 31px;
  }

  .product-body {
    padding: 12px;
  }

  .product-title {
    min-height: 54px;
    font-size: 12px;
  }

  .product-unit,
  .product-meta {
    font-size: 11px;
  }

  .price-row strong {
    font-size: 18px;
  }

  .price-row s {
    font-size: 11px;
  }

  .price-row em {
    font-size: 10px;
  }

  .product-body .btn {
    min-height: 38px;
    padding: 0 8px;
    font-size: 12px;
  }

  .quick-order-row,
  .cart-row {
    grid-template-columns: 58px 1fr;
  }

  .quick-order-row em,
  .quantity-control,
  .cart-row .icon-button {
    grid-column: 2;
  }
}
