/* Shared styles for redesigned website pages (home, products, product details). */
.sw-site { --sw-green: #05a845; --sw-green-dark: #04803a; --sw-tint: #f4faf6; --sw-ink: #1f2937; --sw-muted: #5b6472; --sw-line: #e6efe9; color: var(--sw-ink); }
.sw-site p { color: var(--sw-muted); line-height: 1.75; }
.sw-site h1, .sw-site h2, .sw-site h3, .sw-site h4, .sw-site h5 { color: var(--sw-ink); font-weight: 700; }
.sw-site .btn, .sw-slide-actions .btn, #swOrderModal .btn { border-radius: 8px !important; font-weight: 600 !important; line-height: 1.2 !important; height: 40px !important; min-height: 0 !important; padding: 0 14px !important; text-transform: none !important; letter-spacing: 0 !important; display: inline-flex; align-items: center; justify-content: center; box-shadow: none !important; }
.sw-site .btn-lg { padding: 12px 26px; font-size: 16px; }
.sw-site .btn-primary, #swOrderModal .btn-primary { background: #05a845 !important; border: 1px solid #05a845 !important; color: #fff !important; }
.sw-site .btn-primary:hover, #swOrderModal .btn-primary:hover { background: #04803a !important; border-color: #04803a !important; }
.sw-site .btn-outline-success { background: #fff !important; border: 1px solid #05a845 !important; color: #04803a !important; }
.sw-site .btn-outline-success:hover { background: #05a845 !important; color: #fff !important; }
.sw-site .btn-light { background: #fff !important; border: 1px solid #fff !important; color: #04803a !important; }
.sw-site .btn-outline-light { background: transparent !important; border: 1px solid rgba(255,255,255,.85) !important; color: #fff !important; }
.sw-site .btn-outline-light:hover { background: #fff !important; color: #04803a !important; }
.sw-slide-actions .btn-primary { background: #05a845 !important; border: 1px solid #05a845 !important; color: #fff !important; }
.sw-slide-actions .btn-light { background: #fff !important; border: 1px solid #fff !important; color: #04803a !important; }
.sw-site .row.g-3 { row-gap: 1rem; }
.sw-site .row.g-4 { row-gap: 1.5rem; }
.sw-site .row.g-5 { row-gap: 2.5rem; }
.sw-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sw-green); margin-bottom: 8px; }
.sw-section { padding: 72px 0; }
.sw-section.sw-tint { background: var(--sw-tint); }
.sw-section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.sw-section-head h2 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }

/* Page banner */
.sw-banner { background: linear-gradient(135deg, #04803a 0%, #05a845 55%, #2fc46b 100%); color: #fff; padding: 52px 0 48px; text-align: center; position: relative; overflow: hidden; }
.sw-banner::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.08); right: -120px; top: -160px; }
.sw-banner h1 { color: #fff; font-size: 38px; font-weight: 800; margin: 0 0 8px; position: relative; z-index: 1; }
.sw-banner p { color: rgba(255,255,255,.9); margin: 0 auto; max-width: 600px; position: relative; z-index: 1; }
.sw-crumb { font-size: 13px; margin-top: 14px; color: rgba(255,255,255,.85); position: relative; z-index: 1; }
.sw-crumb a { color: #fff; text-decoration: underline; }

/* Product cards */
.sw-product-card { background: #fff; border: 1px solid var(--sw-line); border-radius: 18px; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.sw-product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -18px rgba(4,128,58,.4); }
.sw-product-img { background: var(--sw-tint); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 18px; }
.sw-product-img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .3s ease; }
.sw-product-card:hover .sw-product-img img { transform: scale(1.04); }
.sw-product-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; text-align: center; }
.sw-product-body h5 { font-size: 16px; margin-bottom: 6px; }
.sw-product-body h5 a { color: var(--sw-ink); }
.sw-product-body h5 a:hover { color: var(--sw-green); }
.sw-product-body .sw-desc { font-size: 13px; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sw-price { color: var(--sw-green-dark); font-weight: 800; font-size: 22px; }
.sw-product-body .sw-price { margin: auto 0 12px; }
.sw-product-actions { display: flex; gap: 8px; width: 100%; }
.sw-product-actions .btn { flex: 1; font-size: 13px !important; padding: 0 8px !important; }

/* Feature tiles */
.sw-feature { background: #fff; border: 1px solid var(--sw-line); border-radius: 16px; padding: 22px 20px; height: 100%; display: flex; gap: 14px; align-items: flex-start; }
.sw-feature-ic { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; background: #e7f7ee; color: var(--sw-green); display: inline-flex; align-items: center; justify-content: center; }
.sw-feature-ic svg { width: 24px; height: 24px; }
.sw-feature h4 { font-size: 16px; margin-bottom: 4px; }
.sw-feature p { font-size: 13px; margin: 0; line-height: 1.6; }

/* CTA band */
.sw-cta { background: linear-gradient(135deg, #04803a, #05a845); border-radius: 24px; padding: 44px 32px; text-align: center; }
.sw-cta h2 { color: #fff; margin-bottom: 8px; }
.sw-cta p { color: rgba(255,255,255,.9); margin-bottom: 22px; }
.sw-cta .btn { margin: 6px; padding: 11px 24px; }
.sw-cta .btn-light { color: var(--sw-green-dark); }
.sw-cta .btn-outline-light:hover { color: var(--sw-green-dark); }

/* Forms */
.sw-panel { background: #fff; border: 1px solid var(--sw-line); border-radius: 20px; padding: 30px; height: 100%; }
.sw-panel label { font-size: 13px; font-weight: 600; color: var(--sw-ink); margin-bottom: 6px; }
.sw-panel .form-control { border-radius: 10px; border: 1px solid #d7e3dc; padding: 11px 14px; font-size: 15px; height: auto; }
.sw-panel .form-control:focus { border-color: var(--sw-green); box-shadow: 0 0 0 3px rgba(5,168,69,.15); }
.sw-panel textarea.form-control { min-height: 120px; }
.sw-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sw-map { border-radius: 20px; overflow: hidden; height: 100%; min-height: 340px; border: 1px solid var(--sw-line); }
.sw-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* Product details */
.sw-pd-gallery { background: var(--sw-tint); border-radius: 24px; padding: 28px; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; }
.sw-pd-gallery img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sw-pd-info h1 { font-size: 32px; font-weight: 800; margin-bottom: 10px; }
.sw-pd-info .sw-price { font-size: 30px; display: block; margin-bottom: 18px; }
.sw-pd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.sw-pd-badges span { background: #e7f7ee; color: var(--sw-green-dark); font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.sw-pd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.sw-pd-contact { border-top: 1px solid var(--sw-line); padding-top: 18px; font-size: 14px; color: var(--sw-muted); }
.sw-pd-contact a { color: var(--sw-green-dark); font-weight: 600; }
.sw-pd-section { background: #fff; border: 1px solid var(--sw-line); border-radius: 20px; padding: 28px; }
.sw-pd-section h3 { font-size: 18px; margin: 18px 0 8px; }
.sw-pd-section h3:first-child { margin-top: 0; }
.sw-pd-section ul { padding-left: 20px; margin-bottom: 0; }
.sw-pd-section li { color: var(--sw-muted); list-style: disc; margin-bottom: 4px; }

/* Home hero buttons on the existing slider */
.sw-slide-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.sw-slide-actions .btn { border-radius: 10px; font-weight: 600; padding: 12px 24px; }

@media (max-width: 767px) {
  .sw-section { padding: 48px 0; }
  .sw-section-head h2 { font-size: 26px; }
  .sw-banner h1 { font-size: 28px; }
  .sw-panel, .sw-pd-section { padding: 22px; }
  .sw-pd-info h1 { font-size: 26px; }
  .sw-product-actions { flex-direction: row; }
}
