/* ==============================
   WAVE SECTION DIVIDERS â€” Workflow-2
============================== */
.wave-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    height: 48px;
    position: relative;
    background: transparent;
}

.wave-divider svg {
    display: block;
}

/* Logo Glow Effect */
.logo-glow {
    position: relative;
}

.logo-glow::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(45deg, #ffffff, #00fbff, #ffffff);
    background-size: 200% 200%;
    border-radius: 3rem;
    z-index: -1;
    filter: blur(15px);
    opacity: 0.8;
    animation: glow-rotate 3s linear infinite;
}

@keyframes glow-rotate {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}



@keyframes dropdown-pop {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}



.wave-divider svg {
    display: block;
    width: 200%;
    height: 100%;
    animation: wave-scroll 3s linear infinite;
    fill: none;
    stroke: #0a706c;
    stroke-width: 2.5;
    stroke-opacity: 0.4;
}


@keyframes wave-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Coloured accent variant used in brand-yellow sections */
.wave-divider.wave-yellow svg {
    stroke: #11b2ad;
    stroke-opacity: 0.6;
}


.wave-divider.wave-red svg {
    stroke: #EF476F;
    stroke-opacity: 0.4;
}

.wave-divider.wave-green svg {
    stroke: #06D6A0;
    stroke-opacity: 0.4;
}

/* Specific Combo Loader Styles */
#loader-text {
    filter: blur(10px);
}

@layer utilities {
    .shadow-bubble {
        box-shadow: 0 6px 0 rgba(0, 0, 0, 0.8) !important;
    }

    .shadow-bubble-hover {
        box-shadow: 0 4px 0 rgba(0, 0, 0, 0.8) !important;
    }
}


/* Global Bold Borders */
.bold-border {
    border: 2px solid #000000 !important;
}








@keyframes wiggle {

    0%,
    100% {
        transform: rotate(-3deg);
    }

    50% {
        transform: rotate(3deg);
    }
}

.animate-wiggle {
    animation: wiggle 0.3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

@keyframes scooter {
    0% {
        transform: translateX(-100vw);
    }

    100% {
        transform: translateX(100vw);
    }
}

.animate-scooter {
    animation: scooter 15s linear infinite;
}

.steam {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fffaf0;

    border-radius: 50%;
    filter: blur(8px);
    opacity: 0;
}

@keyframes rise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }

    100% {
        transform: translateY(-60px) scale(2);
        opacity: 0;
    }
}

.steam-1 {
    top: -20px;
    left: 40%;
    animation: rise 2s infinite ease-out;
}

.steam-2 {
    top: -10px;
    left: 50%;
    animation: rise 2.5s infinite ease-out 0.5s;
}

.steam-3 {
    top: -25px;
    left: 60%;
    animation: rise 2.2s infinite ease-out 1s;
}

html {
    scroll-behavior: smooth;
}

/* Social Wheel Positioning */
#social-wheel-container {
    perspective: 1000px;
}

#wheel-icons-wrap {
    transform-style: preserve-3d;
    width: 100%;
    height: 100%;
}

#wheel-center {
    pointer-events: none;
}

#wheel-main-link {
    pointer-events: auto;
}

/* Global Bold Polish */
button,
input,
select,
textarea {
    border-width: 2px !important;
    border-color: #000000 !important;
}

.product-card:hover {
    box-shadow: 0 10px 0 rgba(0, 0, 0, 0.8) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #fffaf0;
}


::-webkit-scrollbar-thumb {
    background: #11b2ad;
    border-radius: 10px;
    border: 3px solid #fffaf0;
}


::-webkit-scrollbar-thumb:hover {
    background: #0a706c;
}


/* Active Button State */
.active-order-btn {
    background-color: #11b2ad !important;
    border-color: #000000 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.1);
    transform: translateY(2px);
}


#cart-drawer {
    transition: transform 0.50s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.selection\:bg-brand-yellow::selection {
    background-color: #11b2ad;
    color: #ffffff;
}


/* Feedback Section Styles */
.star-rating-container label:hover,
.star-rating-container label:hover~label,
.star-rating-container input:checked~label {
    color: #EF476F !important;
}

.star-rating-container label i {
    fill: currentColor;
}

.review-card {
    background: white;
    border-radius: 2.5rem;
    border: 4px solid rgba(7, 59, 76, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 0 rgba(7, 59, 76, 0.05);
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: #118AB2;
    box-shadow: 0 12px 0 rgba(17, 138, 178, 0.1);
}

.review-media-item {
    width: 60px;
    height: 60px;
    border-radius: 1.5rem;
    object-fit: cover;
    border: 3px solid #FFF3E0;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.05);
}

.review-media-item:hover {
    transform: scale(1.1) rotate(3deg);
}

/* Admin Feedback Controls */
.fb-admin-btn {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #073B4C;
    opacity: 0.5;
    background: transparent;
    border: 3px solid rgba(7, 59, 76, 0.15);
    border-radius: 2rem;
    padding: 0.6rem 1.4rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.fb-admin-btn:hover {
    opacity: 1;
    border-color: rgba(7, 59, 76, 0.4);
}

.fb-admin-btn.fb-admin-active {
    background: #11b2ad;
    color: #ffffff;
    opacity: 1;
    border-color: #11b2ad;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.1);
}


.fb-delete-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #EF476F;
    color: #fff;
    border: none;
    padding: 0.4rem 0.6rem;
    border-radius: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    font-size: 0.65rem;
    font-weight: 700;
    transition: background 0.2s;
    z-index: 5;
}

.fb-delete-btn:hover {
    background: #d63d62;
}


/* ==============================
   WE SECTION â€” Workflow-2 Style
============================== */
.we-section {
    background: #fffaf0;
    padding: 6rem 1.5rem;
    min-height: 60vh;
}


.we-container {
    max-width: 1280px;
    margin: 0 auto;
}

.we-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
    gap: 1rem;
    position: relative;
    width: 100%;
}

.we-label {
    font-family: monospace;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #073B4C;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.we-title {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(3.5rem, 10vw, 6rem);
    font-weight: 700;
    color: #073B4C;
    cursor: default;
    user-select: none;
    line-height: 1;
    text-align: center;
}

.we-subtitle {
    font-size: 0.75rem;
    color: #073B4C;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.we-post-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #11b2ad;
    color: #ffffff;
    border: none;
    padding: 0.85rem 1.5rem;
    border-radius: 2rem;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    margin-top: 1rem;
}

@media (min-width: 769px) {
    .we-post-btn {
        position: absolute;
        right: 0;
        bottom: 0;
        margin-top: 0;
    }
}


.we-post-btn:hover {
    background: #0a706c;
    color: #fff;
    transform: translateY(-2px);
}


/* Grid & Cards */
.we-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.we-card {
    background: #fff;
    border-radius: 2.5rem;
    overflow: hidden;
    border: 4px solid rgba(7, 59, 76, 0.05);
    box-shadow: 0 8px 0 rgba(7, 59, 76, 0.05);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.we-card:hover {
    transform: translateY(-5px);
    border-color: #FFD166;
    box-shadow: 0 12px 0 rgba(255, 209, 102, 0.2);
}

.we-media-wrap {
    position: relative;
    aspect-ratio: 16/9;
    background: #073B4C;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.we-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
}

.we-media-img:hover {
    transform: scale(1.03);
}

.we-media-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.we-audio-wrap,
.we-pdf-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #fff;
    padding: 2rem;
}

.we-audio-player {
    width: 100%;
}

.we-pdf-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 1rem;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.we-pdf-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.we-delete-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #EF476F;
    color: #fff;
    border: none;
    padding: 0.5rem;
    border-radius: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s;
}

.we-delete-btn:hover {
    background: #d63d62;
}

.we-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.we-card-meta {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #073B4C;
    opacity: 0.7;
    margin-bottom: 0.4rem;
    font-family: monospace;
}

.we-card-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #073B4C;
    margin-bottom: 0.4rem;
}

.we-card-desc {
    font-size: 0.85rem;
    color: #073B4C;
    opacity: 0.7;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

/* Comments */
.we-comments-section {
    border-top: 4px solid rgba(7, 59, 76, 0.05);
    padding-top: 1.25rem;
}

.we-comments-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #073B4C;
    opacity: 0.5;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-family: monospace;
}

.we-comments-list {
    max-height: 8rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.we-comment-item {
    background: #FFF3E0;
    border-radius: 1rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.78rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.we-comment-user {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    color: #073B4C;
}

.we-comment-text {
    color: #073B4C;
    opacity: 0.8;
}

.we-comment-time {
    font-size: 0.6rem;
    color: #073B4C;
    opacity: 0.7;
    font-family: monospace;
}

.we-no-comments {
    font-size: 0.75rem;
    color: #073B4C;
    opacity: 0.3;
    text-align: center;
    padding: 0.5rem;
}

.we-comment-input-wrap {
    display: flex;
    gap: 0.5rem;
}

.we-comment-input {
    flex: 1;
    background: #FFF3E0;
    border: 3px solid transparent;
    border-radius: 1rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.85rem;
    color: #073B4C;
    outline: none;
    transition: border-color 0.2s;
    font-family: 'Quicksand', sans-serif;
}

.we-comment-input:focus {
    border-color: #FFD166;
}

.we-comment-send {
    background: #FFD166;
    color: #073B4C;
    border: none;
    padding: 0.6rem 0.85rem;
    border-radius: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    box-shadow: 0 4px 0 rgba(7, 59, 76, 0.1);
}

.we-comment-send:hover {
    background: #EF476F;
    color: #fff;
}

/* Upload Modal */
.we-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(7, 59, 76, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.we-modal-overlay.hidden {
    display: none !important;
}

.we-modal {
    background: #fff;
    border-radius: 3rem;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.we-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.2s;
}

.we-modal-close:hover {
    background: #FFF3E0;
}

.we-modal-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #073B4C;
    margin-bottom: 1.5rem;
}

.we-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.we-input,
.we-textarea {
    background: #FFF3E0;
    border: 3px solid transparent;
    border-radius: 1rem;
    padding: 1rem 1.2rem;
    font-size: 0.9rem;
    color: #073B4C;
    outline: none;
    transition: border-color 0.2s;
    font-family: 'Quicksand', sans-serif;
    width: 100%;
    box-sizing: border-box;
}

.we-input:focus,
.we-textarea:focus {
    border-color: #FFD166;
}

.we-textarea {
    min-height: 6rem;
    resize: vertical;
}

.we-file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px dashed rgba(7, 59, 76, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    font-size: 0.85rem;
    color: #073B4C;
    opacity: 0.6;
    transition: border-color 0.2s, opacity 0.2s;
    font-family: 'Quicksand', sans-serif;
}

.we-file-label:hover {
    border-color: #FFD166;
    opacity: 1;
}

.we-file-preview {
    width: 100%;
    height: 8rem;
    object-fit: cover;
    border-radius: 1rem;
    border: 3px solid #FFF3E0;
}

.we-submit-btn {
    background: #FFD166;
    color: #073B4C;
    border: none;
    border-radius: 1.5rem;
    padding: 1.1rem;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 6px 0 rgba(7, 59, 76, 0.15);
    transition: all 0.2s;
}

.we-submit-btn:hover {
    background: #EF476F;
    color: #fff;
    transform: translateY(-2px);
}

.we-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Spinner */
.we-loading {
    grid-column: 1/-1;
    display: flex;
    justify-content: center;
    padding: 4rem;
}

.we-spinner {
    width: 3rem;
    height: 3rem;
    border: 4px solid rgba(7, 59, 76, 0.1);
    border-top-color: #FFD166;
    border-radius: 50%;
    animation: we-spin 0.8s linear infinite;
}

.we-spinner-inline {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(7, 59, 76, 0.3);
    border-top-color: #073B4C;
    border-radius: 50%;
    animation: we-spin 0.8s linear infinite;
}


@keyframes we-spin {
    to {
        transform: rotate(360deg);
    }
}

.we-empty {
    grid-column: 1/-1;
    text-align: center;
    padding: 5rem 2rem;
    color: #073B4C;
    opacity: 0.3;
    font-family: 'Quicksand', sans-serif;
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 1.5rem;
    border: 4px solid #000;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #000;
    pointer-events: auto;
    animation: toast-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.toast.toast-success {
    border-color: #11b2ad;
}

.toast.toast-error {
    border-color: #EF476F;
}

.toast.toast-info {
    border-color: #118AB2;
}

.toast.toast-out {
    animation: toast-out 0.3s ease-in forwards;
}

@keyframes toast-in {
    from {
        transform: translateX(100%) scale(0.9);
        opacity: 0;
    }

    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes toast-out {
    to {
        transform: translateX(100%) scale(0.9);
        opacity: 0;
    }
}

/* Feedback Media Placeholders */
.fb-media-box {
    width: 100%;
    min-width: 80px;
    height: 80px;
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    background: #fff;
    border: 3px solid rgba(7, 59, 76, 0.05);
}

.fb-media-placeholder {
    width: 100%;
    height: 100%;
    border: 3px dashed rgba(7, 59, 76, 0.15);
    border-radius: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    color: rgba(7, 59, 76, 0.2);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Quicksand', sans-serif;
    background: rgba(7, 59, 76, 0.02);
}

@media (min-width: 768px) {
    .fb-media-box {
        width: 120px;
        height: 80px;
    }
}

/* Likes / Dislikes Bar - Workflow-2 Style */
.we-likes-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 4px solid rgba(7, 59, 76, 0.05);
    margin-top: 0.75rem;
}

.we-like-btn,
.we-dislike-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: #FFF3E0;
    border: none;
    border-radius: 1.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #073B4C;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 0 rgba(7, 59, 76, 0.05);
}

.we-like-btn:hover {
    background: #06D6A0;
    color: #fff;
    transform: translateY(-2px);
}

.we-dislike-btn:hover {
    background: #EF476F;
    color: #fff;
    transform: translateY(-2px);
}

.we-like-btn.active {
    background: #06D6A0;
    color: #fff;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1);
    transform: translateY(2px);
}

.we-dislike-btn.active {
    background: #EF476F;
    color: #fff;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1);
    transform: translateY(2px);
}

.we-comment-count-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: none;
    border: none;
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #073B4C;
    opacity: 0.7;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: auto;
}

.we-comment-count-btn:hover {
    opacity: 1;
    color: #11b2ad;
}

/* Video Play Overlay */
.we-video-thumb {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.we-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(7, 59, 76, 0.3);
    transition: background 0.2s;
}

.we-video-thumb:hover .we-play-overlay {
    background: rgba(7, 59, 76, 0.5);
}

/* Detail Modal Comments - Workflow-2 Style */
.we-detail-comment {
    background: #FFF3E0;
    border-radius: 1.5rem;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border: 3px solid transparent;
}

.we-detail-comment-user {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    color: #073B4C;
    font-size: 0.9rem;
}

.we-detail-comment-text {
    color: #073B4C;
    opacity: 0.8;
    font-size: 0.9rem;
}

.we-detail-comment-time {
    font-size: 0.65rem;
    color: #073B4C;
    opacity: 0.7;
    font-family: monospace;
}

/* ==============================
   ORDER TRACKING — Workflow-2
============================== */

/* Popup Modal Container */
#ot-tracker-modal:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
}

#ot-tracker-modal * {
    box-sizing: border-box;
}

.ot-panel {
    max-width: 500px;
    /* Slimmer for popup feel */
    width: 100%;
    margin: auto;
    background: #fff;
    border-radius: 2.5rem;
    overflow: hidden;
    border: 4px solid #000;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    position: relative;
    z-index: 10;
}

.ot-panel-hidden {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
}

.ot-panel-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.ot-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 4rem 1.5rem 2rem;
    /* Extra right padding for close button */
    background: linear-gradient(135deg, #073b4c 0%, #0a706c 100%);
    color: #fff;
    position: relative;
    min-width: 0;
}

.ot-panel-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ot-panel-title h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    font-weight: 700;
    margin: 0;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ot-panel-title p {
    font-size: 0.7rem;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin: 0;
}

.ot-title-icon {
    background: rgba(0, 251, 255, 0.2);
    width: 48px;
    height: 48px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00fbff;
}

.ot-close-btn {
    background: #000 !important;
    border: none !important;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    z-index: 20;
}

@media (max-width: 480px) {
    .ot-close-btn {
        right: 0.75rem;
        width: 30px;
        height: 30px;
    }
}

.ot-close-btn:hover {
    background: #EF476F !important;
    transform: rotate(90deg) scale(1.1);
}

.ot-panel-body {
    padding: 1.5rem;
    max-height: 75vh;
    overflow-y: auto;
}

/* Search */
.ot-search-box {
    margin-bottom: 1.5rem;
}

.ot-search-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    border: 3px solid rgba(0, 0, 0, 0.08);
    border-radius: 1.5rem;
    padding: 0.5rem 0.5rem 0.5rem 1.25rem;
    transition: border-color 0.2s;
}

.ot-search-inner:focus-within {
    border-color: #00fbff;
}

.ot-search-input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    font-size: 0.9rem;
    font-weight: 700;
    color: #073b4c;
    outline: none;
    font-family: 'Quicksand', sans-serif;
}

.ot-search-input::placeholder {
    color: rgba(7, 59, 76, 0.3);
}

.ot-search-btn {
    background: #00fbff !important;
    color: #073b4c !important;
    border: 2px solid #073b4c !important;
    padding: 0.6rem 1.5rem;
    border-radius: 1rem;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15);
    transition: all 0.2s;
}

.ot-search-btn:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
}

/* Section titles */
.ot-section-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #073b4c;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Order cards */
.ot-orders-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ot-order-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 3px solid rgba(0, 0, 0, 0.06);
    border-radius: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
    gap: 0.75rem;
}

.ot-order-card:hover {
    border-color: #00fbff;
    transform: translateY(-2px);
    box-shadow: 0 8px 0 rgba(0, 251, 255, 0.12);
}

.ot-order-delivered {
    border-color: #06d6a0 !important;
    background: rgba(6, 214, 160, 0.04);
}

.ot-order-card-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.ot-order-id-badge {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #073b4c;
}

.ot-order-meta {
    display: flex;
    gap: 0.75rem;
    font-size: 0.7rem;
    color: rgba(7, 59, 76, 0.5);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ot-order-card-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Phase badges */
.ot-phase-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    border: 2px solid transparent;
}

.ot-phase-placed {
    background: #e8f4ff;
    color: #0077b6;
    border-color: #0077b6;
}

.ot-phase-viewed {
    background: #fff3cd;
    color: #856404;
    border-color: #ffc107;
}

.ot-phase-cooking {
    background: #fee2e2;
    color: #dc2626;
    border-color: #ef4444;
}

.ot-phase-packing {
    background: #fef3c7;
    color: #d97706;
    border-color: #f59e0b;
}

.ot-phase-delivery {
    background: #dbeafe;
    color: #2563eb;
    border-color: #3b82f6;
}

.ot-phase-delivered {
    background: #d1fae5;
    color: #059669;
    border-color: #10b981;
}

/* Empty state */
.ot-empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #073b4c;
}

.ot-empty-icon {
    width: 100px;
    height: 100px;
    border-radius: 2rem;
    background: rgba(0, 251, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: rgba(0, 251, 255, 0.5);
}

.ot-empty-error .ot-empty-icon,
.ot-empty-icon.ot-empty-error {
    background: rgba(239, 71, 111, 0.1);
    color: rgba(239, 71, 111, 0.5);
}

.ot-empty-state h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ot-empty-state p {
    font-size: 0.85rem;
    opacity: 0.6;
    font-weight: 600;
    max-width: 320px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Back button */
.ot-back-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent !important;
    border: none !important;
    color: #073b4c;
    opacity: 0.5;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    transition: opacity 0.2s;
    font-family: 'Quicksand', sans-serif;
}

.ot-back-btn:hover {
    opacity: 1;
}

/* Order detail header */
.ot-order-detail-header {
    text-align: center;
    margin-bottom: 2rem;
}

.ot-order-detail-id {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #073b4c;
    background: rgba(0, 251, 255, 0.1);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 1rem;
    border: 2px solid rgba(0, 251, 255, 0.3);
    margin-bottom: 0.5rem;
}

.ot-order-detail-meta {
    font-size: 0.7rem;
    color: rgba(7, 59, 76, 0.5);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ot-delivered-banner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    background: #d1fae5;
    color: #059669;
    padding: 0.5rem 1.25rem;
    border-radius: 1rem;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    border: 2px solid #10b981;
}

/* Stepper */
.ot-stepper {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 0.5rem;
}

.ot-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.ot-step-line-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.ot-step-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #e5e7eb;
    background: #f9fafb;
    color: #9ca3af;
    transition: all 0.3s;
    flex-shrink: 0;
}

.ot-step-connector {
    width: 3px;
    height: 32px;
    background: #e5e7eb;
    transition: background 0.3s;
}

.ot-step-content {
    padding-bottom: 1.5rem;
    padding-top: 0.35rem;
}

.ot-step-label {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #9ca3af;
    margin: 0 0 0.15rem;
    transition: color 0.3s;
}

.ot-step-desc {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 600;
    margin: 0;
    transition: color 0.3s;
}

.ot-step-time {
    font-size: 0.65rem;
    color: #00fbff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
    display: block;
}

/* Done step */
.ot-step-done .ot-step-dot {
    background: #06d6a0;
    border-color: #06d6a0;
    color: #fff;
}

.ot-step-done .ot-step-connector {
    background: #06d6a0;
}

.ot-step-done .ot-step-label {
    color: #073b4c;
}

.ot-step-done .ot-step-desc {
    color: rgba(7, 59, 76, 0.6);
}

/* Active step */
.ot-step-active .ot-step-dot {
    background: #00fbff;
    border-color: #073b4c;
    color: #073b4c;
    box-shadow: 0 0 0 6px rgba(0, 251, 255, 0.25);
    animation: ot-pulse 2s ease-in-out infinite;
}

.ot-step-active .ot-step-label {
    color: #073b4c;
    font-size: 1.05rem;
}

.ot-step-active .ot-step-desc {
    color: rgba(7, 59, 76, 0.8);
}

@keyframes ot-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(0, 251, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(0, 251, 255, 0.05);
    }
}

/* Items summary */
.ot-items-summary {
    background: #f8f9fa;
    border: 2px solid rgba(0, 0, 0, 0.05);
    border-radius: 1.5rem;
    padding: 1rem 1.25rem;
    margin-top: 1.5rem;
}

.ot-items-summary h4 {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #073b4c;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.5rem;
}

.ot-items-summary p {
    font-size: 0.8rem;
    color: rgba(7, 59, 76, 0.7);
    font-weight: 600;
    margin: 0;
    line-height: 1.6;
}

/* Refresh button */
.ot-refresh-status-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    margin-top: 1rem;
    background: rgba(0, 251, 255, 0.1) !important;
    border: 2px solid rgba(0, 251, 255, 0.3) !important;
    border-radius: 1rem;
    color: #0a706c;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Quicksand', sans-serif;
}

.ot-refresh-status-btn:hover {
    background: rgba(0, 251, 255, 0.2) !important;
}

/* Loading state */
.ot-loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    color: rgba(7, 59, 76, 0.5);
    font-weight: 700;
    font-size: 0.85rem;
}

.ot-spinner {
    width: 32px;
    height: 32px;
    border: 4px solid rgba(0, 251, 255, 0.2);
    border-top-color: #00fbff;
    border-radius: 50%;
    animation: ot-spin 0.8s linear infinite;
}

@keyframes ot-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---- Admin Section ---- */
.ot-admin-section {
    background: rgba(239, 71, 111, 0.04);
    border: 2px solid rgba(239, 71, 111, 0.15);
    border-radius: 1.5rem;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.ot-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.ot-admin-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #ef476f;
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 1rem;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
}

.ot-refresh-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent !important;
    border: 2px solid rgba(0, 0, 0, 0.1) !important;
    color: #073b4c;
    padding: 0.4rem 1rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.ot-refresh-btn:hover {
    border-color: #00fbff !important;
    color: #0a706c;
}

.ot-admin-orders-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 400px;
    overflow-y: auto;
}

.ot-admin-order-card {
    background: #fff;
    border: 2px solid rgba(0, 0, 0, 0.06);
    border-radius: 1.25rem;
    padding: 1rem;
    transition: all 0.2s;
}

.ot-admin-order-card:hover {
    border-color: rgba(0, 0, 0, 0.15);
}

.ot-admin-order-delivered {
    border-color: #10b981 !important;
    background: rgba(6, 214, 160, 0.04);
}

.ot-admin-order-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.ot-admin-order-id {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #073b4c;
}

.ot-admin-order-meta {
    font-size: 0.65rem;
    color: rgba(7, 59, 76, 0.5);
    font-weight: 600;
    margin-top: 0.15rem;
}

.ot-admin-order-items {
    font-size: 0.7rem;
    color: rgba(7, 59, 76, 0.6);
    margin-top: 0.25rem;
    font-weight: 600;
    line-height: 1.4;
}

.ot-admin-phase-controls {
    border-top: 2px solid rgba(0, 0, 0, 0.04);
    padding-top: 0.75rem;
}

.ot-admin-phase-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(7, 59, 76, 0.4);
    display: block;
    margin-bottom: 0.5rem;
}

.ot-admin-phase-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.ot-admin-phase-btn {
    padding: 0.3rem 0.65rem !important;
    border: 2px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 0.6rem;
    font-size: 0.6rem;
    font-weight: 700;
    color: #073b4c;
    background: #fff !important;
    cursor: pointer;
    transition: all 0.15s;
    font-family: 'Quicksand', sans-serif;
}

.ot-admin-phase-btn:hover:not(:disabled) {
    border-color: #00fbff !important;
    background: rgba(0, 251, 255, 0.1) !important;
}

.ot-admin-phase-current {
    background: #00fbff !important;
    border-color: #073b4c !important;
    color: #073b4c !important;
    cursor: default;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
}

.ot-admin-phase-done {
    background: #d1fae5 !important;
    border-color: #10b981 !important;
    color: #059669 !important;
}

.ot-admin-empty {
    text-align: center;
    padding: 2rem;
    color: rgba(7, 59, 76, 0.3);
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

/* My Orders section */
.ot-my-orders {
    margin-top: 0.5rem;
}

/* ===================================================
   MOBILE OPTIMIZATIONS (FIXING Mistake #1)
   =================================================== */
@media (max-width: 768px) {
    :root {
        --grid-cols: 1;
    }

    html {
        font-size: 14px;
        /* Global scale down for mobile */
    }

    /* Hero Scaling */
    #hero {
        padding-top: 6rem;
        padding-bottom: 4rem;
    }

    .hero-text-large {
        font-size: 2.8rem;
        line-height: 1.1;
    }

    .hero-img-wrap {
        margin-top: 2rem;
    }

    /* Menu Scaling */
    .menu-grid {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    #user-nav-area {
        order: 0;
        /* Reset order to keep it after logo */
    }

    #user-greeting {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        gap: 0.25rem !important;
        font-size: 0.75rem !important;
    }

    .header-right {
        gap: 0.5rem;
    }

    #track-order-btn,
    #cart-btn,
    #nav-login-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .product-card {
        border-radius: 1.5rem;
        padding: 1.25rem;
    }

    .ot-panel {
        border-radius: 2rem;
        max-width: 95vw;
    }

    .ot-panel-header {
        padding: 1.25rem 1.5rem;
    }

    .ot-panel-body {
        padding: 1rem;
    }

    .ot-order-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .ot-order-card-right {
        width: 100%;
        justify-content: space-between;
    }

    .ot-admin-order-header {
        flex-direction: column;
    }

    .ot-admin-phase-btns {
        gap: 0.3rem;
    }

    .ot-admin-phase-btn {
        font-size: 0.55rem;
        padding: 0.25rem 0.5rem !important;
    }
}

/* ==============================
   STORY MODAL STYLES
   ============================== */
#story-modal {
    transition: opacity 0.3s ease-out;
    display: none; /* Default hidden */
}

#story-modal-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: auto; /* Ensure centering */
}

.story-modal-visible {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.story-modal-visible #story-modal-card {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Story Card Icon Animation */
.story-card:hover .icon-container {
    transform: scale(1.1) rotate(12deg);
}

/* Carousel Styles for WE Section */
.we-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    height: 100%;
}

.we-carousel-item {
    flex: 0 0 100%;
    scroll-snap-align: start;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.we-carousel-item img, .we-carousel-item video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.we-carousel::-webkit-scrollbar {
    height: 6px;
}

.we-carousel::-webkit-scrollbar-thumb {
    background: #00fbff;
    border-radius: 10px;
}

.we-carousel-nav {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.we-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.2s;
    border: 1px solid rgba(0,0,0,0.2);
}

.we-carousel-dot.active {
    background: #00fbff;
    transform: scale(1.2);
}

