/* SzivarInfo — shared styles
   Design tokens taken 1:1 from Figma (file lsRBE3Jmk7I67oMetA5DWw · artboard RÓLUNK 118:10783) */

:root {
  --bg: #f1f0ed;
  --surface: #f2f1ef;
  --surface-warm: #f3eee4;
  --ink: #1c1a17;
  --ink-dark: #111214;
  --copper: #a9754e;
  --copper-light: #dbbe93;
  --nav-text: #f2f1ef;
  --avatar-bg: #e4dccb;
  --avatar-border: #ded6c6;
  --copyright-bg: #4b4a50;
  --check-in-text: #f7f2e9;

  --content-max: 1300px;
  --page-max: 1920px;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.page { max-width: var(--page-max); margin: 0 auto; overflow-x: clip; }

/* ---------- Top nav ---------- */
.topnav {
  background: var(--surface-warm);
  padding: 40px 70px;
}
.topnav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topnav__side { flex: 0 0 240px; display: flex; align-items: center; }
.topnav__side--right { justify-content: flex-end; gap: 16px; }

.search { display: inline-flex; align-items: center; gap: 10px; }
.search__icon { width: 18px; height: 18px; flex: none; }
.search__label {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 1.68px;
  color: var(--ink);
}

.logo { display: flex; align-items: center; gap: 40px; height: 80px; }
.logo__mark { height: 80px; width: 46.293px; }
.logo__word { height: 30px; width: 376.648px; }

.check-in {
  background: var(--copper);
  color: var(--check-in-text);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.44px;
  padding: 11px 20px;
  border: none;
  cursor: pointer;
}
.avatar {
  width: 42px; height: 42px;
  border-radius: 100px;
  background: var(--avatar-bg);
  border: 1px solid var(--avatar-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
}

/* ---------- Dark link bar (sticks to top on scroll) ---------- */
.linkbar {
  background: var(--ink-dark);
  padding: 26px 70px 24px;
  display: flex;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 6px 18px rgba(17, 18, 20, 0.16);
}
.linkbar__links { display: flex; gap: 40px; align-items: center; }
.linkbar__links a {
  font-size: 16px;
  letter-spacing: 2.56px;
  color: var(--nav-text);
  white-space: nowrap;
}
.linkbar__links a.is-active { color: var(--copper); font-weight: 700; }

/* ---------- Hero band ---------- */
.hero {
  position: relative;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 60px 200px;
  overflow: hidden;
  text-align: center;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(17, 18, 20, 0.6);
  z-index: 1;
}
.hero > *:not(.hero__bg) { position: relative; z-index: 2; }

.hero__eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 24px;
  color: var(--copper-light);
}
.hero__quote {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 40px;
  line-height: normal;
  color: var(--surface-warm);
  max-width: 900px;
}
.hero__rule { width: 50px; height: 1px; background: rgba(243, 238, 228, 0.6); }
.hero__tag {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 1.92px;
  color: rgba(243, 238, 228, 0.85);
}

/* ---------- Zigzag story rows ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.story__media {
  min-height: 530px;
  background: #d9d9d9;
  position: relative;
}
.story__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.story__text {
  background: var(--surface);
  min-height: 530px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.story__inner { width: 425.25px; max-width: 100%; }
.story__heading {
  font-weight: 600;
  font-size: 30px;
  line-height: 33px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.story__body {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
}
/* Row 2: text on the left, image on the right */
.story--reverse .story__media { order: 2; }
.story--reverse .story__text { order: 1; }

/* ---------- Footer ---------- */
.footer__top {
  background: var(--bg);
  padding: 100px 310px;
  display: flex;
  justify-content: center;
}
.footer__brand {
  width: 1300px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-bottom: 28px;
}
.footer__logo .logo__mark { height: 88.152px; width: 51.011px; }
.footer__logo .logo__word { height: 21.848px; width: 274.297px; }
.footer__divider { width: 100%; height: 1px; }
.footer__tagline {
  font-size: 14px;
  line-height: 24px;
  color: var(--ink);
  text-align: center;
}

.footer__nav {
  background: var(--ink-dark);
  padding: 26px 70px 24px;
  display: flex;
  justify-content: center;
}
.footer__nav .linkbar__links a { font-size: 13px; letter-spacing: 2.08px; }

.footer__legal {
  background: var(--copyright-bg);
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer__legal-inner {
  width: 1300px;
  max-width: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.88px;
  color: var(--nav-text);
}

/* ========== Catalog page (SZIVAR-GYŰJTŐ) ========== */
.catalog {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 54px 20px 0;
}

/* Toolbar */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 26px;
  gap: 16px;
}
.toolbar__count {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 1.44px;
  color: #8a8175;
}
.sort { position: relative; display: flex; align-items: center; gap: 10px; }
.sort__label { font-weight: 500; font-size: 12px; letter-spacing: 1.44px; color: #8a8175; }
.sort__trigger {
  display: flex; align-items: center; gap: 16px;
  background: none; border: none; cursor: pointer;
  font-family: var(--sans);
  padding: 0;
}
.sort__value { font-weight: 500; font-size: 14px; color: var(--ink); }
.sort__chevron { width: 16px; height: 16px; flex: none; transition: transform 0.2s ease; }
.sort.is-open .sort__chevron { transform: rotate(180deg); }

.sort__menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid #ded6c6;
  box-shadow: 0 12px 32px rgba(28, 26, 23, 0.12);
  padding: 6px 0;
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.sort.is-open .sort__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sort__option {
  display: block; width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  font-family: var(--sans);
  font-weight: 500; font-size: 14px; color: var(--ink);
  padding: 11px 20px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.sort__option:hover { background: #f3eee4; }
.sort__option.is-active { color: #b96b42; }

/* Body: grid + filters */
.catalog__body {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}
.cigars {
  flex: 0 0 966px;
  display: grid;
  grid-template-columns: repeat(3, 302px);
  gap: 30px;
}

/* Product card */
.cig-card {
  position: relative;
  width: 302px;
  height: 509px;
  background: #fff;
}
.cig-card__badge {
  position: absolute;
  top: 20px; left: 20px;
  background: #b96b42;
  color: #f7f2e9;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 1.2px;
  padding: 6px 12px;
}
.cig-card__rail {
  position: absolute;
  top: 20px; right: 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cig-card__rail img { width: 24px; height: 24px; cursor: pointer; }
.cig-card__img { width: 100%; height: 300px; object-fit: cover; }
.cig-card__body {
  height: 147px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0;
}
.cig-card__rule { width: 100%; height: 1px; background: #d9d9d9; }
.cig-card__info {
  width: 100%;
  height: 121px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}
.cig-card__cat { font-weight: 500; font-size: 10px; letter-spacing: 1.4px; color: #8a8175; }
.cig-card__name { font-family: var(--serif); font-weight: 700; font-size: 28px; line-height: 1.1; color: var(--ink); }
.cig-card__price { font-weight: 500; font-size: 16px; letter-spacing: 0.64px; color: #b96b42; }

.cig-card__spec {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 62px;
  background: #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
}
.spec { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.spec__icon { height: 24px; display: flex; align-items: flex-end; }
.spec__icon img { height: 24px; width: auto; display: block; }
.spec__icon img.i-length { width: 35px; height: 24px; }
.spec__icon img.i-ring { width: 24px; height: 24px; }
.spec__icon img.i-diameter { width: 37px; height: 24px; }
.spec__val { font-family: "Avenir Next", var(--sans); font-weight: 600; font-size: 10px; letter-spacing: 0.4px; color: #4a4a4f; }
.spec-shape { display: flex; flex-direction: column; gap: 5px; height: 24px; justify-content: center; }
.spec-shape span {
  display: block; height: 6px;
  border: 2px solid #4a4a4f;
  border-radius: 3px 0 0 3px;
  background: #d9d9d9;
}
.spec-shape span:nth-child(1) { width: 24px; }
.spec-shape span:nth-child(2) { width: 20px; }
.spec-shape span:nth-child(3) { width: 16px; }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 46px 0 0;
}
.pagination a {
  font-size: 16px;
  padding: 0 12px;
  color: #010101;
}
.pagination a:first-child { padding-left: 0; }
.pagination a.is-active { font-weight: 700; color: #c88a5a; }
.pagination__arrow { width: 16px; height: 10px; transform: rotate(180deg); }

/* ---------- Filters sidebar ---------- */
.filters { flex: 0 0 304px; display: flex; flex-direction: column; gap: 47px; }
.filters__search {
  background: #fff;
  padding: 13px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.filters__search input {
  border: none; outline: none; background: transparent;
  font-family: var(--sans);
  font-size: 14px;
  color: #c88a5a;
  width: 100%;
}
.filters__search input::placeholder { color: #c88a5a; opacity: 1; }
.filters__search img { width: 16px; height: 16px; flex: none; }

.filters__groups { display: flex; flex-direction: column; gap: 30px; }
.filters__title { font-weight: 500; font-size: 24px; color: var(--ink); }
.filter-group { display: flex; flex-direction: column; gap: 12px; }
.filter-group__label {
  font-weight: 600; font-size: 16px;
  letter-spacing: 2.56px; color: #8a8175;
}
.filter-group__divider { width: 100%; height: 1px; background: #ded6c6; }

.filter-list { display: flex; flex-direction: column; gap: 12px; }
/* SZÍN & FORMA scroll: show ~4 rows, scroll for the rest */
.filter-list--scroll {
  max-height: 164px;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: #c8b79a transparent;
}
.filter-list--scroll::-webkit-scrollbar { width: 5px; }
.filter-list--scroll::-webkit-scrollbar-track { background: transparent; }
.filter-list--scroll::-webkit-scrollbar-thumb { background: #cbbfa9; border-radius: 3px; }
.filter-list--scroll::-webkit-scrollbar-thumb:hover { background: #b96b42; }

.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
}
.filter-row__main { display: flex; align-items: center; gap: 8px; }
.filter-row__swatch { width: 96px; height: 32px; object-fit: cover; flex: none; }
.filter-row__pips { width: 120px; height: 24px; display: flex; gap: 0; flex: none; }
.filter-row__pips img { width: 24px; height: 24px; display: block; }
.filter-row__name { font-family: var(--sans); font-weight: 400; font-size: 18px; color: var(--ink); }
.filter-row__name--sans { font-family: var(--sans); font-weight: 400; }
.filter-row__count { font-weight: 400; font-size: 11px; color: #8a8175; flex: none; }
.filter-row__count--dark { color: var(--ink); }
/* Active (selected) filter element */
.filter-row.is-active .filter-row__name { font-family: var(--sans); font-weight: 700; color: #B86B42; }
.filter-row.is-active .filter-row__count { font-weight: 600; color: #B86B42; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .catalog__body { flex-direction: column; }
  .cigars { flex-basis: auto; width: 100%; grid-template-columns: repeat(3, 1fr); }
  .cig-card { width: 100%; }
  .filters { flex-basis: auto; width: 100%; max-width: 360px; }
}
@media (max-width: 820px) {
  .cigars { grid-template-columns: repeat(2, 1fr); }
  .toolbar { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .cigars { grid-template-columns: 1fr; }
  .cig-card { max-width: 340px; margin: 0 auto; }
}

/* ========== Product page (SZIVAR / termék) ========== */
.breadcrumb {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 32px 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.breadcrumb a { color: #8a8175; font-weight: 500; transition: color 0.15s ease; }
.breadcrumb a:hover { color: #b96b42; }
.breadcrumb__sep { color: #c9c2b5; }
.breadcrumb__current { color: var(--ink); font-weight: 500; }

.product {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 24px 20px 0;
}

/* Hero */
.product-hero { display: flex; align-items: flex-start; }
.product-gallery { flex: 1 1 0; min-width: 0; padding: 0 15px; }
.product-gallery__main { width: 100%; aspect-ratio: 1 / 1; background: #fff; margin-bottom: 14px; }
.product-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery__thumbs { display: flex; gap: 14px; }
.product-gallery__thumbs .thumb {
  flex: 1 1 0; aspect-ratio: 1 / 1; background: #fff; overflow: hidden;
}
.product-gallery__thumbs .thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery__thumbs .thumb--2 img { transform: rotate(-90deg) scale(1.05); }
.product-gallery__thumbs .thumb--3 img { transform: rotate(40deg) scale(1.15); }

.product-info { flex: 1 1 0; min-width: 0; padding: 0 22px; display: flex; flex-direction: column; gap: 3px; }
.product-info__head { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.product-info__title-wrap { display: flex; align-items: center; gap: 20px; }
.product-info__title { font-family: var(--serif); font-weight: 700; font-size: 40px; line-height: normal; color: var(--ink-dark); }
.product-info__actions { display: flex; align-items: flex-start; gap: 20px; }
.product-info__actions img { width: 24px; height: 24px; cursor: pointer; }

.product-meta { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.product-meta p { font-weight: 400; font-size: 10px; text-transform: uppercase; color: #4a4a4f; }
.product-price { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.product-price__amount { font-weight: 400; font-size: 30px; line-height: 33px; text-transform: uppercase; color: #b96b42; }
.product-price__tax { font-weight: 400; font-size: 16px; color: var(--ink-dark); }

.product-rating { display: flex; align-items: center; gap: 8px; padding-top: 7px; }
.product-rating__stars { display: flex; gap: 4px; }
.product-rating__stars img { width: 12.61px; height: 12px; transform: scaleY(-1); }
.product-rating__score, .product-rating__count { font-size: 14px; line-height: 24px; color: #000; }

.product-desc { padding: 30px 0; font-size: 14px; line-height: 24px; color: #000; }
.product-desc p { margin: 0; }
.product-desc strong { font-weight: 600; }

.product-specbar {
  background: #d9d9d9;
  padding: 8px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.product-cta { display: flex; gap: 20px; align-items: center; padding-top: 50px; flex-wrap: nowrap; }
.product-cta button {
  background: #f2f1ee;
  border: 1px solid #4a4a4f;
  height: 50px;
  padding: 0 12px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  line-height: 14px;
  text-transform: uppercase;
  color: var(--ink-dark);
  text-align: center;
  cursor: pointer;
}
.product-cta button.wide { flex: 1 1 240px; max-width: 240px; min-width: 0; }
.product-cta button.narrow { flex: 0 0 108px; }

/* Tabs */
.product-tabs { max-width: var(--content-max); margin: 0 auto; padding: 90px 20px 0; }
.tablist {
  display: flex; gap: 40px; align-items: center; justify-content: center;
  width: 100%;
  border-bottom: 1px solid #c88a5a;
  padding-bottom: 14px;
}
.tab {
  background: none; border: none; cursor: pointer;
  font-family: var(--sans);
  font-weight: 400; font-size: 16px; line-height: 18.7px;
  letter-spacing: 0.68px; text-transform: uppercase;
  color: var(--ink-dark);
}
.tab.is-active { font-weight: 700; color: #c88a5a; }
.tabpanel { display: none; padding-top: 35px; }
.tabpanel.is-active { display: block; }

/* Tab: description */
.tab-desc { max-width: 1300px; font-size: 16px; line-height: 24px; color: #000; }
.tab-desc p { margin: 0 0 24px; }
.tab-desc p:last-child { margin-bottom: 0; }

/* Tab: details spec table */
.tab-details { display: flex; justify-content: center; }
.spec-table { width: 600px; max-width: 100%; display: flex; flex-direction: column; gap: 12px; }
.spec-table__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 18px; }
.spec-table__label { color: #1c1a17; }
.spec-table__value { color: #8a8175; text-align: right; }

/* Tab: reviews */
.tab-reviews { display: flex; gap: 30px; justify-content: center; flex-wrap: nowrap; }
.review-card {
  background: #d9d9d9;
  flex: 1 1 415px; max-width: 415px; min-width: 0;
  min-height: 175px;
  padding: 20px;
  display: flex; flex-direction: column; gap: 16px;
}
.review-card__title { font-weight: 600; font-size: 16px; letter-spacing: 2.56px; color: #8a8175; }
.review-card__list { display: flex; flex-direction: column; gap: 8px; }
.review-card__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.review-card__text { font-weight: 400; font-size: 14px; color: #1c1a17; max-width: 280px; }
.review-card__date { font-weight: 400; font-size: 12px; color: #1c1a17; text-align: right; white-space: nowrap; }
.review-card__empty { font-size: 14px; color: rgba(28, 26, 23, 0.5); }
.review-card--empty { justify-content: flex-start; }

/* Hasonló termékek */
.similar { max-width: 1340px; margin: 0 auto; padding: 90px 20px 90px; }
.similar__title {
  font-weight: 600; font-size: 30px; line-height: 33px;
  letter-spacing: 1.2px; text-transform: uppercase; text-align: center; color: #000;
  margin-bottom: 42px;
}
.similar__row { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; }
.simcard {
  position: relative;
  width: 410px; height: 425px;
  background: #fff;
}
.simcard__badge {
  position: absolute; top: 20px; left: 20px;
  background: #b96b42; color: #f7f2e9;
  font-weight: 600; font-size: 10px; letter-spacing: 1.2px;
  padding: 6px 12px;
}
.simcard__rail { position: absolute; top: 20px; right: 20px; display: flex; flex-direction: column; gap: 20px; }
.simcard__rail img { width: 24px; height: 24px; cursor: pointer; }
.simcard__img { position: absolute; top: 0; left: 71px; width: 267px; height: 267px; object-fit: contain; }
.simcard__divider { position: absolute; top: 300px; left: 0; width: 100%; height: 1px; background: #d9d9d9; }
.simcard__body {
  position: absolute; top: 300px; left: 0; width: 100%;
  padding: 20px;
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
}
.simcard__cat { font-weight: 500; font-size: 10px; letter-spacing: 1.4px; color: #8a8175; }
.simcard__name { font-family: var(--serif); font-weight: 700; font-size: 40px; line-height: 1.05; color: #1c1a17; }
.simcard__price { font-weight: 500; font-size: 13px; letter-spacing: 0.52px; color: #b96b42; }

@media (max-width: 1000px) {
  .product-hero { flex-direction: column; gap: 30px; }
  .product-gallery, .product-info { width: 100%; padding: 0; }
  .product-info__title { font-size: 32px; }
}
@media (max-width: 820px) {
  .tab-reviews { flex-wrap: wrap; }
  .review-card { flex-basis: 100%; max-width: 415px; }
}
@media (max-width: 700px) {
  .tablist { gap: 20px; flex-wrap: wrap; }
  .tab { font-size: 13px; }
  .product-cta { flex-wrap: wrap; }
  .product-cta button.wide { flex-basis: 100%; max-width: none; }
  .product-cta button.narrow { flex-basis: 100%; }
  .spec-table__row { font-size: 15px; }
}

/* ========== Hover / interaction states ========== */
/* Nav links */
.linkbar__links a { transition: color 0.18s ease; }
.linkbar__links a:hover { color: #c88a5a; }
.linkbar__links a.is-active:hover { color: #a9754e; }

/* Search + logo + avatar */
.search__label, .search__icon { transition: color 0.18s ease, opacity 0.18s ease; }
.search:hover .search__label { color: #a9754e; }
.search:hover .search__icon { opacity: 0.65; }
.logo { transition: opacity 0.2s ease; }
.logo:hover { opacity: 0.82; }
.avatar { transition: border-color 0.2s ease, background-color 0.2s ease; }
.avatar:hover { border-color: #a9754e; }

/* CHECK IN button */
.check-in { transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.check-in:hover { background-color: #8f5c39; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(169, 117, 78, 0.3); }
.check-in:active { transform: translateY(0); box-shadow: none; }

/* Product CTA buttons — invert on hover */
.product-cta button { transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.product-cta button:hover { background-color: #111214; border-color: #111214; color: #f2f1ee; transform: translateY(-1px); }
.product-cta button:active { transform: translateY(0); }

/* Tabs */
.tab { transition: color 0.18s ease; }
.tab:not(.is-active):hover { color: #c88a5a; }

/* Sort dropdown */
.sort__trigger { transition: opacity 0.18s ease; }
.sort__trigger:hover .sort__value { color: #b96b42; }
.sort__value { transition: color 0.18s ease; }

/* Pagination */
.pagination a { transition: color 0.18s ease; }
.pagination a:not(.is-active):hover { color: #c88a5a; }

/* Card action icons */
.cig-card__rail img, .simcard__rail img, .product-info__actions img { transition: opacity 0.18s ease, transform 0.18s ease; }
.cig-card__rail img:hover, .simcard__rail img:hover, .product-info__actions img:hover { opacity: 0.55; transform: scale(1.12); }

/* Linked product card (first catalog card) */
a.cig-card { transition: transform 0.22s ease, box-shadow 0.22s ease; }
a.cig-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(28, 26, 23, 0.14); }

/* Filter rows */
.filter-row__name, .filter-row__count { transition: color 0.15s ease; }
.filter-row:not(.is-active):hover .filter-row__name,
.filter-row:not(.is-active):hover .filter-row__count { color: #B86B42; }

/* ========== Auth: splash (screen 1) + login (screen 2) ========== */
.auth-body { background: #111214; }

/* Splash */
.splash {
  position: fixed;
  inset: 0;
  background: #111214;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity 0.55s ease;
}
.splash.is-done { opacity: 0; pointer-events: none; }
.splash__logo { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.splash__mark { width: 118px; height: auto; animation: splashPop 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.splash__word { width: 640px; max-width: 82vw; height: auto; animation: splashPop 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) 0.12s both; }
.splash__tick { width: 66px; height: auto; margin-top: 34px; animation: fadeIn 0.6s ease 0.5s both; }
.splash__tagline {
  margin-top: 22px;
  font-family: "Avenir Next", var(--sans);
  font-weight: 500;
  font-size: 27px;
  letter-spacing: 3.2px;
  color: #fff;
  text-align: center;
  animation: fadeIn 0.7s ease 0.65s both;
}
.splash__bar {
  position: absolute;
  bottom: 12%;
  width: 220px;
  max-width: 60vw;
  height: 2px;
  background: rgba(242, 241, 238, 0.12);
  overflow: hidden;
  border-radius: 2px;
}
.splash__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  transform-origin: left;
  background: linear-gradient(90deg, #6e462d, #d9a273);
  animation: splashLoad 1.6s ease forwards;
}
@keyframes splashPop { from { opacity: 0; transform: translateY(22px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes splashLoad { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Login screen */
.login-screen {
  min-height: 100vh;
  background: #111214;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 96px;
  position: relative;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.login-screen.is-visible { opacity: 1; }
.login-card {
  width: 780px;
  max-width: 94vw;
  background: #111214;
  box-shadow: 0 4px 20px 10px rgba(0, 0, 0, 0.5);
  padding: 50px 24px 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.login-logo { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.login-logo .mark { width: 56px; height: auto; }
.login-logo .word { width: 300px; max-width: 80%; height: auto; }
.login-title {
  margin-top: 44px;
  font-weight: 600; font-size: 36px; letter-spacing: 1.8px;
  color: #f2f1ee; text-align: center;
}
.login-sub {
  margin-top: 14px;
  font-weight: 400; font-size: 14px; letter-spacing: 0.7px;
  color: #f2f1ee; text-align: center;
}
.login-form { width: 360px; max-width: 100%; margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.login-fields { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font-weight: 400; font-size: 11px; letter-spacing: 0.3px; color: #8a8790; }
.field .input {
  position: relative;
  height: 48px;
  background: #f2f2f2;
  border: 0.5px solid #e5e5e5;
  border-radius: 0;
  display: flex;
  align-items: center;
}
.field .input input {
  flex: 1;
  border: none; outline: none; background: transparent;
  font-family: var(--sans); font-size: 14px; color: #333;
  padding: 0 16px;
  height: 100%;
}
.field .input input::placeholder { color: #808080; }
.field .input .eye {
  width: 16px; height: 16px; margin-right: 14px; cursor: pointer;
  opacity: 0.7; transition: opacity 0.15s ease;
}
.field .input .eye:hover { opacity: 1; }

.login-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.remember { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 400; font-size: 12px; letter-spacing: 0.3px; color: #f2f1ee; }
.switch { position: relative; width: 40px; height: 20px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .knob-bg {
  position: absolute; inset: 0;
  background: #f2f2f2; border: 0.5px solid #e5e5e5; border-radius: 36.5px;
  transition: background 0.2s ease;
}
.switch .knob {
  position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px; border-radius: 12px;
  background: #fff; box-shadow: 1px 1px 2px -1px rgba(51, 51, 51, 0.3);
  transition: transform 0.2s ease;
}
.switch input:checked ~ .knob-bg { background: #b86b42; border-color: #b86b42; }
.switch input:checked ~ .knob { transform: translateX(20px); }
.forgot { font-weight: 400; font-size: 12px; letter-spacing: 0.3px; color: #b86b42; text-align: right; }
.forgot:hover { text-decoration: underline; }

.login-btn {
  background: #b86b42; border: none; cursor: pointer;
  padding: 14px 24px;
  font-family: var(--sans); font-weight: 500; font-size: 15px; letter-spacing: 0.3px;
  color: #f2f1ee; text-align: center;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.login-btn:hover { background-color: #a35d38; }
.login-btn:active { transform: translateY(1px); }

.login-divider { height: 1px; background: rgba(242, 241, 238, 0.14); margin: 6px 0; }
.google-btn {
  background: #4b4a50; border: none; cursor: pointer;
  padding: 12px 16px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 400; font-size: 12px; letter-spacing: 0.3px;
  color: #f2f1ee;
  transition: background-color 0.2s ease;
}
.google-btn:hover { background-color: #56555c; }
.google-btn img { width: 20px; height: 20px; }
.signup { text-align: center; font-size: 12px; letter-spacing: 0.3px; color: #f2f1ee; }
.signup a { font-weight: 700; }
.signup a:hover { color: #b86b42; }

.login-warning {
  position: absolute; bottom: 28px; left: 0; right: 0;
  font-family: "Avenir Next", var(--sans); font-weight: 500;
  font-size: 14px; color: #4b4a50; text-align: center; line-height: 1.4;
}
.field.error .input { border-color: #b43e2e; box-shadow: 0 0 0 2px rgba(180, 62, 46, 0.25); }

@media (max-width: 520px) {
  .login-title { font-size: 28px; }
  .splash__tagline { font-size: 20px; letter-spacing: 2px; }
}

/* ---------- Responsive (shared) ---------- */
@media (max-width: 1100px) {
  .topnav { padding: 28px 32px; }
  .topnav__side { flex-basis: auto; }
  .linkbar, .footer__nav { padding-left: 24px; padding-right: 24px; }
  .linkbar__links { flex-wrap: wrap; justify-content: center; gap: 20px 28px; }
  .hero { padding: 60px 40px; }
  .footer__top { padding: 72px 32px; }
}

@media (max-width: 820px) {
  .story { grid-template-columns: 1fr; }
  .story__media, .story__text { min-height: 340px; }
  .story--reverse .story__media { order: 0; }
  .story--reverse .story__text { order: 0; }
  .hero__quote { font-size: 30px; }
  .footer__legal { height: auto; padding: 16px 0; }
  .footer__legal-inner { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 560px) {
  .topnav__row { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .topnav__side { justify-content: center; }
  .logo { height: 56px; }
  .logo__mark { height: 56px; width: 32px; }
  .logo__word { height: 22px; width: 276px; }
  .hero__eyebrow { font-size: 20px; }
  .hero__quote { font-size: 24px; }
  .story__heading { font-size: 24px; line-height: 28px; }
}
