:root {
  color-scheme: dark;

  font-family:
    Arial,
    "Noto Sans Hebrew",
    sans-serif;

  --background: #07090d;
  --surface: #11151d;
  --surface-elevated: #181d27;
  --border: rgb(255 255 255 / 10%);
  --text: #f8f9fb;
  --muted: #a9b0bf;
  --accent: #e50914;
  --accent-hover: #ff1f2a;
  --success: #3fd17f;
  --shadow: 0 24px 70px rgb(0 0 0 / 45%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;

  color: var(--text);
  background: var(--background);
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  z-index: 50;
  inset-block-start: 0;

  display: flex;
  align-items: center;
  gap: 1.5rem;

  min-height: 72px;
  padding-block: 0.8rem;
  padding-inline: clamp(1rem, 4vw, 4rem);

  background: rgb(7 9 13 / 88%);
  border-block-end: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;

  font-weight: 900;
  text-decoration: none;
}

.brand__primary {
  color: var(--accent);
  font-size: 1.45rem;
}

.brand__secondary {
  color: var(--text);
  font-size: 0.9rem;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-inline-end: auto;
}

.main-navigation a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.main-navigation a:hover {
  color: var(--text);
}

.telegram-link {
  padding-block: 0.72rem;
  padding-inline: 1rem;

  border-radius: 999px;
  background: #229ed9;

  font-weight: 800;
  text-decoration: none;
}

.mobile-menu-button {
  display: none;

  padding: 0.6rem 0.85rem;
  color: var(--text);

  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.hero {
  position: relative;

  display: flex;
  align-items: flex-end;

  min-height: min(72vh, 720px);
  padding-block: clamp(4rem, 12vw, 9rem);
  padding-inline: clamp(1rem, 5vw, 5rem);

  background:
    linear-gradient(
      90deg,
      rgb(7 9 13 / 30%),
      rgb(7 9 13 / 85%)
    ),
    radial-gradient(
      circle at 20% 20%,
      #31394c,
      transparent 45%
    ),
    var(--surface);
  background-position: center;
  background-size: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to top,
      var(--background) 0%,
      transparent 45%
    );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__eyebrow,
.section-heading__eyebrow {
  margin: 0 0 0.5rem;

  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 15ch;
  margin: 0;

  font-size: clamp(2.5rem, 8vw, 6.5rem);
  line-height: 0.96;
}

.hero__description {
  max-width: 55ch;
  margin-block: 1.4rem;

  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;
  padding-block: 0.8rem;
  padding-inline: 1.2rem;

  border: 0;
  border-radius: 10px;

  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.button--primary {
  color: #ffffff;
  background: var(--accent);
}

.button--primary:hover {
  background: var(--accent-hover);
}

.button--secondary {
  color: var(--text);
  background: rgb(255 255 255 / 14%);
}

.controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 240px) auto;
  gap: 1rem;

  margin-block: 1.5rem 0;
  margin-inline: clamp(1rem, 4vw, 4rem);
  padding: 1rem;

  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.control {
  display: grid;
  gap: 0.45rem;
}

.control label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.control input,
.control select {
  width: 100%;
  min-height: 46px;
  padding-inline: 0.9rem;

  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-elevated);
}

.toggle-control {
  display: flex;
  align-items: center;
  gap: 0.7rem;

  align-self: end;
  min-height: 46px;
  padding-inline: 0.9rem;

  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-elevated);

  font-weight: 750;
  cursor: pointer;
}

.toggle-control input {
  width: 1.1rem;
  height: 1.1rem;
}

.results-status {
  margin-block: 1rem;
  margin-inline: clamp(1rem, 4vw, 4rem);
  color: var(--muted);
}

.product-section {
  padding-block: 2rem;
  padding-inline: clamp(1rem, 4vw, 4rem);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;

  margin-block-end: 1rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.product-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 1.1rem;
}

.horizontal-products {
  display: grid;
  grid-auto-columns: minmax(210px, 24vw);
  grid-auto-flow: column;
  gap: 1rem;

  overflow-x: auto;
  padding-block: 0.5rem 1.2rem;

  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
}

.product-card {
  position: relative;
  overflow: hidden;

  min-width: 0;

  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);

  box-shadow: 0 10px 30px rgb(0 0 0 / 25%);
  scroll-snap-align: start;

  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.product-card:hover {
  z-index: 3;
  transform: translateY(-5px) scale(1.015);
  border-color: rgb(255 255 255 / 25%);
  box-shadow: var(--shadow);
}

.product-card__button {
  display: block;
  width: 100%;
  padding: 0;

  color: inherit;
  text-align: start;

  border: 0;
  background: transparent;
  cursor: pointer;
}

.product-card__media {
  position: relative;
  overflow: hidden;

  aspect-ratio: 1 / 1;
  background: #202530;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 250ms ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.055);
}

.product-card__badges {
  position: absolute;
  inset-block-start: 0.7rem;
  inset-inline-start: 0.7rem;

  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.badge {
  display: inline-flex;
  align-items: center;

  min-height: 26px;
  padding-inline: 0.55rem;

  border-radius: 999px;
  background: rgb(7 9 13 / 82%);

  font-size: 0.73rem;
  font-weight: 850;
  backdrop-filter: blur(8px);
}

.badge--discount {
  background: var(--accent);
}

.badge--video {
  color: #08140d;
  background: var(--success);
}

.product-card__body {
  padding: 1rem;
}

.product-card__title {
  display: -webkit-box;
  overflow: hidden;

  min-height: 2.9rem;
  margin: 0;

  font-size: 0.98rem;
  line-height: 1.45;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card__prices {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;

  margin-block: 0.85rem 0.55rem;
}

.product-card__price {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 900;
}

.product-card__original-price {
  color: var(--muted);
  font-size: 0.85rem;
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;

  color: var(--muted);
  font-size: 0.78rem;
}

.empty-state {
  grid-column: 1 / -1;

  padding: 3rem 1rem;
  color: var(--muted);

  border: 1px dashed var(--border);
  border-radius: 18px;

  text-align: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  margin-block-start: 3rem;
  padding-block: 2rem;
  padding-inline: clamp(1rem, 4vw, 4rem);

  color: var(--muted);
  border-block-start: 1px solid var(--border);
}

.site-footer p {
  max-width: 700px;
  margin: 0;
  line-height: 1.6;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  z-index: 100;
  inset: 0;

  display: grid;
  place-items: center;

  padding: 1rem;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 78%);
  backdrop-filter: blur(8px);
}

.modal__content {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);

  width: min(1080px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;

  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);

  box-shadow: var(--shadow);
}

.modal__close {
  position: absolute;
  z-index: 4;
  inset-block-start: 0.8rem;
  inset-inline-end: 0.8rem;

  display: grid;
  place-items: center;

  width: 42px;
  height: 42px;

  color: #ffffff;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 50%;
  background: rgb(0 0 0 / 72%);

  font-size: 1.8rem;
  cursor: pointer;
}

.modal__media {
  min-height: 420px;
  background: #090b10;
}

.modal__media img,
.modal__media video {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 78vh;
  object-fit: contain;
}

.modal__body {
  align-self: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.modal__body h2 {
  margin-block: 1rem;

  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.35;

  unicode-bidi: plaintext;
}

.modal__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.modal__prices {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;

  margin-block: 1rem;
}

#modal-discount-price {
  font-size: 2rem;
}

#modal-original-price {
  color: var(--muted);
}

.product-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;

  margin-block: 1.5rem;
}

.product-details div {
  padding: 0.9rem;

  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-elevated);
}

.product-details dt {
  color: var(--muted);
  font-size: 0.78rem;
}

.product-details dd {
  margin: 0.35rem 0 0;
  font-weight: 850;
}

.modal__affiliate-link {
  width: 100%;
}

@media (max-width: 820px) {
  .mobile-menu-button {
    display: inline-flex;
  }

  .main-navigation {
    position: absolute;
    inset-block-start: 100%;
    inset-inline: 1rem;

    display: none;
    align-items: stretch;
    flex-direction: column;

    padding: 1rem;

    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .main-navigation.is-open {
    display: flex;
  }

  .telegram-link {
    margin-inline-start: auto;
  }

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

  .toggle-control {
    align-self: auto;
  }

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

  .modal__media {
    min-height: 260px;
  }

  .modal__media img,
  .modal__media video {
    min-height: 260px;
    max-height: 50vh;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header {
    gap: 0.6rem;
  }

  .brand__secondary {
    display: none;
  }

  .telegram-link {
    padding-inline: 0.7rem;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 62vh;
  }

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

  .product-card__body {
    padding: 0.75rem;
  }

  .product-card__title {
    font-size: 0.85rem;
  }

  .horizontal-products {
    grid-auto-columns: 72vw;
  }

  .product-details {
    grid-template-columns: 1fr;
  }
}

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

/* Hero readability corrections */
.brand {
  direction: ltr;
  unicode-bidi: isolate;
}

.hero {
  min-height: min(68vh, 640px);
}

.hero__content {
  width: min(680px, 100%);
}

.hero h1 {
  max-width: 17ch;
  max-height: 4.3em;
  overflow: hidden;

  font-size: clamp(2.1rem, 4.8vw, 4.5rem);
  line-height: 1.05;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

@media (max-width: 820px) {
  .hero {
    min-height: 580px;
  }

  .hero h1 {
    max-width: 16ch;
    font-size: clamp(2rem, 8vw, 3.5rem);
    -webkit-line-clamp: 4;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 520px;
    padding-block: 3.5rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(1.9rem, 10vw, 3rem);
    -webkit-line-clamp: 5;
  }
}

/* FEATURED PRODUCT HERO START */

.hero {
  min-height: min(68vh, 650px);
}

.hero__content {
  width: min(680px, 100%);
}

.hero h1 {
  display: block;
  max-width: 12ch;
  max-height: none;
  overflow: visible;

  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1.02;

  -webkit-line-clamp: unset;
}

.featured-product {
  width: min(560px, 100%);
  margin-block-start: 1.5rem;
  padding: 1.1rem 1.2rem;

  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 16px;

  background: rgb(7 9 13 / 68%);
  backdrop-filter: blur(12px);
}

.featured-product__label {
  margin: 0 0 0.45rem;

  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 900;
}

.featured-product__title {
  display: -webkit-box;
  overflow: hidden;

  margin: 0;

  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.4;

  unicode-bidi: plaintext;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.featured-product__price {
  margin: 0.65rem 0 0;

  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 900;
}

@media (max-width: 520px) {
  .hero {
    min-height: 520px;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .featured-product {
    padding: 0.9rem;
  }
}

/* FEATURED PRODUCT HERO END */

/* SMART-DEALS-RESPONSIVE-START */

/*
 * Smart Deals responsive layer.
 * No Bootstrap or external CSS framework.
 */

:root {
  --responsive-page-width: 1600px;
  --responsive-page-gutter:
    clamp(1rem, 3vw, 3.5rem);
  --responsive-touch-size: 44px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  min-width: 0;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  body {
    overflow-x: clip;
  }
}

img,
video,
svg,
canvas,
iframe {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

button,
input,
select,
textarea {
  max-width: 100%;
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color:
    transparent;
}

button,
a[role="button"],
input[type="button"],
input[type="submit"] {
  min-height: var(
    --responsive-touch-size
  );
}

.header__inner,
.hero__content,
main > section,
.footer__inner {
  width: min(
    calc(
      100% -
      (
        var(--responsive-page-gutter)
        * 2
      )
    ),
    var(--responsive-page-width)
  );

  margin-inline: auto;
}

.header__inner {
  min-width: 0;
}

.brand {
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap;
}

#main-navigation {
  min-width: 0;
}

#main-navigation ul {
  min-width: 0;
}

.hero {
  width: 100%;
  min-width: 0;
  background-position: center;
  background-size: cover;
}

.hero__content {
  min-width: 0;
}

.hero h1,
.hero__title,
.featured-product__title {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.featured-product {
  width: min(100%, 52rem);
  min-width: 0;
}

.featured-product__actions,
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.featured-product__actions > *,
.hero__actions > * {
  flex: 0 1 auto;
}

.filters,
.filters__inner,
.filters__form,
.catalog-controls,
.search-controls {
  min-width: 0;
}

#product-search,
#sort-products {
  width: 100%;
  min-width: 0;
}

#product-grid {
  display: grid;

  grid-template-columns:
    repeat(
      auto-fill,
      minmax(
        min(100%, 250px),
        1fr
      )
    );

  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: stretch;
}

#discount-products,
#video-products {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scroll-snap-type: inline proximity;
}

#discount-products > *,
#video-products > * {
  scroll-snap-align: start;
}

.product-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.product-card button {
  width: 100%;
  min-width: 0;
}

.product-card__media {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.product-card__media img,
.product-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  min-width: 0;
}

.product-card__title {
  max-width: 100%;
  overflow-wrap: anywhere;
}

#product-modal {
  max-width: 100vw;
  max-height: 100vh;
  padding:
    max(0.5rem, env(safe-area-inset-top))
    max(0.5rem, env(safe-area-inset-right))
    max(0.5rem, env(safe-area-inset-bottom))
    max(0.5rem, env(safe-area-inset-left));
}

@supports (height: 100dvh) {
  #product-modal {
    max-height: 100dvh;
  }
}

#product-modal[open] {
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

#product-modal::backdrop {
  background:
    rgb(0 0 0 / 72%);
}

.modal__content,
.product-modal__content,
.modal-content {
  width: min(1100px, 100%);
  max-width: 100%;
  max-height: calc(100vh - 2rem);
  overflow: auto;
}

@supports (height: 100dvh) {
  .modal__content,
  .product-modal__content,
  .modal-content {
    max-height: calc(100dvh - 2rem);
  }
}

#modal-media {
  min-width: 0;
  overflow: hidden;
}

#modal-media img,
#modal-media video {
  width: 100%;
  max-height: min(70vh, 760px);
  object-fit: contain;
}

#modal-title {
  max-width: 100%;
  overflow-wrap: anywhere;
}

#modal-affiliate-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  text-align: center;
}

/* Smaller desktops and laptops */
@media (max-width: 1199.98px) {
  :root {
    --responsive-page-gutter:
      clamp(1rem, 2.5vw, 2rem);
  }

  #product-grid {
    grid-template-columns:
      repeat(
        auto-fill,
        minmax(
          min(100%, 225px),
          1fr
        )
      );
  }
}

/* Tablets and narrow laptops */
@media (max-width: 991.98px) {
  .header__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    padding-block: 0.85rem;
  }

  #main-navigation {
    width: 100%;
    order: 3;
  }

  #main-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }

  .hero {
    min-height: auto;
    padding-block:
      clamp(3rem, 8vw, 6rem);
  }

  .hero h1,
  .hero__title {
    font-size:
      clamp(2.25rem, 7vw, 4.5rem);
    line-height: 1.08;
  }

  .filters__inner,
  .filters__form,
  .catalog-controls,
  .search-controls {
    display: grid;

    grid-template-columns:
      minmax(0, 1fr)
      minmax(160px, 240px);

    gap: 0.75rem;
  }

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

  .modal__content,
  .product-modal__content,
  .modal-content {
    width: min(94vw, 900px);
  }
}

/* Tablets and large phones */
@media (max-width: 767.98px) {
  :root {
    --responsive-page-gutter: 1rem;
  }

  .header__inner {
    align-items: center;
  }

  #main-navigation {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  #main-navigation ul {
    flex-wrap: nowrap;
    width: max-content;
    min-width: 100%;
    padding-block-end: 0.25rem;
  }

  .hero {
    padding-block: 3rem 4rem;
  }

  .hero__content {
    width: calc(100% - 2rem);
  }

  .featured-product {
    padding: 1rem;
  }

  .filters__inner,
  .filters__form,
  .catalog-controls,
  .search-controls {
    grid-template-columns:
      minmax(0, 1fr);
  }

  #product-search,
  #sort-products {
    min-height: 48px;
  }

  #product-grid {
    gap: 1rem;
  }

  .modal__content,
  .product-modal__content,
  .modal-content {
    display: flex;
    flex-direction: column;
    width: calc(100vw - 1rem);
    max-width: none;
    margin: 0.5rem;
  }

  #modal-media {
    width: 100%;
    min-height: 260px;
    aspect-ratio: 1 / 1;
  }

  #modal-media img,
  #modal-media video {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }

  .modal__details,
  .product-modal__details,
  .modal-details {
    width: 100%;
    min-width: 0;
    padding: 1.25rem;
  }
}

/* Standard phones */
@media (max-width: 575.98px) {
  .brand {
    max-width: calc(100% - 4rem);
    font-size:
      clamp(1rem, 5vw, 1.35rem);
  }

  #mobile-menu-button {
    min-width: 44px;
    min-height: 44px;
  }

  .hero {
    padding-block: 2.5rem 3.5rem;
  }

  .hero h1,
  .hero__title {
    max-width: 13ch;
    font-size:
      clamp(2rem, 11vw, 3.25rem);
  }

  .featured-product__title {
    font-size:
      clamp(1.1rem, 5vw, 1.45rem);
  }

  .featured-product__actions,
  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .featured-product__actions > *,
  .hero__actions > * {
    width: 100%;
    min-height: 48px;
  }

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

  #discount-products,
  #video-products {
    display: grid;
    grid-auto-flow: column;

    grid-auto-columns:
      minmax(
        min(82vw, 280px),
        1fr
      );

    gap: 1rem;
  }

  .product-card {
    border-radius: 1rem;
  }

  #modal-title {
    font-size:
      clamp(1.5rem, 8vw, 2.25rem);
    line-height: 1.16;
  }

  #modal-affiliate-link {
    width: 100%;
  }
}

/* Very small phones */
@media (max-width: 359.98px) {
  :root {
    --responsive-page-gutter: 0.75rem;
  }

  .hero h1,
  .hero__title {
    font-size: 1.85rem;
  }

  .featured-product {
    padding: 0.85rem;
  }

  .modal__details,
  .product-modal__details,
  .modal-details {
    padding: 1rem;
  }
}

/* Short landscape phone screens */
@media (
  max-height: 520px
)
and (
  orientation: landscape
) {
  .hero {
    min-height: auto;
    padding-block: 2rem;
  }

  .hero h1,
  .hero__title {
    font-size:
      clamp(1.8rem, 6vw, 3rem);
  }

  .modal__content,
  .product-modal__content,
  .modal-content {
    max-height:
      calc(100vh - 1rem);
  }

  #modal-media {
    min-height: 180px;
  }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
  button,
  a,
  input,
  select {
    min-height: 44px;
  }

  .product-card {
    transform: none;
  }
}

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

/* SMART-DEALS-RESPONSIVE-END */
