.custom-top-bar .top-bar {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

.custom-top-bar .top-bar small,
.custom-top-bar .top-bar .btn-link,
.custom-top-bar .top-bar .dropdown-toggle {
    font-size: 0.78rem;
    line-height: 1.1;
}

.custom-top-bar .header-alerts .badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.45rem;
}

.custom-top-bar .header-alert-dropdown {
    width: min(360px, 90vw);
    max-height: 420px;
    overflow-y: auto;
    border-radius: 0.75rem;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.15);
}

.custom-top-bar .header-alert-dropdown .dropdown-header {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.custom-top-bar .header-alert-sections {
    max-height: 360px;
    overflow-y: auto;
}

.custom-top-bar .header-alert-section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin: 0.75rem 1rem 0.35rem;
}

.custom-top-bar .header-alert-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.custom-top-bar .header-alert-item:last-child {
    border-bottom: none;
}

.custom-top-bar .header-alert-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #0ea5e9;
    font-size: 1rem;
}

.custom-top-bar .header-alert-item-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.custom-top-bar .header-alert-item-time {
    font-size: 0.75rem;
    color: #94a3b8;
}

.custom-top-bar .header-alert-empty {
    text-align: center;
    padding: 1.25rem;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Header alerts / account menu */
.custom-top-bar .header-alerts .badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.45rem;
}

.custom-top-bar .header-alert-dropdown {
    width: min(360px, 90vw);
    max-height: 420px;
    overflow-y: auto;
    border-radius: 0.75rem;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.15);
}

.custom-top-bar .header-alert-dropdown .dropdown-header {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.custom-top-bar .header-alert-sections {
    max-height: 360px;
    overflow-y: auto;
}

.custom-top-bar .header-alert-section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin: 0.75rem 1rem 0.35rem;
}

.custom-top-bar .header-alert-item {
    display: block;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: inherit;
    transition: background 0.18s ease;
}

.custom-top-bar .header-alert-item:hover {
    background: #f8fafc;
}

.custom-top-bar .header-alert-item.unread {
    background: #f1f5f9;
}

.custom-top-bar .header-alert-item h6 {
    font-size: 0.95rem;
    margin: 0 0 0.25rem;
    font-weight: 600;
    color: #1e293b;
}

.custom-top-bar .header-alert-item p {
    font-size: 0.82rem;
    margin: 0 0 0.35rem;
    color: #475569;
}

.custom-top-bar .header-alert-item small {
    font-size: 0.75rem;
    color: #94a3b8;
}

.custom-top-bar .header-alert-item .badge {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.custom-top-bar .header-alerts-empty {
    padding: 1.5rem;
    text-align: center;
    color: #94a3b8;
}

.custom-top-bar .header-alerts-empty i {
    font-size: 1.8rem;
    margin-bottom: 0.35rem;
}

.custom-top-bar .header-alert-actions {
    padding: 0.75rem 1rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.custom-top-bar .header-lang-toggle {
    width: 36px;
    height: 36px;
}

.custom-top-bar .header-lang-toggle img {
    width: 24px;
    height: 24px;
}

.custom-top-bar .header-account-menu .dropdown-item {
    transition: color 0.18s ease, background 0.18s ease;
}

.custom-top-bar .header-account-menu .dropdown-item i {
    transition: color 0.18s ease;
}

.custom-top-bar .header-account-menu .dropdown-item:hover,
.custom-top-bar .header-account-menu .dropdown-item:focus {
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
}

.custom-top-bar .header-account-menu .dropdown-item:hover i,
.custom-top-bar .header-account-menu .dropdown-item:focus i {
    color: #ff6b35;
}

.custom-top-bar .currency-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.custom-top-bar .currency-dropdown img {
    width: 20px;
    height: 14px;
    object-fit: cover;
}

/* Home page: top ads mobile tweaks */
@media (max-width: 576px) {
    .top-ads-section {
        padding-bottom: 0.5rem !important;
        margin-bottom: 0 !important;
    }

    .hero-section {
        padding-top: 0.5rem !important;
        margin-top: 0 !important;
    }

    .top-ads-section .ad-banner-card--primary {
        height: auto !important;
        min-height: auto;
        margin-bottom: 0 !important;
    }

    .top-ads-section .row.g-2 {
        min-height: auto !important;
    }

    .top-ads-section .ad-banner-card--primary img {
        height: auto !important;
        max-height: none;
        width: 100%;
        object-fit: contain !important;
    }

    .top-ads-section .ad-banner-card--primary a.d-block {
        height: auto !important;
        display: block;
    }

    .top-ads-section .ad-banner-card--primary .ad-code-wrapper {
        height: auto !important;
    }

    .top-ads-section .col-12.col-lg-auto {
        margin-bottom: 0.5rem;
    }

    .top-ads-section .col-12.col-lg-auto:last-child {
        margin-bottom: 0;
    }
}

/* Home page: hero slider card */
.hero-slide-card {
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
    min-height: 360px;
    max-height: 360px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.hero-slide-card .row {
    min-height: 100%;
}

.hero-slide-badge {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.85rem;
}

.hero-slide-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #ffb347 100%);
    border: 0;
    color: #ffffff;
    border-radius: 999px;
}

.hero-slide-btn:hover {
    color: #ffffff;
    opacity: 0.9;
}

.hero-slide-image {
    max-height: 320px;
    width: auto;
    object-fit: contain;
    background: transparent !important;
    border: none !important;
}

@media (max-width: 991.98px) {
    .hero-slide-card {
        min-height: auto;
        max-height: none;
        padding: 2rem;
        text-align: center;
    }

    .hero-slide-card .row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-slide-card .col-lg-6 {
        width: 100%;
    }

    .hero-slide-image {
        max-height: 220px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .custom-top-bar .top-bar {
        padding-top: 0.1rem;
        padding-bottom: 0.1rem;
    }

    .custom-top-bar .header-alert-dropdown {
        width: 92vw;
    }
}

/* Product show: gallery, related slider, variant swatches */
.product-gallery {
    position: relative;
}

.product-gallery-main {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: radial-gradient(circle at top left, #ffffff 0%, #f3f5ff 55%, #ebefff 100%);
    box-shadow: 0 20px 45px rgba(24, 32, 79, 0.12);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    cursor: zoom-in;
}

.product-gallery-main::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.38) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.product-gallery-main.is-zooming {
    box-shadow: 0 26px 55px rgba(20, 32, 77, 0.18);
    cursor: zoom-in;
}

.product-gallery-main.is-zooming::after {
    opacity: 1;
}

.product-gallery-main img {
    width: 100%;
    display: block;
    transition: transform 0.35s ease, filter 0.35s ease;
    transform-origin: center;
    filter: saturate(1);
    will-change: transform;
}

.product-gallery-main.is-zooming img {
    filter: saturate(1.24) contrast(1.06) brightness(1.02);
}

.product-gallery-zoom {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 3;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(23, 32, 90, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-gallery-zoom:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(23, 32, 90, 0.22);
}

.product-gallery-thumbs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.product-gallery-thumb {
    border: none;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    width: 72px;
    height: 72px;
    background: #f4f5fb;
    box-shadow: 0 6px 18px rgba(28, 46, 99, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery-thumb:hover,
.product-gallery-thumb.active {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(28, 46, 99, 0.12);
}

.product-gallery-thumb.active {
    outline: 2px solid #4263eb;
    outline-offset: 0;
}

@media (max-width: 767.98px) {
    .product-gallery-main {
        border-radius: 14px;
        box-shadow: 0 14px 26px rgba(24, 32, 79, 0.1);
    }

    .product-gallery-thumb {
        width: 64px;
        height: 64px;
    }
}

.related-products-section {
    position: relative;
}

.related-products-slider {
    position: relative;
}

.related-products-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.related-products-track::-webkit-scrollbar {
    display: none;
}

.related-products-card {
    min-width: 240px;
    max-width: 240px;
    scroll-snap-align: start;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-products-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.variant-swatch.swatch-color {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    padding: 0;
    border: 2px solid transparent;
    transition: all 0.15s ease-in-out;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.variant-swatch.swatch-color:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.variant-swatch.swatch-color.active,
.variant-swatch.swatch-color:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.2);
    outline: none;
}

.swatch-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 54px;
}

.related-slide .card-body {
    padding: 0.75rem;
}

.related-slide .card-title {
    font-size: 0.85rem;
}

.related-slide .price .h6 {
    font-size: 0.95rem;
}

.related-slide .rating-stars i {
    font-size: 0.8rem;
}

.related-slide small,
.related-slide .rating-value,
.related-slide .reviews-count {
    font-size: 0.72rem;
}

.related-slide .btn {
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
}

.related-slide .card-footer {
    padding: 0.5rem 0.75rem;
}

@media (min-width: 576px) {
    .related-slide {
        flex: 0 0 46%;
    }
}

@media (min-width: 768px) {
    .related-slide {
        flex: 0 0 32%;
    }
}

@media (min-width: 992px) {
    .related-slide {
        flex: 0 0 24%;
    }

    .related-slide .card-img-wrapper img,
    .related-slide .card-img-wrapper .placeholder-img {
        height: 150px !important;
    }
}

/* Account dashboard quick actions */
.quick-actions-grid .quick-action-btn {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.35rem;
    font-weight: 600;
}

.quick-actions-grid .quick-action-btn i {
    font-size: 1.5rem;
}

@media (max-width: 575.98px) {
    .quick-actions-grid .quick-action-btn {
        min-height: 100px;
        gap: 0.25rem;
    }
}

/* Account orders: mobile tweaks */
@media (max-width: 575.98px) {
    .orders-page .track-order-btn,
    .orders-page .order-actions .btn {
        padding: 0.35rem 0.6rem;
        font-size: 0.8rem;
        border-radius: 999px;
    }

    .orders-page .track-order-btn i,
    .orders-page .order-actions .btn i {
        margin-right: 0.25rem !important;
    }

    .orders-page .nav-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.35rem;
        padding-bottom: 0.25rem;
    }

    .orders-page .nav-pills::-webkit-scrollbar {
        height: 4px;
    }

    .orders-page .nav-pills::-webkit-scrollbar-thumb {
        background: rgba(255, 107, 53, 0.4);
        border-radius: 999px;
    }

    .orders-page .nav-pills .nav-link {
        padding: 0.35rem 0.65rem;
        font-size: 0.78rem;
        border-radius: 999px;
        white-space: nowrap;
    }
}

/* Account payment methods: mobile tweaks */
@media (max-width: 575.98px) {
    .account-page .payment-actions .btn {
        padding: 0.4rem 0.7rem;
        font-size: 0.82rem;
    }

    #addPaymentMethodModal .modal-dialog {
        margin: 0.5rem;
    }

    #addPaymentMethodModal .modal-body .form-control,
    #addPaymentMethodModal .modal-body .form-select {
        min-height: 40px;
        padding: 0.4rem 0.7rem;
        font-size: 0.9rem;
    }

    #addPaymentMethodModal .modal-body .form-label {
        font-size: 0.85rem;
    }

    #addPaymentMethodModal .btn {
        border-radius: 999px;
        padding: 0.45rem 0.85rem;
    }
}

/* Account profile: nationality dropdown */
.nationality-dropdown {
    text-align: left;
}

.nationality-menu {
    max-height: 280px;
    overflow-y: auto;
}

.nationality-menu .dropdown-item.active,
.nationality-menu .dropdown-item:focus,
.nationality-menu .dropdown-item:hover {
    background: rgba(255, 107, 53, 0.15);
    color: #ff6b35;
}

.nationality-menu .dropdown-item.active .flag-icon-text,
.nationality-menu .dropdown-item:hover .flag-icon-text {
    color: #ff6b35;
}

.flag-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.flag-icon-text {
    font-size: 1.1rem;
}

/* Account wallet */
.wallet-balance-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.wallet-balance-card .wallet-balance-label {
    color: #475569;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

.wallet-balance-card .wallet-balance-amount {
    color: #0f172a;
}

.wallet-balance-card .wallet-icon-badge {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #764ba2;
}

/* Comparison table */
.comparison-page .table-bordered th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Checkout: upload proof */
.checkout-upload-proof .card-header {
    background: linear-gradient(120deg, #ffd166, #ff9f1c);
    color: #0f172a;
}

.checkout-upload-proof .card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.checkout-upload-proof .alert-info {
    border-radius: 12px;
}

.checkout-upload-proof .alert-warning {
    border-radius: 12px;
}

.checkout-upload-proof .table thead th {
    background: #f8fafc;
    font-weight: 600;
}

.checkout-upload-proof .alert-light {
    background-color: #f8f9fa;
}

/* Static/dynamic pages */
.page-content {
    line-height: 1.8;
}

.page-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.page-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #666;
}

.page-content p {
    margin-bottom: 1rem;
}

.page-content ul,
.page-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content a {
    color: #007bff;
    text-decoration: none;
}

.page-content a:hover {
    text-decoration: underline;
}

/* Tickets show */
.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-content {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 3px solid #dee2e6;
}

.admin-message .message-content {
    background: #e7f3ff;
    border-left-color: #007bff;
}

/* Tracking timeline */
.tracking-timeline {
    position: relative;
    padding-left: 30px;
}

.timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -21px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

.timeline-item.completed::before {
    background: #28a745;
}

.timeline-marker {
    position: absolute;
    left: -27px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e9ecef;
    border: 3px solid #fff;
}

.timeline-item.completed .timeline-marker {
    background: #28a745;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item:last-child::before {
    display: none;
}

/* Auth login OTP grid */
.otp-input-grid {
    display: flex;
    gap: 0.65rem;
    justify-content: center;
}

.otp-input-grid .otp-input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 1.5rem;
    border-radius: 14px;
    border: 2px solid #e4e7ec;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.otp-input-grid .otp-input:focus {
    outline: none;
    border-color: #ff7d29;
    box-shadow: 0 0 0 3px rgba(255, 125, 41, 0.2);
}

.otp-input-grid .otp-input.filled {
    border-color: #ff7d29;
}

/* Auth 2FA OTP grid */
.otp-grid {
    display: flex;
    gap: 0.65rem;
    justify-content: center;
}

.otp-grid .otp-input {
    width: 52px;
    height: 58px;
    text-align: center;
    font-size: 1.5rem;
    border-radius: 14px;
    border: 2px solid #e4e7ec;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.otp-grid .otp-input:focus {
    outline: none;
    border-color: #ff7d29;
    box-shadow: 0 0 0 3px rgba(255, 125, 41, 0.2);
}

.otp-grid .otp-input.filled {
    border-color: #ff7d29;
}

/* Auth register phone input tweaks */
.phone-input-group .dropdown-toggle::after {
    margin-left: 0.35rem;
}

.phone-input-group .dropdown-menu {
    max-height: 260px;
    overflow-y: auto;
    min-width: 260px;
}

.phone-input-group img {
    width: 24px;
    height: 18px;
    object-fit: cover;
}

/* Customer chat */
.customer-chat-card {
    display: flex;
    flex-direction: column;
    height: 65vh;
    min-height: 360px;
}

.customer-chat-card .card-header {
    padding: 1rem 1.25rem;
}

.customer-chat-card .chat-body {
    flex: 1;
    overflow-y: auto;
    background: #f8fafc;
    padding: 1.25rem;
}

.customer-chat-card .card-footer {
    padding: 1rem 1.25rem;
    background: #fff;
}

@media (max-width: 768px) {
    .customer-chat-card {
        height: 55vh;
    }
}

.emoji-picker {
    position: absolute;
    bottom: calc(100% + 0.5rem);
    left: 0;
    z-index: 1080;
    width: 260px;
    max-height: 230px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
    padding: 0.5rem;
    display: none;
}

.emoji-picker.show {
    display: block;
}

.emoji-picker button {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: background 0.15s ease;
    padding: 0.25rem;
}

.emoji-picker button:hover,
.emoji-picker button:focus {
    background: #f1f5f9;
    outline: none;
}

.emoji-toggle {
    border-color: #d1d5db;
}

/* Cookie consent banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 40px);
    width: min(960px, calc(100% - 2.5rem));
    background: #0f172a;
    color: #fff;
    border-radius: 22px;
    padding: 24px 32px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.45);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
    display: block;
}

.cookie-consent-banner.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

[data-cookie-banner][hidden] {
    display: none !important;
}

.cookie-consent-banner .cookie-consent-inner {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-consent-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    display: grid;
    place-items: center;
    font-size: 2rem;
}

.cookie-consent-banner h3 {
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.cookie-consent-banner p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.cookie-consent-banner a {
    color: #a5b4fc;
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 0.75rem;
}

.cookie-consent-actions .btn {
    border-radius: 999px;
    padding-left: 22px;
    padding-right: 22px;
}

.cookie-consent-message {
    margin: 12px 0 0;
    font-size: 0.9rem;
    color: #fef3c7;
}

.cookie-consent-modal[hidden] {
    display: none !important;
}

.cookie-consent-modal {
    position: fixed;
    inset: 0;
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-consent-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
}

.cookie-consent-panel {
    position: relative;
    width: min(520px, calc(100% - 2rem));
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 40px 120px rgba(15, 23, 42, 0.35);
    z-index: 2;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-consent-panel h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cookie-consent-panel p {
    color: #475569;
    margin-bottom: 0.5rem;
}

.cookie-consent-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.cookie-consent-toggle:last-child {
    border-bottom: none;
}

.cookie-consent-toggle .form-check-label {
    font-weight: 600;
    color: #0f172a;
}

.cookie-consent-toggle small {
    display: block;
    color: #64748b;
}

@media (max-width: 768px) {
    .cookie-consent-banner {
        width: calc(100% - 1.25rem);
        padding: 18px 20px;
        left: 50%;
        transform: translate(-50%, 40px);
    }

    .cookie-consent-banner .cookie-consent-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-consent-icon {
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
    }
}

/* Promotion popup */
.promotion-popup {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1055;
}

.promotion-popup.is-visible {
    display: flex;
}

.promotion-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
}

.promotion-popup__dialog {
    position: relative;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    width: min(92vw, 540px);
    max-width: 720px;
    min-height: 320px;
    animation: promo-pop 0.35s ease;
}

.promotion-popup__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.promotion-popup__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.promotion-popup__media img {
    border-radius: 1rem;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.promotion-popup__body {
    text-align: left;
}

.promotion-popup__eyebrow {
    letter-spacing: 2px;
    color: #ff6b00;
    font-weight: 600;
}

.promotion-popup__title {
    font-weight: 700;
}

.promotion-popup__text {
    color: #555;
}

@media (min-width: 576px) {
    .promotion-popup__content {
        flex-direction: row;
        align-items: center;
    }

    .promotion-popup__media,
    .promotion-popup__body {
        flex: 1;
    }
}

@keyframes promo-pop {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Phone input dropdown */
.phone-input-group .dropdown-toggle::after {
    margin-left: 0.35rem;
}

.phone-input-group .dropdown-menu {
    max-height: 260px;
    overflow-y: auto;
    min-width: 260px;
}

.phone-input-group img {
    width: 24px;
    height: 18px;
    object-fit: cover;
}

/* Order invoice / print */
.invoice-print-area {
    border: 2px solid #f1f1f1;
}

.invoice-footer-inner {
    background: #f8f9fa;
}

.invoice-address-row .invoice-address-col {
    flex: 0 0 50%;
    max-width: 50%;
}

.invoice-print-area table th,
.invoice-print-area table td {
    font-size: 0.9rem;
}

@page {
    margin: 8mm;
}

@media print {
    body,
    html {
        background: #fff !important;
        font-size: 11px;
    }

    nav,
    header,
    footer,
    .btn-group,
    .card:not(.invoice-print-area),
    .print-hidden {
        display: none !important;
    }

    .invoice-print-area {
        border: none !important;
        box-shadow: none !important;
        margin: 0 !important;
        width: 100% !important;
        page-break-after: avoid;
    }

    .invoice-print-area .card-body {
        padding-bottom: 180px !important;
    }

    .invoice-address-row {
        display: flex;
    }

    .invoice-address-row .invoice-address-col {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    .invoice-footer {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 0 1rem 1rem;
        page-break-inside: avoid;
    }
}
