/* rolaluxury.com section-based homepage */

:root {
  --rl-green: #49c167;
  --rl-text: #1a1a1a;
  --rl-sub: #999;
  --rl-border: #f0f0f0;
}

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

body.rl-home {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #fff;
  color: var(--rl-text);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---- Header ---- */
.rl-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--rl-border);
}

.rl-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rl-header-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 52%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--rl-text);
  text-align: center;
  pointer-events: auto;
}

.header-brand-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #eee;
}

.header-brand-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.rl-header-left, .rl-header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rl-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--rl-text);
  background: none;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  padding: 5px 14px;
  cursor: pointer;
}

.rl-header-btn svg { width: 16px; height: 16px; stroke: #333; }

.rl-btn-login {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 5px 18px;
  font-size: 14px;
  cursor: pointer;
}

/* ---- Site stats bar ---- */
.site-stats-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 10px 12px 12px;
  font-size: 13px;
  color: #888;
  text-align: center;
}

.site-stats-bar strong {
  color: #333;
  font-weight: 600;
}

/* ---- Main content ---- */
.rl-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 100px;
}

/* Top poster: left 2/3 + right 1/3 (2 stacked) */
.rl-poster-hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0;
  margin: 0 -16px 12px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.rl-poster-hero .rl-poster-cell-main {
  grid-column: 1;
  grid-row: 1 / 3;
}

.rl-poster-hero .rl-poster-cell-side:nth-of-type(2) {
  grid-column: 2;
  grid-row: 1;
}

.rl-poster-hero .rl-poster-cell-side:nth-of-type(3) {
  grid-column: 2;
  grid-row: 2;
}

.rl-home-promo {
  display: block;
  box-sizing: border-box;
  margin: 8px 8px 10px;
  padding: 10px 12px;
  border: 2px solid #0a2a6b;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.4;
  color: #e01010;
  text-shadow: 0 0 8px rgba(255, 40, 40, 0.45);
  animation: rl-promo-festive 1.15s ease-in-out infinite;
}

.rl-home-promo:hover {
  background: rgba(10, 42, 107, 0.06);
}

@media (min-width: 700px) {
  .rl-home-promo {
    font-size: 18px;
    margin: 10px 12px 12px;
    padding: 12px 16px;
  }
}

@keyframes rl-promo-festive {
  0%,
  100% {
    transform: scale(1);
    color: #e01010;
    text-shadow: 0 0 6px rgba(255, 30, 30, 0.35);
  }
  40% {
    transform: scale(1.05);
    color: #ff2a2a;
    text-shadow: 0 0 16px rgba(255, 60, 60, 0.7), 0 0 28px rgba(255, 180, 40, 0.35);
  }
  70% {
    transform: scale(1.02);
    color: #ff4d1a;
    text-shadow: 0 0 12px rgba(255, 80, 20, 0.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rl-home-promo {
    animation: none;
  }
}

.rl-poster-cell {
  position: relative;
  display: block;
  overflow: hidden;
}

.rl-poster-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rl-poster-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.08);
}

.rl-poster-title {
  font-size: clamp(14px, 3.5vw, 28px);
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  letter-spacing: 0.02em;
}

.rl-poster-cell-main .rl-poster-title {
  font-size: clamp(18px, 4.5vw, 36px);
}

.rl-poster-cta {
  margin-top: 6px;
  font-size: clamp(10px, 2vw, 14px);
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.rl-poster-paren {
  color: #7ec8ff;
}

.rl-poster-arrows {
  margin-left: 4px;
  letter-spacing: -1px;
  opacity: 0.95;
}

/* Fallback poster 2x2 grid */
.rl-poster-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}

.rl-poster-grid .rl-poster-cell {
  aspect-ratio: 1;
  border-radius: 2px;
}

/* Full-width banner */
.rl-banner-block {
  margin: 8px 0;
  line-height: 0;
}

.rl-banner-block img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Two-column slide row (legacy) */
.rl-slide-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 8px 0;
}

.rl-slide-cell {
  overflow: hidden;
  line-height: 0;
}

.rl-slide-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section photo gallery (mosaic under title) */
.rl-gallery {
  display: grid;
  gap: 4px;
  margin: 12px 0 16px;
  overflow: hidden;
}

.rl-gallery-cell {
  overflow: hidden;
  line-height: 0;
  min-height: 0;
}

.rl-gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 1 image: single lifestyle preview under section title */
.rl-gallery-1 {
  grid-template-columns: 1fr;
  aspect-ratio: 4 / 3;
}

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

/* 2 images: left large + right */
.rl-gallery-2 {
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr;
  aspect-ratio: 2 / 1;
}

.rl-gallery-2 .rl-gallery-cell:first-child {
  grid-column: 1;
  grid-row: 1;
}

.rl-gallery-2 .rl-gallery-cell:last-child {
  grid-column: 2;
  grid-row: 1;
}

/* 3+ images: left 2 stacked + right column */
.rl-gallery-3,
.rl-gallery-4,
.rl-gallery-5 {
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(6, 1fr);
  aspect-ratio: 3 / 4;
}

.rl-gallery-3 .rl-gallery-cell:nth-child(1),
.rl-gallery-4 .rl-gallery-cell:nth-child(1),
.rl-gallery-5 .rl-gallery-cell:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / 4;
}

.rl-gallery-3 .rl-gallery-cell:nth-child(2),
.rl-gallery-4 .rl-gallery-cell:nth-child(2),
.rl-gallery-5 .rl-gallery-cell:nth-child(2) {
  grid-column: 1;
  grid-row: 4 / 7;
}

.rl-gallery-3 .rl-gallery-cell:nth-child(3) {
  grid-column: 2;
  grid-row: 1 / 7;
}

.rl-gallery-4 .rl-gallery-cell:nth-child(3),
.rl-gallery-5 .rl-gallery-cell:nth-child(3) {
  grid-column: 2;
  grid-row: 1 / 3;
}

.rl-gallery-4 .rl-gallery-cell:nth-child(4),
.rl-gallery-5 .rl-gallery-cell:nth-child(4) {
  grid-column: 2;
  grid-row: 3 / 5;
}

.rl-gallery-5 .rl-gallery-cell:nth-child(5) {
  grid-column: 2;
  grid-row: 5 / 7;
}

/* 6+ fallback: 2 columns grid */
.rl-gallery-6,
.rl-gallery-7,
.rl-gallery-8 {
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: minmax(120px, auto);
  aspect-ratio: auto;
}

.rl-section-grid-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--rl-text);
  margin: 8px 0 4px;
}

.rl-section-sub-grid {
  margin-bottom: 12px;
  font-size: 16px;
}

.rl-home-divider {
  border: 0;
  border-top: 1px solid #e5e5e5;
  margin: 28px 8px 4px;
}

.rl-home-divider + .rl-section {
  margin-top: 16px;
}

/* ---- Section ---- */
.rl-section {
  margin-top: 28px;
  margin-bottom: 8px;
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

.rl-section-head {
  border-left: 4px solid #2563eb;
  padding-left: calc(10px + 2ch);
  margin-bottom: 16px;
}

.rl-section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--rl-text);
  line-height: 1.3;
  margin-bottom: 4px;
}

.rl-section-sub {
  font-size: 16px;
  color: var(--rl-sub);
  margin-bottom: 0;
}

/* ---- Category grid ---- */
.rl-grid {
  display: flex;
  flex-wrap: wrap;
}

.rl-grid-5 .rl-grid-item { width: 20%; }
.rl-grid-4 .rl-grid-item { width: 25%; }

.rl-grid-item {
  padding: 8px 6px 14px;
  text-align: center;
  cursor: pointer;
}

.rl-style-square .rl-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rl-grid-item:hover .rl-grid-label { color: var(--rl-green); }

.rl-grid-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 6px;
}

/* Square style (product photos, brand logos) — fixed cell size */
.rl-style-square .rl-grid-img-wrap {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.rl-style-square .rl-grid-img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

/* Sports sneakers — white tiles, contain, refined padding (no gray/black tile borders) */
.rl-style-square .rl-grid-item[data-slug^="sports-"] .rl-grid-img-wrap {
  padding: 14%;
  box-sizing: border-box;
  background: #ffffff;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 6px;
}
.rl-style-square .rl-grid-item[data-slug^="sports-"] .rl-grid-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #ffffff !important;
  transform: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Luxury bag section: source PNGs with extra padding render smaller */
.rl-style-square .rl-grid-item[data-slug="91129630"] .rl-grid-img,
.rl-style-square .rl-grid-item[data-slug="91129625"] .rl-grid-img,
.rl-style-square .rl-grid-item[data-slug="91129620"] .rl-grid-img,
.rl-style-square .rl-grid-item[data-slug="91129619"] .rl-grid-img,
.rl-style-square .rl-grid-item[data-slug="91129618"] .rl-grid-img,
.rl-style-square .rl-grid-item[data-slug="91129617"] .rl-grid-img {
  transform: scale(1.5);
}

.rl-style-square .rl-grid-item[data-slug="91129630"] .rl-grid-img {
  transform: scale(1.65);
}

.rl-style-square .rl-grid-item[data-slug="91129627"] .rl-grid-img,
.rl-style-square .rl-grid-item[data-slug="91129621"] .rl-grid-img,
.rl-style-square .rl-grid-item[data-slug="91129626"] .rl-grid-img {
  transform: scale(1.8);
}

/* Circle style (watches) */
.rl-style-circle .rl-grid-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #fff;
}

.rl-grid-label {
  font-size: 13px;
  color: #666;
  line-height: 1.3;
  word-break: break-word;
  padding: 0 2px;
}

/* ---- WhatsApp contact bar (page footer) ---- */
/* SEO internal links — keep in HTML for crawlers, hide from visitors */
.home-seo-albums {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.home-seo-albums-title {
  margin: 0;
}
.home-seo-albums ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-seo-albums a {
  color: inherit;
  text-decoration: none;
}
.home-seo-sitemap {
  margin: 0;
  font-size: inherit;
}
.home-seo-sitemap a {
  color: inherit;
}

.rl-whatsapp-bar {
  display: flex;
  justify-content: center;
  padding: 36px 16px 24px;
  margin-top: 16px;
}

.rl-whatsapp-bar-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 520px;
  min-height: 52px;
  background: var(--rl-green);
  color: #fff;
  padding: 14px 28px;
  border-radius: 26px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 12px rgba(73, 193, 103, 0.35);
}

.rl-whatsapp-bar-link svg {
  width: 26px;
  height: 26px;
  fill: #fff;
  flex-shrink: 0;
}

/* ---- WhatsApp FAB ---- */
.rl-whatsapp {
  position: fixed;
  bottom: calc(20px + 5rem);
  right: 20px;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  background: var(--rl-green);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
}

.rl-whatsapp svg { width: 28px; height: 28px; fill: #fff; }

.rl-back-top {
  position: fixed;
  bottom: calc(20px + 5rem);
  right: 88px;
  z-index: 300;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e8e8e8;
  box-shadow: 0 1px 6px rgba(0,0,0,.1);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}

/* ---- Category popup overlay (shell + tiles in cat-drawer.css) ---- */
.rl-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 400;
}
.rl-drawer-overlay.open { display: block; }

.rl-search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 400;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}
.rl-search-overlay.open { display: flex; }

.rl-search-box {
  background: #fff;
  width: 90%;
  max-width: 480px;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
}

.rl-search-box input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
  outline: none;
}

/* ---- Responsive: mobile keeps 5 columns like rolaluxury ---- */
@media (max-width: 900px) {
  .rl-grid-5 .rl-grid-item { width: 20%; }
  .rl-style-circle .rl-grid-img { width: 100px; height: 100px; }
}

@media (max-width: 600px) {
  .rl-grid-5 .rl-grid-item,
  .rl-grid-4 .rl-grid-item { width: 20%; }
  .rl-grid-item { padding: 6px 2px 10px; }
  .rl-section-title { font-size: 24px; }
  .rl-section-sub { font-size: 15px; }
  .rl-section-head { padding-left: calc(8px + 2ch); }
  .rl-style-circle .rl-grid-img {
    width: 62px;
    height: 62px;
  }
  .rl-style-square .rl-grid-img-wrap {
    max-width: none;
  }
  .rl-grid-label {
    font-size: 11px;
    line-height: 1.2;
  }
  .rl-main { padding: 0 8px 100px; }
  .rl-poster-hero { margin-left: -8px; margin-right: -8px; }
  .rl-header-btn span { display: none; }
  .rl-header-btn.rl-header-btn--category span { display: inline; }
  .rl-header-btn.rl-header-btn--category {
    padding: 5px 12px;
    gap: 6px;
  }
  .rl-header-btn:not(.rl-header-btn--category) {
    padding: 5px 10px;
    border-radius: 50%;
  }
  .rl-header-center {
    max-width: 36%;
    font-size: 13px;
  }
  .rl-back-top { right: 88px; }
}

@media (max-width: 400px) {
  .rl-grid-5 .rl-grid-item,
  .rl-grid-4 .rl-grid-item { width: 20%; }
  .rl-style-circle .rl-grid-img {
    width: 56px;
    height: 56px;
  }
  .rl-grid-label { font-size: 10px; }
}

/* == HEITI-FLEET 2026-09-22: system sans (heiti) everywhere == */
:root:root{--sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei","Heiti SC",sans-serif!important;--display:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei","Heiti SC",sans-serif!important;--serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei","Heiti SC",sans-serif!important}
:root:root body{font-family:var(--sans)!important}
:root:root body h1,:root:root body h2,:root:root body h3,:root:root body h4,:root:root body h5,:root:root body h6{font-family:var(--sans)!important}
:root:root body p,:root:root body a,:root:root body li,:root:root body button,:root:root body input,:root:root body select,:root:root body textarea{font-family:var(--sans)!important}
