:root { --ksl-green: #00753a; --ksl-black: #111111; }
.ksl-lightbox { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 18px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .28s ease, visibility .28s ease; font-family: inherit; }
.ksl-lightbox.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.ksl-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, var(--ksl-overlay-opacity, .74)); }
.ksl-modal { position: relative; z-index: 2; width: min(800px, calc(100vw - 36px)); height: min(600px, calc(100vh - 36px)); background: #fff; color: var(--ksl-black); box-shadow: 0 24px 70px rgba(0,0,0,.34); overflow: hidden; display: grid; grid-template-rows: auto minmax(0,1fr) auto; transform: translateY(16px) scale(.99); transition: transform .3s ease; border-top: 5px solid var(--ksl-green); }
.ksl-lightbox.is-visible .ksl-modal { transform: translateY(0) scale(1); }
.ksl-close { position: absolute; right: 14px; top: 13px; z-index: 20; width: 42px; height: 45px; border: 0; border-radius: 50%; background: var(--ksl-green); color: #fff; font-size: 31px; line-height: 38px; cursor: pointer; transition: transform .18s ease; padding-bottom:5px;}
.ksl-close:hover,.ksl-close:focus { transform: scale(1.06); outline: 2px solid rgba(0,117,58,.25); outline-offset: 3px; }
.ksl-header { padding: 24px 72px 15px 28px; border-bottom: 1px solid #e7e7e7; }
.ksl-header h2 { margin: 0 0 5px; color: #111; font-size: clamp(24px, 3vw, 34px); line-height: 1.08; font-weight: 700; }
.ksl-header p { margin: 0; color: #5c5c5c; font-size: 14px; line-height: 1.4; }
.ksl-products { min-height: 0; padding: 18px 28px 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ksl-product { min-width: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; border: 1px solid #e3e3e3; background: #fff; }
.ksl-carousel { position: relative; min-height: 0; overflow: hidden; background: #f4f4f4; }
.ksl-product-link { display: block; height: 100%; }
.ksl-slides { position: relative; height: 100%; min-height: 190px; overflow: hidden; }
.ksl-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s ease; }
.ksl-slide.is-active { opacity: 1; }
.ksl-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 38px; height: 44px; border: 0; color: #fff; background: rgba(0,117,58,.9); font-size: 34px; line-height: 36px; cursor: pointer; }
.ksl-arrow-prev { left: 0; } .ksl-arrow-next { right: 0; }
.ksl-arrow:hover,.ksl-arrow:focus { background: #00753a; outline: none; }
.ksl-dots { position: absolute; left: 50%; bottom: 9px; transform: translateX(-50%); z-index: 5; display: flex; gap: 6px; }
.ksl-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.6); box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
.ksl-dots span.is-active { background: #00753a; }
.ksl-product-body { padding: 13px 15px 14px; }
.ksl-product-title { display: inline-block; color: #111; text-decoration: none; font-size: 18px; font-weight: 700; line-height: 1.2; margin-bottom: 8px; }
.ksl-product-title:hover { color: var(--ksl-green); }
.ksl-facts { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 10px; color: #4b4b4b; font-size: 12px; }
.ksl-facts li { position: relative; padding-left: 11px; }
.ksl-facts li::before { content: ''; position: absolute; left: 0; top: .55em; width: 5px; height: 2px; background: var(--ksl-green); }
.ksl-price { display: inline-block; color: var(--ksl-green); text-decoration: none; font-size: 19px; font-weight: 800; }
.ksl-footer { padding: 13px 28px 18px; border-top: 1px solid #e7e7e7; text-align: center; }
.ksl-cta { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 28px; background: var(--ksl-green); color: #fff !important; text-decoration: none !important; font-size: 15px; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease; }
.ksl-cta:hover,.ksl-cta:focus { transform: translateY(-1px); box-shadow: 0 7px 16px rgba(0,117,58,.22); }
@media (max-width: 700px) {
  .ksl-lightbox { padding: 10px; align-items: stretch; }
  .ksl-modal { width: 100%; height: calc(100vh - 20px); margin: auto; overflow-y: auto; display: block; }
  .ksl-header { padding: 20px 60px 14px 18px; position: sticky; top: 0; background: #fff; z-index: 10; }
  .ksl-header h2 { font-size: 24px; }
  .ksl-products { display: block; padding: 14px 16px 5px; }
  .ksl-product { margin-bottom: 16px; display: block; }
  .ksl-slides { min-height: 210px; height: 42vw; max-height: 280px; }
  .ksl-facts { grid-template-columns: 1fr 1fr; }
  .ksl-footer { position: sticky; bottom: 0; background: #fff; padding: 12px 16px; z-index: 11; box-shadow: 0 -6px 18px rgba(0,0,0,.07); }
  .ksl-cta { width: 100%; }
  .ksl-close { position: fixed; top: 19px; right: 19px; }
}
@media (max-width: 430px) { .ksl-facts { grid-template-columns: 1fr; } .ksl-header p { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .ksl-lightbox,.ksl-modal,.ksl-slide,.ksl-close,.ksl-cta { transition: none !important; } }
