/* ==========================================================================
   PRODUCTS PAGE — hero slider + category filter + WooCommerce grid + CTA form
   ========================================================================== */

.lbg-page { width: 100%; overflow: hidden; background: #fff; }
.lbg-hero { width: 100%; padding: 24px 16px 32px; }

.lbg-hero-slider {
    position: relative;
    max-width: 1200px;
    margin: auto;
    border-radius: 20px;
    overflow: hidden;
    min-height: 480px;
    background: #080e1a;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .10);
}

.lbg-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .65s cubic-bezier(.4, 0, .2, 1);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start;
    pointer-events: none;
    filter: brightness(1.12) saturate(1.05);
}

.lbg-slide.active { opacity: 1; pointer-events: auto; z-index: 2; }

/* Softer vignette — brighter photos, much lighter black overlay */
.lbg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(8, 14, 26, .34) 0%, rgba(8, 14, 26, .18) 55%, rgba(8, 14, 26, .04) 100%);
    z-index: 1;
}

.lbg-slide-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr .85fr;
    gap: 40px;
    padding: 52px 52px 72px;
    align-items: center;
}

.lbg-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px; border-radius: 999px; background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; margin-bottom: 14px; }
.lbg-badge-dot { width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .22); flex-shrink: 0; }
.lbg-slide-left h1 { font-size: 36px; line-height: 1.12; font-weight: 700; color: #fff; margin: 0 0 12px; }
.lbg-slide-left p { color: rgba(255, 255, 255, .85); font-size: 14px; line-height: 1.72; margin: 0 0 22px; max-width: 460px; }
.lbg-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.lbg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border-radius: 10px; text-decoration: none; font-size: 13px; font-weight: 600; transition: all .22s ease; border: 1px solid transparent; cursor: pointer; white-space: nowrap; line-height: 1; }
.lbg-btn.primary { background: var(--lbg-primary); color: #fff; border-color: var(--lbg-primary); }
.lbg-btn.primary:hover { background: var(--lbg-primary-hover); transform: translateY(-1px); }
.lbg-btn.ghost { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .20); color: rgba(255, 255, 255, .90); backdrop-filter: blur(8px); }
.lbg-btn.ghost:hover { background: rgba(255, 255, 255, .14); transform: translateY(-1px); }
.lbg-btn.dark { background: rgba(8, 14, 26, .80); color: #fff; border: 1px solid rgba(255, 255, 255, .12); }
.lbg-btn.dark:hover { background: rgba(8, 14, 26, .95); }
.lbg-btn.full { width: 100%; justify-content: center; }
.lbg-mini-stats { display: flex; gap: 8px; flex-wrap: wrap; }
.lbg-stat { padding: 9px 12px; border-radius: 11px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px); flex: 1; min-width: 90px; }
.lbg-stat strong { display: block; font-size: 13px; color: #fff; font-weight: 700; margin-bottom: 2px; }
.lbg-stat span { display: block; font-size: 10px; color: rgba(255, 255, 255, .52); }
.lbg-slide-right { display: flex; justify-content: flex-end; align-items: center; }
.lbg-hero-card { width: 100%; max-width: 290px; border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(16px); }
.lbg-card-bar { padding: 10px 14px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid rgba(255, 255, 255, .10); }
.lbg-dot { width: 8px; height: 8px; border-radius: 50%; }
.lbg-dot:nth-child(1) { background: #ff5f57; }
.lbg-dot:nth-child(2) { background: #febc2e; }
.lbg-dot:nth-child(3) { background: #28c840; }
.lbg-card-body { padding: 16px; }
.lbg-card-label { font-size: 10px; color: rgba(255, 255, 255, .40); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.lbg-card-body h3 { color: #fff; font-size: 14px; margin: 0 0 4px; font-weight: 600; }
.lbg-card-body p { color: rgba(255, 255, 255, .58); font-size: 12px; margin: 0 0 12px; line-height: 1.5; }
.lbg-card-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.lbg-card-tags span { font-size: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(var(--lbg-primary-rgb), .14); border: 1px solid rgba(var(--lbg-primary-rgb), .28); color: #fff; font-weight: 600; }
.lbg-card-divider { height: 1px; background: rgba(255, 255, 255, .08); margin: 0 0 12px; }
.lbg-controls { position: absolute; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; align-items: center; gap: 12px; padding: 12px 52px 16px; background: linear-gradient(0deg, rgba(8, 14, 26, .70) 0%, transparent 100%); }
.lbg-progress-wrap { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; }
.lbg-dot-btn { width: 6px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .28); border: none; cursor: pointer; transition: all .3s ease; padding: 0; outline: none; }
.lbg-dot-btn.active { width: 22px; background: #fff; }
.lbg-dot-btn:hover:not(.active) { background: rgba(255, 255, 255, .55); }
.lbg-nav { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .08); backdrop-filter: blur(10px); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .2s ease; color: #fff; font-size: 18px; line-height: 1; flex-shrink: 0; }
.lbg-nav:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .35); }
.lbg-slide-counter { font-size: 10px; color: rgba(255, 255, 255, .40); font-weight: 600; letter-spacing: .5px; white-space: nowrap; min-width: 28px; text-align: right; flex-shrink: 0; }

/* ---------- CATEGORY FILTER + PRODUCT GRID ---------- */
.lgbx-wrapper { display: grid; grid-template-columns: 220px 1fr; gap: 40px; max-width: 1200px; margin: auto; padding: 36px 20px 80px; }
.lgbx-sidebar { border-right: 1px solid #eef0f5; padding-right: 20px; }
.lgbx-sidebar h3 { font-size: 15px; font-weight: 700; margin-bottom: 14px; color: var(--lbg-primary); }
.lgbx-filter, .lgbx-sub-filter, .lgbx-dropdown-list { list-style: none; padding: 0; margin: 0; }
.lgbx-filter li { margin-bottom: 6px; }
.lgbx-filter-tree button { width: 100%; border: none; background: transparent; color: var(--lbg-primary); font-size: 13.5px; text-align: left; cursor: pointer; padding: 7px 0; transition: .18s; }
.lgbx-filter-tree > li > button { font-weight: 800; font-size: 14px; }
.lgbx-filter-tree button:hover, .lgbx-filter-tree button.active { color: var(--lbg-primary-hover); font-weight: 800; }
.lgbx-sub-filter { margin: 2px 0 14px; padding: 0 0 0 14px; border-left: 2px solid rgba(var(--lbg-primary-rgb), .14); }
.lgbx-sub-filter button { color: #5b5f78; font-size: 13px; padding: 6px 0; }
.lgbx-top { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.lgbx-search { flex: 1; }
.lgbx-top input { width: 100%; padding: 11px 16px; border-radius: 12px; border: 1px solid #e5e7eb; font-size: 13.5px; background: #fff; transition: .2s ease; outline: none; }
.lgbx-top input:focus { border-color: var(--lbg-primary); box-shadow: 0 0 0 3px rgba(var(--lbg-primary-rgb), .12); }
.lgbx-mobile-filter-wrap { display: none; position: relative; flex-shrink: 0; }
.lgbx-filter-btn { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: 12px; border: 1px solid #e5e7eb; background: #fff; cursor: pointer; font-size: 13px; font-weight: 500; color: #111; white-space: nowrap; transition: all .2s ease; outline: none; }
.lgbx-filter-btn:hover, .lgbx-filter-btn.open { border-color: var(--lbg-primary); color: var(--lbg-primary); }
.lgbx-filter-btn.open { box-shadow: 0 0 0 3px rgba(var(--lbg-primary-rgb), .12); }
.lgbx-chevron { transition: transform .25s ease; }
.lgbx-filter-btn.open .lgbx-chevron { transform: rotate(180deg); }
.lgbx-dropdown { position: absolute; top: calc(100% + 8px); right: 0; min-width: 220px; background: #fff; border: 1px solid #e8e8e8; border-radius: 14px; box-shadow: 0 12px 32px rgba(0, 0, 0, .10); z-index: 999; overflow-y: auto; opacity: 0; transform: translateY(-6px) scale(.98); pointer-events: none; transition: opacity .22s ease, transform .22s ease; transform-origin: top right; }
.lgbx-dropdown.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.lgbx-dropdown-header { padding: 12px 16px 8px; font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: #aaa; border-bottom: 1px solid #f0f0f0; }
.lgbx-dropdown-list { padding: 6px 0; }
.lgbx-drop-item { width: 100%; padding: 10px 16px; background: none; border: none; cursor: pointer; font-size: 13.5px; font-weight: 500; color: #374151; text-align: left; transition: background .15s, color .15s; outline: none; }
.lgbx-drop-item:hover, .lgbx-drop-item.active { background: #fafafa !important; color: var(--lbg-primary); }
.lgbx-drop-item.active { font-weight: 700; }
.lgbx-drop-item.is-parent { font-weight: 800; color: var(--lbg-primary); }
.lgbx-drop-item.is-child { padding-left: 28px; font-size: 13px; }
.lgbx-group { display: none; }
.lgbx-group.active { display: block; }
.lgbx-empty { display: none; padding: 28px; border: 1px dashed #d8dbea; border-radius: 14px; color: #5b5f78; text-align: center; font-size: 14px; }
.lgbx-empty.active, .lgbx-no-products { display: block; padding: 28px; border: 1px dashed #d8dbea; border-radius: 14px; color: #5b5f78; text-align: center; font-size: 14px; }
.lgbx-group ul.products { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 22px !important; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.lgbx-group ul.products::before, .lgbx-group ul.products::after { display: none !important; }
.lgbx-group ul.products li.product { width: 100% !important; float: none !important; margin: 0 !important; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid #f0f0f0; transition: all .28s ease; overflow: hidden; }
.lgbx-group ul.products li.product:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(0, 0, 0, .07); border-color: var(--lbg-primary); }
.lgbx-group ul.products li.product img { width: 100% !important; height: 220px; object-fit: cover; border-radius: 10px; transition: .3s ease; }
.lgbx-group ul.products li.product:hover img { transform: scale(1.05); }
.lgbx-group ul.products li.product h2 { font-size: 14px !important; margin-top: 10px; color: #111827; font-weight: 700; line-height: 1.35; }
.lgbx-group ul.products li.product .price { display: none; }
.lgbx-group ul.products li.product .button { margin-top: 10px; width: 100%; padding: 10px; background: var(--lbg-primary); color: #fff; border-radius: 10px; text-align: center; font-size: 13px; transition: .22s ease; display: block; text-decoration: none; }
.lgbx-group ul.products li.product .button:hover { background: var(--lbg-primary-hover); }

/* ---------- CTA FORM (same block used on the homepage) ---------- */
.lgbf-section { padding: 100px 20px; background: #FFFFFF; }
.lgbf-container { max-width: 1100px; margin: auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.lgbf-text h2 { font-size: 34px; color: var(--lbg-dark-accent); margin-bottom: 12px; font-weight: 600; }
.lgbf-text p { color: var(--lbg-text-muted); font-size: 15px; line-height: 1.7; }
.lgbf-form { background: #fff; padding: 30px; border-radius: 18px; border: 1px solid #eee; }
.lgbf-row { display: flex; gap: 16px; margin-bottom: 16px; }
.lgbf-form input, .lgbf-form textarea { width: 100%; padding: 14px; border-radius: 8px; border: 1px solid #e5e7eb; font-size: 14px; outline: none; transition: all .25s ease; background: #fff; }
.lgbf-form input:focus, .lgbf-form textarea:focus { border-color: var(--lbg-primary); box-shadow: 0 0 0 3px rgba(var(--lbg-primary-rgb), .15); }
.lgbf-form textarea { resize: none; margin-bottom: 20px; }
.lgbf-btn { width: 100%; padding: 14px; border: none; border-radius: 10px; background: var(--lbg-primary); color: #fff; font-size: 15px; font-weight: 500; cursor: pointer; transition: all .3s ease; }
.lgbf-btn:hover { background: #000; transform: translateY(-2px); }

@media (max-width: 900px) {
    .lbg-slide-inner { grid-template-columns: 1fr; padding: 36px 28px 60px; }
    .lbg-slide-right { display: none; }
    .lgbx-wrapper { grid-template-columns: 1fr; }
    .lgbx-sidebar { display: none; }
    .lgbx-mobile-filter-wrap { display: block; }
    .lgbx-group ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
    .lgbf-container { grid-template-columns: 1fr; gap: 30px; }
    .lgbf-row { flex-direction: column; }
    .lgbf-text h2 { font-size: 26px; }
}

@media (max-width: 540px) {
    .lbg-slide-left h1 { font-size: 26px; }
    .lbg-slide-inner { padding: 28px 20px 56px; }
    .lbg-controls { padding: 10px 20px 14px; }
    .lgbx-group ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
}
