.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;
}

/* Cookie Consent Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 3px solid #4f46e5;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cookie-consent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cookie-consent-header h3 {
    margin: 0;
    color: #1f2937;
    font-size: 1.25rem;
}

.cookie-consent-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-consent-body {
    color: #4b5563;
}

.cookie-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.cookie-type {
    background: #f9fafb;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.cookie-type.necessary {
    background: #eff6ff;
    border-color: #93c5fd;
}

.cookie-type-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
    background-color: #4f46e5;
}

.cookie-switch input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

.cookie-switch input:disabled + .cookie-slider {
    background-color: #4f46e5;
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-description {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.cookie-consent-buttons .btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.cookie-consent-buttons .btn-outline {
    background: white;
    border-color: #d1d5db;
    color: #374151;
}

.cookie-consent-buttons .btn-outline:hover {
    background: #f9fafb;
}

.cookie-consent-buttons .btn-primary {
    background: #4f46e5;
    color: white;
    border: none;
}

.cookie-consent-buttons .btn-primary:hover {
    background: #4338ca;
}

.cookie-consent-links {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.cookie-consent-links a {
    color: #4f46e5;
    text-decoration: none;
    font-size: 0.875rem;
}

.cookie-consent-links a:hover {
    text-decoration: underline;
}

/* Modal Styles */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header .modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
}

.cookie-modal-body {
    padding: 20px;
}

.cookie-modal-body .cookie-setting {
    padding: 15px;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 15px;
}

.cookie-modal-body .setting-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cookie-modal-body .toggle-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-modal-body .setting-status {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.cookie-modal-body .setting-status.required {
    background: #dcfce7;
    color: #166534;
}

.cookie-modal-body .switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.cookie-modal-body .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-modal-body .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.cookie-modal-body .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.cookie-modal-body .switch input:checked + .slider {
    background-color: #4f46e5;
}

.cookie-modal-body .switch input:checked + .slider:before {
    transform: translateX(20px);
}

.cookie-modal-body .modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .cookie-consent-buttons {
        flex-direction: column;
    }
    
    .cookie-consent-buttons .btn {
        width: 100%;
    }
    
    .cookie-types {
        grid-template-columns: 1fr;
    }
    
    .cookie-modal-content {
        width: 95%;
    }
}

.pulse-animation {
    animation: pulse 1s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); background-color: #ff4444; color: white; }
    100% { transform: scale(1); }
}

.loading.disabled {
    pointer-events: none;
    opacity: 0.6;
}
