.text-shadow {
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
}

/* Store banner styles */
.store-banner-area {
    position: relative;
    margin-bottom: 30px;
}

.store-cover-banner {
    height: 375px;
    overflow: hidden;
    position: relative;
}

.store-cover-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-profile-header {
    display: flex;
    align-items: flex-end;
    margin-top: -75px;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.store-logo {
    width: 200px;
    height: 200px;
    border-radius: 25px;
    overflow: hidden;
    border: 3px solid #fff;
    background: #fff;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
}

.store-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-info {
    padding: 40px 20px 0px 20px; /* top right bottom left */
    flex: 1;
}


.store-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.store-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.95rem;
}

.meta-heading {
    font-weight: 400;
    color: #888;
}

.meta-value {
    font-weight: 500;
    color: #333;
}

/* Online / Offline colors */
.meta-value.online {
    color: #28a745; /* green */
    font-weight: 600;
}

.meta-value.offline {
    color: #6c757d; /* gray */
    font-style: italic;
}

.store-meta i {
    color: #0866C6; /* Gold color for icons */
    margin-right: 5px;
}

/* Store navigation */
.store-navigation {
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.store-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.store-nav li {
    margin-right: 30px;
}

.store-nav li a {
    display: block;
    padding: 15px 0;
    color: #555;
    font-weight: 500;
    position: relative;
}

.store-nav li.active a {
    color: #2B38D1;
}

.store-nav li.active a:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #2B38D1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .store-profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: -50px;
    }
    
    .store-logo {
        width: 100px;
        height: 100px;
    }
    
    .store-info {
        padding: 40px 20px 0px 20px; /* top right bottom left */
    }
    
    .store-meta {
        justify-content: center;
    }
    
    .store-nav ul {
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Tab Sections */
.tab-section {
    display: none;
}

.tab-section.active {
    display: block;
}

/* About Section Styles */
.about-store-content {
    padding: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #0866C6;
    margin-bottom: 10px;
}

.value-item {
    text-align: center;
    padding: 20px;
}

.value-item i {
    color: #0866C6;
}

/* Deals Section Styles */
.deal-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.deal-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4757;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
}

.deal-content {
    padding: 20px;
}

.deal-countdown {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.deal-countdown span {
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
}

/* Featured Products Styles */
.featured-product-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.featured-product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 15px;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9em;
}

/* Top Selling Styles */
.top-products-table img {
    border-radius: 4px;
}

.product-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Reviews Styles */
.review-summary {
    padding: 20px;
}

.rating-bars {
    margin-top: 20px;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}

.rating-bar .progress {
    flex-grow: 1;
    height: 8px;
}

.review-item {
    margin-bottom: 20px;
}

.review-images img {
    border-radius: 4px;
}

/* Contact Styles */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #0866C6;
    margin-top: 5px;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

/* Desktop menu hairline separator */
@media (min-width: 992px) {
    .desktop-separator li.list-inline-item:not(:last-child) {
        position: relative;
        padding-right: 10px; /* space for separator */
        margin-right: 10px;  /* space between items */
    }

    .desktop-separator li.list-inline-item:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        width: 1px;          /* use 1px for consistent rendering */
        height: 12px;        /* length of line */
        background-color: rgba(255, 255, 255, 0.3); /* hairline effect */
    }
}

/* Mobile search full width */
@media (max-width: 991px) {
    .header__search-box {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .cart-dropdown {
        display: none !important;
    }
}

@keyframes squeezeIn {
    0%   { transform: scaleX(1.2) scaleY(0.8); opacity: 0; }
    50%  { transform: scaleX(0.9) scaleY(1.1); opacity: 1; }
    100% { transform: scaleX(1) scaleY(1); opacity: 1; }
}

.animate-bounce {
    animation: squeezeIn 0.8s ease;
}

.page-toast-container {
    position: fixed;
    right: 1rem;
    top: 20px;   /* instead of top */
    z-index: 3000;
    width: 360px;
    pointer-events: none;
    max-height: 100vh;
    overflow: visible;
}

/* allow interactions for the toast itself */
.page-toast-container .toast {
    pointer-events: auto;
    opacity: 1 !important;
    border-radius: 0.75rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    overflow: hidden;
    transition: transform 0.35s ease, opacity 0.35s ease;
    /* Ensure toast doesn't exceed viewport */
    max-width: 360px;
}

/* darker header shades */
.text-bg-success .toast-header { background-color: #157347 !important; color:#fff !important; }
.text-bg-danger  .toast-header { background-color: #bb2d3b !important; color:#fff !important; }
.text-bg-warning .toast-header { background-color: #e0a800 !important; color:#fff !important; }
.text-bg-info    .toast-header { background-color: #0aa2c0 !important; color:#fff !important; }

/* body: solid color + white text */
.text-bg-success .toast-body { background-color: #198754 !important; color:#fff !important; }
.text-bg-danger  .toast-body { background-color: #dc3545 !important; color:#fff !important; }
.text-bg-warning .toast-body { background-color: #ffc107 !important; color:#fff !important; }
.text-bg-info    .toast-body { background-color: #0dcaf0 !important; color:#fff !important; }

/* progress bar */
.page-toast-container .progress { background: rgba(255,255,255,0.18); }
.page-toast-container .progress-bar {
    width: 100%;
    transition: width 5s linear;
}

/* hide animation helper */
/* slide-out animation to the right */
.page-toast-hide {
    opacity: 0 !important;
    transform: translateX(100px);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Enhanced Bootstrap Tagsinput Styling */
.bootstrap-tagsinput {
    display: block !important;
    width: 100% !important;
    min-height: 60px;
    padding: 8px 12px !important;
    font-size: 14px;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #000 !important;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.bootstrap-tagsinput.error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.bootstrap-tagsinput.valid {
    border-color: #198754 !important;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25) !important;
}

/* Expand internal input */
.bootstrap-tagsinput input {
    width: 100% !important;
    min-width: 350px !important;
    flex: 1 1 auto !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    margin: 2px 0 !important;
    padding: 0 !important;
}

/* When tags input is readonly, make background light gray */
.bootstrap-tagsinput input.readonly-mode {
    background-color: #e9ecef !important;
    cursor: not-allowed;
    color: #6c757d;
}

/* Tags input validation states */
.tags-input-wrapper {
    position: relative;
}

.tags-input-feedback {
    display: none;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.tags-input-feedback.error {
    color: #dc3545;
    display: block;
}

.tags-input-feedback.success {
    color: #198754;
    display: block;
}

/* Tags counter */
.tags-counter {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.25rem;
    text-align: right;
}

.tags-counter.warning {
    color: #ffc107;
}

.tags-counter.danger {
    color: #dc3545;
}

/* Loading state for tags input */
.bootstrap-tagsinput.loading {
    opacity: 0.7;
    pointer-events: none;
}

.bootstrap-tagsinput.loading:after {
    content: "Checking...";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: #6c757d;
}

.brand-slider-2 .swiper-wrapper {
    justify-content: flex-start !important;
    margin-left: 10px !important; /* Ensure no left margin */
    padding-left: 0px !important; /* Ensure no left padding */
}
.brand-slider-2 .swiper-slide {
    width: auto !important;
    margin-left: 0 !important; /* Remove any left margin from the slide itself */
}
.brand-slider-2 .swiper-slide-duplicate {
    display: none !important;
}


/* SweetAlert2 Custom Styles */
.swal2-popup {
    border-radius: 16px !important;
    padding: 2rem !important;
}

.swal2-title {
    font-size: 22px !important;
    font-weight: 600 !important;
}

.swal2-confirm {
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
}

.swal2-cancel {
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
}

/* Toast Animation */
.animated {
    animation-duration: 0.5s;
}

.fadeInRight {
    animation-name: fadeInRight;
}

.fadeInDown {
    animation-name: fadeInDown;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(100%, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Cart dropdown scrollbar styling */
.cart-items-scrollable::-webkit-scrollbar {
    width: 6px;
}

.cart-items-scrollable::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.cart-items-scrollable::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.cart-items-scrollable::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Cart dropdown item hover effect */
.cart-items-scrollable .cart__item {
    transition: background-color 0.2s ease;
}

.cart-items-scrollable .cart__item:hover {
    background-color: #f8f9fa;
}


/* Search Suggestions Dropdown - UPDATED */
.header__search {
    position: relative !important;
}

.search-suggestions {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 2px solid #0068c9 !important;
    border-top: 1px solid #e0e0e0 !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
    z-index: 99999 !important;
    max-height: 420px !important;
    overflow-y: auto !important;
    margin-top: 2px !important;
}

.search-suggestions .suggestion-item {
    display: flex !important;
    align-items: center !important;
    padding: 12px 15px !important;
    color: #333 !important;
    text-decoration: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
    transition: all 0.15s ease !important;
    cursor: pointer !important;
}

.search-suggestions .suggestion-item:last-child {
    border-bottom: none !important;
}

.search-suggestions .suggestion-item:hover,
.search-suggestions .suggestion-item.active {
    background-color: #e8f4fd !important;
    color: #0068c9 !important;
}

.search-suggestions .suggestion-item .suggestion-thumb {
    width: 45px !important;
    height: 45px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    margin-right: 12px !important;
    flex-shrink: 0 !important;
    background: #f5f5f5 !important;
    border: 1px solid #eee !important;
}

/* Thumbnail placeholder color based on type */
.search-suggestions .suggestion-item[data-type="products"] .suggestion-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.search-suggestions .suggestion-item[data-type="listings"] .suggestion-thumb,
.search-suggestions .suggestion-item[data-type="deals"] .suggestion-thumb,
.search-suggestions .suggestion-item[data-type="featured"] .suggestion-thumb,
.search-suggestions .suggestion-item[data-type="auctions"] .suggestion-thumb {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

.search-suggestions .suggestion-item[data-type="shops"] .suggestion-thumb {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
}

.search-suggestions .suggestion-item[data-type="brands"] .suggestion-thumb {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%) !important;
}

.search-suggestions .suggestion-item[data-type="users"] .suggestion-thumb,
.search-suggestions .suggestion-item[data-type="sellers"] .suggestion-thumb,
.search-suggestions .suggestion-item[data-type="managers"] .suggestion-thumb,
.search-suggestions .suggestion-item[data-type="assistants"] .suggestion-thumb,
.search-suggestions .suggestion-item[data-type="riders"] .suggestion-thumb,
.search-suggestions .suggestion-item[data-type="drivers"] .suggestion-thumb {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%) !important;
}

.search-suggestions .suggestion-item[data-type="customers"] .suggestion-thumb {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%) !important;
}

.search-suggestions .suggestion-item[data-type="posts"] .suggestion-thumb {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%) !important;
}

.search-suggestions .suggestion-item[data-type="discussions"] .suggestion-thumb {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%) !important;
}

.search-suggestions .suggestion-item[data-type="careers"] .suggestion-thumb {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%) !important;
}

.search-suggestions .suggestion-item[data-type="addons"] .suggestion-thumb {
    background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%) !important;
}

.search-suggestions .suggestion-item[data-type="faqs"] .suggestion-thumb {
    background: linear-gradient(135deg, #d4fc79 0%, #96e6a1 100%) !important;
}

.search-suggestions .suggestion-item[data-type="guidelines"] .suggestion-thumb {
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%) !important;
}

.search-suggestions .suggestion-item[data-type="businesses"] .suggestion-thumb,
.search-suggestions .suggestion-item[data-type="warehouses"] .suggestion-thumb {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%) !important;
}

.search-suggestions .suggestion-item .suggestion-content {
    flex: 1 !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.search-suggestions .suggestion-item .suggestion-title {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.4 !important;
    margin-bottom: 4px !important;
}

.search-suggestions .suggestion-item .suggestion-title em {
    color: #0068c9 !important;
    font-style: normal !important;
    font-weight: 700 !important;
    background-color: #fff3cd !important;
    padding: 1px 3px !important;
    border-radius: 2px !important;
}

/* Product code / SKU / Addon code styling */
.search-suggestions .suggestion-item .suggestion-code {
    font-size: 11px !important;
    color: #6c757d !important;
    font-family: monospace !important;
    margin-top: 2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Customer type badge styling */
.search-suggestions .suggestion-item .suggestion-customer-type {
    font-size: 10px !important;
    font-weight: 600 !important;
    color: #17a2b8 !important;
    margin-top: 2px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Credit limit styling */
.search-suggestions .suggestion-item .suggestion-credit-limit {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #ffc107 !important;
    margin-top: 2px !important;
}

/* Price styling - moved to right side */
.search-suggestions .suggestion-item .suggestion-price {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #28a745 !important;
    margin-left: 15px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

/* Deal badge for listing types */
.search-suggestions .suggestion-item .suggestion-deal-badge {
    font-size: 10px !important;
    font-weight: 600 !important;
    background: #dc3545 !important;
    color: #fff !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    margin-left: 8px !important;
    display: inline-block !important;
}

/* Featured badge */
.search-suggestions .suggestion-item .suggestion-featured-badge {
    font-size: 10px !important;
    font-weight: 600 !important;
    background: #ffc107 !important;
    color: #856404 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    margin-left: 8px !important;
    display: inline-block !important;
}

/* Auction badge */
.search-suggestions .suggestion-item .suggestion-auction-badge {
    font-size: 10px !important;
    font-weight: 600 !important;
    background: #17a2b8 !important;
    color: #fff !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    margin-left: 8px !important;
    display: inline-block !important;
}

/* Loading spinner */
.search-suggestions .suggestion-loading,
.search-suggestions .suggestion-no-results,
.search-suggestions .suggestion-error {
    padding: 15px 20px !important;
    text-align: center !important;
    color: #999 !important;
    font-size: 13px !important;
}

.search-suggestions .suggestion-loading i {
    margin-right: 6px !important;
    color: #0068c9 !important;
}

.search-suggestions .suggestion-error {
    color: #dc3545 !important;
}

/* Scrollbar styling */
.search-suggestions::-webkit-scrollbar {
    width: 6px;
}

.search-suggestions::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.search-suggestions::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.search-suggestions::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .search-suggestions {
        max-height: 350px !important;
    }
    
    .search-suggestions .suggestion-item {
        padding: 10px 12px !important;
    }
    
    .search-suggestions .suggestion-item .suggestion-thumb {
        width: 38px !important;
        height: 38px !important;
        margin-right: 10px !important;
    }
    
    .search-suggestions .suggestion-item .suggestion-title {
        font-size: 13px !important;
    }
    
    .search-suggestions .suggestion-item .suggestion-price {
        font-size: 12px !important;
        margin-left: 10px !important;
    }
}





