.lux-shop-wrapper {
    background: #111;
    color: #fff;
    font-family: sans-serif;
    padding: 15px;
    box-sizing: border-box;
    position: relative;
}

.lux-top-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
}

.lux-search-input {
    flex: 1;
    background: #222;
    border: 1px solid #333;
    color: #fff;
    padding: 10px 15px;
    border-radius: 4px;
    height: 44px;
    box-sizing: border-box;
}

.lux-filter-btn {
    width: 90px;
    height: 44px;
    background: #222;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    gap: 5px;
}
.lux-filter-btn svg {
   width: 14px;
   height: 14px;
   fill: currentColor;
}


.lux-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.lux-product-card {
    background: #1a1a1a;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.lux-product-link {
    display: block;
    position: relative;
}

.lux-product-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.lux-sale-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #d4af37;
    color: #000;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
}

.lux-product-info {
    padding: 8px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.lux-product-title {
    font-size: 10px;
    margin: 0 0 5px;
    color: #fff;
    font-weight: 500;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lux-product-price {
    font-size: 10px;
    color: #d4af37;
    margin-bottom: 8px;
    flex: 1;
}
.lux-product-price del {
    color: #777;
    margin-right: 4px;
}
.lux-product-price ins {
    text-decoration: none;
}
.lux-add-to-cart-wrapper {
    margin-top: auto;
}

/* HIGH SPECIFICITY - Override WooCommerce & Elementor */
.lux-shop-wrapper .lux-add-to-cart-wrapper a.lux-add-to-cart,
.lux-shop-wrapper .lux-product-card .add_to_cart_button,
.lux-shop-wrapper .lux-product-card a.button,
.lux-shop-wrapper .lux-product-card button,
body.elementor-page .lux-shop-wrapper .lux-product-card .button {
    font-size: 7px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    text-align: center !important;
    
    background: #d4af37;
    color: #000 !important;
    text-decoration: none;
    height: 36px;
    border-radius: 4px;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0 2px !important;
}

.lux-floating-cart {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    z-index: 990;
}
.lux-floating-cart a {
    color: #000;
    display: flex;
}

.lux-loading-state,
.lux-no-products {
    text-align: center;
    padding: 30px;
    color: #ccc;
    font-size: 14px;
}

/* Filter Drawer Styles */
.lux-filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9998;
    display: none;
}

.lux-filter-drawer {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 85vh;
    background: #111;
    z-index: 9999;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    transition: bottom 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
}

.lux-filter-drawer.open {
    bottom: 0;
}

.lux-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #333;
}
.lux-filter-header h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
}
.lux-filter-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.lux-filter-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.lux-filter-group {
    margin-bottom: 25px;
}
.lux-filter-group h4 {
    margin: 0 0 15px 0;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lux-filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.lux-filter-option {
    display: flex;
    align-items: center;
}
.lux-filter-radio, .lux-filter-checkbox {
    display: none;
}
.lux-filter-option label {
    color: #ccc;
    font-size: 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 100%;
}
.lux-filter-option label:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #555;
    margin-right: 10px;
    margin-left: 10px;
    transition: all 0.2s;
}
.lux-filter-radio + label:before {
    border-radius: 50%;
}
.lux-filter-checkbox + label:before {
    border-radius: 3px;
}
.lux-filter-radio:checked + label:before,
.lux-filter-checkbox:checked + label:before {
    background-color: #d4af37;
    border-color: #d4af37;
}
.lux-filter-radio:checked + label,
.lux-filter-checkbox:checked + label {
    color: #fff;
    font-weight: bold;
}
.lux-filter-count {
    color: #777;
    margin-left: 5px;
    font-size: 12px;
}

.lux-filter-price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}
.lux-filter-price-inputs input {
    width: 100%;
    background: #222;
    border: 1px solid #333;
    color: #fff;
    padding: 10px;
    border-radius: 4px;
}

.lux-filter-footer {
    padding: 15px 20px;
    border-top: 1px solid #333;
    display: flex;
    gap: 10px;
    background: #111;
}
.lux-filter-clear-btn {
    flex: 1;
    background: transparent;
    border: 1px solid #555;
    color: #fff;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
}
.lux-filter-apply-btn {
    flex: 2;
    background: #d4af37;
    border: none;
    color: #000;
    font-weight: bold;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
}

@media (min-width: 768px) {
    .lux-shop-wrapper {
        display: none; /* Mobile only requirement */
    }
}
