a.buybtn {
    background-color: #0B2743;
    border: 2px solid #0B2743;
    color: white !important;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

a.buybtn:hover {
    background-color: rgba(11, 39, 67, 0.9);
    border-color: rgba(11, 39, 67, 0.9);
    color: white !important;
}

.btn-buy-now {
    width: 100%;
    padding: 12px 0;
    border: 2px solid #0B2743;
    color: #0B2743 !important;
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    background-color: transparent;
}

.btn-buy-now:hover {
    background-color: rgba(11, 39, 67, 0.05);
    color: #0B2743 !important;
}

.btn-add-to-cart {
    width: 100%;
    padding: 16px 0;
    background-color: #0B2743;
    color: white !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.btn-add-to-cart:hover {
    background-color: rgba(11, 39, 67, 0.9);
    color: white !important;
}

.add-combination-button a {
    border-radius: 100px;
    font-size: 19px;
    position: relative;
    overflow: hidden;
}

.add-combination-button a:after {
    border-radius: 100px;
    content: '';
    position: absolute;
    inset: 0;
    transition: all 0.3s ease;
}

.LoginBtn {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.LoginBtn a {
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
}

.LoginBtn a:hover:after {
    border-radius: 25px;
}

.Sign_popup {
    border-radius: 10px;
    background-color: #f2f2f2;
    padding: 30px 0px 10px 10px;
}

.share-button {
    border: 4px solid #DA003F;
    background-color: #DA003F;
    padding: 10px 25px;
    color: #fff !important;
    font-size: 19px;
    border-radius: 100px;
    transform: scale(0.93);
}

.share-button img {
    height: 20px;
    margin-right: 8px;
}

.share-button::after {
    border: 0;
}

ul.share-list li a {
    background-color: transparent !important;
    border: 0 !important;
    padding: 0px !important;
}

ul.share-list li a::after {
    display: none;
}

.share-button:hover {
    color: #DA003F !important;
}

.report-button {
    border: 2px solid #6c757d;
    background-color: transparent;
    padding: 0;
    color: #6c757d !important;
    font-size: 16px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* HTMX Indicator Styles */
#image_upload_form.htmx-request .indicator-on-submit {
    display: none !important;
}

#image_upload_form.htmx-request .indicator-progress {
    display: inline-block !important;
}

.report-button::after {
    display: none;
}

.discount-badge {
    background-color: #fee2e2;
    color: #dc2626;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    border: 1px solid #fecaca;
}

.report-button:hover {
    background-color: #6c757d;
    color: #fff !important;
}

.Sign_popup .modal-header {
    border: none;
    display: inline;
}

.Sign_popup .btn-close {
    position: absolute;
    right: 20px;
    top: 20px;
}

.Sign_popup .modal-title {
    font-size: 16px;
    font-weight: 500;
    color: #111;
}

.Sign_popup .link-text {
    background: transparent;
    border: none;
    color: #0890c7;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    margin-top: 25px;
    padding-left: 4px;
}

.Sign_popup .link-text:hover:after {
    display: none;
}

/* First-time user banner styles */
.first-time-user-banner {
    background: linear-gradient(135deg, #7FC7E4 0%, #0891b2 100%);
    border: none;
    border-radius: 12px;
    color: white;
    padding: 15px 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(127, 199, 228, 0.3);
    transition: all 0.3s ease;
}

.first-time-user-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(127, 199, 228, 0.4);
}

.first-time-user-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 2s ease;
}

.first-time-user-banner:hover::before {
    left: 100%;
}

.first-time-user-banner .banner-icon {
    font-size: 1.5em;
    margin-right: 12px;
    vertical-align: middle;
}

.first-time-user-banner .banner-title {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 5px;
}

.first-time-user-banner .banner-subtitle {
    font-size: 0.9em;
    opacity: 0.95;
    margin-bottom: 0;
}

/* Registration encouragement banner styles */
.register-encouragement-banner {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    border: 2px solid #7FC7E4;
    border-radius: 12px;
    color: white;
    padding: 18px 22px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.25);
    transition: all 0.3s ease;
}

.register-encouragement-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(8, 145, 178, 0.35);
    border-color: #0891b2;
}

.register-encouragement-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 2.5s ease;
}

.register-encouragement-banner:hover::before {
    left: 100%;
}

.register-encouragement-banner .banner-icon {
    font-size: 1.4em;
    margin-right: 14px;
    vertical-align: middle;
    color: #F1F1F1;
}

.register-encouragement-banner .banner-title {
    font-size: 1.05em;
    font-weight: 600;
    margin-bottom: 6px;
    color: white;
}

.register-encouragement-banner .banner-subtitle {
    font-size: 0.88em;
    opacity: 0.92;
    margin-bottom: 8px;
    line-height: 1.4;
}

.register-encouragement-banner .banner-actions {
    margin-top: 12px;
}

.register-encouragement-banner .btn-register {
    background-color: white;
    color: #0891b2;
    border: 2px solid white;
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-right: 10px;
}

.register-encouragement-banner .btn-register:hover {
    background-color: #F1F1F1;
    color: #0891b2;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.register-encouragement-banner .btn-login {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 500;
    font-size: 0.9em;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.register-encouragement-banner .btn-login:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
    transform: translateY(-1px);
}

.thumbnail-swiper {
    margin-top: 0;
    height: 600px;
    position: relative;
}

.thumbnail-swiper .swiper-thumbnails {
    height: 100%;
    padding: 0 5px;
}

.thumbnail-slide {
    width: 100% !important;
    height: 136px !important;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    margin-bottom: 10px;
}

.thumbnail-slide.active {
    opacity: 1;
    border: 1px solid #0B2743 !important;
}

.square {
    height: 136px !important;
}

.thumbnail-slide:hover {
    opacity: 1;
}

.thumbnail-slide .card {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 6px;
}

.thumbnail-swiper .swiper-button-next:hover,
.thumbnail-swiper .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: translateX(-50%) scale(1.1);
}

.thumbnail-swiper .swiper-thumbnails {
    scrollbar-width: none;
    /* Firefox */
}

.thumbnail-swiper .swiper-thumbnails::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.lightbox-swiper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.lightbox-swiper.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-swiper .swiper {
    width: 100%;
    height: 100%;
    cursor: default;
}

.lightbox-swiper .swiper-slide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 70px 80px;
    box-sizing: border-box;
}

.lightbox-swiper .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    cursor: default;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: white;
    font-size: 32px;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.lightbox-swiper .swiper-button-next,
.lightbox-swiper .swiper-button-prev {
    width: 55px;
    height: 55px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.lightbox-swiper .swiper-button-next:after,
.lightbox-swiper .swiper-button-prev:after {
    font-size: 24px;
    font-weight: bold;
}

.lightbox-swiper .swiper-button-next:hover,
.lightbox-swiper .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.carousel-item .card {
    cursor: pointer;
}

.favorite-tooltip {
    --bs-tooltip-bg: rgba(11, 39, 67, 0.95);
    --bs-tooltip-color: #fff;
    --bs-tooltip-padding-x: 1rem;
    --bs-tooltip-padding-y: 0.5rem;
    --bs-tooltip-font-size: 0.95rem;
    --bs-tooltip-border-radius: 8px;
}

.favorite-tooltip .tooltip-inner {
    background: linear-gradient(135deg, rgba(11, 39, 67, 0.95) 0%, rgba(127, 199, 228, 0.95) 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.favorite-tooltip .tooltip-arrow::before {
    border-bottom-color: rgba(11, 39, 67, 0.95) !important;
}

.favorite-btn {
    position: relative;
    transition: transform 0.2s ease;
}

.favorite-btn:hover {
    transform: scale(1.1);
}

/* Accordion Styles */
.accordion-custom {
    border: 1px solid rgba(11, 39, 67, 0.1) !important;
    border-radius: 12px !important;
    overflow: hidden;
    background: #fff;
    margin-top: 2rem;
}

.accordion-item-custom button {
    background-color: #f8fafc !important;
    transition: all 0.3s ease;
    color: #0B2743;
    border: none;
    outline: none;
    font-family: inherit;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    text-align: left;
}

.accordion-item-custom button:hover {
    background-color: #f1f5f9 !important;
}

.accordion-item-custom button.expanded {
    background-color: #ffffff !important;
}

.rotate-180 {
    transform: rotate(180deg);
}

.transition-transform {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bg-warning-light {
    background-color: rgba(245, 158, 11, 0.1) !important;
    color: #d97706 !important;
}

.bg-primary-light {
    background-color: rgba(11, 39, 67, 0.05) !important;
    color: #0B2743 !important;
}

.bg-success-light {
    background-color: rgba(34, 197, 94, 0.1) !important;
    color: #16a34a !important;
}

.care-instructions-box {
    background-color: #f8fafc;
    border-radius: 8px;
    padding: 1rem;
    border-left: 3px solid #e2e8f0;
}

.gap-2 {
    gap: 0.5rem;
}

/* Size Select Button Styles */
.btn-size-select {
    border-radius: 10px;
    background: #E0E6EC;
    color: #0B2743 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    box-shadow: none !important;
    outline: none !important;
}

.btn-size-select:hover {
    border-radius: 10px !important;
    border: 1px solid #17A3BF !important;
    background: #26BAD8 !important;
    color: #fff !important;
}

.size-select:checked+.btn-size-select {
    border-radius: 10px !important;
    border: 1px solid #17A3BF !important;
    background: #26BAD8 !important;
    color: #fff !important;
}

.secondary-title {
    color: #0B2743 !important;
}

.size-select {
    display: none;
}

.btn-full-basket {
    padding: 20px;
    width: 100%;
    margin-top: 12px;
    background: #0B2743;
    color: white;
    border-radius: 12px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-full-basket:hover {
    background: #081d33;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 39, 67, 0.2);
}

/* Size Guide Modal Styles */
.size-guide-tabs {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
}

.size-guide-tab {
    flex: 1;
    padding: 1rem;
    text-align: center;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    background: none;
    border: none;
}

.size-guide-tab.active {
    color: #0B2743;
    border-bottom-color: #0B2743;
}

.size-guide-tab:hover:not(.active) {
    color: #334155;
    background-color: #f8fafc;
}

.size-chart-table th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #0B2743;
    padding: 12px;
    font-size: 14px;
}

.size-chart-table td {
    padding: 12px;
    vertical-align: middle;
    color: #0B2743;
    font-size: 14px;
}

.size-chart-table tr:hover {
    background-color: #f1f5f9;
}

.recommendation-box {
    background-color: rgba(11, 39, 67, 0.05);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid rgba(11, 39, 67, 0.1);
}

.measurement-badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #f1f5f9;
    color: #64748b;
    border: 1px solid transparent;
    display: inline-block;
    margin: 0.25rem;
}

.measurement-badge.active {
    background-color: #0B2743;
    color: white;
}

.illustration-container {
    background-color: #f8fafc;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.tip-box {
    background-color: #fffbeb;
    border-radius: 8px;
    padding: 1rem;
    border-left: 4px solid #f59e0b;
    color: #92400e;
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

.size-guide-header-title {
    color: #0B2743 !important;
}

.table-header {
    background-color: #0B2743 !important;
    font-weight: 600;
    color: white !important;
    padding: 12px;
    font-size: 14px;
}


/* Exclusive Gift Set Styles */
.exclusive-gift-container {
    border: 2px solid #ffdd8c;
    border-radius: 16px;
    overflow: hidden;
    background: #fffdf5;
    margin-bottom: 24px;
}

.exclusive-gift-header {
    background: linear-gradient(90deg, #ff8c00, #ffae42);
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: white;
    justify-content: space-between;
}

.gift-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.exclusive-gift-title {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    margin: 0;
}

.exclusive-gift-subtitle {
    font-size: 13px;
    opacity: 0.9;
    margin: 0;
}

.value-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
}

.gift-items-list {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: auto !important;
}

.gift-item-card {
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform 0.2s ease;
}

.gift-item-card:hover {
    transform: translateX(4px);
    border-color: #ffdd8c;
}

.gift-item-image {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gift-item-image.veil {
    background-color: #fff1f2;
    color: #e11d48;
}

.gift-item-image.petticoat {
    background-color: #f5f3ff;
    color: #7c3aed;
}

.gift-item-image.pouch {
    background-color: #f0f9ff;
    color: #0284c7;
}

.gift-item-info {
    flex: 1;
}

.gift-item-title {
    font-weight: 700;
    font-size: 15px;
    color: #0B2743;
    margin-bottom: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gift-item-desc {
    font-weight: 600;
    font-size: 13px;
    color: #475569;
    margin-bottom: 4px;
}

.gift-item-subdesc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}

.old-price {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
}

.free-badge {
    background-color: #dcfce7;
    color: #166534;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gift-footer {
    padding: 12px 12px 0px;
    text-align: center;
    border-top: 1px solid #fee2e2;
    color: #9a3412;
    font-weight: 600;
}

.total-savings-text {
    color: #0B2743;
    font-size: 16px;
}

.total-savings-amount {
    color: #ea580c;
    font-size: 20px;
    font-weight: 800;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Collapse Transition */
.collapse-enter-active,
.collapse-leave-active {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.collapse-enter-from,
.collapse-leave-to {
    opacity: 0;
    height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.btn-ai-tryon {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, rgb(147, 51, 234) 0%, rgb(219, 39, 119) 50%, rgb(244, 63, 94) 100%);
    border: none;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: rgba(219, 39, 119, 0.4) 0px 4px 15px;
    transform: translateY(0px);
    font-size: 20px;
}

.btn-ai-tryon:hover {
    transform: translateY(-2px);
    box-shadow: rgba(219, 39, 119, 0.6) 0px 6px 20px;
    color: white;
    opacity: 0.9;
}

.carousel-main-media {
    border-radius: 16px;
    height: 600px;
    position: relative;
    overflow: hidden;
}

.carousel-action-button {
    width: 35px;
    height: 35px;
    padding: 0 !important;
    background: white !important;
    border: none !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    cursor: pointer;
}

.carousel-action-button:hover {
    transform: scale(1.1);
    background-color: #f8f9fa !important;
}

/* Custom Favorite Tooltip Styles */
.favorite-tooltip {
    --bs-tooltip-bg: rgba(11, 39, 67, 0.95);
    --bs-tooltip-color: #fff;
    --bs-tooltip-padding-x: 1rem;
    --bs-tooltip-padding-y: 0.5rem;
    --bs-tooltip-font-size: 0.95rem;
    --bs-tooltip-border-radius: 8px;
}

.favorite-tooltip .tooltip-inner {
    background: linear-gradient(135deg, rgba(11, 39, 67, 0.95) 0%, rgba(127, 199, 228, 0.95) 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.favorite-tooltip .tooltip-arrow::before {
    border-bottom-color: rgba(11, 39, 67, 0.95) !important;
}


.carousel-action-button i {
    font-size: 18px;
    line-height: normal;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-action-buttons {
    position: absolute;
    top: 12px;
    right: 20px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Swiper Styles */
.swiper-thumbnails {
    height: 600px !important;
}

/* Consolidated Carousel & Component Styles */
.carousel-counter {
    position: absolute;
    top: 15px;
    left: 20px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    pointer-events: none;
}

.carousel-video-media {
    border-radius: 16px;
    object-fit: contain;
    position: relative;
    z-index: 5;
    display: block;
}

.carousel-control-btn {
    background: white !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8 !important;
    transition: all 0.3s ease !important;
    border: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.carousel-control-btn:hover {
    opacity: 1 !important;
    transform: translateY(-50%) scale(1.05) !important;
}

.carousel-control-icon-custom {
    color: #0B2743;
    font-size: 1.5rem;
    -webkit-text-stroke: 1px;
}

.btn-delete-circular {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    font-weight: bold;
}

.installment-header-custom {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.installment-text-small {
    font-size: 0.875rem;
}

.installment-other-btn {
    font-size: 0.75rem;
    font-weight: 500;
}

.installment-details-container {
    background-color: rgba(243, 244, 246, 0.4);
    border-radius: 12px;
}

.installment-row-text {
    font-size: 0.85rem;
}

.custom-made-banner-custom {
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    cursor: pointer;
}

.custom-made-icon-circle {
    min-width: 45px;
    height: 45px;
    background-color: #cbd5e1;
    border-radius: 50%;
}

.custom-made-icon-inner {
    color: #0B2743;
    font-size: 1.25rem;
    transform: rotate(90deg);
    display: inline-block;
}

.custom-made-title-text {
    color: #0B2743;
    font-size: 1rem;
}

.custom-made-desc-text {
    color: #475569;
    font-size: 0.85rem;
    line-height: 1.4;
}

.gift-image-mini {
    max-height: 48px;
}

/* AI Modal & Trust Badge Styles */
.modal-ai-content {
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
}

.modal-ai-header {
    border-bottom: 2px solid #f0f0f0 !important;
    padding: 1.5rem !important;
}

.modal-ai-header-gradient {
    background: linear-gradient(135deg, #9333ea 0%, #db2777 50%, #f43f5e 100%) !important;
    padding: 2rem 2.5rem !important;
    border: none !important;
}

.modal-ai-title-main {
    color: #333;
    font-weight: bold;
}

.modal-ai-body {
    padding: 2rem !important;
}

.modal-ai-upload-body {
    padding: 1rem !important;
    background: #fafafa;
}

.modal-ai-checkbox-custom {
    width: 1.3rem;
    height: 1.3rem;
    cursor: pointer;
    margin-top: 0.15rem;
}

.modal-ai-footer {
    border-top: 2px solid #f0f0f0 !important;
    padding: 1.5rem !important;
}

.btn-ai-continue {
    background: linear-gradient(135deg, #9333ea 0%, #db2777 50%, #f43f5e 100%) !important;
    border: none !important;
    color: white !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 8px !important;
    cursor: pointer;
}

.btn-ai-continue:disabled {
    background: #e0e0e0 !important;
    color: #999 !important;
    cursor: not-allowed;
}

.btn-ai-secondary {
    padding: 0.6rem 1.5rem !important;
    border-radius: 8px !important;
}

.modal-ai-upload-section {
    background: linear-gradient(135deg, #faf5ff 0%, #fdf4ff 100%);
    border: 2px dashed #d946ef !important;
    border-radius: 16px !important;
    transition: all 0.3s ease;
}

.trust-badge-circle {
    width: 44px;
    height: 44px;
    border-color: #e2e8f0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.trust-badge-text {
    font-size: 0.7rem;
    line-height: 1.2;
    color: #64748b;
}

.size-guide-modal-content {
    border-radius: 16px !important;
}

.measurement-svg-container {
    max-height: 300px;
}

.video-learn-banner {
    background-color: #0B2743;
    border-radius: 12px;
}

.price-strikethrough {
    font-size: 1.1rem;
    font-weight: 500;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media (min-width: 600px) {
    .Sign_dialog {
        width: auto;
        max-width: 570px;
    }
}

@media (max-width: 992px) {
    .lightbox-swiper .swiper-slide {
        padding: 60px 70px;
    }

    .lightbox-swiper .swiper-button-next,
    .lightbox-swiper .swiper-button-prev {
        width: 52px;
        height: 52px;
    }

    .lightbox-swiper .swiper-button-next:after,
    .lightbox-swiper .swiper-button-prev:after {
        font-size: 23px;
    }
}

@media (max-width: 991px) {
    .carousel-main-media {
        height: 421px;
    }

    .carousel-action-buttons {
        flex-direction: column-reverse !important;
        top: 15px !important;
        right: 15px !important;
        gap: 12px !important;
    }

    .carousel-action-button {
        width: 32px !important;
        height: 32px !important;
    }

    .carousel-action-button i {
        font-size: 16px !important;
    }

    .swiper-thumbnails {
        height: 421px !important;
    }
}

@media (max-width: 768px) {
    .first-time-user-banner {
        padding: 12px 16px;
        margin-bottom: 16px;
    }

    .first-time-user-banner .banner-icon {
        font-size: 1.3em;
        margin-right: 10px;
    }

    .first-time-user-banner .banner-title {
        font-size: 1em;
    }

    .first-time-user-banner .banner-subtitle {
        font-size: 0.85em;
    }

    .register-encouragement-banner {
        padding: 15px 18px;
        margin-bottom: 16px;
    }

    .register-encouragement-banner .banner-icon {
        font-size: 1.2em;
        margin-right: 12px;
    }

    .register-encouragement-banner .banner-title {
        font-size: 0.95em;
    }

    .register-encouragement-banner .banner-subtitle {
        font-size: 0.82em;
    }

    .register-encouragement-banner .btn-register,
    .register-encouragement-banner .btn-login {
        padding: 7px 16px;
        font-size: 0.85em;
        margin-right: 8px;
        margin-bottom: 5px;
    }

    .product-gallery-container {
        flex-direction: column;
    }

    .thumbnail-swiper-container {
        width: 100% !important;
        margin-right: 0 !important;
        margin-top: 15px;
        order: 2;
    }

    .thumbnail-swiper {
        height: auto !important;
        padding: 0 !important;
    }

    .thumbnail-slide {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 0 !important;
        margin-right: 10px;
    }

    .main-carousel-container .card.square {
        height: 300px !important;
    }

    .lightbox-swiper .swiper-slide {
        padding: 55px 65px;
    }

    .lightbox-close {
        width: 45px;
        height: 45px;
        font-size: 28px;
        top: 15px;
        right: 15px;
    }

    .lightbox-swiper .swiper-button-next,
    .lightbox-swiper .swiper-button-prev {
        width: 50px;
        height: 50px;
    }

    .lightbox-swiper .swiper-button-next:after,
    .lightbox-swiper .swiper-button-prev:after {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .swiper-thumbnails {
        height: auto !important;
    }
}

@media (max-width: 576px) {
    .lightbox-swiper .swiper-slide {
        padding: 50px 60px;
    }

    .lightbox-close {
        width: 43px;
        height: 43px;
        font-size: 27px;
        top: 13px;
        right: 13px;
    }

    .lightbox-swiper .swiper-button-next,
    .lightbox-swiper .swiper-button-prev {
        width: 48px;
        height: 48px;
    }

    .lightbox-swiper .swiper-button-next:after,
    .lightbox-swiper .swiper-button-prev:after {
        font-size: 21px;
    }

    .exclusive-gift-header {
        padding: 12px 15px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .gift-icon-wrapper {
        width: 32px;
        height: 32px;
        margin-right: 8px;
    }

    .exclusive-gift-title {
        font-size: 13px;
    }

    .exclusive-gift-subtitle {
        font-size: 11px;
        line-height: 1.2;
    }

    .value-badge {
        padding: 4px 10px;
        font-size: 11px;
    }

    .gift-item-card {
        gap: 10px;
        padding: 10px;
    }

    .gift-item-image {
        width: 50px;
        height: 50px;
    }

    .gift-item-title {
        font-size: 14px;
        display: block;
    }

    .gift-item-title .old-price {
        display: block;
        margin-top: 2px;
    }

    .gift-item-info {
        overflow: hidden;
    }

    .gift-item-desc {
        font-size: 12px;
    }

    .gift-item-subdesc {
        font-size: 12px;
    }

    .total-savings-amount {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .lightbox-swiper .swiper-slide {
        padding: 45px 55px;
    }

    .lightbox-close {
        width: 42px;
        height: 42px;
        font-size: 26px;
        top: 12px;
        right: 12px;
    }

    .lightbox-swiper .swiper-button-next,
    .lightbox-swiper .swiper-button-prev {
        width: 46px;
        height: 46px;
    }

    .lightbox-swiper .swiper-button-next:after,
    .lightbox-swiper .swiper-button-prev:after {
        font-size: 20px;
    }
}

@media (max-width: 400px) {
    .lightbox-swiper .swiper-slide {
        padding: 40px 50px;
    }

    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 24px;
        top: 10px;
        right: 10px;
    }

    .lightbox-swiper .swiper-button-next,
    .lightbox-swiper .swiper-button-prev {
        width: 44px;
        height: 44px;
    }

    .lightbox-swiper .swiper-button-next:after,
    .lightbox-swiper .swiper-button-prev:after {
        font-size: 19px;
    }

    .exclusive-gift-header {
        justify-content: flex-start;
    }

    .exclusive-gift-header>div:first-child {
        width: 100%;
    }

    .exclusive-gift-header>div:last-child {
        width: 100%;
        justify-content: space-between;
        margin-top: 5px;
        padding-left: 40px;
        /* align with text */
    }
}

@media (max-width: 360px) {
    .lightbox-swiper .swiper-slide {
        padding: 35px 45px;
    }

    .lightbox-close {
        width: 38px;
        height: 38px;
        font-size: 22px;
    }

    .lightbox-swiper .swiper-button-next,
    .lightbox-swiper .swiper-button-prev {
        width: 42px;
        height: 42px;
    }

    .lightbox-swiper .swiper-button-next:after,
    .lightbox-swiper .swiper-button-prev:after {
        font-size: 18px;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .lightbox-swiper .swiper-slide {
        padding: 30px 60px;
    }

    .lightbox-close {
        width: 38px;
        height: 38px;
        font-size: 22px;
        top: 8px;
        right: 8px;
    }

    .lightbox-swiper .swiper-button-next,
    .lightbox-swiper .swiper-button-prev {
        width: 42px;
        height: 42px;
    }

    .lightbox-swiper .swiper-button-next:after,
    .lightbox-swiper .swiper-button-prev:after {
        font-size: 18px;
    }
}