.dashboard_wrapper .active{
    background-color: var(--dark-blue) !important;
    border-color: var(--dark-blue) !important;
    color: var(--text-white) !important;
}

.dashboard_wrapper .active i,
.dashboard_wrapper .active a {
    color: var(--text-white) !important;
}



.text-danger {
    margin: 10px 0; /* Space above and below the error message */
    text-align: center; /* Center the text of the error message */
}

/* Target the placeholder text */
#cardholder-name::placeholder {
    /* color: #87BBFD; */
    color: #bac5cf; /* Set your desired color */
    font-weight: 900;
    font-family: 'Roboto, Open Sans, Segoe UI, sans-serif';
    font-size: '18px';
    opacity: 1; /* Ensure the color shows fully */
}



/* Customize placeholder for input fields */
input::placeholder {
    color: #aab7c4;
    opacity: 1;
}


.custom-payment-form .form-group {
    margin-bottom: 10px;
}

.custom-payment-form label {
    font-weight: 600;
    color: #333;
}

.custom-payment-form .form-control {
    font-weight:700;
    font-family:'Roboto, Open Sans, Segoe UI, sans-serif';
    border: 2px solid grey;
    border-radius: 8px;
    padding: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.custom-payment-form .form-control:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 8px rgba(74, 144, 226, 0.2);
}


.custom-payment-form .input-wrapper {
    position: relative;
}

.custom-payment-form #card-brand-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.custom-payment-form input::placeholder {
    color: #aab7c4;
    opacity: 1;
}

.custom-payment-form .button {
    background-color: #4a90e2;
    /* color: white; */
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* .custom-payment-form .button:hover {
    background-color: #357ABD;
} */

.order_wrapper{
    margin-top:10px !important;
}

.small-font {
    font-size: 12px !important; /* Set font size to 12px */
}

.modalOrder {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modalContentOrder {
    margin: auto;
    display: block;
    max-width: 50%;
    max-height: 90%;
}

.closeOrder {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}


#profile_picture{
    padding: 11px;
}



.accordion-collapse {
    display: none; /* Initially hidden to prevent flash */
}
.accordion-collapse.show {
    display: block; /* Shown smoothly when expanded */
    transition: opacity 0.1s ease; /* Smooth opacity transition */
}

@media (max-width: 1000px) {
    .cart-count {
        background-color: red;
        color: white;
        border-radius: 50%;
        height: 15px !important;
        width: 15px !important;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 12px;
        font-weight: bold;
        margin-left: 0px !important;
    }
}
@media (max-width: 768px) { /* You can adjust the max-width as needed */
    .navbar-brand {
        margin-right: 0px !important;
    }
    .navbar-brand img {
        height: 69px !important;
    }
}
hr.space-details{
        margin: 0.5rem 0 !important;
}

.accordion-button.disable-click {
    pointer-events: none;
}
/* General styling for autocomplete */
.ui-autocomplete {
    max-width: 100%;
    background-color: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    z-index: 9999;
}

/* Styling for individual autocomplete items */
.ui-autocomplete li {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.2s ease, padding 0.2s ease;
    border-bottom: 1px solid #f1f1f1;
    border-radius: 6px;
}

/* Item hover effect */
.ui-autocomplete li:hover {
    background-color: #f7f7f7;
    padding-left: 24px;
}

/* Styling for product image */
.ui-autocomplete li img {
    width: 60px;
    height: 60px;
    margin-right: 20px;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Image hover effect */
.ui-autocomplete li:hover img {
    transform: scale(1.05);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}

/* Styling for product title */
.ui-autocomplete li .title {
    font-weight: 500;
    color: #333333;
    transition: color 0.3s ease;
}

/* Title hover effect */
.ui-autocomplete li:hover .title {
    color: #070d3f;
}

/* Styling for SKU */
.ui-autocomplete li .sku {
    font-size: 12px;
    color: #888;
    margin-top: 4px;  /* Adds space between title and SKU */
    text-align: left; /* Ensures SKU is left-aligned */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .ui-autocomplete li {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 20px;
    }

    .ui-autocomplete li img {
        width: 50px;
        height: 50px;
        margin-right: 0;
        margin-bottom: 12px;
    }

    .ui-autocomplete li .title {
        font-size: 16px;
        font-weight: 600;
        color: #444444;
    }

    .ui-autocomplete li .sku {
        font-size: 12px;
        color: #888;
        margin-top: 5px;
    }
}

/* Very small screens (mobile devices) */
@media (max-width: 480px) {
    .ui-autocomplete li {
        padding: 12px 16px;
    }

    .ui-autocomplete li img {
        width: 45px;
        height: 45px;
    }

    .ui-autocomplete li .title {
        font-size: 14px;
    }

    .ui-autocomplete li .sku {
        font-size: 10px;
    }
}

/* Active item styling (keyboard / hover highlight) */
.ui-state-active, .ui-widget-content .ui-state-active {
    border: 1px solid #f3eee0 !important;
    background: #faf6ec !important;
    font-weight: normal;
    color: #070d3f !important;
    box-shadow: inset 3px 0 0 #b8860b;
}

/* === Header live-search dropdown (luxury polish) === */

.ui-autocomplete {
    border: 1px solid #ece7d6;
    border-top: 3px solid #b8860b;
    box-shadow: 0px 12px 32px rgba(7, 13, 63, 0.12);
    padding: 6px 0;
    overflow: hidden;
    /* Hard cap: never exceed viewport so the search dropdown can't push
       horizontal scroll, especially on mobile. JS also clamps the width
       in _resizeMenu, but this is the safety net. */
    box-sizing: border-box;
    max-width: calc(100vw - 16px);
}

.ui-autocomplete li {
    border-bottom: 1px solid #f4f0e6;
    border-radius: 0;
    padding: 10px 18px;
    transition: background-color 0.15s ease;
}
.ui-autocomplete li:last-child {
    border-bottom: 0;
}
.ui-autocomplete li:hover {
    padding-left: 18px;
    background-color: #faf6ec;
}

/* Row layout */
.ui-autocomplete .ac-row {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
}
.ui-autocomplete .ac-thumb {
    width: 56px;
    height: 56px;
    margin: 0;
    border-radius: 8px;
    object-fit: cover;
    flex: 0 0 56px;
    background: #f7f5ee;
    border: 1px solid #efe8d4;
}
.ui-autocomplete .ac-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    flex: 1 1 auto;
}
.ui-autocomplete .ac-meta .title {
    font-weight: 600;
    color: #2b2b2b;
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}
.ui-autocomplete li:hover .ac-meta .title {
    color: #070d3f;
}
.ui-autocomplete .ac-meta-line {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.ui-autocomplete .ac-sku {
    font-size: 11px;
    color: #888;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.ui-autocomplete .ac-price {
    font-size: 13px;
    font-weight: 600;
    color: #b8860b;
}
.ui-autocomplete .ac-price-rrp {
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
    margin-right: 4px;
}
.ui-autocomplete .ac-price--pending {
    color: #b8860b;
    font-weight: 500;
    font-size: 12px;
    font-style: italic;
}
.ui-autocomplete .ac-chip {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 999px;
    line-height: 1.4;
}
.ui-autocomplete .ac-chip--sold {
    background: #fde8e8;
    color: #c0392b;
    border: 1px solid #f5c2c2;
}

/* "Products" header */
.ui-autocomplete .autocomplete-title {
    font-family: 'Roboto', sans-serif;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #b8860b !important;
    padding: 8px 18px 6px !important;
    border-bottom: 1px solid #f4f0e6;
    cursor: default;
    background: transparent;
}
.ui-autocomplete .autocomplete-title:hover {
    background: transparent;
    padding-left: 18px;
}

/* "View all" footer */
.ui-autocomplete .view-all-button {
    padding: 0 !important;
    border-bottom: 0;
    border-top: 1px solid #f4f0e6;
    background: #fbfaf5;
}
.ui-autocomplete .view-all-button:hover {
    background: #f7f1de;
    padding-left: 0;
}
.ui-autocomplete .view-all-button a {
    display: block;
    text-align: center;
    padding: 12px 18px;
    color: #070d3f;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.3px;
}
.ui-autocomplete .view-all-button a:hover {
    color: #b8860b;
}

/* Empty state */
.ui-autocomplete .ac-empty {
    padding: 18px !important;
    cursor: default;
    border-bottom: 0;
    background: transparent !important;
}
.ui-autocomplete .ac-empty:hover {
    padding-left: 18px;
    background: transparent !important;
}
.ui-autocomplete .ac-empty .ac-empty-inner {
    color: #777;
    font-size: 13px;
    text-align: center;
    line-height: 1.5;
}

/* Keyboard hint footer */
.ui-autocomplete .ac-kb-hint {
    display: flex !important;
    justify-content: center;
    gap: 14px;
    padding: 8px 18px !important;
    background: #fbfaf5;
    border-top: 1px solid #f4f0e6;
    border-bottom: 0;
    cursor: default;
    font-size: 11px;
    color: #888;
    flex-wrap: wrap;
}
.ui-autocomplete .ac-kb-hint:hover {
    padding-left: 18px;
    background: #fbfaf5;
}
.ui-autocomplete .ac-kb-hint kbd {
    display: inline-block;
    padding: 1px 5px;
    margin: 0 2px;
    font-family: inherit;
    font-size: 10px;
    color: #444;
    background: #fff;
    border: 1px solid #d8d3c4;
    border-bottom-width: 2px;
    border-radius: 3px;
    line-height: 1;
    vertical-align: baseline;
}

/* In-input search spinner */
.ac-input-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
}
.ac-input-wrap > input { width: 100%; padding-right: 36px; }
.ac-input-wrap > .ac-input-spinner {
    display: none;
    position: absolute;
    top: 50%;
    right: 12px;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border: 2px solid #efe8d4;
    border-top-color: #b8860b;
    border-radius: 50%;
    animation: ac-spin 0.7s linear infinite;
    pointer-events: none;
    z-index: 4;
}
.ac-input-wrap > input.ac-loading ~ .ac-input-spinner {
    display: block;
}

/* In-dropdown spinner for re-typed queries while menu is open */
.ui-autocomplete.ac-loading {
    position: relative;
}
.ui-autocomplete.ac-loading::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 14px;
    width: 14px;
    height: 14px;
    border: 2px solid #efe8d4;
    border-top-color: #b8860b;
    border-radius: 50%;
    animation: ac-spin 0.7s linear infinite;
    pointer-events: none;
    z-index: 2;
}
@keyframes ac-spin {
    to { transform: rotate(360deg); }
}

/* Mobile tweaks — keep layout horizontal so price is visible without overflow */
@media (max-width: 768px) {
    .ui-autocomplete li {
        flex-direction: row;
        align-items: center;
        padding: 10px 14px;
    }
    .ui-autocomplete .ac-thumb {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        margin: 0;
    }
    .ui-autocomplete .ac-meta .title {
        font-size: 13px;
    }
    .ui-autocomplete .ac-meta-line {
        gap: 6px;
        margin-top: 2px;
    }
    .ui-autocomplete .ac-price {
        font-size: 12px;
    }
}
@media (max-width: 480px) {
    .ui-autocomplete .ac-thumb {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }
    .ui-autocomplete .ac-kb-hint {
        display: none !important;
    }
}

#searchForm {
    display: flex;
    width: 100%;
    position: relative; /* This makes the button position relative to the form */
}

#search {
    width: 100%; /* Ensures input stretches to full width */
    border-radius: 25px;
    padding: 12px 20px;
    padding-right: 50px; /* Adds extra space on the right for the button */
    border: 1px solid #ddd;
    font-size: 16px;
    z-index: 1; /* Ensures input stays above the button */
}

.btn-custom-search {
    position: absolute;
    top: 50%;
    right: 10px; /* Moves button slightly to the left */
    transform: translateY(-50%);
    padding: 12px;
    background-color: var(--dark-blue);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2; /* Keeps button above input */
}

/* Remove hover styles (optional) */
.btn-custom-search:hover {
    background-color: var(--dark-blue); 
    color: #fff; 
}

.btn-custom-search i {
    font-size: 18px;
}

/* Container styling */
.coupon-container {
    padding: 10px;
}

/* Coupon text box */
.coupon-code-text {
    font-size: 15px;
    color: #070d3f;
    font-weight: bold;
    background-color: #fff;
    padding: 10px 0 0 0;
    border-radius: 8px;
    border: 2px solid #070d3f;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

/* Icon style */
.coupon-code-text .icon {
    margin-right: 10px;
    font-size: 24px;
    transition: transform 0.3s ease;
}

/* Hover effect for coupon box */
.coupon-code-text:hover {
    background-color: #f9f9f9;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
}

/* Success message styled as a pin */
.copied-message {
    position: fixed; /* Fixed to the viewport */
    top: 20px; /* Position near the top of the viewport */
    right: 20px; /* Align to the right side */
    background-color: #28a745;
    color: white;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.2);
    display: none; /* Initially hidden */
    animation: fadeInOut 3s ease-out;
    z-index: 9999; /* Ensure it appears above other elements, including the sticky header */
}

/* Example animation for fade in and out */
@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    10%, 90% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* === Shop / Brand listing — pagination summary line === */
.shop-results-summary {
    margin-top: 14px;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #6b6b6b;
    letter-spacing: 0.4px;
}
.shop-results-summary strong {
    color: #070d3f;
    font-weight: 700;
}
@media (max-width: 576px) {
    .shop-results-summary {
        font-size: 12px;
        margin-top: 12px;
        padding: 0 12px;
    }
}
