.avatar{
    vertical-align: middle;
    width: 100px;
    height: 100px;
}
.avatar-round{
    vertical-align: middle;
    width: 100px;
    height: 100px;
    border-radius: 50%;
}
.col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
}
.score {
    display: block;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}
.score-wrap {
    display: inline-block;
    position: relative;
    height: 19px;
}
.score .stars-active {
    color: #FFCA00;
    position: relative;
    z-index: 10;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
}
.score .stars-inactive {
    color: lightgrey;
    position: absolute;
    top: 0;
    left: 0;
}
.rating {
    overflow: hidden;
    display: inline-block;
    position: relative;
    font-size: 20px;
}
.rating-star {
    padding: 0 5px;
    margin: 0;
    cursor: pointer;
    display: block;
    float: right;
}
.rating-star:after {
    position: relative;
    font-family: "Font Awesome 5 Free", serif;
    content: '\f005';
    color: lightgrey;
}
.rating-star.checked ~ .rating-star:after,
.rating-star.checked:after {
    content: '\f005';
    color: #FFCA00;
}
.rating:hover .rating-star:after {
    content: '\f005';
    color: lightgrey;
}
.rating-star:hover ~ .rating-star:after,
.rating .rating-star:hover:after {
    content: '\f005';
    color: #FFCA00;
}
.cartBox{
    display: flex;
    justify-content: flex-start;
    padding-top: 5px;
    border: 0 medium none;
}
.cartPlusMinus{
    border: 1px solid #dcdcdc;
    overflow: hidden;
    padding: 9px 0 0 15px ;
    width: 90px;
    height: 49px;
}
.cartQty{
    background: transparent none repeat scroll 0 0;
    border: medium none;
    font-size: 17px;
    margin: 15px;
    padding: 0;
    text-align: center;
}
.notification {
    color: white;
    text-decoration: none;
    padding: 3px 10px;
    position: relative;
    display: inline-block;
    border-radius: 2px;
}
.notification .badge {
    position: absolute;
    top: -1px;
    right: 0;
    padding: 2px 4px;
    border-radius: 50%;
    background: #85bd02;
    color: white;
}
.navbar-nav .nav-item .nav-link .badge-counter {
    position: absolute;
    transform: scale(0.7);
    transform-origin: top right;
    left: 0.50rem;
    margin-top: -0.50rem;
    border-radius: 100%;
    margin-right: -5px;
}
.withoutAfter::after {
    display: none !important;
}
.navbar .dropdown-menu::before {
    content: '';
    display: block;
    border-left: 0.5rem solid transparent;
    border-right: 0.5rem solid transparent;
    border-bottom: 0.5rem solid #dcb14a;
    position: absolute;
    top: -0.5rem;
    left: 10.60rem !important;
}
.category-item-title{
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #fff;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 5px rgb(0 0 0 / 7%);
    font-size: 0.8rem;
}

/* =========================================================
   USER PANEL OVERRIDES (LATEST LAYOUT FIX)
   ========================================================= */

/* 1. Page wrapper offset */
.user-panel-page {
    padding-top: 90px !important;
    min-height: 100vh;
    background-color: #fafaf9 !important;
    box-sizing: border-box;
}

/* Disable legacy bundle.css float interference on Tailwind Grid elements */
.user-panel-page [class*="grid-cols-"],
.user-panel-page [class*="col-span-"] {
    float: none !important;
}

/* 2. Flex-based form grid rows (only when explicit .form-grid class is used) */
.user-panel-page form .form-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    width: 100% !important;
    clear: both !important;
    float: none !important;
}

/* Flex items inside form grid rows */
.user-panel-page form .grid > div {
    flex: 1 1 200px !important;
    min-width: 200px !important;
    box-sizing: border-box !important;
    display: block !important;
    float: none !important;
    position: relative !important;
    margin-bottom: 0 !important;
}

/* Form space-y vertical spacing */
.user-panel-page form .space-y-8 > * + * {
    margin-top: 2rem !important;
}

.user-panel-page form .space-y-6 > * + * {
    margin-top: 1.5rem !important;
}

.user-panel-page form .space-y-4 > * + * {
    margin-top: 1rem !important;
}

.user-panel-page form .space-y-3 > * + * {
    margin-top: 0.75rem !important;
}

/* 3. Form Labels */
.user-panel-page form label {
    display: block !important;
    margin-bottom: 0.5rem !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    color: #44403c !important;
    line-height: 1.25 !important;
    float: none !important;
    width: auto !important;
}

/* 4. Form Inputs & Selects */
.user-panel-page form input[type="text"],
.user-panel-page form input[type="email"],
.user-panel-page form input[type="password"],
.user-panel-page form input[type="number"],
.user-panel-page form input[type="date"],
.user-panel-page form input[type="tel"],
.user-panel-page form input[type="url"],
.user-panel-page form input[type="search"],
.user-panel-page form select,
.user-panel-page form textarea {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background-color: #ffffff !important;
    border: 1px solid #e7e5e4 !important;
    border-radius: 1rem !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.875rem !important;
    color: #1c1917 !important;
    margin-bottom: 0 !important;
    box-shadow: none !important;
    height: auto !important;
    min-height: 2.85rem !important;
    float: none !important;
}

/* Select specific styling */
.user-panel-page form select {
    -webkit-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2078716c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 1.25rem !important;
    padding-right: 2.5rem !important;
}

.user-panel-page select option {
    background-color: #ffffff !important;
    color: #1c1917 !important;
}

/* 5. Material Symbols Icon Fix */
.user-panel-page .material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-size: inherit;
    line-height: 1;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

/* Hide mobile-only menu items on desktop */
@media (min-width: 993px) {
    #navigation .mobile-only-menu,
    .header-style-2 #navigation .mobile-only-menu {
        display: none !important;
    }
}

/* ==========================================================================
   Mobile & Fallback Native Select Dropdowns
   Chosen jQuery plugin disables itself on mobile User Agents (iOS / Android / etc).
   These rules ensure all form dropdowns remain visible, responsive, and beautifully styled on mobile.
   ========================================================================== */
select.utf-chosen-select-single-item,
select.utf-chosen-select-single,
select.chosen-select,
select.chosen-select-deselect {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: 48px !important;
    line-height: 46px !important;
    background-color: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    color: #1e293b !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 0 36px 0 16px !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    margin-bottom: 0 !important;
}

/* When Chosen initializes on desktop, it adds style="display: none;" or class chosen-hidden.
   Only then do we hide the native select to show Chosen's custom UI. */
select.utf-chosen-select-single-item[style*="display: none"],
select.utf-chosen-select-single[style*="display: none"],
select.chosen-select[style*="display: none"],
select.chosen-select-deselect[style*="display: none"],
select.utf-chosen-select-single-item.chosen-hidden,
select.utf-chosen-select-single.chosen-hidden,
select.chosen-select.chosen-hidden,
select.chosen-select-deselect.chosen-hidden {
    display: none !important;
}

