/* Ready-to-deploy storefront + screenshot gallery */
@media (min-width: 1181px) {
  .topbar .nav-links { gap: 18px !important; font-size: 15px !important; }
  .topbar .nav-links a,
  .topbar .contact-link { transform: scale(1.02) !important; }
}

.nav-links a.rtd-nav-active { color: #8d6508 !important; }

.rtd-section {
  padding: 88px 0;
  background: #fff;
  border-bottom: 1px solid #e8eef6;
}
.rtd-section.rtd-soft { background: #fbfaf7; }
.rtd-section-head {
  max-width: 1040px;
  margin: 0 auto 40px;
  text-align: center;
}
.rtd-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #8d6508;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.rtd-section-head h2,
.rtd-page-hero h1 {
  margin: 0;
  color: #000;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 600;
}
.rtd-section-head p {
  max-width: 820px;
  margin: 18px auto 0;
  color: #1c2a40;
  font-size: 19px;
  line-height: 1.62;
}

.rtd-product-card {
  display: grid;
  grid-template-columns: minmax(320px, .78fr) minmax(0, 1.35fr);
  gap: 34px;
  align-items: stretch;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(145deg, #fffdf8 0%, #f8f3e6 100%);
  border: 1px solid #e3d3a5;
  box-shadow: 0 20px 50px rgba(91, 72, 24, .12);
  overflow: hidden;
}
.rtd-product-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 18px 12px 18px 8px;
  color: #18202b;
}
.rtd-product-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.rtd-status,
.rtd-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.rtd-status { background: linear-gradient(180deg, #fff9e4 0%, #f0c451 100%); color: #000; border: 1px solid #d9a72b; }
.rtd-chip { background: #fff; color: #3d3422; border: 1px solid #d8c89d; }
.rtd-product-copy h3 {
  margin: 0;
  color: #111827;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 650;
}
.rtd-product-subtitle {
  margin: 8px 0 0;
  color: #8d6508;
  font-size: 18px;
  font-weight: 700;
}
.rtd-product-copy > p {
  margin: 20px 0 0;
  color: #334155;
  font-size: 17px;
  line-height: 1.62;
}
.rtd-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.rtd-feature-list li {
  position: relative;
  padding-left: 20px;
  color: #1f2937;
  font-size: 14.5px;
  line-height: 1.4;
}
.rtd-feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #b9870d;
  font-weight: 900;
}
.rtd-purchase {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #dfd1ac;
}
.rtd-price-label {
  display: block;
  color: #756641;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.rtd-price {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 3px;
}
.rtd-price strong { color: #111827; font-size: 34px; line-height: 1; letter-spacing: -.04em; }
.rtd-price span { color: #667085; font-size: 14px; font-weight: 600; }
.rtd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.rtd-buy-button,
.rtd-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.rtd-buy-button { background: linear-gradient(180deg, #fff9e4 0%, #f0c451 100%); color: #000; border: 1px solid #d9a72b; }
.rtd-buy-button:hover { transform: translateY(-1px); background: #e6b63b; box-shadow: 0 12px 30px rgba(217,167,43,.24); }
.rtd-secondary-button { background: #fff; color: #1f2937; border: 1px solid #c8b67f; }
.rtd-secondary-button:hover { transform: translateY(-1px); border-color: #8d6508; background: #fffaf0; }
.rtd-checkout-note { margin: 10px 0 0 !important; color: #6b7280 !important; font-size: 12px !important; }

.rtd-gallery {
  min-width: 0;
  padding: 12px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid #dfd4b8;
  box-shadow: 0 14px 34px rgba(75, 58, 18, .08);
}
.rtd-main-shot,
.rtd-thumb {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: #fff;
  border: 0;
}
.rtd-main-shot { border-radius: 10px; border: 1px solid #e5e7eb; box-shadow: 0 12px 28px rgba(17,24,39,.10); }
.rtd-main-shot img { width: 100%; height: auto; object-fit: contain !important; }
.rtd-thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.rtd-thumb {
  position: relative;
  border-radius: 8px;
  border: 1px solid #d8c9a6;
  aspect-ratio: 16 / 9;
}
.rtd-thumb img { width: 100%; height: 100%; object-fit: cover !important; object-position: top center; }
.rtd-shot-label {
  position: absolute;
  left: 7px;
  bottom: 7px;
  padding: 5px 7px;
  border-radius: 5px;
  background: rgba(17,24,39,.92);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
}
.rtd-gallery-hint {
  margin: 9px 2px 0;
  color: #667085;
  font-size: 12px;
  text-align: center;
}

.rtd-hero-buy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.rtd-hero-price { font-weight: 800; color: #1f2937; font-size: 18px; }
.rtd-hero-buy-row .rtd-buy-button { min-height: 48px; }

.rtd-auto-showcase .rtd-product-card { max-width: 1500px; margin: 0 auto; }
.rtd-auto-showcase .rtd-section-head { margin-bottom: 34px; }

.rtd-custom-intro {
  display: inline-block;
  margin-bottom: 10px;
  color: #8d6508;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rtd-page-hero {
  padding: 90px 0 74px;
  text-align: center;
  background-color: #fbfaf7;
  background-image: url('section-background-pattern.webp');
  background-size: cover;
  border-bottom: 1px solid #e8eef6;
}
.rtd-page-hero .rtd-kicker { margin-bottom: 16px; }
.rtd-page-hero p {
  max-width: 850px;
  margin: 22px auto 0;
  color: #172239;
  font-size: 20px;
  line-height: 1.62;
}
.rtd-page-hero-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:28px; }
.rtd-page-hero-actions .rtd-secondary-button { color:#071a3d; border-color:#b7c5d8; background:#fff; }

.rtd-included-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin-top: 34px;
}
.rtd-included-card {
  padding: 24px;
  border: 1px solid #dde5f0;
  border-radius: 13px;
  background: #fff;
}
.rtd-included-card small { color:#8d6508; font-weight:800; text-transform:uppercase; letter-spacing:.09em; }
.rtd-included-card h3 { margin:8px 0 8px; font-size:21px; line-height:1.2; }
.rtd-included-card p { margin:0; color:#26354d; font-size:15px; line-height:1.55; }

.rtd-final-card {
  display:grid;
  grid-template-columns: 1fr auto;
  gap:28px;
  align-items:center;
  padding:38px 42px;
  border-radius:16px;
  background: linear-gradient(145deg, #fffdf8 0%, #f8f3e6 100%);
  border: 1px solid #e3d3a5;
  box-shadow: 0 16px 38px rgba(91,72,24,.10);
  color:#1f2937;
}
.rtd-final-card h2 { margin:0; color:#111827; font-size:clamp(30px,3vw,46px); line-height:1.08; letter-spacing:-.04em; }
.rtd-final-card p { margin:12px 0 0; max-width:800px; color:#475569; font-size:17px; }
.rtd-final-actions { display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end; }

.rtd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(3,9,20,.88);
  backdrop-filter: blur(5px);
}
.rtd-lightbox.is-open { display: flex; }
.rtd-lightbox-inner { position: relative; width: min(96vw, 1600px); max-height: 92vh; }
.rtd-lightbox img { width:100%; height:auto; max-height:88vh; object-fit:contain !important; border-radius:10px; box-shadow:0 30px 80px rgba(0,0,0,.45); background:#fff; }
.rtd-lightbox-close {
  position:absolute;
  top:-16px;
  right:-16px;
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  background:#fff;
  color:#000;
  font-size:25px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 8px 24px rgba(0,0,0,.25);
}

@media (max-width: 980px) {
  .rtd-product-card { grid-template-columns: 1fr; }
  .rtd-product-copy { padding: 8px 4px 0; }
  .rtd-included-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rtd-final-card { grid-template-columns: 1fr; }
  .rtd-final-actions { justify-content:flex-start; }
}
@media (max-width: 760px) {
  .rtd-section { padding: 58px 0; }
  .rtd-product-card { padding: 16px; border-radius: 14px; gap: 20px; }
  .rtd-feature-list { grid-template-columns: 1fr; }
  .rtd-thumb-grid { grid-template-columns: 1fr; }
  .rtd-thumb { aspect-ratio: 16/8.5; }
  .rtd-price strong { font-size: 30px; }
  .rtd-actions > * { width: 100%; }
  .rtd-page-hero { padding: 58px 0 50px; }
  .rtd-page-hero p { font-size: 18px; }
  .rtd-included-grid { grid-template-columns: 1fr; }
  .rtd-final-card { padding: 28px 22px; }
  .rtd-final-actions > * { width:100%; }
  .rtd-lightbox { padding: 14px; }
  .rtd-lightbox-close { top:8px; right:8px; }
}

/* Ready Systems page polish: keep the hero centered, compact, and aligned with the site */
.rtd-page-hero {
  padding: 68px 0 62px;
  background-position: center center;
}

.rtd-page-hero h1 {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}

.rtd-page-hero p {
  max-width: 900px;
  margin: 18px auto 0;
}

.rtd-page-hero-actions {
  margin-top: 24px;
}

.rtd-page-hero + .rtd-section {
  padding-top: 64px;
}

.rtd-page-hero + .rtd-section .rtd-section-head {
  margin-bottom: 30px;
}

@media (max-width: 980px) {
  .rtd-page-hero {
    padding: 58px 0 52px;
  }

  .rtd-page-hero h1 {
    max-width: 880px;
  }

  .rtd-page-hero + .rtd-section {
    padding-top: 54px;
  }
}

@media (max-width: 760px) {
  .rtd-page-hero {
    padding: 46px 0 44px;
  }

  .rtd-page-hero h1 {
    max-width: 100%;
    font-size: clamp(36px, 11vw, 48px);
    line-height: 1.06;
  }

  .rtd-page-hero p {
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.55;
  }

  .rtd-page-hero-actions {
    margin-top: 22px;
  }

  .rtd-page-hero-actions > * {
    width: 100%;
  }

  .rtd-page-hero + .rtd-section {
    padding-top: 46px;
  }
}
