@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root
{
    --barlow: "Barlow", sans-serif;
    --white_smoke: #f5f6f7;
}

::-webkit-scrollbar
{
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track
{
    background: #ffffff;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb
{
    background: var(--primary-color) !important;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover
{
    background: var(--secondary-color) !important;
}

body
{
    font-family: var(--barlow);
    font-style: normal;
}

.barlow
{
    font-family: var(--barlow);
    font-weight: 100;
    font-style: normal;
}

.primary-color
{
    color: var(--primary-color) !important;
}

.secondary-color
{
    color: var(--secondary-color) !important;
}

.tertiary-color
{
    color: var(--tertiary-color) !important;
}

.quaternary-color
{
    color: var(--quaternary-color) !important;
}

.bg-primary
{
    background-color: var(--primary-color) !important;
}

.bg-secondary
{
    background-color: var(--secondary-color) !important;
}

.bg-tertiary
{
    background-color: var(--tertiary-color) !important;
}

.bg-quaternary
{
    background-color: var(--quaternary-color) !important;
}

.bg-primary-light {
    background: color-mix(in srgb, var(--primary-color) 15%, #ffffff);
    border-color: color-mix(in srgb, var(--primary-color) 90%, #ffffff);
}

.bg-secondary-light {
    background: color-mix(in srgb, var(--secondary-color) 15%, #ffffff);
    border-color: color-mix(in srgb, var(--secondary-color) 90%, #ffffff);
}

.bg-tertiary-light {
    background: color-mix(in srgb, var(--tertiary-color) 15%, #ffffff);
    border-color: color-mix(in srgb, var(--tertiary-color) 90%, #ffffff);
}

.bg-quaternary-light {
    background: color-mix(in srgb, var(--quaternary-color) 15%, #ffffff);
    border-color: color-mix(in srgb, var(--quaternary-color) 90%, #ffffff);
}

.bg-transparent
{
    background-color: rgba(136, 0, 0, 0.068);
    border: 1px solid rgba(136, 0, 0, 0.123);
}

.badge-pending {
    color: #856404;
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.45);
}

.badge-processing {
    color: #0c5460;
    background: rgba(23, 162, 184, 0.15);
    border: 1px solid rgba(23, 162, 184, 0.45);
}

.badge-shipped {
    color: var(--primary-color);
    background: color-mix(in srgb, var(--primary-color) 15%, transparent);
    border: 1px solid color-mix(in srgb, var(--primary-color) 45%, transparent);
}

.badge-delivered,
.badge-paid {
    color: #155724;
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid rgba(40, 167, 69, 0.45);
}

.badge-cancelled,
.badge-failed {
    color: #721c24;
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.45);
}

.fs-sm
{
    font-size: small;
}

.fs-x-sm
{
    font-size: x-small;
}

.ts-justify
{
    text-align: justify;
}

.box-shadow
{
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

.line-clamp
{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: var(--lines, 2);
}

/* --------------------Header-------------------- */
header .navbar
{
    box-shadow: rgba(27, 31, 35, 0.04) 0px 1px 0px, rgba(255, 255, 255, 0.25) 0px 1px 0px inset;
    font-family: "barlow", sans-serif;
    background-color: white;
}

header .nav-link:hover,
header .nav-link.active,
header .dropdown-header.active,
header .nav-link:focus
{
    color: var(--primary-color) !important;
}

/* ---------------------Form Element------------------------- */
.select2-container .select2-selection--single
{
    height: calc(2.375rem + 2px);
    display: flex;
    align-items: center;
    padding: 0 !important;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
}

.form-select-lg + .select2-container .select2-selection--single
{
    height: calc(2.875rem + 2px);
    padding: 0;
    border: 1px solid #ced4da;
    border-radius: 0.575rem;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__rendered
{
    line-height: calc(2.375rem);
    padding-left: 0.75rem;
    padding-right: 1.5rem;
}

.form-select-lg + .select2-container .select2-selection--single .select2-selection__rendered
{
    line-height: 2.875rem;
    padding-left: 0.75rem;
    padding-right: 1.5rem;
}


.select2-container--default .select2-selection--single .select2-selection__arrow
{
    height: 100%;
    top: 0;
    right: 0.75rem;
}

.form-select-lg + .select2-container .select2-selection--single .select2-selection__arrow
{
    height: 100%;
    top: 0;
    right: 0.75rem;
}

.select2-container--default .select2-search--dropdown
{
    padding: 0;
}

.select2-container--default .select2-search--dropdown .select2-search__field
{
    border: none;
    outline: 1px solid #ced4da;
}

input[type="text"],
input[type="email"],
textarea.form-control
{
    box-shadow: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea.form-control:focus
{
    box-shadow: none;
}

input:focus::placeholder
{
    color: var(--dark_blue) !important;
    transform: translateX(7px);
    transition: all 0.5s ease-in-out;
}

button[type="submit"]
{
    background-color: var(--light-dark);
    color: var(--white_smoke);
}

button[type="submit"]:hover
{
    background-color: var(--dark_orange);
}

.asterisk::after
{
    content: "*";
    color: red;
    margin-left: 3px;
}

/* --------------------Custom Button-------------------- */
.btn-custom
{
    margin: 10px;
    text-align: center;
    padding-top: 12px;
    padding-bottom: 12px;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    border-radius: 10px;
    border: 0px;
    font-weight: 600;
    box-shadow: 0px 0px 14px -7px var(--tertiary-color);
    background-image: linear-gradient(45deg, var(--secondary-color) 0%, var(--tertiary-color) 51%, var(--secondary-color) 100%);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.btn-custom:hover
{
    background-position: right center;
    color: #fff;
    text-decoration: none;
}

.btn-custom:active
{
    transform: scale(0.95);
}

.btn-custom span
{
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.btn-custom span:after
{
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

.btn-custom:hover span
{
    padding-right: 15px;
}

.btn-custom:hover span:after
{
    opacity: 1;
    right: 0;
}

.button-effect
{
    width: 100%;
    font-size: small;
    font-weight: 500;
    text-align: right;
    transition: all 0.5s;
    cursor: pointer;
    border: none;
    color: var(--quaternary-color);
}

.button-effect span
{
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.button-effect span:after
{
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

.button-effect:hover span
{
    padding-right: 15px;
}

.button-effect:hover span:after
{
    opacity: 1;
    right: 0;
}

/* --------------------Error Page-------------------- */
.error-code
{
    font-size: 6rem;
    background: linear-gradient(135deg, #3a7bd5 0%, #00d2ff 100%);
    background: linear-gradient(135deg, #ffc107 0%, #ff9100 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes float
{
    0%
    {
        transform: scale(1);
    }

    50%
    {
        transform: scale(1.05);
    }

    100%
    {
        transform: scale(1);
    }
}

@keyframes glow
{
    from
    {
        text-shadow: 0 0 5px rgba(255, 193, 7, 0.3);
    }

    to
    {
        text-shadow: 0 0 15px rgba(255, 193, 7, 0.5);
    }
}

.error-title
{
    color: #333446;
}

/* ----------------------Form Element------------------------ */
.custom-form .form-label
{
    position: absolute;
    top: 8px;
    left: 15px;
    font-size: 0.9rem;
    color: #6c757d;
    transition: all 0.2s ease;
    pointer-events: none;
    background: white;
    padding: 0 5px;
    z-index: 1;
}

.custom-form input[type="text"]:focus + .form-label,
.custom-form input[type="text"]:not(:placeholder-shown) + .form-label,
.custom-form input[type="email"]:focus + .form-label,
.custom-form input[type="email"]:not(:placeholder-shown) + .form-label,
.custom-form input[type="tel"]:focus + .form-label,
.custom-form input[type="tel"]:not(:placeholder-shown) + .form-label,
.custom-form input[type="number"]:focus + .form-label,
.custom-form input[type="number"]:not(:placeholder-shown) + .form-label,
.custom-form input[type="password"]:focus + .form-label,
.custom-form input[type="password"]:not(:placeholder-shown) + .form-label,
.custom-form input[type="url"]:focus + .form-label,
.custom-form input[type="url"]:not(:placeholder-shown) + .form-label,
.custom-form textarea:focus + .form-label,
.custom-form textarea:not(:placeholder-shown) + .form-label,
.custom-form input[type="file"]:valid + .form-label,
.custom-form select:focus + .form-label,
.custom-form select:valid + .form-label
{
    top: -8px;
    left: 15px;
    font-size: 0.75rem;
    color: var(--primary-color);
}

.custom-form input[type="text"],
.custom-form input[type="email"],
.custom-form input[type="tel"],
.custom-form input[type="number"],
.custom-form input[type="password"],
.custom-form input[type="url"],
.custom-form input[type="file"],
.custom-form textarea,
.custom-form select
{
    border: 1px solid #dbdbdb !important;
}

.custom-form input[type="text"]:focus,
.custom-form input[type="email"]:focus,
.custom-form input[type="tel"]:focus,
.custom-form input[type="number"]:focus,
.custom-form input[type="password"]:focus,
.custom-form input[type="url"]:focus,
.custom-form input[type="file"]:focus,
.custom-form textarea:focus,
.custom-form select:focus
{
    box-shadow: none !important;
    border: 1px solid var(--primary-color) !important;
}

/* ---------------------------------------------- */
.floating-buttons a
{
    width: 40px;
    height: 40px;
    line-height: 40px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
    transition: all 0.3s ease-in-out;
}

.floating-buttons .whatsapp
{
    background-color: #25D366;
}

.floating-buttons .messenger
{
    background-color: #0084FF;
}

.floating-buttons .phone
{
    background-color: #123458;
}

.floating-buttons .bi-phone::before
{
    content: "\F5C1";
}

.floating-buttons .facebook
{
    background-color: #1877F2;
}

.floating-buttons .youtube
{
    background-color: #FF0000;
}

.floating-buttons .twitter
{
    background-color: #000;
}

.floating-buttons .skype
{
    background-color: #05abee;
}

.floating-buttons .telegram
{
    background-color: #27a7e8;
}

.floating-buttons .sms
{
    background-color: #6128ff;
}

.bi-sms::before
{
    content: "\F252";
}

.floating-buttons a:hover
{
    background-color: var(--primary-color);
}

.floating-buttons a:hover i
{
    color: white;
}

.whatsapp-float
{
    position: fixed;
    bottom: 20px;
    right: 7px;
    background-color: #059212;
    color: #FFF;
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: visible;
}

.whatsapp-float i
{
    font-size: 20px;
    color: #fff;
}

.whatsapp-number
{
    font-weight: 500;
    font-size: 14px;
    color: #fff;
}

.whatsapp-float .wave
{
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background-color: rgba(37, 211, 102, 0.35);
    animation: waveEffect 4s ease-out infinite;
    z-index: -1;
}

.wave:nth-child(3)
{
    animation-delay: 1.3s;
}

.wave:nth-child(4)
{
    animation-delay: 2.6s;
}

@keyframes waveEffect
{
    0%
    {
        transform: scale(1);
        opacity: 0.6;
    }

    50%
    {
        transform: scale(1.3, 1.6);
        opacity: 0.3;
    }


    100%
    {
        transform: scale(1.6, 2);
        opacity: 0;
    }
}

/* -------------------- Announcement Bar -------------------- */

/* Fixed header wrapper — contains both announcement bar + navbar */
header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1040;
}

.header-announcement-bar {
    background-color: #d90036;
    color: #ffffff;
    height: 32px;
    line-height: 32px;
    overflow: hidden;
    width: 100%;
    font-size: 0.85rem;
    font-weight: 600;
}

.announcement-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.announcement-marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: announcement-marquee 80s linear infinite;
    padding-left: 100%;
}

.announcement-marquee-wrapper:hover .announcement-marquee-content {
    animation-play-state: paused;
}

.announcement-text {
    padding: 0 10px;
    letter-spacing: 0.5px;
}

.announcement-divider {
    padding: 0 8px;
    opacity: 0.8;
}

@keyframes announcement-marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* Override Bootstrap fixed-top: navbar is now normal flow inside fixed header */
header nav.navbar.fixed-top {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100%;
}

/* -------------------- Header & Order Modal -------------------- */
.header-brand-language {
    gap: 14px;
}

.header-language-dropdown {
    position: relative;
}

.header-language-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.header-language-toggle:hover {
    transform: scale(1.06);
}

.header-language-flag-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.header-language-menu {
    min-width: 48px;
    width: 48px;
    padding: 8px 0;
    margin-top: -38px !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.header-language-menu.show {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.header-language-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    text-decoration: none;
    border-radius: 50%;
    opacity: 0.65;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-language-option:hover,
.header-language-option.active {
    opacity: 1;
    transform: scale(1.08);
}

.header-language-option.active .header-language-flag-img {
    box-shadow: 0 0 0 2px var(--primary-color, #dd0027), 0 2px 8px rgba(0, 0, 0, 0.15);
}

@media (max-width: 575.98px) {
    .header-brand-language {
        gap: 8px;
    }

    .header-language-flag-img {
        width: 28px;
        height: 28px;
    }

    .header-language-menu {
        min-width: 42px;
        width: 42px;
        padding: 6px 0;
        margin-top: -34px !important;
    }
}

.order-modal .modal-dialog {
    width: calc(100% - 32px);
    max-width: 490px;
    margin-right: auto;
    margin-left: auto;
}

.order-modal .modal-content {
    min-height: 340px;
    border-radius: 30px 0 30px 0;
    background: #f8f8f8;
    box-shadow: 0 24px 70px rgba(20, 20, 20, .2);
}

.order-modal .modal-body {
    min-height: 340px;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: #ff0040;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    transition: background-color .2s ease;
}

.order-modal-close:hover,
.order-modal-close:focus-visible {
    background: #d90036;
}

.order-modal-brand {
    width: 145px;
    height: 82px;
    margin-top: 42px;
    margin-bottom: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-modal-brand img {
    width: 145px;
    height: 82px;
    object-fit: contain;
}

.order-modal-title {
    margin: 0;
    font-size: clamp(1.25rem, 3vw, 1.55rem);
    font-weight: 800;
    letter-spacing: .06em;
}

.order-modal-step {
    width: 100%;
}

.order-modal-step-info .order-modal-title {
    margin-bottom: 38px;
}

.order-modal-message {
    font-size: .9rem;
    color: #333;
}

.order-delivery-button {
    width: 145px !important;
    height: 51px !important;
    min-width: 145px;
    min-height: 51px;
    padding: 0 20px !important;
    border: 0;
    border-radius: 5px;
    background: #ff0040;
    color: #fff;
    font-size: 1rem;
    letter-spacing: .04em;
    transition: background-color .2s ease, transform .2s ease;
}

.order-delivery-button:hover,
.order-delivery-button:focus-visible {
    background: #d90036;
    transform: translateY(-1px);
}

@media (max-width: 575.98px) {
    .order-modal .modal-content,
    .order-modal .modal-body {
        min-height: 310px;
    }

    .order-modal .modal-body {
        padding: 0 22px;
    }

    .order-modal-brand {
        margin-top: 34px;
        margin-bottom: 20px;
    }
}

/* -------------------- Mobile Bottom Navigation Bar -------------------- */
:root {
    --bs-bottom-nav-z-index: 1040;
    --bs-bottom-nav-height: 70px;
}

.mobile-bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100%;
    height: var(--bs-bottom-nav-height);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
    z-index: var(--bs-bottom-nav-z-index);
    padding-bottom: env(safe-area-inset-bottom, 0);
    padding-left: 8px;
    padding-right: 8px;
    box-sizing: content-box;
}

.mobile-nav-item {
    color: rgba(0, 0, 0, 0.38);
    flex: 1;
    height: 100%;
    padding: 8px 4px 6px;
    font-weight: 500;
    transition: color 0.22s ease, transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    border-radius: 14px;
    text-decoration: none !important;
}

.mobile-nav-item:active {
    transform: scale(0.88);
}

.mobile-nav-item.active {
    color: var(--primary-color, #174184);
}

.mobile-nav-item:hover:not(.mobile-nav-order) {
    color: var(--primary-color, #174184);
    background: rgba(23, 65, 132, 0.06);
}

/* Active indicator dot */
.mobile-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary-color, #174184);
    animation: navDotPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes navDotPop {
    from { transform: translateX(-50%) scale(0); opacity: 0; }
    to   { transform: translateX(-50%) scale(1); opacity: 1; }
}

.mobile-nav-item i {
    font-size: 1.35rem;
    display: block;
    text-align: center;
    margin-bottom: 2px;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-nav-item.active i {
    transform: translateY(-1px) scale(1.1);
}

.mobile-nav-label {
    font-size: 0.64rem;
    display: block;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ---- Central Order Button (raised pill) ---- */
.mobile-nav-order {
    flex: 0 0 72px;
    height: auto !important;
    margin-top: -20px;
    padding: 0 !important;
    color: #fff !important;
    position: relative;
}

.mobile-nav-order-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff0040 0%, #d90036 100%);
    box-shadow: 0 6px 20px rgba(217, 0, 54, 0.45);
    transition: box-shadow 0.22s ease, transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: visible;
}

.mobile-nav-order:active .mobile-nav-order-inner {
    transform: scale(0.9);
    box-shadow: 0 3px 10px rgba(217, 0, 54, 0.35);
}

.mobile-nav-order:hover .mobile-nav-order-inner {
    box-shadow: 0 8px 26px rgba(217, 0, 54, 0.55);
    transform: translateY(-2px);
}

/* Pulse ring around order button */
.mobile-nav-order-inner::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(217, 0, 54, 0.35);
    animation: orderPulse 2.2s ease-out infinite;
}

.mobile-nav-order-inner::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(217, 0, 54, 0.18);
    animation: orderPulse 2.2s ease-out infinite 0.7s;
}

@keyframes orderPulse {
    0%   { transform: scale(0.85); opacity: 1; }
    70%  { transform: scale(1.2);  opacity: 0.4; }
    100% { transform: scale(1.2);  opacity: 0; }
}

.mobile-nav-order i {
    font-size: 1.45rem;
    color: #fff;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.mobile-nav-order .mobile-nav-label {
    font-size: 0.58rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 2px;
    position: relative;
    z-index: 1;
}

@media (max-width: 575.98px) {
    body {
        padding-bottom: calc(var(--bs-bottom-nav-height) + env(safe-area-inset-bottom, 0px)) !important;
    }
}

@media (min-width: 576px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}




