/*
Theme Name: Cascade Sample
Theme URI: https://cascadefurs.com
Description: Design sample for Cascade Fur Salon - one-page phone-first demo. Not the live website.
Author: Cascade Fur Salon design sample
Version: 1.0.13
Requires at least: 6.0
Requires PHP: 7.4
*/

html, body { margin: 0; padding: 0; }
body {
  background: #f7f2e9;
  color: #262a22;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }

/* ---- Design-sample banner (distinguishes demo from live site) ---- */
.gx-samplebar {
  background: #ec5f2a; color: #fff; text-align: center;
  font-size: 13px; font-weight: 600; letter-spacing: .4px;
  padding: 8px 14px;
}
.gx-samplebar a { color: #fff; }

/* ---- Giroux-style page ---- */
.gx {
  --gx-cream: #f7f2e9;
  --gx-green: #2e3a2b;
  --gx-green-2: #25301f;
  --gx-orange: #ec5f2a;
  --gx-peach: #f6d9c8;
  --gx-ink: #262a22;
  --gx-serif: Georgia, 'Times New Roman', serif;
  background: var(--gx-cream);
  color: var(--gx-ink);
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 14px 90px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

/* Top bar */
.gx-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.gx-topbar-links {
  display: flex; gap: 18px; background: var(--gx-green); border-radius: 999px; padding: 10px 20px;
}
.gx-topbar-links a { color: #fff; text-decoration: none; font-size: 15px; }
.gx-topbar-links a:hover { text-decoration: underline; }
.gx-wordmark {
  font-family: var(--gx-serif); letter-spacing: 3px; font-size: 17px; color: var(--gx-ink); text-align: center; white-space: nowrap;
}
.gx-slash { color: var(--gx-orange); font-family: var(--gx-serif); padding: 0 2px; }
.gx-topbar-cta { display: flex; align-items: center; gap: 10px; }
.gx-arrowbtn {
  width: 44px; height: 44px; border-radius: 8px; background: var(--gx-orange); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 20px; text-decoration: none;
}
.gx-pill {
  background: #fff; color: var(--gx-ink); border-radius: 999px; padding: 11px 18px; font-weight: 600;
  font-size: 15px; text-decoration: none; border: 1px solid rgba(0,0,0,.06);
}
.gx-phone { color: var(--gx-ink); font-weight: 600; text-decoration: none; font-size: 15px; }
@media (max-width: 700px) {
  .gx-phone { display: none; }
  .gx-topbar { justify-content: center; }
  .gx-topbar-links { order: 3; width: 100%; justify-content: center; }
}

/* Hero carousel */
.gx-hero { position: relative; border-radius: 14px; overflow: hidden; background: var(--gx-green-2); }
.gx-hero-track { display: flex; transition: transform .5s ease; }
.gx-hero-slide { min-width: 100%; height: 560px; }
.gx-hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.gx-hero-overlay {
  position: absolute; inset: 0 0 46px 0; background: rgba(37,48,31,.55);
  display: flex; flex-direction: column; justify-content: space-between; padding: 22px 26px;
}
.gx-ribbon {
  align-self: flex-start; background: var(--gx-orange); color: #fff; font-size: 14px; font-weight: 600;
  border-radius: 999px; padding: 8px 16px; margin: 0;
}
.gx-hero-title {
  font-family: var(--gx-serif); color: #fff; font-weight: 400; font-size: 56px; line-height: 1.08; margin: auto 0;
  text-align: center; align-self: center;
}
.gx-hero-title em { font-style: italic; }
.gx-hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.gx-hero-intro { color: #fff; font-family: var(--gx-serif); font-size: 18px; line-height: 1.45; max-width: 46%; margin: 0; }
.gx-hero-cards { display: flex; gap: 12px; }
.gx-card { border-radius: 10px; padding: 16px 20px; text-decoration: none; min-width: 200px; display: block; }
.gx-card-label { display: block; font-size: 12px; letter-spacing: 1.5px; margin-bottom: 6px; }
.gx-card-value { display: block; font-size: 18px; font-weight: 600; line-height: 1.3; }
.gx-card-call { background: var(--gx-orange); color: #fff; }
.gx-card-visit { background: var(--gx-green-2); color: #fff; border: 1px solid rgba(255,255,255,.15); }
.gx-hero-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  background: rgba(20,25,17,.45); border: 1px solid rgba(247,242,233,.5); color: #f7f2e9; font-size: 22px;
  display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2;
}
.gx-hero-btn.left { left: 16px; }
.gx-hero-btn.right { right: 16px; }
.gx-hero-dots { position: absolute; top: 18px; right: 16px; display: flex; gap: 8px; z-index: 2; }
.gx-hero-dot { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(247,242,233,.7); background: rgba(247,242,233,.35); cursor: pointer; padding: 0; }
.gx-hero-dot.on { background: var(--gx-orange); }
.gx-hero-bar {
  position: absolute; bottom: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 16px; background: rgba(37,48,31,.85); z-index: 2;
}
.gx-hero-status { color: #d8d2c4; font-size: 13px; }
.gx-hero-toggle { background: none; border: 1px solid rgba(247,242,233,.5); color: #f7f2e9; border-radius: 6px; padding: 8px 18px; font-size: 14px; cursor: pointer; min-height: 40px; }
@media (max-width: 700px) {
  .gx-hero-slide { height: 700px; }
  .gx-hero-title { font-size: 36px; }
  .gx-ribbon { font-size: 12px; max-width: 78%; }
  .gx-hero-btn { display: none; }
  /* Dots get their own clear spot: centered in the dark bottom bar, away from the ribbon */
  .gx-hero-dots { top: auto; bottom: 17px; right: auto; left: 50%; transform: translateX(-50%); z-index: 3; }
  .gx-hero-status { display: none; }
  .gx-hero-bottom { flex-direction: column; align-items: stretch; }
  .gx-hero-intro { max-width: 100%; font-size: 16px; }
  .gx-hero-cards { flex-direction: column; }
  .gx-card { min-width: 0; }
}
@media (max-width: 480px) {
  .gx-hero-track { position: absolute; inset: 0 0 46px 0; }
  .gx-hero-slide { height: 100%; }
  .gx-hero-overlay { position: relative; inset: auto; padding: 16px 16px 24px; margin-bottom: 46px; min-height: 560px; }
  .gx-hero-title { font-size: 30px; }
  .gx-ribbon { font-size: 11px; }
}

/* Trust line */
.gx-trust { text-align: center; color: #6d6a5e; font-size: 15px; letter-spacing: .5px; margin: 0; }
.gx-trust span { color: var(--gx-orange); padding: 0 8px; }

/* Statement */
.gx-statement {
  font-family: var(--gx-serif); font-weight: 400; font-size: 34px; line-height: 1.3; text-align: center;
  max-width: 760px; margin: 0 auto;
}
.gx-hl { background: var(--gx-peach); font-style: italic; padding: 0 4px; }
@media (max-width: 700px) { .gx-statement { font-size: 26px; } }

/* Services grid */
.gx-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gx-service {
  background: #fff; border: 1px solid rgba(38,42,34,.08); border-radius: 12px; padding: 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.gx-service-n { color: #8a8676; font-size: 14px; letter-spacing: 1px; }
.gx-service h4 { font-family: var(--gx-serif); font-weight: 400; font-size: 23px; margin: 0; }
.gx-service p { font-size: 15px; line-height: 1.5; color: #4c4a40; margin: 0; flex: 1; }
.gx-service-cta { color: var(--gx-orange); font-weight: 600; font-size: 15px; text-decoration: none; }
.gx-service-cta:hover { text-decoration: underline; }
.gx-service:last-child { grid-column: 1 / -1; }
@media (max-width: 800px) { .gx-services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gx-services { grid-template-columns: 1fr; } }

/* FAQ rows */
.gx-faq { display: flex; flex-direction: column; gap: 10px; }
.gx-faq-item { background: #fff; border: 1px solid rgba(38,42,34,.08); border-radius: 12px; padding: 18px 22px; }
.gx-faq-item h4 { font-family: var(--gx-serif); font-weight: 400; font-size: 19px; margin: 0 0 6px; }
.gx-faq-item h4 .gx-faq-n { color: var(--gx-orange); margin-right: 10px; font-size: 15px; }
.gx-faq-item p { font-size: 15px; line-height: 1.55; color: #4c4a40; margin: 0; }
.gx-faq-note { font-size: 13px; color: #8a8676; margin: 6px 0 0; font-style: italic; }

/* Section heading */
.gx-section-h {
  font-family: var(--gx-serif); font-weight: 400; font-size: 30px; text-align: center; margin: 0;
}

/* Visit panel */
.gx-visit { background: var(--gx-green); color: #fff; border-radius: 14px; padding: 34px 28px; }
.gx-visit h3 { font-family: var(--gx-serif); font-weight: 400; font-size: 32px; text-align: center; margin: 0 0 24px; }
.gx-visit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 26px; }
.gx-visit-label { font-size: 12px; letter-spacing: 1.5px; color: #b9c2ae; margin-bottom: 8px; }
.gx-visit p { margin: 0; line-height: 1.5; font-size: 16px; }
.gx-visit a { color: #fff; font-weight: 600; }
.gx-visit-hours { color: #d8d2c4; font-style: italic; }
.gx-visit-actions { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; }
.gx-pill-light { background: #fff; padding: 14px 26px; }
.gx-visit a.gx-pill-light { color: var(--gx-ink); }
@media (max-width: 700px) { .gx-visit-grid { grid-template-columns: 1fr; } }

/* Footer note */
.gx-foot { text-align: center; color: #8a8676; font-size: 13px; margin: 0; line-height: 1.6; }

/* Mobile bottom bar: sticky on phones, static strip on desktop */
.gx-bottombar {
  display: flex; background: var(--gx-green-2); border-radius: 12px; overflow: hidden;
}
.gx-bottombar a {
  flex: 1; text-align: center; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 16px 0; border-right: 1px solid rgba(255,255,255,.12);
}
.gx-bottombar a:last-child { border-right: none; }
.gx-bottombar a:hover { background: var(--gx-orange); }
@media (max-width: 700px) {
  .gx-bottombar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gx-hero-track { transition: none; }
}

/* ---- Coats catalog page (design sample) ---- */
.gx-coats-intro { font-size: 16px; line-height: 1.55; color: #4c4a40; max-width: 640px; margin: 0 0 22px; }
.gx-coats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
.gx-coat { background: #fff; border: 1px solid rgba(38,42,34,.08); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.gx-coat-photo { aspect-ratio: 4 / 3; background: #efe9dc; }
.gx-coat-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gx-coat-body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gx-coat-ref { font-family: var(--gx-serif); font-size: 20px; }
.gx-coat-field { font-size: 14px; color: #4c4a40; margin: 0; }
.gx-coat-field span { color: #8a8676; }
.gx-coat-price { font-size: 15px; font-weight: 600; margin: 0; color: var(--gx-ink); }
.gx-coat-price em { font-style: normal; font-weight: 400; color: #8a8676; font-size: 13px; }
.gx-coat-cta { display: inline-block; margin-top: auto; background: var(--gx-green); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; text-align: center; padding: 11px 16px; border-radius: 999px; }
.gx-coat-cta:hover { background: var(--gx-green-2); }
.gx-coats-note { font-size: 14px; line-height: 1.55; color: #4c4a40; background: var(--gx-peach); border-radius: 12px; padding: 14px 18px; margin: 0 0 26px; }
.gx-service-cta2 { display: inline-block; margin-top: 6px; }
@media (max-width: 800px) { .gx-coats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gx-coats { grid-template-columns: 1fr; } }

/* Full garment review: preserve every part of each supplied photo. */
.gx-coat-photo { aspect-ratio: 3 / 4; }
.gx-coat-photo img { object-fit: contain; object-position: center; }
.gx-hero { display: flex; flex-direction: column; }
.gx-hero-overlay { position: relative; inset: auto; order: -1; background: var(--gx-green-2); gap: 22px; }
.gx-hero-track { width: 100%; }
.gx-hero-slide { position: relative; }
.gx-hero-slide img { object-fit: contain; object-position: center; height: calc(100% - 40px); }
.gx-photo-caption { height:40px; margin:0; padding:8px 45px; text-align:center; background:#efe9dc; color:#243523; font-size:15px; }

.gx-hero-track { position:relative; inset:auto; flex-shrink:0; }
.gx-hero-slide { height:560px; flex-shrink:0; }
.gx-hero-overlay { min-height:0; margin-bottom:0; }
.gx-hero-bar { position:relative; flex-shrink:0; min-height:64px; }
@media (max-width:700px) { .gx-hero-slide { height:520px; } .gx-photo-caption { font-size:14px; padding:8px 6px; } }

/* Keep garment cards stable while photographs load. */
.gx-coat-photo { position:relative; overflow:hidden; }
.gx-coat-photo img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }

/* Isolate moving photos so focus cannot horizontally scroll the whole hero. */
.gx-hero { overflow:clip; }
.gx-hero-viewport { width:100%; min-width:0; overflow:clip; position:relative; }
.gx-hero-track { width:100%; min-width:0; max-width:100%; }

/* Paint only the active photograph. No translated offscreen image layers. */
.gx-hero-track { display:block; transform:none !important; transition:none; }
.gx-hero-slide { width:100%; min-width:0; }
.gx-hero-slide[hidden] { display:none !important; }

@media(max-width:700px){.gx-photo-viewer{height:520px !important;}}
