.whats-app {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    left: 15px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

.my-float {
    margin-top: 16px;
}

/* Modern Dropdown Styles */
.modern-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 20px;
}

.modern-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.modern-dropdown-toggle:hover {
    color: #000;
}

.modern-dropdown-toggle:focus {
    outline: none;
}

.dropdown-label {
    white-space: nowrap;
}

.dropdown-arrow {
    transition: transform 0.25s ease;
    opacity: 0.7;
}

.modern-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.modern-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    z-index: 1000;
}

.modern-dropdown.open .modern-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.modern-dropdown-menu .dropdown-item {
    display: block;
    padding: 14px 24px;
    color: #666;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: all 0.15s ease;
    line-height: 1.4;
}

.modern-dropdown-menu .dropdown-item:hover {
    color: #000;
    background: #fafafa;
}

.modern-dropdown-menu .dropdown-item.active {
    color: #000;
    font-weight: 600;
}

.grid-layout-group.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.layout-phone-dropdown {
    display: none;
}

.layout-dropdown .modern-dropdown-menu {
    min-width: 150px;
}

.layout-phone-dropdown .modern-dropdown-menu {
    min-width: 120px;
}

.phone .layout-phone-dropdown {
    display: inline-block;
}

.phone .layout-desktop-dropdown {
    display: none;
}

.desktop .layout-phone-dropdown,
.tablet .layout-phone-dropdown {
    display: none;
}

.phone .products-filter {
    row-gap: 10px;
}

.phone .products-filter .select-group {
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
    flex-wrap: wrap;
    row-gap: 8px;
}

.phone .products-filter .grid-list {
    width: 100%;
}

.phone .layout-phone-dropdown .modern-dropdown-toggle {
    justify-content: center;
    min-width: 42px;
}

.phone .layout-phone-dropdown .modern-dropdown-toggle .dropdown-label {
    display: none;
}

.phone .layout-phone-dropdown .modern-dropdown-toggle::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='7' height='7'/%3E%3Crect x='14' y='4' width='7' height='7'/%3E%3Crect x='3' y='15' width='7' height='7'/%3E%3Crect x='14' y='15' width='7' height='7'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.desktop .listing-main-products.product-grid[data-grid-cols-desktop="3"] .product-layout,
.tablet .listing-main-products.product-grid[data-grid-cols-desktop="3"] .product-layout {
    width: calc(100% / 3 - 0.01px) !important;
}

.phone .listing-main-products.product-grid[data-grid-cols-phone="2"] .product-layout {
    width: calc(100% / 2 - 0.01px) !important;
}

.phone .listing-main-products.product-grid[data-grid-cols-phone="1"] .product-layout {
    width: calc(100% - 0.01px) !important;
}

/* Hide old select group styling */
.products-filter .select-group .input-group {
    display: none !important;
}

.products-filter .select-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mobile responsive */
@media only screen and (max-width: 768px) {
    .modern-dropdown {
        margin-left: 12px;
    }
    
    .modern-dropdown-toggle {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .modern-dropdown-menu {
        min-width: 180px;
        right: -20px;
    }
    
    .modern-dropdown-menu .dropdown-item {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media only screen and (max-width: 480px) {
    .modern-dropdown-toggle .dropdown-label {
        display: none;
    }
    
    .modern-dropdown-toggle::before {
        content: '';
        display: inline-block;
        width: 16px;
        height: 16px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='21' x2='4' y2='14'%3E%3C/line%3E%3Cline x1='4' y1='10' x2='4' y2='3'%3E%3C/line%3E%3Cline x1='12' y1='21' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='8' x2='12' y2='3'%3E%3C/line%3E%3Cline x1='20' y1='21' x2='20' y2='16'%3E%3C/line%3E%3Cline x1='20' y1='12' x2='20' y2='3'%3E%3C/line%3E%3Cline x1='1' y1='14' x2='7' y2='14'%3E%3C/line%3E%3Cline x1='9' y1='8' x2='15' y2='8'%3E%3C/line%3E%3Cline x1='17' y1='16' x2='23' y2='16'%3E%3C/line%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
    }
    
    .sort-dropdown .modern-dropdown-toggle::before {
        content: '';
    }
    
    .limit-dropdown .modern-dropdown-toggle::before {
        display: none;
    }
    
    .limit-dropdown .modern-dropdown-toggle .dropdown-label {
        display: inline;
    }

    .layout-desktop-dropdown .modern-dropdown-toggle .dropdown-label {
        display: inline;
    }
}

.site-notification-bell {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
}

.mobile-notification-wrapper {
    display: inline-flex;
    align-items: center;
}

.mobile-notification-wrapper .site-notification-bell {
    margin-left: 0;
    margin-right: 10px;
}

.mobile-notification-wrapper .site-notification-trigger i {
    margin-top: 0 !important;
}

.site-notification-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-decoration: none;
    line-height: 1;
    box-shadow: none;
}

.site-notification-trigger i {
    display: block;
    font-size: 18px;
    line-height: 1;
}

.site-notification-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #d52d2d;
    color: #fff;
    border: 2px solid #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 12px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-notification-badge.is-hidden {
    display: none;
}

.site-notification-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: -12px;
    width: 360px;
    max-width: calc(100vw - 24px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10020;
}

.site-notification-bell.is-open .site-notification-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.site-notification-panel {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 18px;
    box-shadow: 0 24px 48px rgba(17, 17, 17, 0.12);
    color: #2f2f2f;
    overflow: hidden;
}

.site-notification-panel-header,
.site-notification-panel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #ececec;
}

.site-notification-panel-footer {
    border-bottom: 0;
    border-top: 1px solid #ececec;
    justify-content: center;
}

.site-notification-panel-header {
    background: #f6f6f6;
}

.site-notification-panel-title {
    color: #303030;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-notification-panel-link,
.site-notification-panel-footer a {
    color: #3e3e3e;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.site-notification-panel-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 999px;
    background: #fff;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.site-notification-panel-link:hover {
    background: #f7f7f7;
    border-color: #bfbfbf;
}

.site-notification-panel-footer a {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 16px;
    border-radius: 10px;
    background: #464646;
    color: #fff;
    letter-spacing: 0.02em;
}

.site-notification-panel-footer a:hover {
    background: #3c3c3c;
}

.site-notification-panel-list {
    max-height: 420px;
    overflow-y: auto;
}

.site-notification-item {
    position: relative;
    border-top: 1px solid #efefef;
    background: #fff;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.site-notification-item:first-child {
    border-top: 0;
}

.site-notification-item:hover {
    background: #f8f8f8;
}

.site-notification-item-link {
    position: relative;
    display: flex;
    gap: 14px;
    padding: 16px 52px 16px 18px;
    color: inherit;
    text-decoration: none;
}

.site-notification-item-link:hover,
.site-notification-item-link:focus {
    color: inherit;
    text-decoration: none;
}

.site-notification-item.is-unread {
    background: #fafafa;
}

.site-notification-item.is-unread::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 999px;
    background: #666;
}

.site-notification-item-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #565656;
    background: #f1f1f1;
    border: 1px solid #e2e2e2;
}

.site-notification-item-content {
    min-width: 0;
    flex: 1 1 auto;
}

.site-notification-item-dismiss {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #a1a1a1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    padding: 0;
    transition: background 0.2s ease, color 0.2s ease;
    z-index: 1;
}

.site-notification-item-dismiss:hover,
.site-notification-item-dismiss:focus {
    background: #efefef;
    color: #555;
}

.site-notification-item-title {
    font-size: 15px;
    font-weight: 700;
    color: #2f2f2f;
}

.site-notification-item-body {
    margin-top: 5px;
    color: #6b6b6b;
    font-size: 13px;
    line-height: 1.55;
}

.site-notification-item-date {
    margin-top: 8px;
    color: #a1a1a1;
    font-size: 12px;
}

.site-notification-empty {
    padding: 40px 24px;
    color: #8f8f8f;
    text-align: center;
    font-size: 14px;
    background: #fafafa;
}

@media (max-width: 767px) {
    .site-notification-dropdown {
        right: -6px;
        width: min(360px, calc(100vw - 18px));
    }

    .mobile-notification-wrapper .site-notification-dropdown {
        position: fixed;
        top: var(--site-notification-mobile-top, 64px);
        left: 8px;
        right: 8px;
        width: auto;
        max-width: none;
    }
}
