.hero {
  position: relative;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 10px;
  align-items: center;
  width: min(1180px, calc(100% - 28px));
  min-height: clamp(480px, 72svh, 760px);
  margin: 0 auto;
  padding: 58px 0 40px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 9% -10% 5% 40%;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(86, 5, 9, .88) 42%, rgba(7, 7, 7, .96)),
    radial-gradient(circle at 68% 46%, rgba(225, 22, 22, .36), transparent 42%);
  transform: skewX(-10deg);
  z-index: -1;
}

.hero::before {
  content: "";
  position: absolute;
  right: -5%;
  bottom: 10%;
  width: min(820px, 62vw);
  height: 320px;
  background:
    radial-gradient(ellipse at center, rgba(225, 22, 22, .36), transparent 64%),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .12), transparent);
  filter: blur(28px);
  transform: skewX(-16deg);
  z-index: -1;
}

.hero h1 {
  max-width: 780px;
  font-family: "Bebas Neue", Impact, "Arial Black", sans-serif;
  font-size: clamp(5rem, 15vw, 14rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  max-width: 560px;
  margin: 18px 0 26px;
  font-size: 1.08rem;
}

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

.hero-product {
  position: relative;
  align-self: center;
  min-height: clamp(320px, 48svh, 530px);
  display: grid;
  place-items: center;
}

.hero-product-stage {
  position: relative;
  width: min(820px, 106%);
  isolation: isolate;
  transform: translateX(18px);
}

.hero-product-stage::before {
  content: "";
  position: absolute;
  left: 17%;
  right: 10%;
  bottom: 10%;
  height: 22%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .96), rgba(94, 0, 0, .38) 46%, transparent 72%);
  filter: blur(18px);
  transform: perspective(520px) rotateX(60deg);
  z-index: -1;
}

.hero-product-stage::after {
  content: "";
  position: absolute;
  inset: 10% 0 10% 24%;
  background: radial-gradient(circle at 62% 46%, rgba(225, 22, 22, .28), transparent 48%);
  filter: blur(26px);
  z-index: -2;
}

.hero-product-stage img {
  width: 100%;
  max-height: 590px;
  object-fit: contain;
  filter:
    drop-shadow(0 42px 42px rgba(0, 0, 0, .82))
    drop-shadow(28px 10px 32px rgba(225, 22, 22, .14))
    saturate(1.08)
    contrast(1.08);
  transform: scale(1.05);
}

.identity-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  width: min(1180px, calc(100% - 28px));
  margin: -18px auto 54px;
  padding: 28px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-panel);
  background:
    linear-gradient(90deg, rgba(225, 22, 22, .18), rgba(255, 255, 255, .04)),
    #111;
}

.identity-mark {
  overflow: hidden;
  border-radius: var(--radius-media);
  border: 1px solid rgba(255, 255, 255, .1);
}

.identity-mark img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.identity-band h2 {
  font-size: clamp(2.2rem, 5vw, 5.2rem);
}

.section-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto 90px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}

.section-heading h2 {
  max-width: 100%;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  overflow-wrap: anywhere;
}

.section-heading.compact {
  display: block;
}

.filter-row {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  padding: 4px 0 8px;
  scrollbar-width: thin;
  position: relative;
  z-index: 2;
}

.filter-row button {
  flex: 0 0 auto;
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--panel);
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
}

.filter-row button.active {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

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

.product-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100%;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-panel);
  background: var(--panel);
  cursor: zoom-in;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.product-card:hover,
.product-card:focus-visible {
  border-color: rgba(225, 22, 22, .65);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  outline: 0;
}

.product-media {
  position: relative;
  background: #111;
  overflow: hidden;
  border-radius: var(--radius-media);
}

.product-media img {
  width: 100%;
  aspect-ratio: 1 / .9;
  object-fit: contain;
  padding: 10px;
  border-radius: inherit;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 7px 9px;
  border-radius: var(--radius-panel);
  background: var(--green);
  color: #051006;
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.product-copy {
  padding: 16px;
}

.product-copy span {
  color: var(--red);
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.product-copy h3 {
  margin-top: 7px;
  font-size: clamp(1.36rem, 1.75vw, 1.62rem);
  line-height: 1.05;
  text-wrap: balance;
  text-rendering: optimizeLegibility;
}

.product-copy p {
  margin: 10px 0 0;
  font-size: .92rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px 16px;
}

.product-footer strong {
  font-size: 1.12rem;
}

.add-button {
  flex: 0 0 auto;
  background: var(--red);
  border-color: var(--red);
  cursor: pointer;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease;
}

.image-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, .78);
  cursor: zoom-out;
}

.image-modal-panel {
  position: relative;
  width: min(920px, 100%);
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-panel);
  background:
    radial-gradient(circle at 82% 18%, rgba(225, 22, 22, .18), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01)),
    #111;
  box-shadow: var(--shadow-overlay);
}

.modal-product-layout {
  display: grid;
  grid-template-columns: minmax(260px, .92fr) minmax(280px, 1.08fr);
  gap: 22px;
  align-items: center;
}

.modal-product-media {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-media);
  background:
    radial-gradient(circle at 50% 40%, rgba(225, 22, 22, .14), transparent 46%),
    #0d0d0d;
  overflow: hidden;
}

.modal-product-copy {
  width: min(980px, 100%);
  display: grid;
  gap: 14px;
  align-content: start;
}

.image-modal-panel img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: inherit;
  filter:
    drop-shadow(0 22px 26px rgba(0, 0, 0, .62))
    drop-shadow(18px 8px 26px rgba(225, 22, 22, .1));
}

.image-modal-panel h2 {
  font-size: clamp(1.92rem, 2.8vw, 2.7rem);
  line-height: 1.02;
  text-wrap: balance;
  text-rendering: optimizeLegibility;
}

.modal-product-price {
  font-size: 1.5rem;
  font-weight: 950;
  color: var(--white);
}

.modal-product-ingredients {
  display: grid;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.modal-product-ingredients span {
  color: var(--red);
  font-size: .82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.modal-product-ingredients ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.modal-product-ingredients li {
  position: relative;
  padding-left: 18px;
  color: var(--white);
  line-height: 1.4;
}

.modal-product-ingredients li::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--red);
}

.image-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.cart-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 70;
  min-width: min(340px, calc(100% - 28px));
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-panel);
  background: rgba(18, 18, 18, .96);
  color: var(--white);
  box-shadow: var(--shadow-panel);
  font-weight: 900;
  text-align: center;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.cart-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.feature-band {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: center;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto 90px;
  padding: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(225, 22, 22, .18), rgba(255, 255, 255, .04));
}

.feature-band h2 {
  font-size: clamp(2.4rem, 5vw, 5rem);
}

.feature-band img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-panel);
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
}

.cart-drawer.open {
  pointer-events: auto;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .62);
  opacity: 0;
  transition: opacity .2s ease;
}

.cart-drawer.open .drawer-backdrop {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto 1fr auto auto auto auto;
  gap: 16px;
  width: min(440px, 100%);
  height: 100%;
  padding: 22px;
  background: #101010;
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform .24s ease;
}

.cart-drawer.open .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-header h2 {
  font-size: 2.4rem;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-panel);
  background: var(--panel);
}

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

.cart-item h3 {
  font-size: 1.1rem;
}

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

.quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.quantity button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: #0b0b0b;
  color: var(--white);
  cursor: pointer;
}

.remove {
  border: 0;
  background: transparent;
  color: #ff9c9c;
  cursor: pointer;
  font-weight: 800;
}

.empty-cart {
  margin: 0;
  padding: 18px;
  border: 1px dashed var(--line-soft);
  border-radius: var(--radius-panel);
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 1.2rem;
  font-weight: 950;
}

.site-footer {
  margin-top: 48px;
  padding: 0 0 28px;
  scroll-margin-top: 110px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr auto;
  gap: 22px;
  align-items: end;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-panel);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .02), rgba(225, 22, 22, .08)),
    #101010;
}

.footer-brand img {
  width: clamp(180px, 22vw, 260px);
  height: auto;
  margin-bottom: 16px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 380px;
  margin: 0;
}

.footer-contact {
  display: grid;
  gap: 18px;
}

.footer-contact span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-contact strong {
  color: var(--white);
  font-weight: 900;
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  line-height: 1.2;
}

.footer-instagram {
  align-self: center;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  border-radius: var(--radius-panel);
  background: var(--red);
  color: var(--white);
  font-size: 1rem;
  font-weight: 900;
}

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

  .site-footer__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-instagram {
    justify-self: start;
  }
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: 0;
    min-height: clamp(360px, 66vh, 520px);
    padding: 28px 0 20px;
  }

  .hero::after {
    inset: 7% -14% 0 44%;
  }

  .hero::before {
    right: -12%;
    bottom: 4%;
    width: min(520px, 72vw);
    height: 220px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 12vw, 6rem);
  }

  .hero-subtitle {
    max-width: 280px;
    margin: 10px 0 18px;
    font-size: .88rem;
  }

  .hero-product {
    min-height: 250px;
  }

  .hero-product-stage {
    width: min(520px, 116%);
    transform: translateX(8px);
  }

  .hero-product-stage::before {
    left: 14%;
    right: 8%;
    bottom: 8%;
    height: 18%;
  }

  .hero-product-stage img {
    max-height: 320px;
    transform: scale(1.03);
  }

  .feature-band,
  .section-heading,
  .identity-band {
    grid-template-columns: 1fr;
  }

  .identity-band {
    margin: 0 auto 40px;
    padding: 22px;
  }

  .identity-band h2 {
    font-size: clamp(1.9rem, 6vw, 3rem);
  }

  .filter-row {
    justify-content: flex-start;
    gap: 10px;
    padding-bottom: 6px;
  }

  .filter-row button {
    min-height: 46px;
    padding: 0 18px;
    font-size: .9rem;
  }

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

  .product-media img {
    padding: 8px;
  }

  .badge {
    top: 8px;
    left: 8px;
    padding: 5px 7px;
    font-size: .58rem;
  }

  .product-copy {
    padding: 10px 10px 6px;
  }

  .product-copy span {
    font-size: .58rem;
  }

  .product-copy h3 {
    margin-top: 5px;
    font-size: clamp(1rem, 2.35vw, 1.12rem);
    line-height: 1.06;
  }

  .product-copy p {
    display: none;
  }

  .product-footer {
    gap: 8px;
    padding: 0 10px 10px;
  }

  .product-footer strong {
    font-size: .88rem;
  }

  .add-button {
    width: 34px;
    height: 34px;
  }

  .site-footer__inner {
    padding: 22px;
  }

  .image-modal-panel {
    padding: 22px;
  }

  .modal-product-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .modal-product-media {
    min-height: 260px;
    padding: 14px;
  }

  .image-modal-panel img {
    max-height: 220px;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(3.1rem, 14vw, 4.3rem);
  }

  .hero {
    min-height: 320px;
    padding-top: 22px;
  }

  .hero-subtitle {
    max-width: 220px;
    font-size: .8rem;
  }

  .hero-product {
    min-height: 210px;
  }

  .hero-product-stage {
    width: min(420px, 122%);
    transform: translateX(6px);
  }

  .hero-product-stage img {
    max-height: 250px;
  }

  .section-heading h2 {
    font-size: clamp(2.3rem, 10vw, 3.7rem);
  }

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

  .product-copy {
    padding: 8px 8px 4px;
  }

  .product-copy span {
    display: none;
  }

  .product-copy h3 {
    font-size: .92rem;
    line-height: 1.08;
  }

  .product-footer {
    padding: 0 8px 8px;
  }

  .product-footer strong {
    font-size: .8rem;
  }

  .add-button {
    width: 30px;
    height: 30px;
  }

  .feature-band {
    padding: 22px;
  }

  .site-footer {
    margin-top: 34px;
  }

  .footer-contact strong {
    font-size: 1.05rem;
  }

  .image-modal {
    padding: 14px;
  }

  .image-modal-panel {
    padding: 18px 16px;
  }

  .modal-product-copy {
    gap: 10px;
  }

  .image-modal-panel h2 {
    font-size: clamp(1.58rem, 5.8vw, 2rem);
  }

  .modal-product-price {
    font-size: 1.2rem;
  }

  .modal-product-ingredients li {
    font-size: .9rem;
  }

  .cart-item {
    grid-template-columns: 66px 1fr;
  }

  .remove {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 380px) {
  .hero {
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  }

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