:root {
  --primary: #0f766e;
  --primary-dark: #0a5c56;
  --accent: #14b8a6;
  --background: #f8fafc;
  --surface: #ffffff;
  --ink: #102a2a;
  --muted: #64748b;
  --line: #e2e8f0;
  --shadow: 0 18px 45px rgba(15, 118, 110, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: "Manrope", Arial, sans-serif;
}

button,
input {
  font: inherit;
}

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

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

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.topbar {
  color: #dffbf7;
  background: var(--primary-dark);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.topbar__inner {
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar p {
  margin: 0;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 13px;
}

.topbar__links > span:last-of-type {
  width: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 50%;
}

.header-main__inner {
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(155px, 1fr) minmax(380px, 700px) minmax(225px, 1fr);
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
}

.brand__mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--primary));
  border-radius: 11px 11px 11px 4px;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.2);
  transform: rotate(-2deg);
}

.brand__mark svg {
  width: 26px;
}

.brand__name {
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.brand__name span {
  color: var(--primary);
}

.search {
  width: 100%;
  height: 42px;
  display: flex;
  align-items: center;
  color: var(--muted);
  background: var(--background);
  border: 1px solid #dce6e5;
  border-radius: 10px;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.search:focus-within {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

.search__icon {
  width: 19px;
  margin-inline: 15px 10px;
}

.search input {
  min-width: 0;
  height: 100%;
  flex: 1;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 12px;
}

.search input::placeholder {
  color: #94a3b8;
}

.search input::-webkit-search-cancel-button {
  display: none;
}

.search > button {
  height: 32px;
  margin: 4px;
  padding: 0 15px;
  color: #fff;
  background: var(--primary);
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease;
}

.search > button:hover {
  background: var(--primary-dark);
}

.search > button:active {
  transform: scale(0.97);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 6px;
}

.language-menu {
  position: relative;
  margin-inline-end: 4px;
}

.language-toggle {
  padding: 0;
  cursor: pointer;
}

.language-toggle[aria-expanded="true"] {
  color: var(--primary);
  background: #f0fdfa;
  border-color: #99f6e4;
}

.language-dropdown {
  position: absolute;
  z-index: 70;
  inset-block-start: calc(100% + 8px);
  inset-inline-end: 0;
  width: 148px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 160ms ease, visibility 160ms ease, transform 160ms ease;
}

.language-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  color: #475569;
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  text-align: start;
}

.language-option:hover,
.language-option.is-active {
  color: var(--primary);
  background: #f0fdfa;
}

.language-option svg {
  width: 13px;
  opacity: 0;
}

.language-option.is-active svg {
  opacity: 1;
}

.action {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #334155;
  background: var(--background);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.action:hover {
  color: var(--primary);
  background: #f0fdfa;
  border-color: #99f6e4;
}

.action svg {
  width: 19px;
}

.cart__count {
  position: absolute;
  inset-block-start: -7px;
  inset-inline-end: -6px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  color: #fff;
  background: var(--accent);
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
}

.header-mobile-search-toggle {
  display: none;
}

.header-mobile-search-overlay {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 18px 14px;
  background: rgba(15, 23, 42, 0.48);
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(3px);
  transition: opacity 180ms ease, visibility 180ms ease;
}

.header-mobile-search-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.header-mobile-search-panel {
  width: min(100%, 440px);
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.2);
  transform: translateY(-10px);
  transition: transform 180ms ease;
}

.header-mobile-search-overlay.is-open .header-mobile-search-panel {
  transform: translateY(0);
}

.header-mobile-search-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.header-mobile-search-head strong {
  font-size: 14px;
}

.header-mobile-search-close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #334155;
  background: var(--background);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.header-mobile-search-close svg {
  width: 18px;
}

.header-mobile-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.header-mobile-search-form input {
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: #f8fafc;
  border: 1px solid #dce6e5;
  border-radius: 10px;
  outline: 0;
  font-size: 12px;
}

.header-mobile-search-form input:focus {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

.header-mobile-search-form button {
  min-width: 76px;
  height: 44px;
  padding: 0 14px;
  color: #fff;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 10px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

body.header-search-open {
  overflow: hidden;
}

.main-nav {
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid var(--line);
}

.main-nav__inner {
  height: 42px;
  display: flex;
  align-items: center;
}

.categories {
  position: relative;
}

.categories__toggle {
  min-width: 200px;
  height: 34px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  color: #fff;
  background: var(--primary);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.categories__toggle > svg:first-child {
  width: 16px;
}

.categories__chevron {
  width: 13px;
  margin-inline-start: auto;
  transition: transform 180ms ease;
}

.categories__toggle[aria-expanded="true"] .categories__chevron {
  transform: rotate(180deg);
}

.categories__menu {
  position: absolute;
  z-index: 60;
  inset-block-start: calc(100% + 9px);
  inset-inline-start: 0;
  width: 200px;
  display: grid;
  padding: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-7px);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.categories__menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.categories__menu a {
  padding: 10px 11px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 600;
}

.categories__menu a:hover {
  color: var(--primary);
  background: #f0fdfa;
}

.nav-links {
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(26px, 3.2vw, 50px);
  padding-inline: clamp(25px, 3.2vw, 48px);
}

.nav-link {
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #475569;
  border-bottom: 2px solid transparent;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  transition: color 180ms ease, border-color 180ms ease;
}

.nav-link:hover {
  color: var(--primary);
  border-bottom-color: var(--accent);
}

.nav-link--deals {
  color: #d97706;
}

.nav-link--deals svg {
  width: 14px;
  fill: #fef3c7;
}

.market-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 0 auto;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
}

.market-note svg {
  width: 15px;
  color: var(--primary);
}

.mobile-menu-toggle,
.mobile-search,
.mobile-menu {
  display: none;
}

.icon-button {
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
}

.icon-button svg {
  width: 23px;
}

.hero {
  padding: 20px 0 34px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(285px, 0.8fr);
  gap: 15px;
}

.hero-card {
  position: relative;
  min-height: 320px;
  display: flex;
  overflow: hidden;
  border-radius: 21px;
  isolation: isolate;
  box-shadow: 0 16px 42px rgba(15, 118, 110, 0.13);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.hero-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(15, 118, 110, 0.18);
}

.hero-card--primary {
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(94, 234, 212, 0.3), transparent 29%),
    linear-gradient(125deg, #073f3b 0%, var(--primary) 58%, #0d9488 100%);
}

.hero-card--primary::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  inset: auto -95px -180px auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.hero-card--secondary {
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 72%, rgba(20, 184, 166, 0.2), transparent 37%),
    linear-gradient(145deg, #ecfdf9, #d7f7f1);
  border: 1px solid rgba(20, 184, 166, 0.17);
}

.hero-card__content {
  position: relative;
  z-index: 2;
  width: 60%;
  align-self: center;
  padding: clamp(30px, 4vw, 54px);
}

.hero-card__eyebrow {
  display: inline-flex;
  margin-bottom: 13px;
  color: #99f6e4;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-card--secondary .hero-card__eyebrow {
  color: var(--primary);
}

.hero-card h1,
.hero-card h2 {
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.hero-card h1 {
  font-size: clamp(30px, 3.4vw, 48px);
}

.hero-card h2 {
  font-size: clamp(24px, 2.3vw, 34px);
}

.hero-card p {
  max-width: 500px;
  margin: 15px 0 21px;
  color: #ccfbf1;
  font-size: 12px;
  line-height: 1.7;
}

.hero-card__button,
.hero-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
}

.hero-card__button {
  padding: 10px 15px;
  color: var(--primary-dark);
  background: #fff;
  border-radius: 8px;
}

.hero-card__link {
  margin-top: 21px;
  color: var(--primary);
}

.hero-card__button svg,
.hero-card__link svg {
  width: 14px;
  transition: transform 180ms ease;
}

.hero-card:hover .hero-card__button svg,
.hero-card:hover .hero-card__link svg {
  transform: translateX(3px);
}

[dir="rtl"] .hero-card:hover .hero-card__button svg,
[dir="rtl"] .hero-card:hover .hero-card__link svg {
  transform: translateX(-3px) rotate(180deg);
}

.hero-product {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: 48%;
}

.hero-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.hero-ring--large {
  width: 250px;
  height: 250px;
  inset: 35px 15px auto auto;
}

.hero-ring--small {
  width: 180px;
  height: 180px;
  inset: 70px 50px auto auto;
}

.device-card {
  position: absolute;
  display: grid;
  place-items: center;
  color: #d9fffa;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 22px;
  box-shadow: 0 22px 42px rgba(4, 47, 46, 0.25);
  backdrop-filter: blur(8px);
}

.device-card svg {
  width: 76%;
  stroke-width: 2;
}

.device-card--phone {
  width: 122px;
  height: 180px;
  inset: 45px 32px auto auto;
  transform: rotate(9deg);
}

.device-card--headphones {
  width: 142px;
  height: 170px;
  inset: 102px 132px auto auto;
  transform: rotate(-8deg);
}

.discount-badge {
  position: absolute;
  inset: 31px 140px auto auto;
  width: 69px;
  height: 69px;
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  background: #fef3c7;
  border: 4px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  font-size: 8px;
  font-weight: 700;
  transform: rotate(-8deg);
}

.discount-badge strong {
  display: block;
  font-size: 16px;
}

.hero-card--secondary .hero-card__content {
  width: 72%;
  align-self: flex-start;
  padding: 32px 28px;
}

.watch {
  position: absolute;
  inset: auto 43px 23px auto;
  width: 108px;
  height: 140px;
}

.watch__strap {
  position: absolute;
  width: 46px;
  height: 140px;
  inset: 0 31px;
  background: linear-gradient(90deg, #064e49, var(--primary), #064e49);
  border-radius: 19px;
  transform: rotate(13deg);
}

.watch__face {
  position: absolute;
  inset: 39px 12px;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  padding-top: 22px;
  color: #99f6e4;
  background: #062f2d;
  border: 6px solid #8de6da;
  border-radius: 24px;
  box-shadow: 0 18px 30px rgba(15, 118, 110, 0.25);
  transform: rotate(13deg);
}

.watch__face strong {
  font-size: 23px;
}

.watch__face small {
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

[dir="rtl"] body {
  font-family: "Noto Kufi Arabic", Arial, sans-serif;
}

@media (max-width: 1100px) {
  .header-main__inner {
    grid-template-columns: 155px minmax(300px, 1fr) auto;
    gap: 16px;
  }

  .market-note {
    display: none;
  }

  .nav-links {
    flex: 1;
    justify-content: space-around;
  }
}

@media (max-width: 820px) {
  body.menu-open {
    overflow: hidden;
  }

  .container {
    width: calc(100% - 28px);
  }

  .topbar__inner {
    justify-content: center;
    text-align: center;
  }

  .topbar__links,
  .header-main__inner > .search,
  .language-menu,
  .header-actions .action:not(.cart),
  .main-nav {
    display: none;
  }

  .header-main {
    padding-bottom: 12px;
  }

  .header-main__inner {
    min-height: 60px;
    display: flex;
    gap: 10px;
  }

  .mobile-menu-toggle {
    display: grid;
    margin-inline-start: -7px;
  }

  .brand {
    margin-inline-end: auto;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .brand__mark svg {
    width: 25px;
  }

  .brand__name {
    font-size: 20px;
  }

  .header-actions {
    display: flex;
  }

  .action {
    background: transparent;
    border: 0;
  }

  .mobile-search {
    display: block;
  }

  .mobile-search .search {
    height: 43px;
  }

  .mobile-search .search > button {
    width: 38px;
    height: 33px;
    display: grid;
    place-items: center;
    padding: 0;
  }

  .mobile-search .search > button svg {
    width: 16px;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: block;
    visibility: hidden;
    pointer-events: none;
  }

  .mobile-menu.is-open {
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    background: rgba(15, 23, 42, 0.5);
    border: 0;
    opacity: 0;
    backdrop-filter: blur(3px);
    transition: opacity 240ms ease;
  }

  .mobile-menu__panel {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: min(86vw, 350px);
    padding: 21px;
    background: #fff;
    box-shadow: 18px 0 50px rgba(15, 23, 42, 0.16);
    transform: translateX(-102%);
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  [dir="rtl"] .mobile-menu__panel {
    transform: translateX(102%);
  }

  .mobile-menu.is-open .mobile-menu__backdrop {
    opacity: 1;
  }

  .mobile-menu.is-open .mobile-menu__panel {
    transform: translateX(0);
  }

  .mobile-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 19px;
    border-bottom: 1px solid var(--line);
  }

  .mobile-menu__links {
    display: grid;
    margin-top: 20px;
  }

  .mobile-menu__links > span {
    margin-bottom: 8px;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }

  .mobile-menu__links a {
    padding: 12px 4px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12px;
    font-weight: 600;
  }

  .mobile-language {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding: 12px 13px;
    color: var(--ink);
    background: var(--background);
    border: 1px solid var(--line);
    border-radius: 9px;
    cursor: pointer;
    font-size: 11px;
  }

  .mobile-language strong {
    color: var(--primary);
    font-family: "Noto Kufi Arabic", Arial, sans-serif;
  }

  .hero {
    padding: 14px 0 25px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-card--primary {
    min-height: 305px;
  }

  .hero-card--secondary {
    min-height: 205px;
  }

  .hero-card__content {
    width: 62%;
    padding: 29px;
  }

  .hero-card--secondary .hero-card__content {
    width: 63%;
  }
}

@media (max-width: 420px) {
  .container {
    width: calc(100% - 22px);
  }

  .topbar {
    font-size: 8px;
  }

  .topbar__inner {
    min-height: 26px;
  }

  .header-main__inner {
    min-height: 56px;
  }

  .brand {
    gap: 7px;
  }

  .brand__mark {
    width: 31px;
    height: 31px;
  }

  .brand__name {
    font-size: 18px;
  }

  .hero-card {
    border-radius: 17px;
  }

  .hero-card--primary {
    min-height: 355px;
  }

  .hero-card__content {
    width: 100%;
    align-self: flex-start;
    padding: 25px 22px;
  }

  .hero-card h1 {
    font-size: 30px;
  }

  .hero-card p {
    max-width: 90%;
    margin-block: 11px 17px;
    font-size: 10px;
  }

  .hero-product--primary {
    inset-block: auto 0;
    width: 100%;
    height: 140px;
  }

  .device-card--phone {
    width: 80px;
    height: 108px;
    inset: auto 23px 7px auto;
  }

  .device-card--headphones {
    width: 96px;
    height: 106px;
    inset: auto 101px -7px auto;
  }

  .hero-ring--large {
    width: 165px;
    height: 165px;
    inset: auto 7px -29px auto;
  }

  .hero-ring--small,
  .discount-badge {
    display: none;
  }

  .hero-card--secondary {
    min-height: 185px;
  }

  .hero-card--secondary .hero-card__content {
    width: 72%;
    padding: 24px 21px;
  }

  .hero-card h2 {
    font-size: 24px;
  }

  .watch {
    inset: auto 17px 15px auto;
    transform: scale(0.8);
    transform-origin: bottom right;
  }
}

@media (max-width: 480px) {
  .mobile-search {
    display: none;
  }

  .header-actions .action.header-mobile-search-toggle {
    display: grid;
  }

  .header-mobile-search-overlay {
    display: flex;
  }
}

.hero-slider {
  position: relative;
  height: clamp(330px, 32vw, 430px);
  overflow: hidden;
  color: #fff;
  background: var(--primary);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(15, 118, 110, 0.16);
}

.hero-slider__track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  display: flex;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px);
  transition: opacity 500ms ease, visibility 500ms ease, transform 500ms ease;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.hero-slide::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  inset: -210px -90px auto auto;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.hero-slide::after {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  inset: auto auto -220px 34%;
  background: rgba(20, 184, 166, 0.13);
  border-radius: 50%;
  filter: blur(3px);
}

.hero-slide--one {
  background:
    radial-gradient(circle at 78% 22%, rgba(94, 234, 212, 0.28), transparent 28%),
    linear-gradient(120deg, #073f3b, var(--primary) 58%, #0d9488);
}

.hero-slide--two {
  background:
    radial-gradient(circle at 82% 30%, rgba(153, 246, 228, 0.25), transparent 29%),
    linear-gradient(120deg, #063b38, #0f766e 52%, #115e59);
}

.hero-slide--three {
  background:
    radial-gradient(circle at 80% 34%, rgba(45, 212, 191, 0.24), transparent 31%),
    linear-gradient(120deg, #082f2d, #115e59 54%, #0f766e);
}

.hero-slide--four {
  background:
    radial-gradient(circle at 79% 26%, rgba(204, 251, 241, 0.2), transparent 29%),
    linear-gradient(120deg, #064e49, #0f766e 55%, #14b8a6);
}

.hero-slide--five {
  background:
    radial-gradient(circle at 80% 30%, rgba(240, 253, 250, 0.23), transparent 30%),
    linear-gradient(120deg, #134e4a, #0f766e 54%, #0d9488);
}

.hero-slide__content {
  position: relative;
  z-index: 3;
  width: 58%;
  align-self: center;
  padding: clamp(36px, 5vw, 68px);
}

.hero-slide__subtitle {
  display: inline-block;
  margin-bottom: 14px;
  color: #99f6e4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-slide h1,
.hero-slide h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.hero-slide p {
  max-width: 540px;
  margin: 17px 0 23px;
  color: #ccfbf1;
  font-size: 13px;
  line-height: 1.7;
}

.hero-slide__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  color: var(--primary-dark);
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 8px 22px rgba(4, 47, 46, 0.15);
  font-size: 11px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-slide__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 25px rgba(4, 47, 46, 0.22);
}

.hero-slide__visual {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: 45%;
}

.visual-orbit {
  position: absolute;
  width: min(30vw, 360px);
  height: min(30vw, 360px);
  inset: 50% 7% auto auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transform: translateY(-50%);
}

.visual-orbit::after {
  content: "";
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: inherit;
}

.visual-product {
  position: absolute;
  display: grid;
  place-items: center;
  color: #e6fffb;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.23), rgba(255, 255, 255, 0.07));
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 25px;
  box-shadow: 0 25px 48px rgba(4, 47, 46, 0.28);
  backdrop-filter: blur(9px);
}

.visual-product svg {
  width: 74%;
  stroke-width: 2;
}

.visual-product--phone {
  width: 135px;
  height: 205px;
  inset: 16% 13% auto auto;
  transform: rotate(9deg);
}

.visual-product--audio {
  width: 160px;
  height: 185px;
  inset: auto 35% 8% auto;
  transform: rotate(-8deg);
}

.visual-product--laptop,
.visual-product--car,
.visual-product--home,
.visual-product--beauty {
  width: min(30vw, 315px);
  height: min(23vw, 245px);
  inset: 50% 10% auto auto;
  transform: translateY(-50%) rotate(4deg);
}

.visual-product--car {
  transform: translateY(-50%) rotate(-3deg);
}

.visual-product--home {
  transform: translateY(-50%) rotate(3deg);
}

.visual-product--beauty {
  width: min(23vw, 240px);
  transform: translateY(-50%) rotate(-5deg);
}

.hero-slider__arrow {
  position: absolute;
  z-index: 5;
  inset-block-start: 50%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(7px);
  transform: translateY(-50%);
  transition: background 180ms ease, transform 180ms ease;
}

.hero-slider__arrow:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-50%) scale(1.05);
}

.hero-slider__arrow svg {
  width: 18px;
}

.hero-slider__arrow--prev {
  inset-inline-start: 17px;
}

.hero-slider__arrow--next {
  inset-inline-end: 17px;
}

.hero-slider__dots {
  position: absolute;
  z-index: 5;
  inset-block-end: 17px;
  inset-inline-start: 50%;
  display: flex;
  align-items: center;
  gap: 7px;
  transform: translateX(-50%);
}

[dir="rtl"] .hero-slider__dots {
  transform: translateX(50%);
}

.hero-slider__dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  border: 0;
  border-radius: 99px;
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.hero-slider__dots button.is-active {
  width: 23px;
  background: #fff;
}

@media (max-width: 820px) {
  .hero-slider {
    height: 380px;
    border-radius: 19px;
  }

  .hero-slide__content {
    width: 68%;
    padding: 34px 44px;
  }

  .hero-slide h1,
  .hero-slide h2 {
    font-size: clamp(30px, 6vw, 43px);
  }

  .hero-slide__visual {
    width: 42%;
  }

  .visual-product--phone {
    width: 105px;
    height: 160px;
  }

  .visual-product--audio {
    width: 122px;
    height: 140px;
  }
}

@media (max-width: 520px) {
  .hero-slider {
    height: 460px;
    border-radius: 17px;
  }

  .hero-slide {
    align-items: flex-start;
  }

  .hero-slide__content {
    width: 100%;
    align-self: flex-start;
    padding: 31px 27px;
  }

  .hero-slide__subtitle {
    margin-bottom: 10px;
    font-size: 8px;
  }

  .hero-slide h1,
  .hero-slide h2 {
    font-size: 32px;
  }

  .hero-slide p {
    max-width: 94%;
    margin: 12px 0 17px;
    font-size: 10px;
  }

  .hero-slide__button {
    min-height: 36px;
    padding-inline: 15px;
    font-size: 10px;
  }

  .hero-slide__visual {
    inset-block: auto 26px;
    width: 100%;
    height: 170px;
  }

  .visual-orbit {
    width: 190px;
    height: 190px;
    inset: 50% 7% auto auto;
  }

  .visual-product--phone {
    width: 75px;
    height: 112px;
    inset: 23px 24px auto auto;
  }

  .visual-product--audio {
    width: 100px;
    height: 105px;
    inset: auto 105px 0 auto;
  }

  .visual-product--laptop,
  .visual-product--car,
  .visual-product--home,
  .visual-product--beauty {
    width: 190px;
    height: 140px;
    inset: 50% 12% auto auto;
  }

  .visual-product--beauty {
    width: 145px;
  }

  .hero-slider__arrow {
    width: 34px;
    height: 34px;
    inset-block-start: auto;
    inset-block-end: 14px;
  }

  .hero-slider__arrow--prev {
    inset-inline-start: 14px;
  }

  .hero-slider__arrow--next {
    inset-inline-end: 14px;
  }

  .hero-slider__dots {
    inset-block-end: 27px;
  }
}

.popular-categories {
  padding: 14px 0 48px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.section-heading__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--primary);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.section-heading__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 3px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.section-heading__link svg {
  width: 14px;
  transition: transform 180ms ease;
}

.section-heading__link:hover svg {
  transform: translateX(3px);
}

[dir="rtl"] .section-heading__link:hover svg {
  transform: translateX(-3px) rotate(180deg);
}

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

.category-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 17px 9px 15px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.05);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.category-card:hover {
  border-color: #99f6e4;
  box-shadow: 0 15px 32px rgba(15, 118, 110, 0.12);
  transform: translateY(-5px);
}

.category-card__image {
  position: relative;
  width: clamp(68px, 6.5vw, 88px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-bottom: 13px;
  color: var(--primary);
  background: linear-gradient(145deg, #f0fdfa, #ccfbf1);
  border: 1px solid rgba(20, 184, 166, 0.16);
  border-radius: 50%;
  overflow: hidden;
  transition: color 200ms ease, transform 200ms ease;
}

.category-card__image::after {
  content: "";
  position: absolute;
  width: 42%;
  height: 42%;
  inset: -8% -5% auto auto;
  background: rgba(255, 255, 255, 0.52);
  border-radius: 50%;
}

.category-card:hover .category-card__image {
  color: var(--primary-dark);
  transform: scale(1.06);
}

.category-card__image svg {
  position: relative;
  z-index: 1;
  width: 56%;
  stroke-width: 1.8;
}

.category-card__image--mobile,
.category-card__image--beauty {
  background: linear-gradient(145deg, #ecfeff, #c8f7f1);
}

.category-card__image--car,
.category-card__image--sports {
  background: linear-gradient(145deg, #f0fdfa, #d5faf4);
}

.category-card__image--home,
.category-card__image--baby {
  background: linear-gradient(145deg, #f8fffd, #dcfaf5);
}

.category-card__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.category-card strong {
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.category-card small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .category-card__image {
    width: 82px;
  }
}

@media (max-width: 620px) {
  .popular-categories {
    padding: 8px 0 35px;
  }

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

  .section-heading__eyebrow {
    font-size: 8px;
  }

  .section-heading h2 {
    font-size: 21px;
  }

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

  .category-card {
    flex-direction: row;
    justify-content: flex-start;
    padding: 12px;
    text-align: start;
  }

  .category-card__image {
    width: 58px;
    flex: 0 0 58px;
    margin: 0 11px 0 0;
  }

  [dir="rtl"] .category-card__image {
    margin: 0 0 0 11px;
  }

  .category-card__content {
    align-items: flex-start;
  }

  .category-card strong {
    font-size: 10px;
  }

  .category-card small {
    font-size: 8px;
  }
}

.flash-deals {
  padding: 4px 0 54px;
}

.flash-deals__header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
  padding: 17px 20px;
  background: linear-gradient(100deg, #f0fdfa, #ffffff 55%, #f0fdfa);
  border: 1px solid #ccfbf1;
  border-radius: 16px;
}

.flash-deals__title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flash-deals__title h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.flash-deals__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--primary));
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.2);
}

.flash-deals__icon svg {
  width: 20px;
  fill: rgba(255, 255, 255, 0.13);
}

.deal-countdown {
  display: flex;
  align-items: center;
  gap: 12px;
}

.deal-countdown__label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.deal-countdown__units {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.deal-countdown__unit {
  display: grid;
  justify-items: center;
  gap: 3px;
}

.deal-countdown__unit strong {
  min-width: 38px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(15, 118, 110, 0.15);
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.deal-countdown__unit small {
  color: var(--muted);
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
}

.deal-countdown__separator {
  padding-top: 8px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
}

.flash-deals__view-all {
  justify-self: end;
}

.deal-products {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 13px;
}

.deal-card {
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 9px 26px rgba(15, 118, 110, 0.06);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.deal-card:hover {
  border-color: #99f6e4;
  box-shadow: 0 17px 36px rgba(15, 118, 110, 0.13);
  transform: translateY(-5px);
}

.deal-card__image {
  position: relative;
  height: 165px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background:
    radial-gradient(circle at 75% 20%, rgba(20, 184, 166, 0.12), transparent 28%),
    linear-gradient(145deg, #f8fffd, #ecfdf9);
  border-bottom: 1px solid #edf7f5;
}

.deal-card__image > svg {
  width: 76%;
  height: 76%;
  stroke-width: 1.7;
  transition: transform 220ms ease;
}

.deal-card:hover .deal-card__image > svg {
  transform: scale(1.05);
}

.deal-card__discount {
  position: absolute;
  z-index: 2;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  padding: 5px 7px;
  color: #fff;
  background: #dc2626;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 800;
}

.deal-card__body {
  padding: 13px;
}

.deal-card h3 {
  min-height: 36px;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.deal-card__rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}

.deal-card__rating span {
  color: #f59e0b;
  font-size: 9px;
  letter-spacing: -0.07em;
}

.deal-card__rating small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
}

.deal-card__price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 9px;
}

.deal-card__price strong {
  color: var(--primary);
  font-size: 17px;
  font-weight: 800;
}

.deal-card__price strong small {
  font-size: 8px;
}

.deal-card__price del {
  color: #94a3b8;
  font-size: 9px;
  font-weight: 600;
}

.deal-card__badges {
  min-height: 39px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 5px;
  margin-bottom: 10px;
}

.deal-card__badges span {
  padding: 4px 6px;
  color: var(--primary-dark);
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-radius: 6px;
  font-size: 7px;
  font-weight: 800;
  white-space: nowrap;
}

.deal-card__cart {
  width: 100%;
  min-height: 34px;
  color: #fff;
  background: var(--primary);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  transition: background 180ms ease, transform 180ms ease;
}

.deal-card__cart:hover {
  background: var(--primary-dark);
}

.deal-card__cart:active {
  transform: scale(0.98);
}

@media (max-width: 1180px) {
  .deal-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
  }
}

@media (max-width: 720px) {
  .flash-deals {
    padding: 2px 0 38px;
  }

  .flash-deals__header {
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 14px;
  }

  .deal-countdown {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    padding-top: 12px;
    border-top: 1px solid #ccfbf1;
  }

  .flash-deals__view-all {
    grid-column: 2;
    grid-row: 1;
  }

  .deal-products {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 2px 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }

  .deal-products::-webkit-scrollbar {
    display: none;
  }

  .deal-card {
    min-width: min(74vw, 245px);
    flex: 0 0 min(74vw, 245px);
    scroll-snap-align: start;
  }

  .deal-card__image {
    height: 175px;
  }
}

@media (max-width: 430px) {
  .flash-deals__title {
    gap: 9px;
  }

  .flash-deals__icon {
    width: 37px;
    height: 37px;
  }

  .flash-deals__title h2 {
    font-size: 20px;
  }

  .deal-countdown {
    gap: 8px;
  }

  .deal-countdown__label {
    display: none;
  }

  .deal-countdown__units {
    gap: 4px;
  }

  .deal-countdown__unit strong {
    min-width: 34px;
    height: 33px;
    font-size: 13px;
  }

  .deal-countdown__separator {
    padding-top: 7px;
  }
}

.featured-products {
  padding: 12px 0 58px;
}

.best-sellers {
  padding-top: 0;
}

.best-sellers__subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.best-sellers .featured-product {
  display: flex;
  flex-direction: column;
  box-shadow: 0 11px 31px rgba(15, 118, 110, 0.1);
}

.best-sellers .featured-product:hover {
  border-color: rgba(20, 184, 166, 0.55);
  box-shadow:
    0 18px 40px rgba(15, 118, 110, 0.16),
    0 0 20px rgba(20, 184, 166, 0.1);
  transform: translateY(-4px);
}

.best-sellers .featured-product__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.best-sellers .featured-product h3 {
  min-height: 50px;
}

.best-sellers .featured-product__rating {
  margin-bottom: 10px;
}

.best-sellers .featured-product__cart {
  margin-top: auto;
}

.best-seller-rank {
  position: absolute;
  z-index: 2;
  inset-block-start: 11px;
  inset-inline-start: 11px;
  padding: 7px 11px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(15, 118, 110, 0.18);
  font-size: 12px;
  font-weight: 800;
}

.best-seller-rank--gold {
  color: #664500;
  background: linear-gradient(135deg, #fff2a8, #e7b73e);
  box-shadow: 0 6px 15px rgba(217, 159, 24, 0.24);
}

.best-seller-rank--silver {
  color: #3f4a56;
  background: linear-gradient(135deg, #f8fafc, #b9c2cc);
  box-shadow: 0 6px 15px rgba(100, 116, 139, 0.2);
}

.best-seller-rank--bronze {
  color: #fff8f1;
  background: linear-gradient(135deg, #c98a58, #8f542c);
  box-shadow: 0 6px 15px rgba(146, 84, 43, 0.22);
}

.best-seller-rank--teal {
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.best-seller-sold {
  margin: 0 0 11px;
  color: var(--primary-dark);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.best-seller-sold strong {
  font-weight: 800;
}

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

.featured-product {
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 9px 28px rgba(15, 118, 110, 0.07);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.featured-product:hover {
  border-color: #99f6e4;
  box-shadow: 0 14px 34px rgba(15, 118, 110, 0.11);
  transform: translateY(-3px);
}

.featured-product__image {
  position: relative;
  height: 190px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background:
    radial-gradient(circle at 77% 18%, rgba(20, 184, 166, 0.13), transparent 27%),
    linear-gradient(145deg, #f8fffd, #ecfdf9);
  border-bottom: 1px solid #edf7f5;
}

.featured-product__image > svg {
  width: 75%;
  height: 75%;
  stroke-width: 1.7;
  transition: transform 220ms ease;
}

.featured-product:hover .featured-product__image > svg {
  transform: scale(1.05);
}

.featured-product__discount {
  position: absolute;
  z-index: 2;
  inset-block-start: 11px;
  inset-inline-start: 11px;
  padding: 5px 7px;
  color: #fff;
  background: #dc2626;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 800;
}

.featured-product__wishlist {
  position: absolute;
  z-index: 2;
  inset-block-start: 10px;
  inset-inline-end: 10px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #475569;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.featured-product__wishlist:hover {
  color: var(--primary);
  border-color: #99f6e4;
  transform: scale(1.06);
}

.featured-product__wishlist svg {
  width: 16px;
}

.featured-product__body {
  padding: 14px;
}

.featured-product h3 {
  min-height: 39px;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
}

.featured-product__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.featured-product__rating span {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: -0.07em;
}

.featured-product__rating small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.featured-product__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 9px;
}

.featured-product__price strong {
  color: var(--primary);
  font-size: 18px;
  font-weight: 800;
}

.featured-product__price strong small {
  font-size: 8px;
}

.featured-product__price del {
  color: #94a3b8;
  font-size: 9px;
  font-weight: 600;
}

.featured-product__badges {
  min-height: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 11px;
}

.featured-product__badges span {
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: var(--primary-dark);
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.featured-product__cart {
  width: 100%;
  min-height: 35px;
  color: #fff;
  background: var(--primary);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  transition: background 180ms ease, transform 180ms ease;
}

.featured-product__cart:hover {
  background: var(--primary-dark);
}

.featured-product__cart:active {
  transform: scale(0.98);
}

@media (max-width: 980px) {
  .featured-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .featured-products {
    padding: 8px 0 40px;
  }

  .featured-products__grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 2px 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }

  .featured-products__grid::-webkit-scrollbar {
    display: none;
  }

  .featured-product {
    min-width: min(74vw, 250px);
    flex: 0 0 min(74vw, 250px);
    scroll-snap-align: start;
  }

  .featured-product__image {
    height: 180px;
  }
}

.why-tsgate {
  padding: 12px 0 56px;
}

.why-tsgate__heading {
  margin-bottom: 22px;
  text-align: center;
}

.why-tsgate__heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
}

.why-tsgate__heading p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

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

.trust-card {
  min-width: 0;
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 9px 26px rgba(15, 118, 110, 0.08);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.trust-card:hover {
  border-color: #99f6e4;
  box-shadow: 0 16px 34px rgba(15, 118, 110, 0.14);
  transform: translateY(-4px);
}

.trust-card__icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: rgba(20, 184, 166, 0.13);
  border: 1px solid #ccfbf1;
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.48);
}

.trust-card__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.trust-card h3 {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.trust-card p {
  margin: 0 0 4px;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.trust-card small {
  display: block;
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
}

@media (min-width: 760px) {
  .why-tsgate {
    padding-bottom: 64px;
  }

  .why-tsgate__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }

  .trust-card {
    min-height: 122px;
    padding: 24px 20px;
  }
}

@media (max-width: 420px) {
  .trust-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

.customer-reviews {
  padding: 4px 0 64px;
}

.customer-reviews__heading {
  margin-bottom: 24px;
  text-align: center;
}

.customer-reviews__heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
}

.customer-reviews__heading p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.customer-reviews__slider {
  position: relative;
}

.customer-reviews__viewport {
  overflow: hidden;
  padding: 4px 2px 18px;
}

.customer-reviews__track {
  display: flex;
  gap: 14px;
  touch-action: pan-y;
  transition: transform 450ms ease;
  will-change: transform;
}

.review-card {
  min-width: 100%;
  min-height: 238px;
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 118, 110, 0.08);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.review-card:hover {
  border-color: #99f6e4;
  box-shadow: 0 16px 36px rgba(15, 118, 110, 0.13);
  transform: translateY(-3px);
}

.review-card__customer {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--primary));
  border: 4px solid #ccfbf1;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.review-card__identity h3 {
  margin: 0 0 3px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.review-card__identity p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.review-card__verified {
  grid-column: 1 / -1;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  color: var(--primary-dark);
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
}

.review-card__verified svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.review-card__rating {
  margin: 17px 0 10px;
  color: #f59e0b;
  font-size: 17px;
  letter-spacing: 1px;
}

.review-card blockquote {
  margin: 0;
  color: #475569;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.75;
}

.customer-reviews__arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--primary);
  background: #fff;
  border: 1px solid #ccfbf1;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(15, 118, 110, 0.14);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.customer-reviews__arrow:hover {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 11px 26px rgba(15, 118, 110, 0.22);
}

.customer-reviews__arrow--prev {
  left: -10px;
}

.customer-reviews__arrow--next {
  right: -10px;
}

.customer-reviews__arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.customer-reviews__dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 2px;
}

.customer-reviews__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  background: #cbd5e1;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width 200ms ease, background 200ms ease;
}

.customer-reviews__dots button.is-active {
  width: 24px;
  background: var(--primary);
}

@media (min-width: 760px) {
  .customer-reviews__track {
    gap: 20px;
  }

  .review-card {
    min-width: calc((100% - 40px) / 3);
    min-height: 250px;
    flex-basis: calc((100% - 40px) / 3);
  }

  .customer-reviews__arrow--prev {
    left: -18px;
  }

  .customer-reviews__arrow--next {
    right: -18px;
  }
}

@media (min-width: 760px) and (max-width: 820px) {
  .customer-reviews__arrow--prev {
    left: -10px;
  }

  .customer-reviews__arrow--next {
    right: -10px;
  }
}

.newsletter {
  padding: 0 0 68px;
}

.newsletter__banner {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 26px;
  padding: 28px 22px;
  background:
    radial-gradient(circle at 8% 15%, rgba(255, 255, 255, 0.92), transparent 32%),
    linear-gradient(135deg, #ecfdf9 0%, #d9faf3 52%, #ccfbf1 100%);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(15, 118, 110, 0.1);
}

.newsletter__banner::after {
  position: absolute;
  inset-block-start: -75px;
  inset-inline-end: -55px;
  width: 180px;
  height: 180px;
  background: rgba(20, 184, 166, 0.1);
  border-radius: 50%;
  content: "";
}

.newsletter__content,
.newsletter__signup {
  position: relative;
  z-index: 1;
}

.newsletter__content {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.newsletter__icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--primary));
  border: 5px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  box-shadow: 0 9px 22px rgba(15, 118, 110, 0.18);
}

.newsletter__icon svg,
.newsletter__field svg,
.newsletter__meta a svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.newsletter__icon svg {
  width: 23px;
  height: 23px;
  stroke-width: 1.8;
}

.newsletter__content h2 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
}

.newsletter__content p {
  max-width: 560px;
  margin: 0;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.65;
}

.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter__field {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 118, 110, 0.17);
  border-radius: 12px;
  box-shadow: 0 7px 20px rgba(15, 118, 110, 0.07);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.newsletter__field:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.13);
}

.newsletter__field svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  color: var(--primary);
  stroke-width: 1.8;
}

.newsletter__field input {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 13px;
}

.newsletter__field input::placeholder {
  color: #94a3b8;
}

.newsletter__form button {
  min-height: 50px;
  padding: 0 24px;
  color: #fff;
  background: var(--primary);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.2);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.newsletter__form button:hover {
  background: var(--primary-dark);
  box-shadow: 0 11px 24px rgba(15, 118, 110, 0.26);
  transform: translateY(-2px);
}

.newsletter__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.newsletter__meta small {
  color: #64748b;
  font-size: 10px;
  font-weight: 600;
}

.newsletter__meta a {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

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

.newsletter__meta a svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.7;
}

@media (min-width: 760px) {
  .newsletter__banner {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    align-items: center;
    gap: 44px;
    padding: 38px 42px;
  }

  .newsletter__form {
    flex-direction: row;
  }

  .newsletter__field {
    flex: 1;
  }

  .newsletter__form button {
    flex: 0 0 auto;
  }

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

.site-footer {
  padding-top: 8px;
  color: #475569;
  background: linear-gradient(to bottom, transparent, #eefbf8);
}

.site-footer__panel {
  overflow: hidden;
  background: #f0fdfa;
  border: 1px solid rgba(20, 184, 166, 0.16);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -10px 34px rgba(15, 118, 110, 0.07);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  padding: 36px 24px 30px;
}

.footer-logo {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.footer-logo__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--primary));
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.18);
}

.footer-logo__mark svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.footer-logo__name {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.footer-logo__name span {
  color: var(--primary);
}

.site-footer__brand > p {
  max-width: 330px;
  margin: 18px 0 21px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.85;
}

.site-footer__socials {
  display: flex;
  gap: 9px;
}

.site-footer__socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: #fff;
  border: 1px solid #ccfbf1;
  border-radius: 10px;
  box-shadow: 0 5px 14px rgba(15, 118, 110, 0.07);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-footer__socials a:hover {
  color: #fff;
  background: var(--primary);
  transform: translateY(-2px);
}

.site-footer__socials svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-footer__column h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.site-footer__column ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__column li,
.site-footer__column a {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
}

.site-footer__column a {
  transition: color 180ms ease;
}

.site-footer__column a:hover {
  color: var(--primary);
}

.site-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.site-footer__contact svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: var(--primary);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.site-footer__payments {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 24px;
  border-top: 1px solid rgba(15, 118, 110, 0.12);
}

.site-footer__payments > span {
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
}

.payment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-logo {
  width: 82px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  background: #fff;
  border: 1px solid #ccfbf1;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.05);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.payment-logo:hover {
  border-color: #99f6e4;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.11);
  transform: translateY(-2px);
}

.payment-logo img {
  display: block;
  width: auto;
  max-width: 66px;
  height: 24px;
  object-fit: contain;
}

.site-footer__bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 20px 24px 24px;
  border-top: 1px solid rgba(15, 118, 110, 0.12);
}

.site-footer__bottom p {
  margin: 0;
  color: #64748b;
  font-size: 10px;
  font-weight: 600;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 15px;
}

.site-footer__legal a {
  position: relative;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer__legal a:hover {
  color: var(--primary);
}

.site-footer__legal a:not(:last-child)::after {
  position: absolute;
  inset-inline-end: -8px;
  color: #cbd5e1;
  content: "|";
}

.site-footer__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 14px;
}

.site-footer__trust span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary-dark);
  font-size: 10px;
  font-weight: 800;
}

.site-footer__trust svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

@media (min-width: 600px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 46px;
    padding: 42px 36px 34px;
  }

  .site-footer__bottom {
    padding-inline: 36px;
  }

  .site-footer__payments {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-inline: 36px;
  }
}

@media (min-width: 980px) {
  .site-footer__grid {
    grid-template-columns: 1.55fr 0.76fr 0.95fr 1.1fr;
    gap: 44px;
    padding: 50px 46px 42px;
  }

  .site-footer__payments {
    padding: 18px 46px;
  }

  .site-footer__bottom {
    grid-template-columns: minmax(220px, 1fr) auto minmax(280px, 1fr);
    align-items: center;
    gap: 28px;
    padding: 22px 46px 26px;
  }

  .site-footer__legal {
    justify-content: center;
  }

  .site-footer__trust {
    justify-content: flex-end;
  }
}

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