/* NORTHLINE — HilltopAds-safe mainstream ecommerce */

:root {
  --bg: #EEF1F4;
  --bg-deep: #E2E7ED;
  --surface: #FFFFFF;
  --ink: #1A2332;
  --muted: #5A6577;
  --faint: #8A95A5;
  --accent: #2F6F6A;
  --accent-hover: #255A56;
  --accent-soft: #D7E8E6;
  --line: rgba(26, 35, 50, 0.1);
  --shadow: 0 18px 50px rgba(26, 35, 50, 0.08);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(47, 111, 106, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(26, 35, 50, 0.06), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #F7F8FA 48%, var(--bg-deep) 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Notice — soft coupon, not scare tactics */
.notice {
  background: var(--ink);
  color: #F4F6F8;
  text-align: center;
  padding: 0.7rem 1rem;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
}

.notice strong { color: #B8DFD9; font-weight: 600; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(238, 241, 244, 0.88);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
}

.logo__mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.logo__tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--faint);
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav a:hover { color: var(--ink); }

.header__actions { display: flex; gap: 0.75rem; align-items: center; }

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.45rem 1.7rem 0.45rem 0.65rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235A6577' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.55rem center;
  cursor: pointer;
  max-width: 9.5rem;
  line-height: 1.2;
}

.lang-select:focus {
  outline: 2px solid var(--accent-soft);
  outline-offset: 1px;
}

html[dir="rtl"] .lang-select {
  padding: 0.45rem 0.65rem 0.45rem 1.7rem;
  background-position: left 0.55rem center;
}

html[dir="rtl"] .nav,
html[dir="rtl"] .header__actions,
html[dir="rtl"] .hero__cta,
html[dir="rtl"] .product__actions,
html[dir="rtl"] .footer__grid,
html[dir="rtl"] .breadcrumb {
  direction: rtl;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--surface); }
.btn--lg { min-height: 54px; padding-inline: 1.6rem; font-size: 1rem; }

/* Hero — full bleed, brand first */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #F7F9FB;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 12s var(--ease) forwards;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 20, 28, 0.28) 0%, rgba(14, 20, 28, 0.18) 35%, rgba(14, 20, 28, 0.78) 100%),
    linear-gradient(90deg, rgba(14, 20, 28, 0.55) 0%, transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 4rem;
  max-width: 640px;
}

.hero__brand {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 1.1rem;
  animation: rise 0.9s var(--ease) both;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  animation: rise 0.9s 0.08s var(--ease) both;
}

.hero__desc {
  color: rgba(247, 249, 251, 0.86);
  font-size: 1.05rem;
  max-width: 38ch;
  margin-bottom: 1.6rem;
  animation: rise 0.9s 0.14s var(--ease) both;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s 0.2s var(--ease) both;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: rgba(255, 255, 255, 0.55);
  border-block: 1px solid var(--line);
}

.section__eyebrow {
  display: block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.7rem;
}

.section__desc {
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 2rem;
}

.section__header { margin-bottom: 2.2rem; }
.section__header--center { text-align: center; }
.section__header--center .section__desc { margin-inline: auto; }

/* Trust */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.4rem 0;
}

.trust__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
}

.trust__item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.trust__item span {
  color: var(--muted);
  font-size: 0.86rem;
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.product {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-deep);
}

.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.product:hover .product__media img { transform: scale(1.05); }

.product__body { padding: 1rem 1.05rem 1.2rem; }

.product__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.product__meta {
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 0.75rem;
}

.product__price-row {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}

.product__price {
  font-weight: 700;
  font-size: 1.05rem;
}

.product__was {
  color: var(--faint);
  text-decoration: line-through;
  font-size: 0.9rem;
}

.product__save {
  margin-left: auto;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.product__actions {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.95rem;
}

.product__actions .btn {
  min-height: 42px;
  padding: 0.55rem 0.85rem;
  flex: 1;
  font-size: 0.88rem;
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  margin-left: 0.35rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}

.product-detail__media {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-deep);
}

.product-detail__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.product-detail__price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin: 0.8rem 0 0.6rem;
}

.product-detail__note {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0.8rem 0 1.2rem;
  padding: 0.85rem 1rem;
  background: var(--accent-soft);
  border-radius: var(--radius);
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.4rem;
  align-items: start;
}

.cart-lines { display: grid; gap: 0.9rem; }

.cart-line {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 1rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.9rem;
}

.cart-line img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: var(--radius);
}

.cart-line h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
}

.cart-line p { color: var(--muted); font-size: 0.88rem; }

.qty {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.qty button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  cursor: pointer;
}

.cart-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.cart-summary h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.summary-row--total {
  border-bottom: 0;
  margin-top: 0.35rem;
  font-size: 1.05rem;
}

.cart-summary .btn { width: 100%; margin-top: 1rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.empty-state {
  text-align: center;
  padding: 2rem 0 1rem;
}

.site-footer-card {
  margin-top: 1rem;
  color: rgba(247, 249, 251, 0.7);
  font-size: 0.88rem;
  line-height: 1.55;
}

@media (max-width: 960px) {
  .product-detail,
  .cart-layout { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 72px 1fr; }
  .cart-line strong { grid-column: 2; }
}

/* Offer band — soft, closable, honest */
.offer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, #1A2332 0%, #243447 55%, #2F6F6A 100%);
  color: #F7F9FB;
  border-radius: 8px;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow);
}

.offer__code {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.55rem 0.85rem;
  border: 1px dashed rgba(247, 249, 251, 0.4);
  border-radius: var(--radius);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
}

.offer__aside {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.offer__aside li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

.offer__aside li:last-child { border-bottom: 0; }
.offer__aside span { color: rgba(247, 249, 251, 0.7); }

/* About */
.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.4rem;
  align-items: center;
}

.about__media {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.about__list {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.7rem;
}

.about__list li {
  padding-left: 1.1rem;
  position: relative;
  color: var(--muted);
}

.about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

/* CTA */
.cta {
  text-align: center;
  padding: 4.2rem 0 5rem;
}

.cta .section__desc { margin-inline: auto; margin-bottom: 1.5rem; }

/* Inner pages */
.page-hero {
  padding: 3.2rem 0 1.6rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

.breadcrumb {
  display: flex;
  gap: 0.45rem;
  color: var(--faint);
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.breadcrumb a:hover { color: var(--ink); }

.page-content {
  padding: 2.8rem 0 4.5rem;
}

.prose {
  max-width: 72ch;
  color: var(--muted);
}

.prose h2, .prose h3 {
  color: var(--ink);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin: 1.8rem 0 0.6rem;
}

.prose p, .prose li { margin-bottom: 0.75rem; }
.prose ul { padding-left: 1.1rem; list-style: disc; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin: 1.4rem 0 2rem;
}

.info-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.info-box strong {
  display: block;
  font-size: 1.35rem;
  font-family: var(--font-display);
  margin-bottom: 0.2rem;
}

.info-box span { color: var(--muted); font-size: 0.88rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #FBFCFD;
  padding: 0.8rem 0.9rem;
  font: inherit;
  color: var(--ink);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid rgba(47, 111, 106, 0.25);
  border-color: var(--accent);
}

.form-success {
  display: none;
  background: var(--accent-soft);
  color: var(--accent-hover);
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-weight: 600;
}

.form-success.is-visible { display: block; }

/* Footer */
.footer {
  background: #151C27;
  color: rgba(247, 249, 251, 0.78);
  padding: 3rem 0 1.6rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer .logo__mark { color: #fff; }
.footer a:hover { color: #fff; }
.footer h4 {
  color: #fff;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.footer ul { display: grid; gap: 0.45rem; font-size: 0.92rem; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: rgba(247, 249, 251, 0.55);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@media (max-width: 960px) {
  .nav, .header__actions .btn--ghost { display: none; }
  .menu-toggle { display: inline-block; }
  .lang-select { max-width: 7.5rem; font-size: 0.75rem; }
  .nav.is-open {
    display: flex;
    position: absolute;
    left: 4vw;
    right: 4vw;
    top: calc(100% + 0.4rem);
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: var(--shadow);
  }
  .trust, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .offer, .about, .contact-grid, .footer__grid { grid-template-columns: 1fr; }
  .about__media img { min-height: 280px; }
}

@media (max-width: 560px) {
  .trust, .product-grid, .info-grid { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
  .hero__content { padding-bottom: 2.5rem; }
}
