/*
 * Premium Mobile Shop Experience
 * Optimized for all devices: 320px - 768px
 */

:root {
    --bg: #ffffff;
    --bg-subtle: #f8f9fa;
    --text: #1a1a1a;
    --accent: #c4a780;
    --accent-strong: #b8976e;
    --border: #e5e7eb;
    --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,.08);
    --shadow-lg: 0 8px 20px rgba(0,0,0,.12);
}

body {
    color: var(--text);
    background: var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    -webkit-tap-highlight-color: rgba(196, 167, 128, 0.15);
}

a, button, .btn, input, select, textarea {
    transition: all .2s ease-out;
}

.btn-primary {
    background: #000;
    color: #fff;
    border: 2px solid #000;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #1a1a1a !important;
}

.btn {
    border-radius: 8px;
    font-weight: 600;
}

.page-link {
    border-radius: 6px;
}

input[type='text'],
input[type='search'],
input[type='number'],
input[type='hidden'],
select,
textarea,
.form-control {
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: none;
}

input:focus,
select:focus,
textarea:focus,
.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(196,167,128,.2);
}

input[type='checkbox'],
input[type='radio'] {
    accent-color: var(--accent);
    cursor: pointer;
}

.product-cart-wrap {
    background: #fff;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.product-cart-wrap:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.offcanvas {
    background: var(--bg);
    color: var(--text);
}

.offcanvas-header {
    border-bottom: 2px solid var(--border);
    padding: 20px 24px;
}

.offcanvas-body {
    padding: 24px !important;
}

.offcanvas .btn-primary,
.offcanvas .btn.btn-primary {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #1a1a1a !important;
}

.offcanvas .btn-primary:hover,
.offcanvas .btn-primary:focus,
.offcanvas .btn.btn-primary:hover,
.offcanvas .btn.btn-primary:focus {
    background: var(--accent-strong) !important;
    border-color: var(--accent-strong) !important;
}

.offcanvas label {
    font-weight: 600;
    color: var(--text);
}

/* =================================
   Mobile Base Styles
   ================================= */

@media only screen and (max-width: 374px) {
    body {
        font-size: 13px !important;
        line-height: 1.5;
    }
    
    .col-12.col-sm-4.col-lg-3.primary-sidebar,
    .col-12.col-sm-4.col-lg-3.primary-sidebar.sticky-sidebar,
    div.col-12.col-sm-4.col-lg-3.primary-sidebar,
    .primary-sidebar.sticky-sidebar.d-none.d-md-block {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        max-width: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        top: -9999px !important;
        left: -9999px !important;
        z-index: -1 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        pointer-events: none !important;
        clip: rect(0, 0, 0, 0) !important;
        clip-path: inset(50%) !important;
    }
    
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
        max-width: 100% !important;
    }
    
    .col-12.col-sm-8.col-lg-9 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .offcanvas {
        max-width: 92vw !important;
    }
    
    .offcanvas-title {
        font-size: 18px !important;
    }
    
    .offcanvas-body {
        padding: 16px !important;
    }
    
    footer {
        clear: both !important;
        margin-top: 30px !important;
    }
    
    main {
        overflow-x: hidden !important;
    }
    
    .product-grid-3 {
        margin: 0 -3px !important;
    }
    
    .product-grid-3 > div {
        padding: 0 3px !important;
        margin-bottom: 12px !important;
    }
    
    .product-cart-wrap {
        border-radius: 8px !important;
        overflow: hidden !important;
    }
    
    .product-img-action-wrap {
        padding: 0 !important;
    }
    
    .product-img {
        padding-bottom: 100% !important;
    }
    
    .product-action-1 .action-btn {
        width: 32px !important;
        height: 32px !important;
        line-height: 32px !important;
    }
    
    .product-action-1 .action-btn i {
        font-size: 14px !important;
    }
    
    .product-badges span {
        font-size: 9px !important;
        padding: 3px 8px !important;
        font-weight: 600 !important;
        letter-spacing: 0.3px;
    }
    
    .product-content-wrap {
        padding: 8px !important;
    }
    
    .product-category {
        margin-bottom: 4px !important;
    }
    
    .product-category a {
        font-size: 9px !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.8px !important;
        color: #999 !important;
        display: inline-block;
    }
    
    .product-content-wrap h2 {
        font-size: 11.5px !important;
        line-height: 1.35 !important;
        margin-bottom: 5px !important;
        font-weight: 600 !important;
        /* min-height: 30px !important; */
        max-height: 30px !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }
    
    .product-content-wrap h2 a {
        color: var(--text) !important;
        text-decoration: none;
    }
    
    .rating-result {
        height: 19px !important;
        margin-bottom: 5px !important;
        transform: scale(1.0) !important;
        transform-origin: left center !important;
    }
    
    .product-price {
        margin-bottom: 6px !important;
    }
    
    .product-price span {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: var(--accent-strong) !important;
        letter-spacing: -0.2px;
    }
    
    .product-action-1.show {
        margin-top: 6px !important;
    }
    
    .product-action-1.show .action-btn {
        width: 100% !important;
        height: 36px !important;
        line-height: 36px !important;
        border-radius: 6px !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
    }
    
    .product-action-1.show .action-btn i {
        font-size: 15px !important;
    }
    
    .shop-product-fillter {
        padding: 8px 6px !important;
        margin-bottom: 10px !important;
    }
    
    .totall-product p {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }
    
    .totall-product strong {
        font-size: 13px !important;
        font-weight: 700 !important;
    }
    
    .sort-by span,
    .sort-by-dropdown-wrap span {
        font-size: 11px !important;
    }
    
    .sort-by i {
        font-size: 12px !important;
    }
    
    .sort-by-dropdown li a,
    .sort-by-dropdown li strong {
        font-size: 12px !important;
    }
}

@media only screen and (max-width: 767px) {
    body {
        font-size: 15px !important;
        line-height: 1.6;
    }
    
    h1, h2, h3, h4, h5, h6 {
        font-weight: 700;
        line-height: 1.3;
    }
    
    .col-12.col-sm-4.col-lg-3.primary-sidebar,
    .col-12.col-sm-4.col-lg-3.primary-sidebar.sticky-sidebar,
    div.col-12.col-sm-4.col-lg-3.primary-sidebar,
    .primary-sidebar.sticky-sidebar.d-none.d-md-block {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        max-width: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        top: -9999px !important;
        left: -9999px !important;
        z-index: -1 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        clip: rect(0, 0, 0, 0) !important;
        clip-path: inset(50%) !important;
    }
    
    .col-12.col-sm-8.col-lg-9 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .row.flex-row-reverse {
        flex-direction: column !important;
    }
    
    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
        max-width: 100% !important;
    }
    
    section.mt-50.mb-50 {
        padding: 0 !important;
        margin-top: 24px !important;
        margin-bottom: 24px !important;
    }
    
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .page-header.breadcrumb-wrap {
        padding: 12px 0;
        margin-bottom: 16px;
    }
    
    .breadcrumb {
        font-size: 13px;
    }
    
    .offcanvas {
        max-width: 85vw !important;
    }
    
    .offcanvas-title {
        font-size: 20px !important;
        font-weight: 700;
    }
    
    .btn.w-100.d-md-none {
        font-size: 16px !important;
        padding: 14px 24px !important;
        font-weight: 600;
        box-shadow: var(--shadow-md);
        margin-bottom: 16px;
    }
    
    .btn.w-100.d-md-none i {
        font-size: 18px;
    }
    
    .offcanvas-body .section-title,
    .offcanvas-body .widget-header h5 {
        font-size: 17px !important;
        font-weight: 700;
        margin-bottom: 18px !important;
        color: var(--text);
        letter-spacing: -0.2px;
    }
    
    .offcanvas-body .widget-category,
    .offcanvas-body .sidebar-widget,
    .offcanvas-body .price_range {
        margin-bottom: 28px !important;
        padding: 0 !important;
    }
    
    .offcanvas-body .categories {
        padding: 0;
        list-style: none;
        margin: 0;
    }
    
    .offcanvas-body .categories li {
        display: flex;
        align-items: center;
        margin-bottom: 4px;
        padding: 12px;
        border-radius: 8px;
        background: var(--bg);
        transition: all .2s;
    }
    
    .offcanvas-body .categories li:hover,
    .offcanvas-body .categories li:has(input:checked) {
        background: var(--bg-subtle);
    }
    
    .offcanvas-body .categories input[type="radio"] {
        margin: 0 14px 0 0 !important;
        width: 22px;
        height: 22px;
        min-width: 22px;
        cursor: pointer;
    }
    
    .offcanvas-body .categories label {
        font-size: 15px !important;
        line-height: 1.5;
        margin: 0;
        padding: 0;
        cursor: pointer;
        flex: 1;
        font-weight: 500;
    }
    
    .offcanvas-body .custome-checkbox {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    
    .offcanvas-body .custome-checkbox input[type="checkbox"] {
        width: 22px;
        height: 22px;
        min-width: 22px;
        margin: 0 14px 0 0 !important;
        cursor: pointer;
    }
    
    .offcanvas-body .custome-checkbox label {
        font-size: 15px !important;
        line-height: 1.5;
        cursor: pointer;
        display: flex;
        align-items: center;
        padding: 12px;
        border-radius: 8px;
        transition: background .2s;
        font-weight: 500;
    }
    
    .offcanvas-body .custome-checkbox label:hover {
        background: var(--bg-subtle);
    }
    
    .offcanvas-body .fw-900 {
        font-size: 15px !important;
        font-weight: 700 !important;
        margin: 20px 0 14px 0 !important;
        display: block;
        color: var(--text);
    }
    
    .offcanvas-body .price-filter-inner {
        padding: 16px 0;
    }
    
    .offcanvas-body #slider-range {
        margin: 20px 0;
        width: 100% !important;
        height: 8px !important;
        background: var(--bg-subtle);
        border-radius: 4px;
        border: none;
    }
    
    .offcanvas-body #slider-range .ui-slider-handle {
        width: 26px !important;
        height: 26px !important;
        border-radius: 50%;
        background: var(--accent);
        border: 3px solid #fff;
        box-shadow: var(--shadow-md);
        cursor: grab;
        top: 50%;
        transform: translateY(-50%);
        outline: none;
    }
    
    .offcanvas-body #slider-range .ui-slider-handle:active {
        cursor: grabbing;
    }
    
    .offcanvas-body #slider-range .ui-slider-handle:focus {
        box-shadow: 0 0 0 4px rgba(196,167,128,0.25);
    }
    
    .offcanvas-body #slider-range .ui-slider-range {
        background: var(--accent);
        border-radius: 4px;
    }
    
    .offcanvas-body .price_slider_amount {
        margin-top: 18px;
    }
    
    .offcanvas-body .label-input span {
        font-size: 14px !important;
        line-height: 1.5;
        margin-bottom: 10px;
        display: block;
        font-weight: 500;
    }
    
    .offcanvas-body .label-input #price-range-label {
        font-size: 16px !important;
        font-weight: 600;
        color: var(--accent-strong);
        margin: 0 0 14px 0 !important;
    }
    
    .offcanvas-body .btn-sm,
    .offcanvas-body .btn-default {
        font-size: 15px !important;
        padding: 14px 28px !important;
        width: 100%;
        margin: 10px 0;
        font-weight: 600;
        border-radius: 8px;
    }
    
    .offcanvas-body .price-quick-range {
        font-size: 14px !important;
        padding: 12px 20px !important;
        margin-bottom: 10px !important;
        width: 100%;
        text-align: center;
        border-radius: 8px;
        font-weight: 500;
    }
    
    .offcanvas-body .d-flex.flex-wrap.gap-2 {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .offcanvas-body .product-sidebar,
    .offcanvas-body .banner-img {
        display: none !important;
    }
    
    .offcanvas-body .btn-default i {
        font-size: 17px;
        margin-right: 10px;
    }
    
    .shop-product-fillter {
        padding: 12px;
        margin-bottom: 16px;
        background: #fff;
        border-radius: 10px;
        box-shadow: var(--shadow-sm);
    }
    
    .totall-product {
        margin-bottom: 12px;
    }
    
    .totall-product p {
        font-size: 14px !important;
        margin: 0;
        line-height: 1.5;
        color: var(--text);
    }
    
    .totall-product strong {
        font-size: 16px !important;
        font-weight: 700;
        color: var(--accent-strong);
    }
    
    .sort-by-product-area {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .sort-by-cover {
        flex: 1;
        min-width: 120px;
    }
    
    .sort-by-product-wrap {
        padding: 8px 12px;
        border: 1px solid var(--border);
        border-radius: 8px;
        background: var(--bg-subtle);
    }
    
    .sort-by span {
        font-size: 13px !important;
        display: flex;
        align-items: center;
        gap: 4px;
        font-weight: 600;
    }
    
    .sort-by i {
        font-size: 14px !important;
    }
    
    .sort-by-dropdown-wrap span {
        font-size: 13px !important;
        font-weight: 500;
    }
    
    .sort-by-dropdown {
        max-height: 320px;
        overflow-y: auto;
    }
    
    .sort-by-dropdown ul {
        padding: 8px;
    }
    
    .sort-by-dropdown li {
        padding: 5px 12px;
    }
    
    .sort-by-dropdown li a,
    .sort-by-dropdown li strong {
        font-size: 14px !important;
        font-weight: 500;
    }
    
    .product-grid-3 {
        margin: 0 -6px;
    }
    
    .product-grid-3 > div {
        padding: 0 6px !important;
        margin-bottom: 16px;
    }
    
    .product-grid-3 > .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .product-cart-wrap {
        margin-bottom: 0 !important;
        transition: all .25s ease;
    }
    
    .product-cart-wrap:active {
        transform: scale(0.98);
    }
    
    .product-img-action-wrap {
        position: relative;
        overflow: hidden;
    }
    
    .product-img {
        position: relative;
        padding-bottom: 100%;
        overflow: hidden;
        background: var(--bg-subtle);
    }
    
    .product-img img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .product-action-1 {
        position: absolute;
        top: 10px;
        right: 10px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        z-index: 2;
    }
    
    .product-action-1 .action-btn {
        width: 36px !important;
        height: 36px !important;
        min-height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: var(--shadow-md);
        padding: 0;
        margin: 0;
        transition: all .2s;
    }
    
    .product-action-1 .action-btn i {
        font-size: 16px !important;
    }
    
    .product-action-1 .action-btn:active {
        transform: scale(0.9);
    }
    
    .product-badges {
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 2;
    }
    
    .product-badges span {
        font-size: 10px !important;
        padding: 4px 10px !important;
        border-radius: 4px;
        font-weight: 600;
        letter-spacing: 0.5px;
    }
    
    .product-content-wrap {
        padding: 10px !important;
    }
    
    .product-category {
        margin-bottom: 5px;
    }
    
    .product-category a {
        font-size: 10px !important;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        color: #888;
        display: inline-block;
    }
    
    .product-content-wrap h2 {
        font-size: 12px !important;
        line-height: 1.4;
        margin-bottom: 6px;
        font-weight: 600;
        /* min-height: x; */
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    
    .product-content-wrap h2 a {
        color: var(--text);
        text-decoration: none;
    }
    
    .rating-result {
        height: 19px;
        margin-bottom: 6px;
        transform: scale(1.1);
        transform-origin: left center;
    }
    
    .product-price {
        margin-bottom: 8px;
    }
    
    .product-price span {
        font-size: 15px !important;
        font-weight: 700;
        color: var(--accent-strong);
        letter-spacing: -0.2px;
    }
    
    .product-action-1.show {
        position: relative;
        top: auto;
        right: auto;
        display: flex;
        justify-content: center;
        margin-top: 8px;
    }
    
    .product-action-1.show .action-btn {
        width: 100% !important;
        height: 38px !important;
        border-radius: 7px;
        background: #000;
        color: #fff;
        font-size: 12px;
        font-weight: 600;
        gap: 6px;
        box-shadow: var(--shadow-md);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .product-action-1.show .action-btn i {
        font-size: 16px !important;
    }
    
    .product-action-1.show .action-btn:active {
        transform: scale(0.97);
        background: var(--accent);
        color: #1a1a1a;
    }
    
    .pagination-area {
        margin-top: 20px;
        padding: 12px 0;
    }
    
    .pagination {
        gap: 6px;
        justify-content: center !important;
    }
    
    .page-item {
        margin: 0;
    }
    
    .page-link {
        font-size: 14px !important;
        padding: 10px 14px !important;
        min-width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
    }
    
    .page-item.active .page-link {
        background: var(--accent);
        border-color: var(--accent);
        color: #1a1a1a;
    }
    
    .page-link i {
        font-size: 16px;
    }
    
    #loading-indicator {
        padding: 30px;
        text-align: center;
    }
    
    #loading-indicator p {
        font-size: 14px;
        margin-top: 12px;
        color: var(--text);
    }
    
    .mt-50 {
        margin-top: 24px !important;
    }
    
    .mb-50 {
        margin-bottom: 24px !important;
    }
    
    footer {
        clear: both !important;
        margin-top: 40px !important;
    }
    
    main {
        min-height: calc(100vh - 200px) !important;
        overflow-x: hidden !important;
    }
    
    #alert-container {
        top: 12px !important;
        right: 12px !important;
        left: auto;
        min-width: 240px !important;
        max-width: calc(100% - 24px) !important;
        z-index: 9999;
    }
    
    #alert-container .alert {
        font-size: 13px !important;
        padding: 12px 16px !important;
        border-radius: 8px;
        box-shadow: var(--shadow-lg);
    }
    
    #alert-container .alert strong {
        font-size: 14px !important;
    }
    
    input[type="radio"],
    input[type="checkbox"] {
        min-width: 22px;
        min-height: 22px;
    }
    
    input[type="radio"]:focus,
    input[type="checkbox"]:focus,
    a:focus,
    button:focus {
        outline: 2px solid var(--accent);
        outline-offset: 2px;
    }
    
    body,
    .offcanvas-body,
    .product-content-wrap {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
}

@supports (padding: max(0px)) {
    @media only screen and (max-width: 767px) {
        .offcanvas-body {
            padding-top: max(24px, env(safe-area-inset-top)) !important;
            padding-bottom: max(24px, env(safe-area-inset-bottom)) !important;
        }
        
        #alert-container {
            top: max(12px, env(safe-area-inset-top)) !important;
        }
    }
}

@media only screen and (max-width: 767px) {
    #mobileFiltersOffcanvas,
    .offcanvas#mobileFiltersOffcanvas {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 85vw !important;
        height: 100% !important;
        max-width: 85vw !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease-out !important;
        z-index: 1050 !important;
    }
    
    #mobileFiltersOffcanvas.show,
    .offcanvas#mobileFiltersOffcanvas.show {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateX(0) !important;
    }
    
    .offcanvas-backdrop {
        display: none !important;
        opacity: 0 !important;
        transition: opacity 0.3s ease-out !important;
    }
    
    .offcanvas-backdrop.show {
        display: block !important;
        opacity: 0.5 !important;
    }
    
    .offcanvas-header,
    .offcanvas-body,
    .offcanvas-title,
    .btn-close {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .product-cart-wrap {
        border: 1px solid var(--border) !important;
        border-radius: 10px !important;
        box-shadow: var(--shadow-sm) !important;
    }
    
    .product-cart-wrap:hover {
        box-shadow: var(--shadow-lg) !important;
        border-color: var(--border) !important;
    }
    
    .product-cart-wrap .product-img-action-wrap {
        padding: 0 !important;
        max-height: none !important;
    }
    
    .product-cart-wrap .product-img-action-wrap .product-img {
        border-radius: 0 !important;
    }
    
    .product-cart-wrap .product-img-action-wrap .product-img a img {
        border-radius: 0 !important;
    }
    
    .product-cart-wrap .product-action-1 {
        left: auto !important;
        top: 20px !important;
        right: 2px !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 4px !important;
    }
    
    .product-cart-wrap .product-action-1 button,
    .product-cart-wrap .product-action-1 a.action-btn {
      
        height: 36px !important;
        line-height: 36px !important;
        border: none !important;
        background: #088178 !important;
        color: #fff !important;
        box-shadow: var(--shadow-md) !important;
    }



    .product-cart-wrap .product-action-1 button:after,
    .product-cart-wrap .product-action-1 button:before,
    .product-cart-wrap .product-action-1 a.action-btn:after,
    .product-cart-wrap .product-action-1 a.action-btn:before {
        display: none !important;
    }
    
    .product-cart-wrap .product-action-1 button:hover,
    .product-cart-wrap .product-action-1 a.action-btn:hover {
        background: rgba(255, 255, 255, 1) !important;
        border: none !important;
    }
    
    .product-cart-wrap .product-action-1 button:hover i,
    .product-cart-wrap .product-action-1 a.action-btn:hover i {
        color: var(--accent-strong) !important;
    }
    
    .product-cart-wrap .product-badges.product-badges-position {
        left: 10px !important;
        top: 10px !important;
    }
    
    .product-cart-wrap .product-content-wrap {
        padding: 9px !important;
    }
    
    .product-cart-wrap .product-content-wrap h2 {
        font-size: 14px !important;
        font-weight: 600 !important;
    }
    
    .product-cart-wrap .product-content-wrap .product-price span {
        font-size: 16px !important;
        color:#088178 !important;
    }
    
    .product-cart-wrap .product-content-wrap .add-to-cart {
        width: 100% !important;
        height: 42px !important;
        line-height: 42px !important;
        border-radius: 8px !important;
        background: #000 !important;
        color: #fff !important;
    }
    
    .product-cart-wrap .product-content-wrap .add-to-cart:hover {
        background: var(--accent) !important;
        color: #1a1a1a !important;
    }
}

/* Move add-to-cart button up on extra small screens */
@media only screen and (max-width: 480px) {
    .product-content-wrap .product-action-1.show .add-to-cart-btn {
        position: relative;
        top: -20px;
    }
    
    /* Make wishlist Add to Cart button smaller on mobile */
    #wishlist-tbody .btn {
        padding: 0.25rem 0.5rem !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
    }
    
    #wishlist-tbody .btn i {
        margin-right: 2px !important;
        font-size: 11px !important;
    }
}

/* =================================
   NUCLEAR OPTION - Sidebar Kill Switch
   Maximum specificity to override everything
   ================================= */

@media only screen and (max-width: 767px) {
    body .container .row .col-12.col-sm-4.col-lg-3.primary-sidebar.sticky-sidebar,
    body .container .row .col-12.col-sm-4.col-lg-3.primary-sidebar,
    .col-12.col-sm-4.col-lg-3.primary-sidebar,
    div.col-12.col-sm-4.col-lg-3.primary-sidebar,
    .primary-sidebar.sticky-sidebar.d-none.d-md-block {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: fixed !important;
        top: -99999px !important;
        left: -99999px !important;
        width: 0 !important;
        height: 0 !important;
        max-width: 0 !important;
        max-height: 0 !important;
        min-width: 0 !important;
        min-height: 0 !important;
        overflow: hidden !important;
        z-index: -99999 !important;
        pointer-events: none !important;
        user-select: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        outline: 0 !important;
        clip: rect(0, 0, 0, 0) !important;
        clip-path: polygon(0 0, 0 0, 0 0) !important;
        transform: scale(0) !important;
    }
    
    body .container .row .col-12.col-sm-8.col-lg-9 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    /* Disable sticky positioning only for sidebar */
    .primary-sidebar.sticky-sidebar {
        position: static !important;
    }
    
    /* Ensure row takes full width */
    body .container .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
}

@media only screen and (max-width: 374px) {
    body .container .row div.col-12.col-sm-4.col-lg-3.primary-sidebar.sticky-sidebar,
    body .container .row .col-12.col-sm-4.col-lg-3.primary-sidebar,
    .col-12.col-sm-4.col-lg-3.primary-sidebar,
    div.col-12.col-sm-4.col-lg-3.primary-sidebar,
    .primary-sidebar.sticky-sidebar.d-none.d-md-block {
        display: none !important;
        position: fixed !important;
        top: -99999px !important;
        left: -99999px !important;
        width: 0 !important;
        height: 0 !important;
        visibility: hidden !important;
        opacity: 0 !important;
        z-index: -99999 !important;
        transform: scale(0) !important;
    }
    
    body .container .row .col-12.col-sm-8.col-lg-9 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}
