.invalid-feedback {
    display: block !important;
    font-size: .75em !important;
    font-weight: 600 !important;
}

button.request-another-btn {
    border: 0;
    border-radius: 8px;
    padding: 4px 18px;
    background: #fa6262;
    color: #fff;
}

.login-modal-body .log-in-box {
    box-shadow: none !important;
}

#warning-modal .modal-content {
    border: 0;
}

p.verify-email-address {
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 20px;
}

.verify-text-warn {
    margin-bottom: 20px;
}

.category-sidemenu-list-items li.active>a {
    color: #03753b;
}

.category-sidemenu-list-items li.active {
    background-color: #e7f1f4;
}

/* .verify-email-page-wrapper {
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 18px 26px;
    margin-top: 15px;
    margin-bottom: 35px;
} */

.success-msg-common {
    background: #ffedd1;
    padding: 10px 16px;
    margin-bottom: 10px;
    border-radius: 10px;
    font-size: 1em;
    color: #fa6262;
    margin-top: 30px;
    font-weight: 500;
}

.success-msg-common p {
    color: #fa6262;
}


.success-msg-front {
    position: fixed;
    left: 30px;
    bottom: 30px;
    z-index: 9999;
    opacity: 0;
    animation: slideInFromBottom 4s ease-in-out forwards;
}

.success-msg-front .alert {
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
}

.success-msg-front .alert-success {
    background: linear-gradient(135deg, #03753b 0%, #05a052 100%);
    color: #fff;
}

.success-msg-front .alert-danger {
    background: linear-gradient(135deg, #fa6262 0%, #ff8e8e 100%);
    color: #fff;
}

.success-msg-front .alert .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.8;
    padding: 1.25rem 1rem;
}

.success-msg-front .alert .btn-close:hover {
    opacity: 1;
}

.success-msg-front .alert i {
    font-size: 1.2em;
    margin-right: 12px !important;
}

.out-of-stock-badge {
    background-color: #ed6d79;
    /* Bootstrap danger */
    color: #fff;
    backdrop-filter: blur(2px);
    padding: 0.4rem 0.7rem;
    font-size: 0.85rem;
    border-radius: 0.25rem;
    pointer-events: none;
    user-select: none;
    height: 45px;
    font-size: 17px;
}


/* Center content vertically and horizontally */
.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70vh;
    text-align: center;
}

/* Error code styles */
.error-code {
    font-size: 8rem;
    font-weight: bold;
    margin-bottom: 4rem;
    align-items: center;
    color: #fd9d4129;
    -webkit-text-stroke: 1px #fa6262;
}


/* Error title and description */
.error-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--secondary);
}

.error-message {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--secondary);
}

.fa-lg {
    font-size: 100px !important;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.cat-more {
    background: #fa6262;
    color: #fff;
    border: none;
}

.cat-more:hover {
    background: #fa6262;
    color: #fff;
    border: none;
}

/* Specific page backgrounds */
.bg-404 {
    background-color: var(--bg-light);
}

.bg-500 {
    background-color: var(--bg-dark);
    color: #f8f9fa;
}

.bg-503 {
    background-color: var(--bg-warning);
}

.cart-out-of-stock {
    color: #f17580;
    background-color: #fbedee;
    font-size: 16px;
    padding: 4px 10px;
    font-weight: 500;
}

.out-of-stock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(217, 228, 238, 0.8);
    /* Gray semi-transparent */
    z-index: 2;
    pointer-events: none;
    /* Allow clicking through */
}

.out-of-stock-img {
    filter: grayscale(90%);
    opacity: 0.5;
}

.out-stock-btn {
    background-color: #ff22229e;
    color: #ffffff;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.15);
    border: none;
    border-radius: 0.25rem;
    cursor: not-allowed;
    pointer-events: none;
}

.pointer-events-none {
    pointer-events: none;
}

.theme-spinner {
    color: #fa6262 !important;
}

/* .form-rating ul.rating-stars,
.form-rating ul.rating-stars li {
    display: none;
} */
.rating-label {
    font-size: 18px;
}

.form-rating i {
    color: #ccc;
    cursor: pointer;
    font-size: 16px;
    margin-left: 2px;
}

.form-rating i.selected {
    color: #fa6262;
}

.star-selected {
    color: #fa6262 !important;
    cursor: pointer;
}

.form-rating ul li {
    transition: .3s linear;
    letter-spacing: -1px;
    display: inline-block;
    font-size: 14px;
}

.form-rating ul {
    padding: 0px;
}

.badge-clear-btn {
    background: #fa6262;
    color: #ffffff;
    border: 1px solid #fa6262;
    border-radius: 8px;
}

.badge-clear-btn:hover {
    background: #fa6262;
    color: #ffffff;
    border: 1px solid #fa6262;
    border-radius: 8px;
}

.footer-category-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-category-img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
}

.footer-category-item {
    list-style: none;
    margin-bottom: 8px;
}

.FSocialLink ul {
    display: flex;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.FSocialLink ul li {
    list-style: none;
}

.FSocialLink ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #ffffff;
    border-radius: 50%;
    color: #000; /* change if needed */
    text-decoration: none;
    transition: transform 0.7s ease, background 0.3s ease, color 0.3s ease;
}

.FSocialLink ul li a i {
    font-size: 16px;
}

/* 360° rotation on hover */
.FSocialLink ul li a:hover {
    transform: rotate(360deg);
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(100px);
        /* Start below the view */
    }

    10% {
        opacity: 1;
        transform: translateY(0);
        /* Move to its final position */
    }

    90% {
        opacity: 1;
        transform: translateY(0);
        /* Stay in place */
    }

    100% {
        opacity: 0;
        transform: translateY(100px);
        /* Slide out below the view */
    }
}

.login-text {
    border: 1px solid #fa6262;
    border-radius: 8px;
}

.login-text-btn {
    background: #fa6262;
    color: #fff;
}

.alert-danger {
    background-color: #fff2f3 !important;
}

.loading-spinner {
    color: var(--primary);
    font-size: 40px;
}

.btn-no-item {
    background: #fa6262;
    color: #fff;
    border: 0;
    border-radius: 8px;
}

.btn-no-item:hover {
    color: #fff;
}

/* Pagination */
.pagination {
    margin-top: 3rem;
}

.page-item .page-link {
    padding: 5px 18px;
    color: var(--primary);
    border-color: #f4e9e4;
    font-size: 19px;
}

.page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
}

.page-item.disabled .page-link {
    border-color: #f4e9e4;
}

.page-link:focus {
    box-shadow: unset;
}

.wishlisted {
    color: #fa6262 !important;
}


.select2-container--default .select2-selection--single {

    border-radius: unset !important;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #ced4da !important;
    border-radius: unset !important;
}

.select2-container .select2-selection--single {
    height: 38px !important;
}


.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px !important;
    color: #959595 !important;
    font-size: 16px !important;
}


.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    height: 38px !important;
}

.user-profile-section .select2-container--default .select2-selection--single {
    border: 1px solid #ced4da !important;
    border-radius: 14px !important;
}

.user-profile-section .select2-container .select2-selection--single {
    height: 45px !important;
}

.user-profile-section .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 45px !important;
}

.user-profile-section .select2-container--default .select2-selection--single .select2-selection__clear {
    height: 45px !important;
}

.user-profile-section .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 45px !important;
    color: #959595 !important;
    font-size: 16px !important;
}

.product-name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.header-login:hover {
    color: var(--primary);
}

.header-regi:hover {
    color: var(--primary);
}

.wrap {
    position: relative;
}

.search-suggestions {
    position: absolute;
    top: 105%;
    left: 0;
    right: 0;
    background: white;
    border-top: none;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgb(135 135 135);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-image {
    width: 40px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
}

.suggestion-content {
    flex-grow: 1;
    min-width: 0;
}

.suggestion-title {
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
    padding-top: 5px;
    font-size: 14px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.suggestion-category {
    color: #666;
    font-size: 12px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.suggestion-price {
    text-align: right;
    flex-shrink: 0;
    margin-left: 10px;
}

.suggestion-discount {
    background-color: #dc3545;
    color: white;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 4px;
    display: inline-block;
}

.suggestion-current-price {
    color: #333;
    font-weight: bold;
    font-size: 14px;
}

.all-products-btn {
    display: block;
    width: 100%;
    padding: 12px 15px;
    background-color: #f8f9fa;
    color: #333;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-top: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.all-products-btn:hover {
    background-color: #e9ecef;
    text-decoration: none;
    color: #fa6262;
}

.no-suggestions {
    padding: 15px;
    text-align: center;
    font-size: 16px;
    color: #dc3545;
    font-style: italic;
}

/* @media (min-width: 992px) {
    .custom-col-5 {
        flex: 0 0 20%;
        max-width: 20%;
    }
} */

.price-range {
    margin-bottom: 12px;
}

.price-slider {
    position: relative;
    height: 30px;
    margin: 15px 0 20px;
    display: flex;
    align-items: center;
}

.price-range-track {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 3px;
    transform: translateY(-50%);
    background: #e0e0e0;
    border-radius: 999px;
    pointer-events: none;
    /* CSS variables used by JS for gradient */
    --price-range-inactive: #e0e0e0;
    --price-range-active: #111;
}

.price-slider input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 20px;
    transform: translateY(-50%);
    background: transparent;
    pointer-events: auto;
    z-index: 2;
    margin: 0;
}

.price-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #111;
    border: none;
    box-shadow: none;
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.1s;
}

.price-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.price-slider input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #111;
    border: none;
    box-shadow: none;
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.1s;
}

.price-slider input[type="range"]::-moz-range-track {
    background: transparent;
}

.price-range-values {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 15px;
    align-items: center;
    margin-top: 15px;
}

.price-range-sep {
    font-size: 14px;
    color: #666;
    text-align: center;
}

.price-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.price-currency {
    position: absolute;
    left: 12px;
    color: #333;
    font-size: 16px;
    pointer-events: none;
    font-weight: 500;
}

.price-input-wrap .form-control {
    padding-left: 30px;
    border-radius: 4px;
    border: 1px solid #ddd;
    height: 40px;
    font-size: 15px;
    color: #333;
    text-align: right;
    width: 100%;
}

.price-input-wrap .form-control:focus {
    border-color: #333;
    box-shadow: none;
}


/* Promo ribbon */
.promo-ribbon {
    background: linear-gradient(90deg, #fa6262 0%, #f4511e 100%);
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
    z-index: 1010;
}

.promo-ribbon .promo-ribbon-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 0;
    text-align: center;
}

.promo-ribbon .promo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 12px;
}

.promo-ribbon .promo-text a {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 575px) {
    .promo-ribbon .promo-ribbon-inner {
        padding: 8px 10px;
        font-size: 12.5px;
        flex-wrap: wrap;
    }
}

/* Typography scale */
body {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Lora", serif;
    line-height: 1.25;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 22px;
}

p {
    font-size: 16px;
    line-height: 1.7;
}

/* Unified primary button style */
.btn,
.btn-primary,
.btn-primary-custom,
.btn-save,
.btn-no-item,
.btn-coupon,
.product-cart,
.see-more-btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary,
.btn-primary-custom,
.btn-save,
.btn-no-item,
.product-cart,
.see-more-btn.one {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-primary:hover,
.btn-primary-custom:hover,
.btn-save:hover,
.btn-no-item:hover,
.product-cart:hover,
.see-more-btn.one:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    color: #fff;
}

/* Card surface */
.card,
.all-cate-product-wrapBox,
.common-productList-wrap,
.contact-page-infoCard {
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(18, 18, 18, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.all-cate-product-wrapBox,
.common-productList-wrap {
    overflow: hidden;
}

.card:hover,
.all-cate-product-wrapBox:hover,
.common-productList-wrap:hover,
.contact-page-infoCard:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(18, 18, 18, 0.12);
}

/* Icon click animation */
.icon-bounce {
    animation: iconPop 0.45s ease;
    transform-origin: center;
}

@keyframes iconPop {
    0% {
        transform: scale(1);
    }

    35% {
        transform: scale(1.18) rotate(-6deg);
    }

    70% {
        transform: scale(0.96) rotate(4deg);
    }

    100% {
        transform: scale(1);
    }
}

/* Empty states */
.empty-state {
    text-align: center;
    padding: 28px 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(18, 18, 18, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.25s ease;
}

.empty-state:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(18, 18, 18, 0.12);
}

.empty-state-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: rgba(250, 98, 98, 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.empty-state-title {
    font-size: 24px;
    margin-bottom: 6px;
}

.empty-state-text {
    color: #666;
    margin-bottom: 16px;
}

.empty-state--compact {
    padding: 16px 12px;
    box-shadow: none;
    background: transparent;
}

.empty-state--compact .empty-state-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
    margin-bottom: 8px;
}

.empty-state--table {
    padding: 20px 12px;
    box-shadow: none;
    background: transparent;
}

/* Compare UI */
/* Modern Floating Compare Bar */
.compare-bar-floating {
    position: fixed;
    bottom: calc(20px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 1040;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    pointer-events: none;
    width: 90%;
    max-width: 600px;
}

.compare-bar-floating.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.compare-bar-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 10px 16px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 12px 32px rgba(0, 0, 0, 0.15);
}

.compare-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.compare-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.compare-icon-wrapper {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #fd7e14);
    color: white;
    border-radius: 12px;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(250, 98, 98, 0.3);
}

.compare-count-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #222;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.compare-text {
    display: flex;
    flex-direction: column;
}

.compare-text .title {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    line-height: 1.2;
}

.compare-text .subtitle {
    font-size: 12px;
    color: #666;
}

.compare-thumbs-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: auto;
    margin-right: 16px;
}

.compare-thumb {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.compare-thumb+.compare-thumb {
    margin-left: -8px;
}

/* User dashboard premium refresh */
.dashboard-page {
    background: linear-gradient(180deg, #fff 0%, #f9fafb 100%);
}

.dashboard-page .sidebar {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
    padding: 12px 10px;
}

.dashboard-page .sdbar-profile-ph {
    background: linear-gradient(135deg, #fff1e9, #ffe3d2);
    border-bottom: 0;
    border-radius: 16px;
    margin: 12px;
}

.dashboard-page .sidebar li {
    margin: 6px 8px;
    border-radius: 12px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.dashboard-page .sidebar li:hover {
    background: #fff4ec;
    transform: translateX(3px);
}

.dashboard-page .sidebar .active {
    background: #fff4ec;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(250, 98, 98, 0.2);
}

.dashboard-page .sidebar li a {
    font-size: 16px;
    color: #4b4b4b;
}

.dashboard-page .sidebar li a>i {
    color: #fa6262;
}

.dashboard-page .dash-heading h1 {
    font-size: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1f2937;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
    padding: 14px 18px;
}

.dashboard-page .order-content table {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(16, 24, 40, 0.06);
}

.dashboard-page .order-content table>thead tr>th {
    background: #111827;
}

.dashboard-page .order-content tbody tr:hover {
    background: #f9fafb;
    transition: background 0.2s ease;
}

/* Home reels */
.home-reels {
    padding: 40px 0 10px;
}
.home-reels-header {
    text-align: center;
    margin-bottom: 20px;
}
.home-reels-header h2 {
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.home-reels-header p {
    color: #666;
}
.home-reels-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
}
.home-reels-track::-webkit-scrollbar {
    height: 8px;
}
.home-reels-track::-webkit-scrollbar-thumb {
    background: #e5e7eb;
    border-radius: 999px;
}
.home-reel-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}
.home-reel-media {
    position: relative;
    aspect-ratio: 9 / 16;
    background: #111;
}
.home-reel-media iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.home-reel-info {
    padding: 12px;
    border-top: 1px solid #f1f5f9;
    background: #fff;
}
.home-reel-product {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}
.home-reel-thumb {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
}
.home-reel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-reel-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-reel-price {
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
}
.home-reel-actions {
    display: flex;
    gap: 8px;
}
.home-reel-actions .btn {
    flex: 1;
    padding: 6px 8px;
    font-size: 13px;
}
@media (max-width: 575px) {
    .home-reels-track {
        grid-auto-columns: minmax(180px, 1fr);
    }
}

/* Reels section (stories) */
.stories-section {
    padding: 40px 0;
    background: #fff;
    text-align: center;
}
.stories-title {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    color: #000;
}
.reels-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 20px;
    justify-content: flex-start;
    scrollbar-width: none;
}
.reels-container::-webkit-scrollbar {
    display: none;
}
@media (min-width: 992px) {
    .reels-container {
        justify-content: center;
    }
}
.reel-card {
    flex: 0 0 280px;
    height: 500px;
    position: relative;
    border-radius: 12px;
    overflow: visible;
    background: #000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    z-index: 1;
}
.reel-card:hover {
    transform: translateY(-5px);
}
.reel-card.popup-active {
    z-index: 10;
    transform: none !important;
}
.reel-inner-mask {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.reel-video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}
.reel-video-wrapper iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    pointer-events: none;
    transform: scale(1.35);
    transform-origin: center center;
}
.reel-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    z-index: 2;
    pointer-events: none;
}
.reel-content {
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 100%;
    padding: 15px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}
.reel-thumb-link {
    flex-shrink: 0;
    pointer-events: auto;
}
.reel-thumb {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: #fff;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.2);
}
.reel-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    color: #fff;
    overflow: hidden;
}
.reel-prod-title {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    margin-bottom: 2px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    text-decoration: none;
    pointer-events: auto;
}
.reel-prod-title:hover {
    color: #ddd;
}
.reel-prod-price {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}
.reel-action-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 4;
    background: #000;
    padding: 12px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}
.reel-action-bar:hover {
    background: #1a1a1a;
}
.btn-reel-cart {
    background: none;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.btn-reel-cart i.fa-caret-down {
    margin-left: auto;
    position: absolute;
    right: 15px;
}
.reel-variant-popup {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    z-index: 20;
    display: none;
    flex-direction: column;
    gap: 10px;
    transform: translateY(100%);
}
.reel-card.popup-active .reel-variant-popup {
    display: flex;
    transform: translateY(0);
    bottom: 0;
}
.reel-variants-data {
    display: none;
}
.reel-variant-option label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
    display: block;
    text-align: left;
}
.reel-variant-select {
    width: 100%;
    padding: 8px;
    font-size: 13px;
    border: 1px solid #eee;
    border-radius: 4px;
    background: #f9f9f9;
    color: #333;
    outline: none;
}
.reel-popup-price {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin: 5px 0;
}
.reel-popup-add-btn {
    background: #000;
    color: #fff;
    border: none;
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.reel-popup-add-btn:hover {
    background: #333;
}

.compare-thumb:hover {
    transform: translateY(-2px) scale(1.1);
    z-index: 2;
}

.compare-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-compare-now {
    background: #222;
    color: #fff;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

.btn-compare-now:hover {
    background: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #fff;
}

.btn-compare-clear {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f1f1f1;
    color: #666;
    border: none;
    transition: all 0.2s;
}

.btn-compare-clear:hover {
    background: #ffe3e3;
    color: #fa6262;
}

/* Offcanvas Modern */
.compare-offcanvas-modern {
    height: 60vh !important;
    max-height: 500px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
}

.compare-offcanvas-modern .offcanvas-header {
    border-bottom: 1px solid #eee;
    padding: 16px 24px;
}

.compare-offcanvas-modern .offcanvas-title {
    font-weight: 700;
    font-size: 18px;
}

.compare-offcanvas-modern .offcanvas-body {
    padding: 24px;
    background: #f8f9fa;
}

@media (max-width: 575px) {
    .compare-bar-floating {
        width: 94%;
        bottom: 20px;
    }

    .compare-text {
        display: none;
    }

    .compare-thumbs-wrapper {
        margin-right: auto;
        margin-left: 10px;
    }

    .btn-compare-now span {
        display: none;
    }

    .btn-compare-now {
        padding: 8px 12px;
    }
}

/* Product Card Hover Actions - Modern Floating Pill */
.all-cate-product-wrapBox {
    position: relative;
    overflow: hidden;
}

.productAll-cart {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 5;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
    padding-bottom: 20px;
    background: transparent !important;
}

.all-cate-product-wrapBox:hover .productAll-cart {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.cart-onHover {
    background: #ffffff;
    padding: 8px 15px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Common button styles */
.cart-onHover a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333 !important;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 0 !important;
    /* Hide text */
}

/* Show icons only */
.cart-onHover a i,
.cart-onHover a span i {
    font-size: 16px !important;
    margin: 0 !important;
    color: #333 !important;
}

/* Hover states */
.cart-onHover a:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(250, 98, 98, 0.3);
}

.cart-onHover a:hover i,
.cart-onHover a:hover span i {
    color: #ffffff !important;
}

/* Specific adjustments if needed */
.product-add-to-cart,
.product-wish,
.product-compare {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.product-add-to-cart i {
    margin-left: 0 !important;
}

/* Hide original tooltips/text spans if they interfere */
.cart-onHover span {
    font-size: 0;
}
