html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--sf-orange);
    outline-offset: 2px;
}

header {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: #fff;
}

.header-top.header-top-two {
    padding: 6px 0;
    letter-spacing: 0.01em;
}

.header-middle.white-bg {
    padding: 10px 0;
}

.company-logo img {
    max-height: 52px;
}

.categorie-search-box form {
    min-height: 52px;
}

.categorie-search-box input {
    height: 52px !important;
    font-size: 15px;
}

.categorie-search-box button {
    height: 40px !important;
    width: 40px !important;
    line-height: 40px !important;
    top: 6px !important;
}

.cart-box {
    margin-top: 0 !important;
}

.cart-box .ion-bag {
    font-size: 26px;
}

.total-pro {
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}

.header-bottom.header-sticky.is-sticky,
.header-bottom.header-sticky {
    box-shadow: 0 8px 24px rgba(28, 25, 23, 0.12);
}

.vertical-menu-list li a {
    padding: 10px 14px;
}

.vertical-menu-list li a:hover {
    background: var(--sf-orange-soft);
}

.mean-container a.meanmenu-reveal {
    padding: 12px 14px;
}

.sf-cat-strip-wrap {
    padding: 8px 0 4px;
}

.sf-cat-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 12px;
    scrollbar-width: thin;
}

.sf-cat-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--sf-line);
    border-radius: 999px;
    padding: 8px 14px 8px 8px;
    color: var(--sf-ink);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    box-shadow: var(--sf-shadow);
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.sf-cat-chip:hover {
    transform: translateY(-2px);
    border-color: var(--sf-orange);
    color: var(--sf-ink);
}

.sf-cat-chip img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 50%;
}

.sf-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.sf-section-head a {
    font-weight: 700;
    color: var(--sf-orange);
}

.featured-pro-active .single-product,
.shop-product-grid .product-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--sf-line);
    box-shadow: none;
}

.featured-pro-active .single-product:hover,
.shop-product-grid .product-card:hover {
    transform: translateY(-3px);
}

.pro-img {
    position: relative;
    aspect-ratio: 1;
}

.pro-img img,
.shop-product-grid .product-card img {
    height: 100%;
    max-height: 240px;
}

.sf-sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: var(--sf-orange);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 4px 8px;
    border-radius: 999px;
}

.pro-info h4 a,
.shop-product-grid .product-name {
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pro-content .pro-actions {
    margin-top: auto;
    padding-top: 10px;
}

.shop-product-grid .product-card {
    position: relative;
}

.shop-product-grid .product-card .sf-sale-badge {
    top: 12px;
}

.sf-listing-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.sf-listing-head h1 {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
}

.sf-listing-head p {
    margin: 0;
    color: var(--sf-muted);
    font-weight: 600;
}

.sf-filter-panel summary {
    display: none;
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

.sf-filter-panel summary::-webkit-details-marker {
    display: none;
}

.list-css ul li a {
    border-radius: 10px;
    padding: 8px 10px;
}

.list-css ul li a.is-active {
    background: var(--sf-orange-soft);
}

.cart-main-area,
.checkout-area {
    background: transparent !important;
}

#cart-page-app .table-content,
#cart-page-app .checkbox-form,
#cart-page-app .your-order {
    background: #fff;
    border: 0 !important;
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--sf-shadow);
}

#cart-page-app .col-lg-6[style] {
    border: 0 !important;
}

#cart-page-app table {
    margin-bottom: 0;
}

#cart-page-app .table-content table td,
#cart-page-app .table-content table th {
    vertical-align: middle;
}

#cart-page-app .product-thumbnail img {
    height: 64px !important;
    width: 64px !important;
    object-fit: contain;
    border-radius: 10px;
    background: #faf8f5;
}

#cart-page-app .product-quantity input {
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--sf-line);
    text-align: center;
}

#cart-page-app .buttons-cart a {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--sf-line);
    font-weight: 700;
}

.checkout-form-list label {
    font-weight: 700;
    margin-bottom: 6px;
    display: block;
}

.checkout-form-list input,
.checkout-form-list textarea,
.checkout-form-list select,
.checkbox-form input[type="text"],
.checkbox-form input[type="email"],
.checkbox-form input[type="number"],
.checkbox-form input[type="tel"],
.checkbox-form textarea,
.checkbox-form select {
    width: 100%;
    border: 1px solid var(--sf-line);
    border-radius: 12px;
    padding: 12px 14px;
    min-height: 46px;
    background: #fff;
}

.checkout-form-list textarea,
.checkbox-form textarea {
    min-height: 92px;
}

#cart-page-app .accordion-item {
    border: 1px solid var(--sf-line);
    border-radius: 14px !important;
    overflow: hidden;
    margin-bottom: 10px;
}

#cart-page-app .accordion-button {
    font-weight: 700;
}

#cart-page-app input[type="submit"] {
    width: 100%;
    height: 52px;
    font-size: 17px;
    font-weight: 800;
    border: 0;
    border-radius: 14px;
}

.sf-pdp-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.sf-pdp-trust div {
    background: var(--sf-orange-soft);
    border-radius: 12px;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
}

.mean-container .mean-nav ul li a {
    padding-top: 12px;
    padding-bottom: 12px;
}

@media (max-width: 991px) {
    .sf-filter-panel summary {
        display: block;
        background: #fff;
        border-radius: 12px;
        padding: 12px 14px;
        margin-bottom: 10px;
        box-shadow: var(--sf-shadow);
    }

    .sf-filter-panel:not([open]) .list-css {
        display: none;
    }

    .inner-left-menu.sf-sidebar {
        padding: 12px;
        margin-bottom: 8px;
    }

    .categorie-search-box .form-group {
        min-width: 0;
        display: none;
    }

    .shop-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .pro-img img,
    .shop-product-grid .product-card img {
        max-height: 180px;
    }

    .sf-pdp-trust {
        grid-template-columns: 1fr;
    }

    .thubnail-desc .sf-actions {
        position: sticky;
        bottom: 0;
        z-index: 30;
        background: #fff;
        padding: 12px 8px;
        margin-left: -8px;
        margin-right: -8px;
        box-shadow: 0 -10px 30px rgba(28, 25, 23, 0.12);
    }

    .contact-wa-icon {
        bottom: 72px;
    }
}

@media (max-width: 575px) {
    .hs-announce.header-top {
        display: block;
        padding: 6px 0 !important;
    }

    .header-top:not(.hs-announce) {
        display: none;
    }

    a.sf-card-btn {
        width: 38px !important;
        height: 38px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }
}

/* ---- Category sections: compact titles, breathing room ---- */
.post-title a {
    font-size: 18px;
    gap: 8px;
}

.post-title img {
    height: 32px;
    width: 32px;
    flex: 0 0 32px;
    object-fit: contain;
}

.out-products {
    margin-bottom: 20px;
}

.main-pro-area {
    border: 0 !important;
    margin-bottom: 10px;
}

.out-products .tab-content {
    padding-bottom: 16px;
}

/* room for the card hover lift and shadow so cards never touch the section edge */
.out-products .owl-stage-outer {
    padding: 6px 2px 14px;
}

.pro-content {
    padding: 10px 12px 12px;
}

.pro-info h4 a {
    font-size: 13px;
    line-height: 1.3;
    min-height: 34px;
}

.pro-info p {
    margin: 6px 0 0;
}

.pro-info .price {
    font-size: 15px;
}

.pro-info .prev-price {
    font-size: 12px;
}

.pro-content .pro-actions {
    padding-top: 8px;
}

a.sf-card-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
}

.sf-cat-strip-wrap {
    padding: 16px 0 24px;
}
