:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef5ff;
  --ink: #102033;
  --muted: #667085;
  --line: #dbe3ef;
  --brand: #0f2a4a;
  --brand-2: #1e63b6;
  --accent: #f8c630;
  --accent-2: #12a38d;
  --danger: #d92d20;
  --success: #0e9f6e;
  --shadow: 0 18px 48px rgba(16, 32, 51, 0.12);
  --shadow-sm: 0 10px 28px rgba(16, 32, 51, 0.08);
  --radius: 8px;
  --container: 1180px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(248, 198, 48, 0.75);
  outline-offset: 3px;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(16px);
}

.top-strip {
  background: var(--brand);
  color: #ffffff;
  font-size: 0.78rem;
}

.top-strip__inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 7px;
}

.top-strip__inner span:last-child {
  display: none;
}

.navbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding-block: 12px;
}

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

.brand__mark {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #ffe58a);
  color: var(--brand);
  font-weight: 900;
  box-shadow: inset 0 -2px 0 rgba(15, 42, 74, 0.16);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  overflow: hidden;
  color: var(--brand);
  font-size: 0.98rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.75rem;
}

.searchbar {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.searchbar svg,
.nav-actions svg,
.cart-link svg,
.inline-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.searchbar svg {
  margin-left: 12px;
  color: var(--muted);
}

.searchbar input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  padding: 11px 10px;
  color: var(--ink);
  background: transparent;
}

.searchbar button {
  align-self: stretch;
  border: 0;
  padding-inline: 14px;
  background: var(--accent);
  color: var(--brand);
  font-weight: 800;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn,
.cart-link {
  position: relative;
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--brand);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.icon-btn:hover,
.cart-link:hover {
  transform: translateY(-2px);
  border-color: rgba(30, 99, 182, 0.35);
  box-shadow: var(--shadow-sm);
}

.icon-btn--hide-sm {
  display: none;
}

.icon-btn--whatsapp {
  color: #0f8f5f;
}

.icon-btn--whatsapp svg path:first-child {
  fill: rgba(18, 163, 141, 0.12);
}

.cart-link span {
  position: absolute;
  top: -7px;
  right: -6px;
  min-width: 20px;
  padding: 2px 5px;
  border-radius: 999px;
  background: var(--danger);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.category-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 12px;
  scrollbar-width: none;
}

.category-rail::-webkit-scrollbar {
  display: none;
}

.category-rail a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.category-rail a:hover,
.category-rail a.is-active {
  transform: translateY(-1px);
  border-color: var(--brand-2);
  background: var(--brand-2);
  color: #ffffff;
}

.loading-screen {
  display: grid;
  min-height: 48vh;
  place-items: center;
  gap: 16px;
  color: var(--muted);
  text-align: center;
}

.loader {
  width: 42px;
  height: 42px;
  border: 4px solid rgba(30, 99, 182, 0.18);
  border-top-color: var(--brand-2);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(620px, 78vh);
  display: grid;
  align-items: end;
  overflow: hidden;
  background-color: var(--brand);
  background-image:
    linear-gradient(90deg, rgba(15, 42, 74, 0.96) 0%, rgba(15, 42, 74, 0.78) 44%, rgba(15, 42, 74, 0.28) 100%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  color: #ffffff;
}

.hero__content {
  width: min(680px, 100%);
  padding-block: 54px 64px;
  animation: riseIn 520ms ease both;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 1.7rem + 2vw, 4.25rem);
  line-height: 1.02;
}

.hero p {
  max-width: 58ch;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 580px;
  margin: 28px 0 0;
}

.hero__metrics div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
}

.hero__metrics dt {
  font-size: 1.15rem;
  font-weight: 900;
}

.hero__metrics dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 10px 16px;
  background: var(--brand-2);
  color: #ffffff;
  font-weight: 800;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn--accent {
  background: var(--accent);
  color: var(--brand);
}

.btn--ghost {
  border-color: var(--line);
  background: var(--surface);
  color: var(--brand);
}

.btn--dark {
  background: var(--brand);
}

.btn--danger {
  background: var(--danger);
}

.btn--sm {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.88rem;
}

.section {
  padding-block: 42px;
}

.section--tight {
  padding-block: 28px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.section-head h2,
.contact-copy h2,
.admin-panel h2,
.checkout-summary h2 {
  margin: 0;
  color: var(--brand);
  font-size: 1.55rem;
  line-height: 1.15;
}

.section-head p,
.contact-copy p,
.admin-panel p {
  margin: 0;
  color: var(--muted);
}

.service-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding-block: 18px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.service-item svg {
  flex: 0 0 24px;
  color: var(--brand-2);
}

.service-item strong,
.service-item span {
  display: block;
}

.service-item span {
  color: var(--muted);
  font-size: 0.86rem;
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.category-tile {
  position: relative;
  display: grid;
  min-height: 160px;
  align-content: end;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 18px;
  background: var(--brand);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.category-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(16, 32, 51, 0.08), rgba(16, 32, 51, 0.86)), var(--category-image);
  background-position: center;
  background-size: cover;
  transition: transform 260ms ease;
}

.category-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.category-tile:hover::before {
  transform: scale(1.04);
}

.category-tile > * {
  position: relative;
  z-index: 1;
}

.category-tile strong {
  display: block;
  font-size: 1.15rem;
}

.category-tile span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

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

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 99, 182, 0.28);
  box-shadow: var(--shadow);
}

.product-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 0.86;
  overflow: hidden;
  background: var(--surface-soft);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.04);
}

.badge,
.discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.discount {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 7px 8px;
  background: var(--danger);
  color: #ffffff;
}

.badge {
  padding: 7px 9px;
  background: rgba(18, 163, 141, 0.12);
  color: #087767;
}

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-brand {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-title {
  min-height: 42px;
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.28;
}

.product-title a:hover {
  color: var(--brand-2);
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #a66700;
  font-size: 0.82rem;
  font-weight: 800;
}

.rating-stars {
  color: #f0a800;
  letter-spacing: 0;
}

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

.price {
  color: var(--brand);
  font-size: 1.08rem;
  font-weight: 900;
}

.mrp {
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: line-through;
}

.product-card .btn {
  width: 100%;
  margin-top: auto;
}

.page-hero {
  padding-block: 34px;
  background: linear-gradient(135deg, var(--brand), #174d87);
  color: #ffffff;
}

.page-hero p {
  max-width: 70ch;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.breadcrumbs a {
  color: #ffffff;
  font-weight: 700;
}

.catalog-layout {
  display: grid;
  gap: 18px;
}

.filters {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.filters summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  color: var(--brand);
  font-weight: 900;
  list-style: none;
  cursor: pointer;
}

.filters summary::-webkit-details-marker {
  display: none;
}

.filters__body {
  display: grid;
  gap: 14px;
  padding: 0 15px 15px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label,
.field span {
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: var(--surface);
  color: var(--ink);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.price-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.catalog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.result-count {
  color: var(--muted);
  font-weight: 700;
}

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

.sort-control select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px;
  background: var(--surface);
}

.empty-state {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 240px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  text-align: center;
}

.detail-layout {
  display: grid;
  gap: 22px;
}

.detail-gallery {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.detail-gallery img {
  width: 100%;
  aspect-ratio: 1 / 0.86;
  object-fit: cover;
}

.detail-panel {
  display: grid;
  gap: 16px;
  align-content: start;
}

.detail-panel h1 {
  margin: 0;
  color: var(--brand);
  font-size: clamp(1.8rem, 1.5rem + 1vw, 2.8rem);
  line-height: 1.08;
}

.detail-panel p {
  margin: 0;
  color: var(--muted);
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.spec-list li {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--brand);
  font-weight: 700;
}

.qty-control {
  display: inline-grid;
  grid-template-columns: 42px 56px 42px;
  overflow: hidden;
  width: max-content;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.qty-control button,
.qty-control input,
.qty-control span {
  display: grid;
  min-height: 40px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--brand);
  text-align: center;
  font-weight: 900;
}

.qty-control button {
  transition: background 180ms ease;
}

.qty-control button:hover {
  background: var(--surface-soft);
}

.cart-layout,
.checkout-layout,
.contact-grid,
.admin-layout {
  display: grid;
  gap: 20px;
}

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

.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.cart-item img {
  width: 88px;
  height: 88px;
  border-radius: var(--radius);
  object-fit: cover;
}

.cart-item h3 {
  margin: 0;
  color: var(--brand);
  font-size: 1rem;
}

.cart-item p {
  margin: 4px 0 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.cart-item__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.summary-box,
.checkout-form,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.summary-box {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.summary-row strong {
  color: var(--brand);
}

.summary-row--total {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--brand);
  font-size: 1.08rem;
  font-weight: 900;
}

.checkout-form,
.admin-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.success-box {
  padding: 16px;
  border: 1px solid rgba(14, 159, 110, 0.28);
  border-radius: var(--radius);
  background: rgba(14, 159, 110, 0.09);
  color: #05603a;
  font-weight: 700;
}

.reviews {
  background: #ffffff;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.review-card p {
  margin: 10px 0;
  color: var(--ink);
}

.review-card strong {
  color: var(--brand);
}

.contact-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.map-wrap {
  overflow: hidden;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: var(--surface);
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  background: var(--surface-soft);
  color: var(--brand);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-actions {
  display: flex;
  gap: 8px;
}

.site-footer {
  margin-top: 28px;
  padding-block: 34px;
  background: var(--brand);
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.brand--footer strong {
  color: #ffffff;
}

.brand--footer small,
.site-footer p {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 1rem;
}

.site-footer a,
.site-footer span {
  display: block;
  margin-top: 8px;
}

.site-footer a:hover {
  color: var(--accent);
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  max-width: min(360px, calc(100vw - 32px));
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  border-radius: var(--radius);
  padding: 13px 15px;
  background: var(--brand);
  color: #ffffff;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, opacity 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast.is-error {
  background: var(--danger);
}

@keyframes riseIn {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (min-width: 560px) {
  .top-strip__inner span:last-child,
  .icon-btn--hide-sm {
    display: inline-grid;
  }

  .service-bar,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalog-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

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

  .form-grid .field--full {
    grid-column: 1 / -1;
  }
}

@media (min-width: 760px) {
  .navbar {
    grid-template-columns: auto minmax(260px, 1fr) auto;
  }

  .searchbar {
    grid-column: auto;
  }

  .hero__content {
    padding-block: 78px 88px;
  }

  .service-bar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .catalog-layout {
    grid-template-columns: 260px 1fr;
    align-items: start;
  }

  .filters {
    position: sticky;
    top: 146px;
  }

  .filters[open] summary {
    border-bottom: 1px solid var(--line);
  }

  .filters summary {
    cursor: default;
  }

  .detail-layout,
  .cart-layout,
  .checkout-layout,
  .contact-grid,
  .admin-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
  }

  .detail-layout {
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  }

  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .admin-layout {
    grid-template-columns: 360px 1fr;
  }

  .review-grid,
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .section {
    padding-block: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
