:root {
  --ink: #171014;
  --muted: #73666d;
  --paper: #fffaf7;
  --card: #ffffff;
  --line: #eddad2;
  --rose: #c3134d;
  --rose-dark: #870d37;
  --green: #159354;
  --green-dark: #0d713e;
  --amber: #ffb23f;
  --soft: #fff0e8;
  --shadow: 0 14px 34px rgba(83, 35, 50, 0.14);
  font-family:
    Tahoma, Arial, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fff8f4 0, #fffdfb 360px),
    var(--paper);
}

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

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

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(21, 147, 84, 0.36);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(237, 218, 210, 0.82);
  background: rgba(255, 250, 247, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  direction: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1;
  white-space: nowrap;
}

.brand span {
  color: var(--rose);
}

.header-note {
  justify-self: center;
  min-height: 32px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--rose-dark);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

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

.language-toggle {
  min-width: 48px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--rose-dark);
  background: #fff;
  cursor: pointer;
  font-weight: 950;
}

.language-toggle:hover {
  border-color: rgba(195, 19, 77, 0.34);
}

.header-cta,
.hero-cta,
.product-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(21, 147, 84, 0.22);
}

.header-cta {
  min-width: 112px;
  padding: 0 18px;
}

.header-cta:hover,
.hero-cta:hover,
.product-cta:hover {
  background: var(--green-dark);
}

.deal-hero {
  padding: 10px 5vw 8px;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 3.35vw, 3.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-cta {
  min-width: 178px;
  padding: 0 22px;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-width: 760px;
  margin: 0 auto;
}

.benefit-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  min-height: 52px;
  padding: 7px 10px;
  border: 1px solid rgba(195, 19, 77, 0.14);
  border-radius: 8px;
  color: #3d2e34;
  background: #fff;
  font-weight: 950;
  box-shadow: 0 9px 20px rgba(83, 35, 50, 0.08);
}

.benefit-icon {
  display: inline-grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
}

.benefit-icon svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-icon--cod {
  background: var(--green);
}

.benefit-icon--private {
  background: var(--rose);
}

.benefit-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
  line-height: 1.08;
}

.benefit-title,
.benefit-note {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.benefit-title {
  font-size: 0.88rem;
}

.benefit-note {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
}

.hot-section {
  padding: 4px 5vw 38px;
}

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

.section-row h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3.6vw, 3rem);
  line-height: 1.05;
}

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

.product-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

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

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

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

.badge,
.cod-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 950;
}

.badge {
  top: 10px;
  inset-inline-start: 10px;
  background: var(--rose);
}

.cod-badge {
  inset-inline-end: 10px;
  bottom: 10px;
  background: rgba(23, 16, 20, 0.84);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px;
}

.product-body h3 {
  margin-bottom: 10px;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.28;
}

.price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.price {
  color: var(--rose-dark);
  font-size: 1.28rem;
  font-weight: 950;
}

.compare {
  color: #98888f;
  font-size: 0.9rem;
  text-decoration: line-through;
}

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.quick-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 8px;
  border-radius: 6px;
  background: #fff2dd;
  color: #755016;
  font-size: 0.73rem;
  font-weight: 900;
}

.product-cta {
  width: 100%;
  min-height: 42px;
  margin-top: auto;
}

.more-products {
  display: flex;
  justify-content: center;
  padding: 22px 0 2px;
}

.more-products[hidden] {
  display: none !important;
}

.more-products__link {
  display: inline-flex;
  min-height: 54px;
  min-width: min(100%, 420px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 22px;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 14px 30px rgba(21, 147, 84, 0.2);
  text-align: center;
}

.more-products__link:hover {
  background: var(--green-dark);
}

.more-products__link span {
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.1;
}

.more-products__link small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.1;
}

.buyer-section {
  padding: 0 5vw 70px;
}

#buyer-title {
  scroll-margin-top: 78px;
}

.review-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.review-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.review-item:last-child {
  border-bottom: 0;
}

.review-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #f3ddd6;
  border-radius: 50%;
  color: var(--rose-dark);
  background: linear-gradient(180deg, #fff9f6, #f2f2f2);
  font-size: 1rem;
  font-weight: 950;
}

.review-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.review-name {
  color: #1665a5;
  font-size: 0.94rem;
  font-weight: 900;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 9px;
}

.review-stars {
  color: #f0a10f;
  font-size: 0.82rem;
  line-height: 1;
  letter-spacing: 0;
}

.review-date {
  color: #8b7f85;
  font-size: 0.78rem;
  font-weight: 750;
}

.review-quote {
  margin: 0;
  color: #24181d;
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1.45;
}

.review-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 11px;
}

.review-photos img {
  display: block;
  flex: 0 0 82px;
  width: 82px;
  height: 82px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  object-fit: cover;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 16px 34px rgba(21, 147, 84, 0.26);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--green-dark);
}

.back-top svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-proof {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 32;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  width: min(360px, calc(100vw - 44px));
  min-height: 116px;
  padding: 14px 42px 14px 14px;
  border-radius: 8px;
  color: #fff;
  background: rgba(28, 27, 28, 0.96);
  box-shadow: 0 18px 42px rgba(23, 16, 20, 0.32);
  direction: ltr;
  opacity: 0;
  pointer-events: none;
  transform: translate(-12px, 12px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.social-proof.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, 0);
}

.social-proof__image {
  display: block;
  width: 96px;
  height: 88px;
  border-radius: 2px;
  background: #fff;
  object-fit: cover;
}

.social-proof__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  text-align: left;
}

[data-lang="ar"] .social-proof__content {
  direction: rtl;
  text-align: right;
}

.social-proof__person,
.social-proof__product,
.social-proof__time {
  margin: 0;
}

.social-proof__person {
  color: #f4edf0;
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.22;
}

.social-proof__product {
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.22;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.social-proof__time {
  color: #bdb5b8;
  font-size: 0.82rem;
  font-weight: 800;
}

.social-proof__close {
  position: absolute;
  top: 11px;
  right: 11px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 0;
  color: #e7dfe2;
  background: transparent;
  cursor: pointer;
}

.social-proof__close:hover {
  color: #fff;
}

.social-proof__close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

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

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: auto auto;
    min-height: 52px;
    padding: 0 16px;
  }

  .header-note {
    display: none;
  }

  .header-cta {
    min-width: 104px;
    min-height: 34px;
    padding: 0 14px;
    font-size: 0.84rem;
  }

  .language-toggle {
    min-width: 44px;
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.82rem;
  }

  .deal-hero {
    padding: 7px 14px 4px;
  }

  h1 {
    max-width: 340px;
    margin-bottom: 8px;
    font-size: clamp(1.86rem, 9.2vw, 2.7rem);
    line-height: 0.94;
  }

  .eyebrow {
    margin-bottom: 6px;
    font-size: 0.68rem;
  }

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

  .benefit-item {
    gap: 7px;
    min-height: 56px;
    padding: 7px 8px;
  }

  .benefit-icon {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    border-radius: 6px;
  }

  .benefit-icon svg {
    width: 17px;
    height: 17px;
  }

  .benefit-title {
    font-size: 0.8rem;
  }

  .benefit-note {
    font-size: 0.62rem;
  }

  .hero-cta {
    width: 100%;
    min-height: 38px;
    font-size: 0.88rem;
  }

  .hot-section {
    padding: 2px 14px 34px;
  }

  .section-row {
    display: block;
  }

  .section-row h2 {
    font-size: 1.45rem;
  }

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

  .product-media {
    aspect-ratio: 1 / 0.7;
  }

  .product-body {
    padding: 5px 6px 6px;
  }

  .product-body h3 {
    display: -webkit-box;
    min-height: 24px;
    margin-bottom: 2px;
    overflow: hidden;
    font-size: 0.72rem;
    line-height: 1.1;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .price-line {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 4px;
    min-width: 0;
    margin-bottom: 3px;
    line-height: 1;
  }

  .price {
    flex: 0 0 auto;
    font-size: 0.84rem;
    line-height: 1.05;
  }

  .compare {
    min-width: 0;
    overflow: hidden;
    font-size: 0.58rem;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .quick-tags {
    flex-wrap: nowrap;
    gap: 2px;
    overflow: hidden;
    margin-bottom: 4px;
  }

  .badge,
  .cod-badge {
    min-height: 18px;
    padding: 0 5px;
    font-size: 0.53rem;
  }

  .quick-tags span {
    flex: 0 1 auto;
    min-width: 0;
    min-height: 16px;
    padding: 0 4px;
    font-size: 0.5rem;
    line-height: 1;
    white-space: nowrap;
  }

  .product-cta {
    min-height: 27px;
    font-size: 0.7rem;
  }

  .more-products {
    padding: 10px 0 0;
  }

  .more-products__link {
    min-height: 43px;
    width: 100%;
    min-width: 0;
    padding: 7px 14px;
  }

  .more-products__link span {
    font-size: 0.86rem;
  }

  .more-products__link small {
    font-size: 0.62rem;
  }

  .buyer-section {
    padding: 0 14px 34px;
  }

  .review-item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 9px;
    padding: 13px 11px;
  }

  .review-avatar {
    width: 36px;
    height: 36px;
    font-size: 0.82rem;
  }

  .review-head {
    margin-bottom: 3px;
  }

  .review-name {
    font-size: 0.82rem;
  }

  .review-meta {
    margin-bottom: 6px;
  }

  .review-stars {
    font-size: 0.68rem;
  }

  .review-date {
    font-size: 0.66rem;
  }

  .review-quote {
    font-size: 0.79rem;
    line-height: 1.32;
  }

  .review-photos {
    gap: 6px;
    margin-top: 8px;
  }

  .review-photos img {
    flex-basis: 68px;
    width: 68px;
    height: 68px;
  }

  .back-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }

  .back-top svg {
    width: 20px;
    height: 20px;
  }

  .social-proof {
    left: 14px;
    bottom: 64px;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 9px;
    width: min(340px, calc(100vw - 28px));
    min-height: 96px;
    padding: 10px 36px 10px 10px;
  }

  .social-proof__image {
    width: 74px;
    height: 74px;
  }

  .social-proof__content {
    gap: 3px;
  }

  .social-proof__person {
    font-size: 0.74rem;
  }

  .social-proof__product {
    font-size: 0.78rem;
    line-height: 1.18;
  }

  .social-proof__time {
    font-size: 0.7rem;
  }

  .social-proof__close {
    top: 8px;
    right: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 380px) {
  .product-grid {
    gap: 5px;
  }

  .product-body h3 {
    font-size: 0.7rem;
  }
}
