/* =========================================================
   GreenMango integration layer for ThemeServiceListingV1.
   style.css is the untouched design; everything the dynamic
   markup needs on top of it lives here.
   ========================================================= */

/* ---------- Logo text fallback (when BusinessLogo.jpg is missing) ---------- */
.rn-logo-text {
  font-family: var(--rn-serif);
  font-size: 24px;
  line-height: 1.1;
  color: var(--rn-navy-ink);
}

.rn-footer-logo .rn-logo-text {
  font-size: 20px;
}

/* ---------- Hero: GM_Assets banners as stacked slides ---------- */
.rn-hero-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility 0s linear .9s;
}

.rn-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity .9s ease, visibility 0s;
}

.rn-hero-sub {
  max-width: 640px;
  margin: 14px auto 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

.rn-hero-sub p {
  margin: 0;
}

.rn-hero-cta {
  margin-top: 22px;
  pointer-events: auto;
}

/* ---------- Product cards: CMS description + image ---------- */
.rn-prod .rn-bag img {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: contain;
}

.rn-prod-desc {
  font-size: 14px;
  line-height: 1.65;
}

.rn-prod-desc p {
  margin: 0 0 18px;
}

.rn-prod-desc h2,
.rn-prod-desc h3,
.rn-prod-desc h4,
.rn-prod-desc h5 {
  font-family: var(--rn-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  margin: 4px 0 10px;
}

.rn-prod-desc ul {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 20px;
}

.rn-prod-desc ul li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  line-height: 1.45;
}

.rn-prod-desc ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 11px;
  color: var(--rn-gold-light);
}

.rn-prod-desc a {
  color: var(--rn-gold-light);
  text-decoration: underline;
}

@media (max-width: 575.98px) {
  .rn-prod-desc ul {
    grid-template-columns: 1fr;
  }
}

/* ---------- About: business.About fallback text ---------- */
.rn-cms-text p {
  margin: 0 0 14px;
}

/* ---------- Testimonial avatar photo ---------- */
.rn-avatar {
  position: relative;
  overflow: hidden;
}

.rn-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rn-quote blockquote p {
  margin: 0;
}

/* ---------- Enquiry form (AJAX-loaded) ---------- */
.rn-form-loading {
  padding: 30px 0;
  color: var(--rn-muted);
  font-size: 14px;
}

.rn-enq-form .form-control.is-invalid,
.rn-enq-form .form-select.is-invalid {
  border-color: #c0392b;
  background-image: none;
}

.rn-enq-form [data-rn-submit][disabled] {
  opacity: .7;
  cursor: progress;
}

.rn-form-status {
  margin: 14px 0 0;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13.5px;
}

.rn-form-status.is-ok {
  background: #eaf7ef;
  color: #1d7a43;
}

.rn-form-status.is-err {
  background: #fdecea;
  color: #b03a2e;
}

/* ---------- Footer: About text in the brand column ---------- */
.rn-footer-about {
  font-size: 13.5px;
}

.rn-footer-about p:last-child {
  margin-bottom: 0;
}

/* ---------- Inner pages (PageView / Contact) ---------- */
.rn-page-hero {
  position: relative;
  padding: 190px 0 130px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(224, 172, 69, .14), rgba(224, 172, 69, 0) 70%),
    linear-gradient(180deg, #ffffff 0%, var(--rn-cream-2) 100%);
  overflow: hidden;
}

.rn-page-hero .rn-title {
  margin: 10px 0 14px;
}

.rn-page-hero .rn-hero-wave {
  height: 60px;
}

.rn-crumbs {
  display: inline-flex;
  gap: 10px;
  font-size: 13px;
  color: var(--rn-muted);
}

.rn-crumbs a {
  color: var(--rn-gold-dark);
  font-weight: 600;
}

.rn-inner-contact {
  padding-top: 40px;
}

.rn-cms-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.75;
  color: var(--rn-text);
}

.rn-cms-content h1,
.rn-cms-content h2,
.rn-cms-content h3 {
  font-family: var(--rn-serif);
  font-weight: 400;
  color: var(--rn-navy-ink);
  margin: 1.6em 0 .6em;
}

.rn-cms-content h4,
.rn-cms-content h5 {
  font-weight: 700;
  color: var(--rn-navy-ink);
  margin: 1.4em 0 .5em;
}

.rn-cms-content a {
  color: var(--rn-gold-dark);
  text-decoration: underline;
}

.rn-cms-content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.rn-cms-content table {
  width: 100%;
  margin: 1em 0;
  border-collapse: collapse;
}

.rn-cms-content th,
.rn-cms-content td {
  padding: 10px 12px;
  border: 1px solid var(--rn-line);
}

@media (max-width: 767.98px) {
  .rn-page-hero {
    padding: 140px 0 90px;
  }
}
