:root {
  --blue-primary: #2f6fb5;
  --blue-secondary: #3e82c6;
  --gray-dark: #3a3f45;
  --gray-light: #e5e3e1;
  --gray-deep: #1f2933;
  --white: #ffffff;
  --page-gradient: linear-gradient(180deg, rgba(229, 227, 225, 0.58) 0%, #f8f8f7 100%);
  --card-shadow: 0 22px 50px rgba(31, 41, 51, 0.1);
  --border-soft: rgba(62, 130, 198, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(62, 130, 198, 0.16), transparent 28%),
    radial-gradient(circle at left center, rgba(47, 111, 181, 0.12), transparent 30%),
    var(--page-gradient);
  color: var(--gray-deep);
  font-family: "Aptos", "Trebuchet MS", "Gill Sans", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  font: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(47, 111, 181, 0.38);
  outline-offset: 3px;
}

svg {
  display: block;
}

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.mobile-cart-toggle,
.mobile-cart-backdrop {
  display: none;
}

.mobile-cart-backdrop[hidden] {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(47, 111, 181, 0.98), rgba(62, 130, 198, 0.9)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent);
  box-shadow: var(--card-shadow);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -120px -150px auto;
  width: 320px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(2px);
}

.hero__topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand__logo {
  width: 116px;
  height: 116px;
  flex-shrink: 0;
  object-fit: contain;
  background: transparent;
}

.brand__copy h1,
.brand__copy p {
  margin: 0;
}

.brand__copy h1 {
  font-size: clamp(2.6rem, 4.7vw, 4.35rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.brand__copy p {
  margin-top: 10px;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 24px clamp(12px, 2vw, 30px) 0 0;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-weight: 700;
  transition: background-color 180ms ease, transform 180ms ease;
}

.hero__cta:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.hero__cta:focus-visible {
  outline-color: var(--white);
  box-shadow: 0 0 0 5px rgba(31, 41, 51, 0.24);
}

.hero__content {
  position: relative;
  z-index: 1;
  margin-top: 24px;
}

.hero__visual {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 26px;
  background: radial-gradient(circle at 46% 42%, #c9e5ed 0%, #b4d5e1 100%);
  box-shadow: inset 0 0 0 1px rgba(47, 111, 181, 0.06);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__delivery-image {
  width: 100%;
  height: clamp(330px, 38vw, 440px);
  object-fit: contain;
  object-position: left center;
}

.hero__guide {
  position: absolute;
  top: 50%;
  right: clamp(8px, 1.2vw, 14px);
  width: min(300px, 34%);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gray-deep);
  transform: translateY(-50%);
}

.hero__guide h2 {
  margin: 0;
  padding-left: 10px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-shadow: 0 1px 14px rgba(255, 255, 255, 0.9);
}

.hero__steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.hero__steps li {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(47, 111, 181, 0.12);
  border-radius: 16px;
  background: rgba(239, 247, 252, 0.9);
}

.hero__steps li > span:last-child {
  min-width: 0;
}

.hero__step-number {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-secondary));
  box-shadow: 0 8px 16px rgba(47, 111, 181, 0.2);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 800;
}

.hero__steps li:nth-child(3) .hero__step-number {
  background: linear-gradient(135deg, #1eae57, #25d366);
  box-shadow: 0 8px 16px rgba(30, 174, 87, 0.2);
}

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

.hero__steps strong {
  overflow: hidden;
  color: var(--blue-primary);
  font-size: 0.9rem;
  line-height: 1.12;
  text-overflow: ellipsis;
}

.hero__steps small {
  margin-top: 2px;
  color: rgba(31, 41, 51, 0.72);
  font-size: 0.76rem;
  line-height: 1.15;
}

.hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.hero__highlights div {
  display: flex;
  min-width: 118px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}

.hero__highlights strong {
  font-size: 1.35rem;
  line-height: 1;
}

.hero__highlights span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
}

.hero__highlights .hero__minimum {
  min-width: 240px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.hero__minimum strong {
  white-space: nowrap;
}

.hero__minimum span {
  white-space: nowrap;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.86fr);
  gap: 24px;
  margin-top: 24px;
}

.catalog,
.cart-panel {
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--card-shadow);
}

.catalog {
  padding: 30px;
}

.cart-panel {
  position: sticky;
  top: 24px;
  align-self: start;
  height: fit-content;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  padding: 28px;
}

@media (min-width: 1041px) {
  .cart-panel {
    scrollbar-width: thin;
    scrollbar-color: rgba(47, 111, 181, 0.68) rgba(47, 111, 181, 0.07);
  }

  .cart-panel::-webkit-scrollbar {
    width: 11px;
  }

  .cart-panel::-webkit-scrollbar-track {
    margin-block: 14px;
    border-radius: 999px;
    background: rgba(47, 111, 181, 0.07);
    box-shadow: inset 0 0 0 1px rgba(47, 111, 181, 0.04);
  }

  .cart-panel::-webkit-scrollbar-thumb {
    min-height: 64px;
    border: 2px solid transparent;
    border-radius: 999px;
    background: linear-gradient(180deg, #73a9dc, #3478b8) padding-box;
    box-shadow: inset 0 0 0 1px rgba(36, 96, 153, 0.12);
  }

  .cart-panel::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #5f9bd4, #286ba9) padding-box;
  }

  .cart-panel::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
  }

  .cart-panel::-webkit-scrollbar-corner {
    background: transparent;
  }
}

.section-heading,
.cart-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.section-heading h2,
.cart-panel__header h2 {
  margin: 12px 0 0;
  color: var(--blue-primary);
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-heading .section-tag,
.cart-panel__header .section-tag {
  background: rgba(47, 111, 181, 0.1);
  color: var(--blue-primary);
}

.cart-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(62, 130, 198, 0.12);
  color: var(--gray-deep);
  font-size: 0.92rem;
  font-weight: 700;
}

.catalog-filters {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(190px, 0.75fr);
  gap: 16px;
  margin-top: 24px;
}

.catalog-filter {
  display: grid;
  gap: 8px;
}

.catalog-filter label {
  color: var(--gray-deep);
  font-size: 0.9rem;
  font-weight: 800;
}

.catalog-filter input,
.catalog-filter select {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid rgba(58, 63, 69, 0.22);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--gray-deep);
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.catalog-filter select {
  cursor: pointer;
}

.catalog-filter input:hover,
.catalog-filter select:hover {
  border-color: rgba(47, 111, 181, 0.48);
}

.catalog-filter input:focus,
.catalog-filter select:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 4px rgba(47, 111, 181, 0.1);
}

.catalog-results {
  min-height: 1.25em;
  margin: 13px 0 0;
  color: var(--gray-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.product-grid > .empty-state {
  grid-column: 1 / -1;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(229, 227, 225, 0.38));
}

.product-card__image-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 24px;
  background:
    radial-gradient(circle at top, rgba(62, 130, 198, 0.16), transparent 46%),
    linear-gradient(180deg, rgba(229, 227, 225, 0.7), rgba(255, 255, 255, 0.94));
}

.product-card__image {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 180ms ease;
}

.product-card__image:hover,
.product-card__image:focus-visible {
  transform: scale(1.03);
}

.product-card__image:focus-visible {
  outline: 3px solid rgba(47, 111, 181, 0.42);
  outline-offset: 6px;
  border-radius: 12px;
}

.product-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 180px;
  padding: 24px;
  color: var(--blue-primary);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.product-card__body {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.product-card__title {
  margin: 0;
  color: var(--gray-deep);
  font-size: 1.18rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.product-card__subtitle {
  margin: 8px 0 0;
  color: var(--gray-dark);
  font-size: 0.95rem;
}

.product-card__category {
  display: inline-flex;
  width: fit-content;
  margin: 10px 0 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(47, 111, 181, 0.1);
  color: var(--blue-primary);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-card__price {
  margin: 10px 0 0;
  color: var(--blue-primary);
  font-size: 1.24rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.product-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-card__stock-status {
  display: grid;
  place-items: center;
  min-height: 54px;
  margin: 0;
  border: 1px solid rgba(159, 32, 23, 0.18);
  border-radius: 16px;
  background: rgba(159, 32, 23, 0.07);
  color: #9f2017;
  font-weight: 800;
  text-align: center;
}

.quantity-stepper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(47, 111, 181, 0.08);
}

.quantity-stepper button,
.cart-item__stepper button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue-primary);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.quantity-stepper button:hover,
.cart-item__stepper button:hover {
  background: var(--blue-primary);
  color: var(--white);
  transform: translateY(-1px);
}

.quantity-stepper span,
.cart-item__qty {
  min-width: 28px;
  color: var(--gray-deep);
  text-align: center;
  font-weight: 800;
}

.add-button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 16px;
  background: var(--blue-primary);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 12px 24px rgba(47, 111, 181, 0.22);
}

.add-button:hover {
  background: var(--blue-secondary);
  transform: translateY(-1px);
}

.add-button.is-added {
  background: linear-gradient(135deg, var(--gray-deep), var(--blue-primary));
  box-shadow: 0 12px 24px rgba(31, 41, 51, 0.18);
}

.add-button.is-added:hover {
  background: linear-gradient(135deg, #273543, #285f9b);
}

.quantity-stepper button:disabled,
.cart-item__stepper button:disabled,
.quantity-stepper button:disabled:hover,
.cart-item__stepper button:disabled:hover {
  background: rgba(255, 255, 255, 0.48);
  color: rgba(58, 63, 69, 0.38);
  cursor: not-allowed;
  transform: none;
}

.add-button:disabled,
.add-button:disabled:hover,
.add-button.is-added:disabled,
.add-button.is-added:disabled:hover {
  background: rgba(58, 63, 69, 0.28);
  box-shadow: none;
  color: rgba(255, 255, 255, 0.76);
  cursor: not-allowed;
  transform: none;
}

.cart-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.empty-state {
  padding: 18px;
  border: 1px dashed rgba(58, 63, 69, 0.28);
  border-radius: 18px;
  background: rgba(229, 227, 225, 0.42);
  color: var(--gray-dark);
}

.empty-state p {
  margin: 0;
}

.cart-item {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(62, 130, 198, 0.16);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(229, 227, 225, 0.28));
}

.cart-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-item__title {
  margin: 0;
  color: var(--gray-deep);
  font-size: 1rem;
  font-weight: 800;
}

.cart-item__category {
  margin: 5px 0 0;
  color: var(--gray-dark);
  font-size: 0.86rem;
}

.cart-item__remove {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(58, 63, 69, 0.08);
  color: var(--gray-dark);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.cart-item__stepper {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(47, 111, 181, 0.08);
}

.cart-item__pricing {
  display: grid;
  gap: 7px;
  padding-top: 12px;
  border-top: 1px solid rgba(58, 63, 69, 0.1);
}

.cart-item__price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  color: var(--gray-dark);
  font-size: 0.88rem;
}

.cart-item__price-row strong {
  color: var(--gray-deep);
  text-align: right;
}

.cart-item__price-row--subtotal {
  color: var(--gray-deep);
  font-size: 0.96rem;
  font-weight: 800;
}

.cart-item__price-row--subtotal strong {
  color: var(--blue-primary);
  font-size: 1.02rem;
}

.cart-summary {
  margin-top: 20px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(58, 63, 69, 0.12);
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--gray-dark);
  font-size: 0.97rem;
}

.summary-row + .summary-row {
  margin-top: 10px;
}

.summary-row strong {
  color: var(--gray-deep);
  font-size: 1rem;
}

.summary-row--total {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(58, 63, 69, 0.12);
  color: var(--gray-deep);
  font-size: 1.08rem;
  font-weight: 800;
}

.summary-row--total strong {
  color: var(--blue-primary);
  font-size: 1.3rem;
}

.minimum-order-card {
  display: grid;
  gap: 9px;
  margin-top: 16px;
  padding: 14px 15px;
  border: 1px solid rgba(179, 116, 22, 0.2);
  border-radius: 16px;
  background: rgba(255, 246, 226, 0.78);
  color: #7c4d08;
}

.minimum-order-card[hidden] {
  display: none;
}

.minimum-order-card__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.87rem;
  font-weight: 800;
}

.minimum-order-card__heading strong {
  color: #6c4309;
  white-space: nowrap;
}

.minimum-order-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.35;
}

.minimum-order-progress {
  overflow: hidden;
  height: 7px;
  border-radius: 999px;
  background: rgba(124, 77, 8, 0.12);
}

.minimum-order-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e4a52f, #c98213);
  transition: width 180ms ease;
}

.minimum-order-card--reached {
  border-color: rgba(25, 145, 76, 0.2);
  background: rgba(229, 248, 237, 0.86);
  color: #176b3a;
}

.minimum-order-card--reached .minimum-order-card__heading strong {
  color: #146333;
}

.minimum-order-card--reached .minimum-order-progress {
  background: rgba(25, 145, 76, 0.13);
}

.minimum-order-card--reached .minimum-order-progress span {
  background: linear-gradient(90deg, #24ad60, #188348);
}

.customer-form {
  display: grid;
  gap: 15px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(58, 63, 69, 0.12);
}

.customer-form[hidden] {
  display: none;
}

.customer-form__heading h3,
.customer-form__heading p {
  margin: 0;
}

.customer-form__heading h3 {
  color: var(--blue-primary);
  font-size: 1.14rem;
}

.customer-form__heading p {
  margin-top: 7px;
  color: var(--gray-dark);
  font-size: 0.87rem;
  line-height: 1.4;
}

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

.form-field label {
  color: var(--gray-deep);
  font-size: 0.9rem;
  font-weight: 800;
}

.form-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid rgba(58, 63, 69, 0.22);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--gray-deep);
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field input:hover {
  border-color: rgba(47, 111, 181, 0.48);
}

.form-field input:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 4px rgba(47, 111, 181, 0.1);
}

.form-field input[aria-invalid="true"] {
  border-color: #b42318;
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.08);
}

.form-field__error {
  min-height: 1em;
  color: #9f2017;
  font-size: 0.79rem;
  line-height: 1.25;
}

.customer-form__status {
  min-height: 1.15em;
  margin: 0;
  color: #9f2017;
  font-size: 0.86rem;
  font-weight: 700;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  margin-top: 22px;
  padding: 0 20px;
  border-radius: 18px;
  background: var(--blue-primary);
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 16px 32px rgba(47, 111, 181, 0.24);
}

.whatsapp-button:hover {
  background: var(--blue-secondary);
  transform: translateY(-1px);
}

.whatsapp-button--disabled,
.whatsapp-button--disabled:hover,
.whatsapp-button:disabled,
.whatsapp-button:disabled:hover {
  background: rgba(58, 63, 69, 0.28);
  box-shadow: none;
  color: rgba(255, 255, 255, 0.72);
  cursor: not-allowed;
  transform: none;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(31, 41, 51, 0.48);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox__image {
  max-width: min(92vw, 920px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  cursor: default;
  transform: scale(0.96);
  transition: transform 180ms ease;
}

.image-lightbox.is-open .image-lightbox__image {
  transform: scale(1);
}

body.image-lightbox-open {
  overflow: hidden;
}

@media (max-width: 1040px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .cart-panel {
    position: static;
    max-height: none;
    overflow-y: visible;
    overscroll-behavior-y: auto;
    scrollbar-gutter: auto;
  }
}

@media (min-width: 761px) and (max-width: 860px) {
  .hero__guide {
    width: 44%;
    padding: 0;
  }

  .hero__steps {
    gap: 8px;
    margin-top: 12px;
  }
}

@media (max-width: 760px) {
  body.mobile-cart-open {
    overflow: hidden;
  }

  .page-shell {
    width: min(100% - 20px, 1200px);
    padding-top: 10px;
  }

  .mobile-cart-toggle {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 12px);
    right: 12px;
    z-index: 45;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-secondary));
    color: var(--white);
    box-shadow: 0 18px 36px rgba(31, 41, 51, 0.22);
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  }

  .mobile-cart-toggle.is-active {
    background: linear-gradient(135deg, var(--gray-deep), var(--blue-primary));
  }

  .mobile-cart-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
  }

  .mobile-cart-toggle__icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
  }

  .mobile-cart-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 39;
    background: rgba(31, 41, 51, 0.34);
    backdrop-filter: blur(4px);
  }

  .hero {
    padding: 22px;
    border-radius: 28px;
  }

  .hero__content {
    margin-top: 18px;
  }

  .hero__visual {
    overflow: visible;
    min-height: 0;
  }

  .hero__delivery-image {
    height: clamp(230px, 60vw, 300px);
    border-radius: 20px;
    object-fit: contain;
    object-position: left center;
  }

  .hero__guide {
    position: relative;
    top: auto;
    right: auto;
    width: min(310px, calc(100% - 72px));
    margin: 14px auto 0;
    padding: 0;
    transform: none;
  }

  .hero__guide h2 {
    padding-left: 0;
    font-size: 1.25rem;
    text-align: center;
  }

  .hero__steps {
    gap: 8px;
    margin-top: 12px;
  }

  .hero__steps li {
    gap: 8px;
    padding: 9px 10px;
  }

  .hero__step-number {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    border-radius: 10px;
  }

  .hero__highlights {
    justify-content: center;
  }

  .hero__topbar,
  .section-heading,
  .cart-panel__header,
  .brand,
  .product-controls,
  .cart-item__header {
    flex-direction: column;
    align-items: stretch;
  }

  .brand {
    gap: 14px;
    align-items: center;
    text-align: center;
  }

  .brand__logo {
    width: 114px;
    height: 114px;
    margin-inline: auto;
  }

  button,
  a {
    touch-action: manipulation;
  }

  .hero__cta {
    margin: 0;
    width: 100%;
  }

  .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .catalog-filters {
    grid-template-columns: minmax(0, 1fr);
  }

  .catalog,
  .cart-panel {
    padding: 22px;
  }

  .cart-panel {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 80px);
    right: 10px;
    left: 10px;
    z-index: 40;
    max-height: calc(100vh - env(safe-area-inset-top, 0px) - 92px);
    overflow-y: auto;
    border-radius: 26px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-18px) scale(0.98);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .cart-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .product-controls {
    gap: 14px;
  }

  .quantity-stepper,
  .cart-item__stepper {
    justify-content: space-between;
  }

  .quantity-stepper span,
  .cart-item__qty {
    flex: 1;
  }

  .image-lightbox {
    padding: 18px;
  }

  .image-lightbox__image {
    max-width: 94vw;
    max-height: 82vh;
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .hero__delivery-image {
    object-fit: cover;
    object-position: 18% center;
  }
}
