/* JS Shoessy Fashion Shop - homepage sections (loaded only by views/frontend/index.php) */
.jsh {
  --jsh-navy: var(--primary-color, #1f3a6b);
  --jsh-orange: #f39a1e;
  --jsh-purple: #6a3fc0;
  --jsh-ink: #1c2233;
  --jsh-muted: #5d6475;
  --jsh-cream: #fbf5ea;
  --jsh-line: #e7e2d8;
  color: var(--jsh-ink);
}
.jsh-section { padding: 72px 0; }
.jsh-section--cream { background: var(--jsh-cream); }
.jsh-section--navy { background: var(--jsh-navy); color: #fff; }
.jsh-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.jsh-head--left { margin-left: 0; text-align: left; }
.jsh-eyebrow {
  display: inline-block; margin-bottom: 10px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--jsh-orange);
}
.jsh-title { margin: 0 0 12px; font-size: 36px; line-height: 1.15; color: var(--jsh-ink); }
.jsh-section--navy .jsh-title { color: #fff; }
.jsh-lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--jsh-muted); }
.jsh-section--navy .jsh-lead { color: rgba(255, 255, 255, 0.82); }

/* Buttons */
.jsh-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.jsh-btn:hover { transform: translateY(-2px); text-decoration: none; }
.jsh-btn:focus-visible { outline: 3px solid var(--jsh-orange); outline-offset: 3px; }
.jsh-btn--solid { background: var(--jsh-orange); color: #1c1300; box-shadow: 0 8px 22px rgba(243, 154, 30, 0.35); }
.jsh-btn--solid:hover { color: #1c1300; background: #ffab33; }
.jsh-btn--navy { background: var(--jsh-navy); color: #fff; }
.jsh-btn--navy:hover { color: #fff; box-shadow: 0 8px 22px rgba(31, 58, 107, 0.3); }
.jsh-btn--ghost { border-color: currentColor; color: var(--jsh-navy); background: transparent; }
.jsh-btn--ghost:hover { background: var(--jsh-navy); color: #fff; border-color: var(--jsh-navy); }
.jsh-section--navy .jsh-btn--ghost { color: #fff; }
.jsh-section--navy .jsh-btn--ghost:hover { background: #fff; color: var(--jsh-navy); border-color: #fff; }
.jsh-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.jsh-actions--center { justify-content: center; }

/* Hero buttons (banner sits outside .jsh) */
.jsh-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.jsh-hero-actions .btn-custom { width: auto; }
.jsh-hero-actions .jsh-hero-ghost { background: transparent; border: 2px solid #fff; color: #fff; }
.jsh-hero-actions .jsh-hero-ghost:hover { background: #fff; color: #1c2233; }

/* Quick facts strip under the hero */
.jsh-strip { background: var(--jsh-ink); color: #fff; padding: 18px 0; }
.jsh-strip-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin: 0; padding: 0; list-style: none; }
.jsh-strip-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.jsh-strip-list i { color: var(--jsh-orange); }

/* Category tiles */
.jsh-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.jsh-cat {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px;
  padding: 22px; border-radius: 18px; overflow: hidden; color: #fff; text-decoration: none;
  background-size: cover; background-position: center; isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.jsh-cat::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 16, 34, 0) 30%, rgba(10, 16, 34, 0.82) 100%);
}
.jsh-cat:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(20, 28, 52, 0.22); color: #fff; text-decoration: none; }
.jsh-cat:focus-visible { outline: 3px solid var(--jsh-orange); outline-offset: 3px; }
.jsh-cat--apparel { background-color: #c2410c; background-image: linear-gradient(140deg, #f97316, #b91c1c); }
.jsh-cat--shoes { background-color: #5b2fb0; background-image: linear-gradient(140deg, #7c4ddb, #3b1d86); }
.jsh-cat--fishing { background-color: #0f6a80; background-image: linear-gradient(140deg, #14a3b8, #0b4a6f); }
.jsh-cat--gowns { background-color: #a21caf; background-image: linear-gradient(140deg, #e05699, #7a1f8f); }
.jsh-cat-icon { position: absolute; top: 22px; left: 22px; font-size: 44px; opacity: 0.92; }
.jsh-cat.has-photo .jsh-cat-icon { display: none; }
.jsh-cat-name { margin: 0 0 6px; font-size: 24px; line-height: 1.2; color: #fff; }
.jsh-cat-text { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.9); }
.jsh-cat-link { font-size: 14px; font-weight: 700; }
.jsh-cat-link i { margin-left: 6px; transition: transform 0.2s ease; }
.jsh-cat:hover .jsh-cat-link i { transform: translateX(4px); }

/* About */
.jsh-about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.jsh-about-media img { width: 100%; border-radius: 20px; aspect-ratio: 4 / 3; object-fit: cover; }
.jsh-about p { font-size: 16px; line-height: 1.7; color: var(--jsh-muted); }
.jsh-checks { margin: 18px 0 26px; padding: 0; list-style: none; }
.jsh-checks li { position: relative; padding: 6px 0 6px 30px; font-size: 16px; }
.jsh-checks li::before {
  content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; top: 7px;
  color: var(--jsh-orange); font-size: 14px;
}

/* Product cards */
.jsh-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
.jsh-tab {
  border: 1px solid var(--jsh-navy); background: transparent; color: var(--jsh-navy); border-radius: 999px;
  padding: 8px 18px; font-size: 15px; font-weight: 600; line-height: 1.2; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.jsh-tab:hover, .jsh-tab.active { background: var(--jsh-navy); color: #fff; }
.jsh-tab:focus-visible { outline: 3px solid var(--jsh-orange); outline-offset: 2px; }
.jsh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.jsh-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--jsh-line); border-radius: 16px;
  overflow: hidden; color: var(--jsh-ink); text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.jsh-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20, 28, 52, 0.14); color: var(--jsh-ink); text-decoration: none; }
.jsh-card:focus-visible { outline: 3px solid var(--jsh-orange); outline-offset: 3px; }
.jsh-card-media { aspect-ratio: 1 / 1; background: #f1eee8; }
.jsh-card--tall .jsh-card-media { aspect-ratio: 3 / 4; }
.jsh-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jsh-card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px; flex: 1; }
.jsh-card-name { font-size: 16px; font-weight: 700; line-height: 1.3; }
.jsh-card-desc { font-size: 13px; line-height: 1.45; color: var(--jsh-muted); }
.jsh-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.jsh-price { font-size: 17px; font-weight: 800; color: var(--jsh-navy); }
.jsh-price small { font-size: 12px; font-weight: 600; color: var(--jsh-muted); }
.jsh-card-cta { font-size: 13px; font-weight: 700; color: var(--jsh-orange); white-space: nowrap; }
.jsh-empty {
  max-width: 620px; margin: 0 auto; padding: 34px 28px; text-align: center; border: 2px dashed var(--jsh-line);
  border-radius: 18px; background: #fff; color: var(--jsh-muted); font-size: 16px; line-height: 1.6;
}
.jsh-empty .jsh-actions { margin-top: 18px; }

/* Rental steps */
.jsh-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0 0 40px; padding: 0; list-style: none; counter-reset: jsh-step; }
.jsh-step {
  position: relative; padding: 26px 22px 22px; border-radius: 16px; background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16); counter-increment: jsh-step;
}
.jsh-step::before {
  content: counter(jsh-step); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  margin-bottom: 14px; border-radius: 50%; background: var(--jsh-orange); color: #1c1300; font-weight: 800; font-size: 18px;
}
.jsh-step h3 { margin: 0 0 8px; font-size: 19px; color: #fff; }
.jsh-step p { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.82); }
.jsh-section--navy .jsh-card { border-color: transparent; }

/* Reasons */
.jsh-reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.jsh-reason { padding: 26px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--jsh-line); }
.jsh-reason i {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 14px;
  border-radius: 14px; background: var(--jsh-cream); color: var(--jsh-navy); font-size: 22px;
}
.jsh-reason h3 { margin: 0 0 8px; font-size: 18px; }
.jsh-reason p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--jsh-muted); }

/* FAQ */
.jsh-faq { max-width: 820px; margin: 0 auto; }
.jsh-faq details { border-bottom: 1px solid var(--jsh-line); }
.jsh-faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; cursor: pointer;
  font-size: 17px; font-weight: 700; list-style: none;
}
.jsh-faq summary::-webkit-details-marker { display: none; }
.jsh-faq summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--jsh-orange); line-height: 1; }
.jsh-faq details[open] summary::after { content: "\2212"; }
.jsh-faq summary:focus-visible { outline: 3px solid var(--jsh-orange); outline-offset: 2px; }
.jsh-faq p { margin: 0 0 18px; padding: 0 2px; font-size: 15px; line-height: 1.65; color: var(--jsh-muted); }

/* Gallery */
.jsh-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.jsh-gallery a { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1; }
.jsh-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.jsh-gallery a:hover img { transform: scale(1.05); }

/* Visit / follow */
.jsh-visit { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.jsh-contact { margin: 22px 0 0; padding: 0; list-style: none; }
.jsh-contact li { display: flex; gap: 12px; padding: 7px 0; font-size: 16px; }
.jsh-contact i { width: 20px; margin-top: 4px; color: var(--jsh-orange); text-align: center; }
.jsh-social { display: grid; gap: 14px; }
.jsh-social a {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; background: #fff;
  border: 1px solid var(--jsh-line); color: var(--jsh-ink); text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.jsh-social a:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(20, 28, 52, 0.12); color: var(--jsh-ink); text-decoration: none; }
.jsh-social a:focus-visible { outline: 3px solid var(--jsh-orange); outline-offset: 3px; }
.jsh-social .jsh-fb {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 48px; height: 48px;
  border-radius: 50%; background: #1877f2; color: #fff; font-size: 20px;
}
.jsh-social strong { display: block; font-size: 17px; }
.jsh-social span span { font-size: 14px; color: var(--jsh-muted); }

@media (max-width: 1199px) {
  .jsh-grid, .jsh-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .jsh-section { padding: 56px 0; }
  .jsh-title { font-size: 30px; }
  .jsh-cats, .jsh-steps, .jsh-reasons { grid-template-columns: repeat(2, 1fr); }
  .jsh-about, .jsh-visit { grid-template-columns: 1fr; gap: 28px; }
  .jsh-cat { min-height: 260px; }
}
@media (max-width: 575px) {
  .jsh-section { padding: 44px 0; }
  .jsh-title { font-size: 26px; }
  .jsh-cats, .jsh-steps, .jsh-reasons { grid-template-columns: 1fr; }
  .jsh-grid, .jsh-gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .jsh-cat { min-height: 220px; }
  .jsh-card-body { padding: 12px; }
  .jsh-card-foot { flex-direction: column; align-items: flex-start; }
  .jsh-strip-list { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .jsh-btn, .jsh-cat, .jsh-card, .jsh-social a, .jsh-gallery img, .jsh-cat-link i { transition: none; }
  .jsh-btn:hover, .jsh-cat:hover, .jsh-card:hover, .jsh-social a:hover { transform: none; }
}

/* About page: product lines and ways to shop */
.jsh-lines { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.jsh-line { display: flex; gap: 20px; padding: 28px 26px; border-radius: 18px; background: #fff; border: 1px solid var(--jsh-line); }
.jsh-line-icon {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 60px; height: 60px;
  border-radius: 16px; background: var(--jsh-navy); color: #fff; font-size: 24px;
}
.jsh-line h3 { margin: 0 0 6px; font-size: 21px; }
.jsh-line p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--jsh-muted); }
.jsh-line .jsh-checks { margin: 10px 0 14px; }
.jsh-line .jsh-checks li { font-size: 15px; padding-top: 4px; padding-bottom: 4px; }
.jsh-line-link { font-size: 14px; font-weight: 700; color: var(--jsh-navy); text-decoration: none; }
.jsh-line-link:hover { color: var(--jsh-orange); text-decoration: none; }
.jsh-line-link:focus-visible { outline: 3px solid var(--jsh-orange); outline-offset: 3px; }
.jsh-ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: jsh-way; }
.jsh-ways li { padding: 24px 22px; border-radius: 16px; border: 1px solid var(--jsh-line); background: #fff; counter-increment: jsh-way; }
.jsh-ways li::before {
  content: counter(jsh-way); display: flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  margin-bottom: 14px; border-radius: 50%; background: var(--jsh-cream); color: var(--jsh-navy); font-weight: 800;
}
.jsh-ways h3 { margin: 0 0 8px; font-size: 18px; }
.jsh-ways p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--jsh-muted); }
.jsh-about p + p { margin-top: 12px; }
@media (max-width: 991px) {
  .jsh-lines { grid-template-columns: 1fr; }
  .jsh-ways { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .jsh-ways { grid-template-columns: 1fr; }
  .jsh-line { flex-direction: column; gap: 14px; padding: 22px 20px; }
}
