/* Success and Error Toast Start*/

.success-toast {
    position: fixed;
    top: 20px;
    right: 0px;
    background: #28a745;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.error-toast {
    position: fixed;
    top: 20px;
    right: 0px;
    background: #dc3545;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.error-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-icon {
    font-size: 20px;
}

.toast-message {
    font-weight: 500;
    font-size: 15px;
}

/* Success and Error Toast End*/


/* nav bar user avatar and initials styles start */

.header-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.header-user-initials {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    /* line-height: 1; */
    color: #fff;
    background: var(--primary-color, #000);
}

/* nav bar user avatar and initials styles end */



/* ── Delete modal css start ─────────────────────────────── */
.custom-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);

    /* hidden by default */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.custom-modal-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.custom-modal-box {
    width: 100%;
    max-width: 420px;
    padding: 32px 28px;
    text-align: center;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.25s ease;
}

.custom-modal-overlay.show .custom-modal-box {
    transform: translateY(0) scale(1);
}

.custom-modal-icon {
    font-size: 40px;
    color: #dc3545;
}

.custom-modal-cancel-btn {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.custom-modal-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.custom-modal-confirm-btn {
    background: #dc3545;
    color: #fff;
    border: 1px solid #dc3545;
}

.custom-modal-confirm-btn:hover {
    background: #bb2d3b;
    border-color: #bb2d3b;
    color: #fff;
}

/* ── Delete modal css end ─────────────────────────────── */


/* ── Profile Drop Zone Styles start ─────────────────────────────── */
.profile-drop-zone {
    border: 2px dashed #ccc;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

.profile-drop-zone:hover,
.profile-drop-zone.drag-over {
    border-color: #999;
    background: rgba(0, 0, 0, .03);
}

.profile-drop-zone img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
}

.profile-drop-zone .drop-icon {
    font-size: 32px;
    margin-bottom: 8px;
    display: block;
}

.profile-drop-zone .drop-text {
    margin: 0 0 4px;
}

#profileAvatarImg {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

/* ── Profile Drop Zone Styles end ─────────────────────────────── */


/* readonly fixed input field styles start  */

.form-control.form-control-3[readonly] {
    background-color: transparent !important;
    color: #fff !important;
    opacity: 1;
    cursor: not-allowed;
}

.form-control.form-control-3[readonly]:focus {
    box-shadow: none;
    border-color: inherit;
}

/* readonly fixed input field styles end  */


/* shop page category tree styles start  */

/* price inputs */
.shop-price-input {
    width: 100%;
    min-width: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    padding: 6px 8px;
    border-radius: 0;
}

.shop-price-input:focus {
    outline: none;
    border-color: #C8202A;
}

/* nested categories: parent → child → grandchild with dashed guide line */
.shop-cat-tree {
    list-style: none;
    margin: 0;
    padding: 0;
}

.shop-cat-node {
    margin-bottom: .6rem;
}

.shop-cat-node:last-child {
    margin-bottom: 0;
}

.shop-cat-parent {
    font-weight: 600;
}

.shop-cat-children {
    margin: .6rem 0 0 .55rem;
    padding-left: 1.1rem;
    border-left: 1px dashed rgba(255, 255, 255, .25);
}

#shopProductsWrap {
    transition: opacity .15s ease;
}

/* shop page category tree styles end  */


/* ck editor style start */
.static_des img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 20px auto !important;
    border-radius: 12px !important;
    object-fit: cover !important;
}

.static_des figure {
    max-width: 100% !important;
    margin: 20px 0 !important;
    overflow: hidden !important;
}

.static_des figure img {
    width: 100% !important;
    max-width: 100% !important;
}

.static_des p {
    font-size: 13.5px !important;
    line-height: 1.8 !important;
    font-family: var(--primary-light-font) !important;
    color: rgba(255, 255, 255, 0.65) !important;
}

.static_des h1 {
    color: #fff !important;
    font-family: var(--heading-font) !important;
    opacity: 1 !important;
    transform: translateX(0px) translateZ(0px) scaleX(1) !important;
    font-size: 36px !important;
    /* text-transform: uppercase !important; */
}

.static_des h2,
.static_des h3 {
    color: #fff !important;
    font-family: var(--heading-font) !important;
    opacity: 1 !important;
    transform: translateX(0px) translateZ(0px) scaleX(1) !important;
    /* text-transform: uppercase !important; */
    font-size: 24px !important;
}

.static_des li {
    font-family: var(--primary-light-font) !important;
    font-size: 13.5px !important;
    line-height: 1.8 !important;
    padding-left: 10px !important;
    margin-bottom: 10px !important;
    color: #fff !important;
}

.static_des li::marker {
    font-family: var(--primary-light-font) !important;
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.65) !important;
}

.static_des table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 20px 0 !important;
    font-family: var(--primary-light-font) !important;
    font-size: 13.5px !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

.static_des table thead th {
    background-color: none !important;
    color: #dc2626 !important;
    font-family: var(--heading-font) !important;
    font-weight: 600 !important;
    text-align: left !important;
    padding: 10px 12px !important;
    border: 0 !important;
    border-bottom: 2px solid #dc2626 !important;
}

.static_des table tbody td {
    padding: 10px 15px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #9ca3af !important;
    line-height: 1.8 !important;
}

.static_des table tbody tr:nth-child(even) {
    background-color: none !important;
}

.static_des figure.table {
    overflow-x: auto !important;
    max-width: 100% !important;
    margin: 20px 0 !important;
    border-radius: 8px !important;
}

.static_des figure.table table {
    margin: 0 !important;
}

/* ck editor style end */



/* search bar css start */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    max-height: 400px;
    overflow-y: auto;
    z-index: 999;
    display: none;
}

.search-suggestions.active {
    display: block;
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: #111;
    border-bottom: 1px solid #f0f0f0;
}

.search-suggestion-item:hover {
    background: #f8f8f8;
}

.search-suggestion-item img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
}

.search-suggestion-item .s-title {
    font-size: 14px;
    font-weight: 500;
}

.search-suggestion-item .s-price {
    font-size: 13px;
    opacity: .7;
}

.search-suggestion-empty {
    padding: 14px 16px;
    color: #777;
}

.search-suggestion-all {
    display: block;
    text-align: center;
    padding: 12px;
    font-weight: 600;
    text-decoration: none;
}

/* search bar css end */


/* ===== Gift card: Preset / Custom toggle ===== */
.gift_____mode {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.gift_____mode_____btn {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #4b5563;
    background: transparent;
    color: var(--secondary-color);
    font: 700 12px/1 var(--secondary-bold-font);
    cursor: pointer;
    transition: 0.3s ease;
}

.gift_____mode_____btn:hover {
    border-color: var(--extra-color-1);
}

.gift_____mode_____btn.active {
    background: var(--extra-color-1);
    border-color: var(--extra-color-1);
    color: var(--extra-color-2);
}

/* selected design tile (inline border is overridden with !important) */
.gift_____card_____option.active {
    border-color: var(--extra-color-1) !important;
    box-shadow: 0 0 0 1px var(--extra-color-1);
}

.gift_____hint {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: var(--extra-color-3);
}

/* validation / gateway errors */
.gc-err {
    color: #ff6b7a;
    font-size: 12px;
    margin-top: 4px;
}

.gc-err:empty {
    display: none;
}

/* Stripe / Square card containers inside the dark modal */
#gcStripeCard,
#gcSquareCard {
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    min-height: 44px;
}

#gcSquareCard:empty {
    display: none;
}

#gcPaypalButtons {
    margin-top: 8px;
}

#gcPayBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}



/* order listing page css start */

.order____wrapper .order____img {
    width: 90px;
    height: 90px;
    flex: 0 0 90px;
}

.order____wrapper .order____img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 575px) {
    .order____wrapper .order____img {
        width: 70px;
        height: 70px;
        flex: 0 0 70px;
    }
}

/* order listing page css end  */


/* order details page css start  */

.order_detail_items .order____img {
    width: 80px;
    height: 80px;
    flex: 0 0 80px;
}

.order_detail_items .order____img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order_item_info .variant-swatch {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 4px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

@media (max-width: 575px) {
    .order_detail_items .order____img {
        width: 60px;
        height: 60px;
        flex: 0 0 60px;
    }
}

/* order details page css end   */


/* write a review css start  */

.write____review .order____img {
    width: 80px;
    height: 80px;
    flex: 0 0 80px;
}

.write____review .order____img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 575px) {
    .write____review .order____img {
        width: 60px;
        height: 60px;
        flex: 0 0 60px;
    }
}

/* write a review css end   */


/* profile page css start   */

.overview____wrapper .overview____img {
    width: 80px;
    height: 80px;
}

.overview____wrapper .overview____img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* profile page css end   */
