/* ========== RESET & GLOBAL ========== */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'Poppins', sans-serif; background-color: #FFFFFF; color: #2B2B2B; scroll-behavior: smooth; }
        :root { --pink-primary: #FF6B9A; --pink-hover: #FF4F85; --pink-soft: #FFB6C9; --pink-pastel: #FFD6E3; --bg-pink: #FFF8FA; --white: #FFFFFF; --black-soft: #2B2B2B; --gray-text: #666666; --border-soft: #EEEEEE; --pink-light: #FFF1F5; }
        .container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
        
        /* ========== NAVBAR (GLASS) ========== */
        .website-sticky-header { position: sticky; top: 0; z-index: 1200; width: 100%; background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); box-shadow: 0 8px 26px rgba(43,43,43,0.06); }
        .navbar { background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); box-shadow: 0 2px 12px rgba(0,0,0,0.02); position: relative; top: auto; z-index: 2; border-bottom: 1px solid rgba(0,0,0,0.05); }
        .nav-container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 16px 24px; max-width: 1400px; margin: 0 auto; }
        .logo-area { display: flex; align-items: center; gap: 12px; cursor: pointer; text-decoration: none; }
        .logo-area img { height: 48px; width: auto; max-width: 120px; object-fit: contain; display: block; transition: transform 0.3s ease; border-radius: 8px; }
        .logo-area:hover img { transform: scale(1.02); }
        .logo-text h1 { font-size: 1.8rem; font-weight: 600; color: var(--pink-primary); font-family: 'Dancing Script', cursive; line-height: 1; }
        .logo-text p { font-size: 0.7rem; color: var(--gray-text); letter-spacing: 0.5px; }
        .nav-menu { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; }
        .nav-menu li a { padding: 8px 20px; border-radius: 40px; font-weight: 500; color: var(--black-soft); transition: all 0.25s ease; text-decoration: none; display: inline-block; font-size: 0.95rem; cursor: pointer; }
        .nav-menu li a:hover, .nav-menu li a.active { background: var(--pink-primary); color: white; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(255,107,154,0.3); }
        .btn-wa-nav { background: var(--pink-primary); color: white; border: none; padding: 10px 24px; border-radius: 40px; font-weight: 600; font-family: 'Poppins', sans-serif; cursor: pointer; transition: all 0.25s ease; display: flex; align-items: center; gap: 8px; text-decoration: none; }
        .btn-wa-nav:hover { background: var(--pink-hover); transform: translateY(-2px); box-shadow: 0 6px 14px rgba(255,107,154,0.4); }
        .menu-toggle { display: none; font-size: 28px; cursor: pointer; color: var(--pink-primary); }
        .mobile-nav { display: none; flex-direction: column; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); padding: 16px 24px; border-top: 1px solid var(--border-soft); }
        .mobile-nav a { padding: 12px; text-decoration: none; color: var(--black-soft); font-weight: 500; border-radius: 30px; transition: all 0.2s ease; }
        .mobile-nav a:hover { background: var(--pink-primary); color: white; transform: translateX(5px); }
        .mobile-nav a.active { background: var(--pink-primary); color: white; }
        .mobile-nav.open { display: flex; }
        
        /* ========== FOOTER ========== */
        footer { background: var(--white); border-top: 1px solid var(--border-soft); padding: 48px 24px 0; margin-top: 60px; }
        .footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
        .footer-brand img { height: 100px; width: auto; max-width: 180px; object-fit: contain; margin-bottom: 12px; border-radius: 8px; }
        .footer-brand p { font-size: 0.82rem; color: var(--gray-text); line-height: 1.7; margin-top: 0.8rem; }
        .footer-col h4 { font-size: 0.82rem; font-weight: 700; color: var(--black-soft); letter-spacing: 0.5px; margin-bottom: 1rem; text-transform: uppercase; }
        .footer-col a { display: block; font-size: 0.82rem; color: var(--gray-text); text-decoration: none; margin-bottom: 0.5rem; cursor: pointer; transition: all 0.2s ease; }
        .footer-col a:hover { color: var(--pink-primary); transform: translateX(4px); }
        .footer-contact-item { font-size: 0.82rem; color: var(--gray-text); margin-bottom: 0.5rem; line-height: 1.5; }
        .footer-social { display: flex; gap: 0.8rem; margin-top: 0.5rem; }
        .footer-social a { width: 34px; height: 34px; border-radius: 50%; background: var(--pink-pastel); color: var(--pink-primary); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; text-decoration: none; transition: all 0.2s ease; }
        .footer-social a:hover { background: var(--pink-primary); color: #fff; transform: translateY(-3px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
        .footer-bottom { background: var(--pink-primary); color: #fff; text-align: center; padding: 1rem; font-size: 0.8rem; margin-top: 0; }
        
        /* Tab Content */
        .tab-content { display: none; animation: fadeInUp 0.5s ease-out; }
        .tab-content.active-tab { display: block; }
        @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
        
        /* Hero */
        .hero { position: relative; overflow: hidden; border-radius: 48px; margin: 40px 0; }
        .hero-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; border-radius: inherit; }
        .slider-item { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; opacity: 0; transition: opacity 1.5s ease-in-out; border-radius: inherit; }
        .slider-item.active { opacity: 1; z-index: 1; }
        .hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(0,0,0,0.3), rgba(0,0,0,0.5)); z-index: 1; border-radius: inherit; }
        .hero .hero-text, .hero .hero-image { position: relative; z-index: 2; }
        .hero .hero-title, .hero .hero-tag, .hero p, .hero .hero-benefits div { text-shadow: 0 1px 3px rgba(0,0,0,0.2); }
        .hero .hero-title span, .hero .hero-tag { color: #fff !important; }
        .hero .hero-title .pink, .hero-title span[style*="color:#FF6B9A"] { color: #FFB6C9 !important; }
        .hero .hero-text p { color: #f0f0f0 !important; }
        .hero .hero-benefits div { color: #fff !important; background: rgba(0,0,0,0.3); backdrop-filter: blur(4px); padding: 6px 12px; border-radius: 40px; transition: all 0.3s ease; cursor: pointer; }
        .hero .hero-benefits div:hover { transform: translateY(-3px); background: rgba(255,107,154,0.6); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
        .hero .btn-outline { background: rgba(255,255,255,0.9); border-color: #fff; transition: all 0.3s ease; }
        .hero .btn-outline:hover { background: var(--pink-primary); color: white; border-color: var(--pink-primary); transform: translateY(-3px); box-shadow: 0 8px 18px rgba(255,107,154,0.3); }
        .hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding: 40px; }
        .hero-text { flex: 1; }
        .hero-image { flex: 1; overflow: hidden; border-radius: 32px; box-shadow: 0 20px 30px -10px rgba(0,0,0,0.2); }
        .hero-image img { width: 100%; height: auto; display: block; transition: transform 0.4s ease; }
        .hero-image:hover img { transform: scale(1.02); }
        .hero-tag { font-family: 'Dancing Script', cursive; font-size: 1.3rem; color: #fff; margin-bottom: 8px; }
        .hero-title { font-size: 3rem; font-weight: 800; line-height: 1.2; margin: 16px 0; color: #fff; }
        .btn-group { display: flex; gap: 16px; margin: 24px 0; flex-wrap: wrap; }
        .btn-black { background: #000000; color: white; padding: 12px 28px; border-radius: 40px; font-weight: 600; border: none; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1); }
        .btn-black:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
        .btn-outline { background: rgba(255,255,255,0.9); border: 1px solid #fff; padding: 12px 28px; border-radius: 40px; font-weight: 500; cursor: pointer; transition: all 0.3s ease; color: #000; }
        .btn-pink { background: var(--pink-primary); color: white; border: none; padding: 12px 28px; border-radius: 40px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
        .btn-pink:hover { background: var(--pink-hover); transform: translateY(-3px); box-shadow: 0 8px 18px rgba(255,107,154,0.4); }
        .hero-benefits { display: flex; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
        .section-title { text-align: center; font-size: 2rem; font-weight: 700; margin: 48px 0 24px; }
        .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
        .card { background: white; border-radius: 24px; overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,0.03); transition: all 0.3s ease; }
        .card:hover { transform: translateY(-8px); box-shadow: 0 20px 35px -12px rgba(255,107,154,0.2); }
        .card img { transition: transform 0.4s ease; width: 100%; height: 200px; object-fit: cover; }
        .card:hover img { transform: scale(1.03); }
        .accent-line { width: 60px; height: 3px; background: var(--pink-soft); margin: 12px 0; }
        .why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 40px 0; }
        .why-grid > div { transition: all 0.3s ease; cursor: default; text-align: center; }
        .why-grid > div:hover { transform: translateY(-5px); }
        .misi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 48px auto; max-width: 1000px; text-align: center; }
        .misi-item { padding: 1.5rem; background: var(--white); border-radius: 24px; transition: all 0.3s ease; cursor: default; }
        .misi-item:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(255,107,154,0.1); }
        .misi-icon { width: 70px; height: 70px; border-radius: 50%; background: #FFE3EC; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 1rem; color: var(--pink-primary); transition: all 0.3s; }
        .misi-item:hover .misi-icon { transform: scale(1.1); background: var(--pink-primary); color: white; }
        .kategori-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 40px 0; }
        .kategori-card { background: white; border-radius: 28px; padding: 20px; text-align: center; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.02); border: 1px solid var(--border-soft); }
        .kategori-card:hover { transform: translateY(-6px); box-shadow: 0 15px 30px rgba(255,107,154,0.15); border-color: var(--pink-soft); }
        .kategori-card img { width: 100%; height: 160px; object-fit: cover; border-radius: 20px; margin-bottom: 12px; transition: transform 0.3s; }
        .kategori-card:hover img { transform: scale(1.02); }
        .kategori-card h4 { font-size: 1rem; font-weight: 700; color: var(--black-soft); margin: 6px 0 2px; line-height: 1.3; }
        .klik-text { font-size: 0.78rem; font-style: italic; color: var(--pink-primary); margin-top: 4px; opacity: 0.85; }
        .kategori-card:hover .klik-text { opacity: 1; color: var(--pink-hover); }
        .modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); align-items: center; justify-content: center; z-index: 2000; }
        .modal-content { background: white; max-width: 500px; width: 90%; border-radius: 32px; padding: 24px; max-height: 80vh; overflow-y: auto; }
        .menu-item-row { display: flex; justify-content: space-between; border-bottom: 1px solid var(--border-soft); padding: 12px 0; transition: background 0.2s; }
        .menu-item-row:hover { background: #FFF5F8; }
        .modern-carousel { position: relative; margin: 40px 0; overflow: hidden; padding: 10px 0; }
        .carousel-container { overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 20px 0 30px; }
        .carousel-container::-webkit-scrollbar { display: none; }
        .carousel-track-modern { display: flex; gap: 24px; width: max-content; }
        .review-card-modern { width: 360px; flex-shrink: 0; background: var(--white); border-radius: 28px; padding: 24px; scroll-snap-align: start; box-shadow: 0 20px 35px -12px rgba(0,0,0,0.08); transition: all 0.3s ease; border: 1px solid var(--border-soft); }
        .review-card-modern:hover { transform: translateY(-6px); box-shadow: 0 25px 45px -15px rgba(255,107,154,0.2); border-color: var(--pink-soft); }
        .review-header-modern { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
        .review-avatar-modern { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, var(--pink-pastel), var(--pink-soft)); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 700; color: var(--pink-primary); }
        .review-stars-modern { color: #FFC107; font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 16px; }
        .review-text-modern { font-size: 0.85rem; color: #444; line-height: 1.65; margin-bottom: 20px; }
        .review-photo-modern { width: 100%; height: 150px; border-radius: 20px; background: linear-gradient(135deg, #FFE3EC, #FFD6E3); display: flex; align-items: center; justify-content: center; overflow: hidden; }
        .review-photo-modern img { width: 100%; height: 100%; object-fit: cover; }
        .carousel-dots-modern { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
        .dot-modern { width: 8px; height: 8px; border-radius: 50%; background: var(--pink-pastel); cursor: pointer; transition: all 0.2s; border: none; }
        .dot-modern.active { background: var(--pink-primary); width: 24px; border-radius: 12px; }
        .gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
        .gallery-item { border-radius: 20px; overflow: hidden; cursor: pointer; transition: all 0.3s ease; }
        .gallery-item:hover { transform: scale(1.02); box-shadow: 0 15px 35px rgba(255,107,154,0.2); }
        .gallery-item img { width: 100%; height: auto; display: block; }
        .filter-group { display: flex; justify-content: center; gap: 12px; margin: 30px 0; flex-wrap: wrap; }
        .filter-btn { background: #FFF1F5; padding: 8px 20px; border-radius: 40px; cursor: pointer; border: none; font-weight: 500; transition: all 0.2s ease; }
        .filter-btn.active, .filter-btn:hover { background: var(--pink-primary); color: white; transform: translateY(-2px); }
        .reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 40px 0; }
        .review-card-v2 { background: #FFFFFF; border-radius: 24px; padding: 24px; box-shadow: 0 8px 25px rgba(0,0,0,0.04); transition: all 0.3s ease; border: 1px solid var(--border-soft); }
        .review-card-v2:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(255,107,154,0.1); }
        .review-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
        .review-user { display: flex; align-items: center; gap: 12px; }
        .review-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--pink-pastel), var(--pink-soft)); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 600; color: var(--pink-primary); }
        .review-rating { color: #FFC107; font-size: 0.85rem; }
        .review-text { font-size: 0.85rem; color: #444; line-height: 1.6; margin: 16px 0; }
        .review-photo { width: 100%; height: 150px; border-radius: 16px; background: #FFE3EC; display: flex; align-items: center; justify-content: center; overflow: hidden; }
        .review-photo img { width: 100%; height: 100%; object-fit: cover; }
        .stats-grid { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; text-align: center; }
        .stats-grid > div { transition: transform 0.3s ease; cursor: default; }
        .stats-grid > div:hover { transform: translateY(-5px); }
        .faq-item { border: 1px solid var(--border-soft); border-radius: 20px; margin-bottom: 16px; overflow: hidden; transition: all 0.2s; }
        .faq-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
        .faq-question { padding: 18px; font-weight: 600; background: white; cursor: pointer; display: flex; justify-content: space-between; transition: background 0.2s; }
        .faq-question:hover { background: #FFF8FA; }
        .faq-answer { padding: 0 18px 18px; display: none; color: var(--gray-text); }
        .story-row { display: flex; flex-wrap: wrap; gap: 40px; margin: 40px 0; }
        .story-row > div { flex: 1; }
        .story-img-wrap { overflow: hidden; border-radius: 32px; transition: transform 0.3s ease, box-shadow 0.3s; }
        .story-img-wrap:hover { transform: translateY(-6px); box-shadow: 0 15px 30px rgba(255,107,154,0.2); }
        .story-img-wrap img { transition: transform 0.4s ease; width: 100%; display: block; border-radius: 32px; }
        .story-img-wrap:hover img { transform: scale(1.03); }
        .visi-section .visi-box { transition: all 0.3s ease; cursor: pointer; }
        .visi-section .visi-box:hover { transform: translateY(-8px); box-shadow: 0 20px 35px -12px rgba(255,107,154,0.3); background: linear-gradient(135deg, #FFFFFF, #FFF8FA); }
        #momenGrid img { transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1); cursor: pointer; border-radius: 24px; width: 100%; display: block; object-fit: cover; height: 250px; }
        #momenGrid img:hover { transform: scale(1.03); box-shadow: 0 12px 28px rgba(255,107,154,0.25); filter: brightness(1.02); }
        .fav-custom-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3rem; margin-bottom: 3rem; }
        .fav-custom-card { background: var(--pink-light); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--pink-pastel); transition: all 0.3s ease; }
        .fav-custom-card:hover { transform: translateY(-8px); box-shadow: 0 20px 35px -12px rgba(255,107,154,0.25); }
        .fav-custom-img { height: 260px; background: linear-gradient(135deg, var(--pink-pastel), var(--pink-soft)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
        .fav-custom-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
        .fav-custom-card:hover .fav-custom-img img { transform: scale(1.05); }
        .fav-custom-body { padding: 1.8rem; }
        .fav-custom-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--black-soft); margin-bottom: 0.5rem; }
        .fav-custom-body p { font-size: 0.85rem; color: var(--gray-text); line-height: 1.6; margin-bottom: 1.5rem; }
        .maps-layout { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2.5rem; }
        .maps-frame { flex: 1.4; min-width: 280px; border-radius: 32px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); height: 400px; background: #f0f0f0; }
        .maps-frame iframe { width: 100%; height: 100%; border: none; }
        .branch-cards { flex: 1; display: flex; flex-direction: column; gap: 1.5rem; }
        .branch-card { background: var(--white); border: 1px solid var(--pink-pastel); border-radius: 28px; padding: 1.5rem; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.02); }
        .branch-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(255,107,154,0.1); }
        .contact-box { transition: all 0.3s ease; cursor: pointer; border-radius: 28px; padding: 1rem; }
        .contact-box:hover { transform: translateY(-6px); box-shadow: 0 20px 35px -12px rgba(255,107,154,0.2); background: rgba(255,255,255,0.8); }
        .contact-box a { text-decoration: none !important; transition: color 0.2s ease; font-weight: 500; }
        .contact-box a:hover { color: var(--pink-hover) !important; }
        .op-section { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 3rem; }
        .op-card { flex: 1; background: #FFFFFF; border: 1px solid #FFE3EC; border-radius: 32px; padding: 20px; transition: all 0.3s ease; cursor: pointer; }
        .op-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(255,107,154,0.15); background: #fff; }
        @media (max-width: 1024px) { .grid-4, .kategori-grid, .gallery-grid, .why-grid, .reviews-grid { grid-template-columns: repeat(2,1fr); } .misi-grid { grid-template-columns: repeat(2,1fr); } .footer-inner { grid-template-columns: 1fr 1fr; } }
        @media (max-width: 768px) { .menu-toggle { display: block; } .nav-menu { display: none; } .nav-container .btn-wa-nav { display: none; } .hero-inner { flex-direction: column; text-align: center; } .hero-title { font-size: 2rem; } .grid-4, .kategori-grid, .gallery-grid, .why-grid, .reviews-grid, .misi-grid { grid-template-columns: 1fr; } .footer-inner { grid-template-columns: 1fr; } .review-card-modern { width: 300px; } .story-row { flex-direction: column; } .fav-custom-grid { grid-template-columns: 1fr; gap: 2rem; } .maps-layout { flex-direction: column; } .maps-frame { height: 300px; } .op-section { flex-direction: column; } }
        @media (min-width: 769px) { .story-row { flex-direction: row; } }

/* ========== RUNNING TEXT / INFO BERJALAN ========== */
.running-text-bar {
    width: 100%;
    overflow: hidden;
    background: var(--running-bg, #FFF1F5);
    color: var(--running-color, #2B2B2B);
    border-bottom: 1px solid color-mix(in srgb, var(--pink-pastel) 65%, #ffffff);
    position: relative;
    z-index: 1;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
}
.running-text-track {
    display: flex;
    width: max-content;
    animation: upcake-marquee var(--running-speed, 26s) linear infinite;
    will-change: transform;
}
.running-text-bar:hover .running-text-track {
    animation-play-state: paused;
}
.running-text-group {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding: 10px 14px;
    white-space: nowrap;
}
.running-text-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.45;
}
.running-text-item a,
.running-text-item span {
    color: inherit;
    text-decoration: none;
}
.running-text-item a:hover {
    text-decoration: underline;
}
.running-text-item strong {
    margin-left: 6px;
    color: var(--pink-primary);
}
.running-dot {
    color: var(--pink-primary);
    font-size: 0.72rem;
}
@keyframes upcake-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (max-width: 768px) {
    .running-text-group { gap: 22px; padding: 9px 10px; }
    .running-text-item { font-size: 13px; }
}

/* Tahap 4 Fix 11: sticky navbar + running text */

@media (max-width: 768px) {
    .website-sticky-header { box-shadow: 0 8px 22px rgba(43,43,43,0.07); }
    .nav-container { padding: 12px 18px; }
    .logo-area img { height: 42px; max-width: 106px; }
    .running-text-bar { border-top: 1px solid rgba(255,255,255,0.55); }
}

/* ========== TAHAP 4 FIX 13: PROFESSIONAL THEME PRESET SYSTEM ========== */
body[class^="theme-"] {
    background: var(--theme-bg);
    color: var(--theme-text);
}
body[class^="theme-"] .website-sticky-header,
body[class^="theme-"] .navbar,
body[class^="theme-"] .mobile-nav {
    background: color-mix(in srgb, var(--theme-nav-bg) 94%, transparent);
    color: var(--theme-nav-text);
    border-color: var(--theme-nav-border);
    box-shadow: 0 10px 30px var(--theme-shadow);
}
body[class^="theme-"] .logo-text h1,
body[class^="theme-"] .menu-toggle,
body[class^="theme-"] .section-title span,
body[class^="theme-"] .accent-line,
body[class^="theme-"] .review-avatar {
    color: var(--theme-primary) !important;
}
body[class^="theme-"] .logo-text p,
body[class^="theme-"] .muted,
body[class^="theme-"] .kategori-card p,
body[class^="theme-"] .fav-custom-body p,
body[class^="theme-"] .review-text,
body[class^="theme-"] .faq-answer,
body[class^="theme-"] .footer-brand p,
body[class^="theme-"] .footer-col p,
body[class^="theme-"] .footer-col a,
body[class^="theme-"] .footer-bottom,
body[class^="theme-"] .contact-box p,
body[class^="theme-"] .branch-card p {
    color: var(--theme-muted) !important;
}
body[class^="theme-"] .nav-menu li a,
body[class^="theme-"] .mobile-nav a {
    color: var(--theme-nav-text);
}
body[class^="theme-"] .nav-menu li a:hover,
body[class^="theme-"] .nav-menu li a.active,
body[class^="theme-"] .mobile-nav a:hover,
body[class^="theme-"] .mobile-nav a.active,
body[class^="theme-"] .btn-wa-nav,
body[class^="theme-"] .btn-pink,
body[class^="theme-"] .filter-btn.active,
body[class^="theme-"] .filter-btn:hover {
    background: var(--theme-primary) !important;
    color: var(--theme-button-text) !important;
    border-color: var(--theme-primary) !important;
    box-shadow: 0 10px 24px var(--theme-shadow) !important;
}
body[class^="theme-"] .btn-wa-nav:hover,
body[class^="theme-"] .btn-pink:hover {
    background: var(--theme-hover) !important;
}
body[class^="theme-"] .btn-black {
    background: var(--theme-primary) !important;
    color: var(--theme-button-text) !important;
    box-shadow: 0 12px 28px var(--theme-shadow);
}
body[class^="theme-"] .btn-black:hover {
    background: var(--theme-hover) !important;
}
body[class^="theme-"] .btn-outline {
    background: color-mix(in srgb, var(--theme-surface) 88%, transparent) !important;
    color: var(--theme-outline-text) !important;
    border: 1px solid var(--theme-primary) !important;
}
body[class^="theme-"] .btn-outline:hover {
    background: var(--theme-primary) !important;
    color: var(--theme-button-text) !important;
}
body[class^="theme-"] .running-text-bar {
    background: var(--theme-running-bg) !important;
    color: var(--theme-running-text) !important;
    border-color: var(--theme-nav-border);
}
body[class^="theme-"] .running-dot,
body[class^="theme-"] .running-text-item strong {
    color: var(--theme-primary) !important;
}
body[class^="theme-"] .hero {
    background: var(--theme-surface-alt);
    box-shadow: 0 22px 50px var(--theme-shadow);
}
body[class^="theme-"] .hero-overlay {
    background: linear-gradient(135deg, var(--theme-hero-overlay), rgba(0,0,0,0.28)) !important;
}
body[class^="theme-"] .hero .hero-benefits div {
    background: color-mix(in srgb, var(--theme-card-bg) 22%, rgba(0,0,0,.35));
    border: 1px solid color-mix(in srgb, var(--theme-primary) 35%, transparent);
}
body[class^="theme-"] .tab-content > div[style*="background:var(--bg-pink)"],
body[class^="theme-"] div[style*="background:var(--bg-pink)"],
body[class^="theme-"] .filter-btn,
body[class^="theme-"] .faq-question:hover,
body[class^="theme-"] .fav-custom-card,
body[class^="theme-"] .review-photo,
body[class^="theme-"] .review-photo-modern {
    background: var(--theme-surface-alt) !important;
}
body[class^="theme-"] .card,
body[class^="theme-"] .kategori-card,
body[class^="theme-"] .review-card-modern,
body[class^="theme-"] .review-card-v2,
body[class^="theme-"] .branch-card,
body[class^="theme-"] .op-card,
body[class^="theme-"] .faq-question,
body[class^="theme-"] .contact-box:hover,
body[class^="theme-"] .visi-section .visi-box,
body[class^="theme-"] .product-card,
body[class^="theme-"] .menu-card,
body[class^="theme-"] .fav-custom-card {
    background: var(--theme-card-bg) !important;
    color: var(--theme-card-text) !important;
    border-color: var(--theme-nav-border) !important;
    box-shadow: 0 12px 32px color-mix(in srgb, var(--theme-shadow) 78%, transparent) !important;
}
body[class^="theme-"] .card:hover,
body[class^="theme-"] .kategori-card:hover,
body[class^="theme-"] .review-card-modern:hover,
body[class^="theme-"] .review-card-v2:hover,
body[class^="theme-"] .branch-card:hover,
body[class^="theme-"] .op-card:hover,
body[class^="theme-"] .fav-custom-card:hover {
    box-shadow: 0 22px 45px var(--theme-shadow) !important;
}
body[class^="theme-"] h1,
body[class^="theme-"] h2,
body[class^="theme-"] h3,
body[class^="theme-"] h4,
body[class^="theme-"] .section-title,
body[class^="theme-"] .kategori-card h4,
body[class^="theme-"] .fav-custom-body h3,
body[class^="theme-"] .branch-card h3,
body[class^="theme-"] .footer-col h4 {
    color: var(--theme-text);
}
body[class^="theme-"] footer {
    background: var(--theme-footer-bg) !important;
    color: var(--theme-footer-text) !important;
    border-color: var(--theme-nav-border) !important;
}
body[class^="theme-"] footer h1,
body[class^="theme-"] footer h2,
body[class^="theme-"] footer h3,
body[class^="theme-"] footer h4,
body[class^="theme-"] footer p,
body[class^="theme-"] footer a,
body[class^="theme-"] footer .footer-bottom {
    color: var(--theme-footer-text) !important;
}
body[class^="theme-"] .dot-modern,
body[class^="theme-"] .badge,
body[class^="theme-"] .klik-text {
    background: var(--theme-badge-bg);
    color: var(--theme-badge-text) !important;
}
body[class^="theme-"] .dot-modern.active {
    background: var(--theme-primary) !important;
}
body[class^="theme-"] .review-rating {
    color: #FFC857 !important;
}
body[class^="theme-"] .contact-box a,
body[class^="theme-"] .footer-col a:hover {
    color: var(--theme-primary) !important;
}

body.theme-malam,
body.theme-futuristik {
    background: radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--theme-primary) 16%, transparent), transparent 32%), var(--theme-bg);
}
body.theme-malam .hero-title,
body.theme-futuristik .hero-title,
body.theme-malam .section-title,
body.theme-futuristik .section-title {
    color: var(--theme-text) !important;
}
body.theme-malam .hero .hero-title span,
body.theme-futuristik .hero .hero-title span,
body.theme-malam .hero .hero-tag,
body.theme-futuristik .hero .hero-tag {
    color: var(--theme-primary) !important;
}
body.theme-futuristik .website-sticky-header,
body.theme-futuristik .navbar,
body.theme-futuristik .running-text-bar,
body.theme-futuristik .card,
body.theme-futuristik .kategori-card,
body.theme-futuristik .review-card-modern,
body.theme-futuristik .review-card-v2,
body.theme-futuristik .fav-custom-card {
    box-shadow: 0 0 0 1px rgba(123,227,255,0.08), 0 18px 42px rgba(255,79,216,0.18) !important;
}
body.theme-futuristik .btn-black,
body.theme-futuristik .btn-pink,
body.theme-futuristik .btn-wa-nav,
body.theme-futuristik .nav-menu li a.active {
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-hover)) !important;
    box-shadow: 0 0 22px rgba(255,79,216,0.32) !important;
}
body.theme-luxury .btn-black,
body.theme-luxury .btn-pink,
body.theme-luxury .btn-wa-nav,
body.theme-malam .btn-black,
body.theme-malam .btn-pink,
body.theme-malam .btn-wa-nav {
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-hover)) !important;
}
body.theme-minimalis .card,
body.theme-minimalis .kategori-card,
body.theme-minimalis .review-card-modern,
body.theme-minimalis .review-card-v2,
body.theme-minimalis .fav-custom-card {
    box-shadow: none !important;
    border: 1px solid var(--theme-nav-border) !important;
}
body.theme-playful .hero,
body.theme-playful .fav-custom-card {
    background: linear-gradient(135deg, #FFF8D9, #EFFFF9) !important;
}

@media (max-width: 768px) {
    body[class^="theme-"] .mobile-nav {
        background: var(--theme-nav-bg) !important;
    }
}


/* ========== TAHAP 4 FIX 14: THEME CONTRAST + NON-DEFAULT COLOR CLEANUP ========== */
/* Font sengaja tidak diubah oleh preset. Semua theme tetap memakai font UPCAKE. */
body[class^="theme-"] .review-card-modern h4,
body[class^="theme-"] .review-card-modern strong,
body[class^="theme-"] .review-card-modern .review-name,
body[class^="theme-"] .review-card-v2 h4,
body[class^="theme-"] .review-card-v2 strong,
body[class^="theme-"] .card h4,
body[class^="theme-"] .card h3,
body[class^="theme-"] .menu-card h4,
body[class^="theme-"] .product-card h4,
body[class^="theme-"] .kategori-card h4,
body[class^="theme-"] .modal-content h1,
body[class^="theme-"] .modal-content h2,
body[class^="theme-"] .modal-content h3,
body[class^="theme-"] .modal-content h4 {
    color: var(--theme-card-text) !important;
}

body[class^="theme-"] .review-text-modern,
body[class^="theme-"] .review-text,
body[class^="theme-"] .card p,
body[class^="theme-"] .menu-card p,
body[class^="theme-"] .product-card p,
body[class^="theme-"] .modal-content p,
body[class^="theme-"] .menu-item-row,
body[class^="theme-"] .menu-item-row span {
    color: var(--theme-muted) !important;
}

body.theme-malam .review-text-modern,
body.theme-malam .review-text,
body.theme-malam .card p,
body.theme-malam .menu-card p,
body.theme-malam .product-card p,
body.theme-malam .menu-item-row,
body.theme-malam .menu-item-row span,
body.theme-futuristik .review-text-modern,
body.theme-futuristik .review-text,
body.theme-futuristik .card p,
body.theme-futuristik .menu-card p,
body.theme-futuristik .product-card p,
body.theme-futuristik .menu-item-row,
body.theme-futuristik .menu-item-row span {
    color: var(--theme-card-text) !important;
}

body[class^="theme-"] .modal-content {
    background: var(--theme-card-bg) !important;
    color: var(--theme-card-text) !important;
    border: 1px solid var(--theme-nav-border) !important;
    box-shadow: 0 26px 70px var(--theme-shadow) !important;
}

body[class^="theme-"] .menu-item-row {
    border-bottom: 1px solid var(--theme-nav-border) !important;
    padding: 13px 10px;
    border-radius: 14px;
    gap: 12px;
}

body[class^="theme-"] .menu-item-row:hover {
    background: var(--theme-surface-alt) !important;
}

body[class^="theme-"] .menu-item-row .wa-order,
body[class^="theme-"] #modalList .wa-order {
    background: var(--theme-primary) !important;
    color: var(--theme-button-text) !important;
    border: 1px solid var(--theme-primary) !important;
    font-weight: 700;
}

body[class^="theme-"] .menu-item-row .wa-order:hover,
body[class^="theme-"] #modalList .wa-order:hover {
    background: var(--theme-hover) !important;
    border-color: var(--theme-hover) !important;
}

body.theme-malam .modal,
body.theme-futuristik .modal {
    background: rgba(0,0,0,0.72) !important;
}

body.theme-malam .modal-content,
body.theme-futuristik .modal-content {
    background: var(--theme-card-bg) !important;
}

body.theme-malam .menu-item-row:hover,
body.theme-futuristik .menu-item-row:hover {
    background: color-mix(in srgb, var(--theme-primary) 16%, var(--theme-card-bg)) !important;
}

body.theme-malam .review-card-modern,
body.theme-malam .review-card-v2,
body.theme-malam .card,
body.theme-malam .kategori-card,
body.theme-malam .fav-custom-card,
body.theme-futuristik .review-card-modern,
body.theme-futuristik .review-card-v2,
body.theme-futuristik .card,
body.theme-futuristik .kategori-card,
body.theme-futuristik .fav-custom-card {
    border-color: color-mix(in srgb, var(--theme-primary) 35%, var(--theme-nav-border)) !important;
}

body[class^="theme-"] .hero-title span[style*="color:#2B2B2B"],
body[class^="theme-"] .hero-title span[style*="color: #2B2B2B"],
body[class^="theme-"] [style*="color:#2B2B2B"],
body[class^="theme-"] [style*="color: #2B2B2B"] {
    color: var(--theme-text) !important;
}

body[class^="theme-"] [style*="background:var(--pink-pastel)"],
body[class^="theme-"] [style*="background: var(--pink-pastel)"],
body[class^="theme-"] [style*="background:var(--pink-light)"],
body[class^="theme-"] [style*="background: var(--pink-light)"] {
    background: var(--theme-surface-alt) !important;
}

body[class^="theme-"] [style*="color:var(--pink-primary)"],
body[class^="theme-"] [style*="color: var(--pink-primary)"] {
    color: var(--theme-primary) !important;
}

body.theme-malam .footer-bottom,
body.theme-futuristik .footer-bottom,
body.theme-luxury .footer-bottom,
body.theme-modern .footer-bottom,
body.theme-siang .footer-bottom,
body.theme-playful .footer-bottom,
body.theme-minimalis .footer-bottom {
    background: var(--theme-primary) !important;
    color: var(--theme-button-text) !important;
}

body.theme-siang .section-title span,
body.theme-modern .section-title span,
body.theme-luxury .section-title span,
body.theme-playful .section-title span,
body.theme-minimalis .section-title span,
body.theme-futuristik .section-title span,
body.theme-malam .section-title span,
body.theme-siang .logo-text h1,
body.theme-modern .logo-text h1,
body.theme-luxury .logo-text h1,
body.theme-playful .logo-text h1,
body.theme-minimalis .logo-text h1,
body.theme-futuristik .logo-text h1,
body.theme-malam .logo-text h1 {
    color: var(--theme-primary) !important;
}

body.theme-futuristik .website-sticky-header,
body.theme-futuristik .navbar,
body.theme-futuristik .running-text-bar,
body.theme-futuristik .card,
body.theme-futuristik .kategori-card,
body.theme-futuristik .review-card-modern,
body.theme-futuristik .review-card-v2,
body.theme-futuristik .fav-custom-card {
    box-shadow: 0 0 0 1px rgba(34,211,238,0.12), 0 18px 42px rgba(34,211,238,0.16) !important;
}

body.theme-futuristik .btn-black,
body.theme-futuristik .btn-pink,
body.theme-futuristik .btn-wa-nav,
body.theme-futuristik .nav-menu li a.active {
    background: linear-gradient(135deg, #22D3EE, #1F6FEB) !important;
    color: #04111B !important;
    box-shadow: 0 0 22px rgba(34,211,238,0.28) !important;
}

body.theme-playful .hero,
body.theme-playful .fav-custom-card {
    background: linear-gradient(135deg, #FFF3C6, #EFFFF8) !important;
}

body.theme-upcake-default .hero-title span[style*="Dancing Script"] {
    color: var(--theme-primary) !important;
}

/* ========== TAHAP 4 FIX 15: DARK REVIEW STATS + LUXURY RUNNING TEXT CONTRAST ========== */
/* Font tidak diubah. Fix ini hanya mengunci kontras warna. */
body.theme-malam #tab-review > div[style*="background:white"],
body.theme-malam #tab-review > div[style*="background: white"],
body.theme-futuristik #tab-review > div[style*="background:white"],
body.theme-futuristik #tab-review > div[style*="background: white"] {
    background: var(--theme-card-bg) !important;
    color: var(--theme-card-text) !important;
    border: 1px solid color-mix(in srgb, var(--theme-primary) 42%, var(--theme-nav-border)) !important;
    box-shadow: 0 18px 44px var(--theme-shadow) !important;
}

body.theme-malam .stats-grid,
body.theme-futuristik .stats-grid {
    color: var(--theme-card-text) !important;
}

body.theme-malam .stats-grid h2,
body.theme-malam .stats-grid p,
body.theme-malam .stats-grid i,
body.theme-futuristik .stats-grid h2,
body.theme-futuristik .stats-grid p,
body.theme-futuristik .stats-grid i {
    color: var(--theme-card-text) !important;
}

body.theme-malam .stats-grid i,
body.theme-futuristik .stats-grid i {
    background: color-mix(in srgb, var(--theme-primary) 20%, var(--theme-card-bg)) !important;
    border: 1px solid color-mix(in srgb, var(--theme-primary) 38%, var(--theme-nav-border)) !important;
}

body.theme-malam .stats-grid p,
body.theme-futuristik .stats-grid p {
    color: var(--theme-muted) !important;
}

body.theme-luxury .running-text-bar {
    background: #2B1B10 !important;
    color: #FFF0D7 !important;
    border-color: #B8862F !important;
    box-shadow: inset 0 1px 0 rgba(255,240,215,0.12), 0 8px 18px rgba(43,27,16,0.18) !important;
}

body.theme-luxury .running-text-item,
body.theme-luxury .running-text-item a,
body.theme-luxury .running-text-item span {
    color: #FFF0D7 !important;
}

body.theme-luxury .running-dot,
body.theme-luxury .running-text-item strong {
    color: #F2C76E !important;
}

/* ========== TAHAP 4 FIX 16: FUTURISTIC THEME ENHANCEMENT ========== */
/* Khusus Tema Futuristik. Font tidak diubah. Efek dibuat ringan dan tetap bisa dibaca. */
body.theme-futuristik {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M4 3 L27 15 L17 18 L12 29 Z' fill='%2322D3EE' stroke='%23EAFBFF' stroke-width='1.4'/%3E%3Ccircle cx='16' cy='16' r='2.4' fill='%2304111B'/%3E%3C/svg%3E") 4 3, auto;
    background:
        radial-gradient(circle at 14% 8%, rgba(34,211,238,0.18), transparent 30%),
        radial-gradient(circle at 88% 3%, rgba(31,111,235,0.20), transparent 34%),
        linear-gradient(rgba(34,211,238,0.042) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34,211,238,0.042) 1px, transparent 1px),
        var(--theme-bg) !important;
    background-size: auto, auto, 46px 46px, 46px 46px, auto;
    animation: upcakeFuturisticGrid 28s linear infinite;
}

body.theme-futuristik a,
body.theme-futuristik button,
body.theme-futuristik .kategori-card,
body.theme-futuristik .card,
body.theme-futuristik .filter-btn,
body.theme-futuristik .dot-modern,
body.theme-futuristik .wa-order,
body.theme-futuristik [role="button"] {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'%3E%3Ccircle cx='17' cy='17' r='9' fill='none' stroke='%2322D3EE' stroke-width='2'/%3E%3Cpath d='M17 3v7M17 24v7M3 17h7M24 17h7' stroke='%23EAFBFF' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='17' cy='17' r='3' fill='%2322D3EE'/%3E%3C/svg%3E") 17 17, pointer;
}

body.theme-futuristik .website-sticky-header,
body.theme-futuristik .navbar,
body.theme-futuristik .mobile-nav {
    background: linear-gradient(135deg, rgba(4,17,27,0.92), rgba(10,31,47,0.88)) !important;
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border-bottom: 1px solid rgba(34,211,238,0.34) !important;
    box-shadow: 0 1px 0 rgba(234,251,255,0.08), 0 18px 46px rgba(34,211,238,0.15) !important;
}

body.theme-futuristik .nav-menu li a,
body.theme-futuristik .mobile-nav a {
    position: relative;
    overflow: hidden;
    transition: color .22s ease, background .22s ease, box-shadow .22s ease, transform .22s ease;
}

body.theme-futuristik .nav-menu li a:hover,
body.theme-futuristik .nav-menu li a.active,
body.theme-futuristik .mobile-nav a:hover,
body.theme-futuristik .mobile-nav a.active {
    background: rgba(34,211,238,0.12) !important;
    color: #EAFBFF !important;
    box-shadow: inset 0 0 0 1px rgba(34,211,238,0.28), 0 0 18px rgba(34,211,238,0.14) !important;
}

body.theme-futuristik .running-text-bar {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #04111B, #0A1F2F, #04111B) !important;
    border-top: 1px solid rgba(34,211,238,0.28) !important;
    border-bottom: 1px solid rgba(34,211,238,0.22) !important;
    box-shadow: inset 0 1px 0 rgba(234,251,255,0.08), 0 10px 24px rgba(34,211,238,0.10) !important;
}

body.theme-futuristik .running-text-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 0%, transparent 40%, rgba(34,211,238,0.30) 50%, transparent 60%, transparent 100%);
    transform: translateX(-120%);
    animation: upcakeFuturisticScan 5.8s ease-in-out infinite;
}

body.theme-futuristik .running-text-item,
body.theme-futuristik .running-text-item a,
body.theme-futuristik .running-text-item span {
    color: #EAFBFF !important;
    text-shadow: 0 0 10px rgba(34,211,238,0.28);
}

body.theme-futuristik .running-dot,
body.theme-futuristik .running-text-item strong {
    color: #22D3EE !important;
    text-shadow: 0 0 12px rgba(34,211,238,0.46);
}

body.theme-futuristik .hero,
body.theme-futuristik #tab-upcake > div[style*="background:var(--bg-pink)"],
body.theme-futuristik div[style*="background:var(--bg-pink)"] {
    background:
        radial-gradient(circle at 15% 10%, rgba(34,211,238,0.14), transparent 28%),
        radial-gradient(circle at 80% 20%, rgba(31,111,235,0.16), transparent 30%),
        linear-gradient(135deg, rgba(10,31,47,0.92), rgba(4,17,27,0.96)) !important;
    border: 1px solid rgba(34,211,238,0.20) !important;
    box-shadow: 0 24px 70px rgba(4,17,27,0.30), inset 0 0 0 1px rgba(234,251,255,0.05) !important;
}

body.theme-futuristik .hero-image img,
body.theme-futuristik .hero img {
    filter: drop-shadow(0 22px 36px rgba(34,211,238,0.20));
    animation: upcakeFuturisticFloat 6s ease-in-out infinite;
}

body.theme-futuristik .card,
body.theme-futuristik .kategori-card,
body.theme-futuristik .review-card-modern,
body.theme-futuristik .review-card-v2,
body.theme-futuristik .fav-custom-card,
body.theme-futuristik .branch-card,
body.theme-futuristik .op-card,
body.theme-futuristik .faq-question,
body.theme-futuristik .modal-content {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(10,31,47,0.96), rgba(4,17,27,0.98)) !important;
    border: 1px solid rgba(34,211,238,0.24) !important;
    box-shadow: 0 0 0 1px rgba(234,251,255,0.04), 0 22px 48px rgba(4,17,27,0.34), 0 0 24px rgba(34,211,238,0.10) !important;
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

body.theme-futuristik .card::after,
body.theme-futuristik .kategori-card::after,
body.theme-futuristik .review-card-modern::after,
body.theme-futuristik .review-card-v2::after,
body.theme-futuristik .fav-custom-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 0%, transparent 42%, rgba(34,211,238,0.12) 50%, transparent 58%, transparent 100%);
    transform: translateX(-120%);
    opacity: 0;
}

body.theme-futuristik .card:hover,
body.theme-futuristik .kategori-card:hover,
body.theme-futuristik .review-card-modern:hover,
body.theme-futuristik .review-card-v2:hover,
body.theme-futuristik .fav-custom-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34,211,238,0.62) !important;
    box-shadow: 0 0 0 1px rgba(34,211,238,0.18), 0 30px 58px rgba(4,17,27,0.42), 0 0 30px rgba(34,211,238,0.20) !important;
}

body.theme-futuristik .card:hover::after,
body.theme-futuristik .kategori-card:hover::after,
body.theme-futuristik .review-card-modern:hover::after,
body.theme-futuristik .review-card-v2:hover::after,
body.theme-futuristik .fav-custom-card:hover::after {
    opacity: 1;
    animation: upcakeFuturisticCardScan .9s ease-out forwards;
}

body.theme-futuristik .btn-black,
body.theme-futuristik .btn-pink,
body.theme-futuristik .btn-wa-nav,
body.theme-futuristik #modalList .wa-order,
body.theme-futuristik .menu-item-row .wa-order {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #22D3EE, #1F6FEB) !important;
    color: #04111B !important;
    border: 1px solid rgba(234,251,255,0.26) !important;
    box-shadow: 0 0 0 1px rgba(34,211,238,0.18), 0 0 22px rgba(34,211,238,0.28) !important;
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

body.theme-futuristik .btn-black:hover,
body.theme-futuristik .btn-pink:hover,
body.theme-futuristik .btn-wa-nav:hover,
body.theme-futuristik #modalList .wa-order:hover,
body.theme-futuristik .menu-item-row .wa-order:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 0 0 1px rgba(234,251,255,0.22), 0 0 34px rgba(34,211,238,0.40), 0 16px 30px rgba(31,111,235,0.20) !important;
}

body.theme-futuristik .hero-tag,
body.theme-futuristik .badge,
body.theme-futuristik .klik-text,
body.theme-futuristik .review-rating,
body.theme-futuristik .dot-modern.active {
    background: rgba(34,211,238,0.12) !important;
    color: #22D3EE !important;
    border: 1px solid rgba(34,211,238,0.24) !important;
    box-shadow: 0 0 16px rgba(34,211,238,0.12) !important;
}

body.theme-futuristik .modal {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.theme-futuristik .menu-item-row {
    background: rgba(234,251,255,0.025) !important;
}

body.theme-futuristik .menu-item-row:hover {
    background: rgba(34,211,238,0.10) !important;
}

@keyframes upcakeFuturisticGrid {
    from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; }
    to { background-position: 0 0, 0 0, 46px 46px, -46px 46px, 0 0; }
}

@keyframes upcakeFuturisticScan {
    0%, 52% { transform: translateX(-120%); opacity: 0; }
    58% { opacity: 1; }
    82% { opacity: 1; }
    100% { transform: translateX(120%); opacity: 0; }
}

@keyframes upcakeFuturisticCardScan {
    from { transform: translateX(-120%); }
    to { transform: translateX(120%); }
}

@keyframes upcakeFuturisticFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (pointer: coarse) {
    body.theme-futuristik,
    body.theme-futuristik a,
    body.theme-futuristik button,
    body.theme-futuristik .kategori-card,
    body.theme-futuristik .card,
    body.theme-futuristik .filter-btn,
    body.theme-futuristik .dot-modern,
    body.theme-futuristik .wa-order,
    body.theme-futuristik [role="button"] {
        cursor: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.theme-futuristik,
    body.theme-futuristik .hero-image img,
    body.theme-futuristik .hero img,
    body.theme-futuristik .running-text-bar::after,
    body.theme-futuristik .card:hover::after,
    body.theme-futuristik .kategori-card:hover::after,
    body.theme-futuristik .review-card-modern:hover::after,
    body.theme-futuristik .review-card-v2:hover::after,
    body.theme-futuristik .fav-custom-card:hover::after {
        animation: none !important;
    }
}

/* Tahap 4 Fix 17: bersihkan bingkai hero tag khusus Tema Futuristik.
   Label hero seperti "Custom Cake ♡" harus tetap clean, tanpa badge/border/glow. */
body.theme-futuristik .hero .hero-tag {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    color: #22D3EE !important;
    text-shadow: 0 0 14px rgba(34,211,238,0.28) !important;
}

/* ========== TAHAP 4 FIX 19: CAROUSEL REVIEW UPCACE TANPA TERPOTONG ========== */
/* Tab Upcake tetap memakai model geser/carousel, tetapi ukuran card dihitung agar tidak ada potongan card di sisi kanan/kiri. */
#tab-upcake .modern-carousel {
    width: 100%;
    max-width: 1180px;
    margin: 32px auto 0;
    padding: 0 28px 36px;
    overflow: hidden;
    box-sizing: border-box;
}
#tab-upcake .carousel-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 12px 0 18px;
    box-sizing: border-box;
}
#tab-upcake .carousel-container::-webkit-scrollbar { display: none; }
#tab-upcake .carousel-track-modern {
    display: flex;
    gap: 24px;
    width: 100%;
    min-width: 100%;
    align-items: stretch;
}
#tab-upcake .review-card-modern {
    flex: 0 0 calc((100% - 48px) / 3);
    width: auto;
    min-width: 0;
    max-width: none;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    padding: 22px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}
#tab-upcake .review-info-modern { min-width: 0; }
#tab-upcake .review-info-modern h4,
#tab-upcake .review-info-modern p { overflow-wrap: anywhere; }
#tab-upcake .review-text-modern {
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 18px;
}
#tab-upcake .review-photo-modern {
    margin-top: auto;
    height: 150px;
    border-radius: 18px;
}
#tab-upcake .carousel-dots-modern {
    display: flex !important;
    justify-content: center;
    margin-top: 8px;
}
body[class^="theme-"] #tab-upcake .modern-carousel { color: var(--theme-card-text); }
@media (max-width: 1024px) {
    #tab-upcake .modern-carousel {
        max-width: 860px;
        padding-left: 24px;
        padding-right: 24px;
    }
    #tab-upcake .carousel-track-modern { gap: 22px; }
    #tab-upcake .review-card-modern { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 640px) {
    #tab-upcake .modern-carousel {
        padding-left: 14px;
        padding-right: 14px;
        margin-top: 24px;
        padding-bottom: 30px;
    }
    #tab-upcake .carousel-track-modern { gap: 16px; }
    #tab-upcake .review-card-modern {
        flex-basis: 100%;
        padding: 20px;
        border-radius: 24px;
    }
    #tab-upcake .review-text-modern { -webkit-line-clamp: 8; }
    #tab-upcake .review-photo-modern { height: 170px; }
}

/* Tahap 4 Fix 20: seamless running text, tetap penuh walau hanya 1 info */
.running-text-track-seamless {
    min-width: max-content;
}
.running-text-track-seamless .running-text-group {
    min-width: 100vw;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .running-text-track-seamless .running-text-group {
        min-width: 125vw;
    }
}


/* Tahap 4 Fix 21: stabilisasi kecepatan running text */
.running-text-track {
    animation-timing-function: linear;
}
.running-text-track-seamless .running-text-item {
    margin-right: 2px;
}
@media (prefers-reduced-motion: reduce) {
    .running-text-track {
        animation-duration: 120s !important;
    }
}

/* Tahap 5 - Form Order Online */
.order-page {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0 72px;
}
.order-hero-panel,
.order-success-card,
.order-form-card {
    background: var(--theme-card-bg);
    color: var(--theme-card-text);
    border: 1px solid var(--theme-nav-border);
    box-shadow: 0 20px 55px var(--theme-shadow);
    border-radius: 34px;
}
.order-hero-panel {
    padding: clamp(28px, 5vw, 56px);
    margin-bottom: 28px;
    background: linear-gradient(135deg, var(--theme-surface-alt), var(--theme-card-bg));
}
.order-eyebrow,
.order-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--theme-badge-text);
    background: var(--theme-badge-bg);
    border-radius: 999px;
    padding: 8px 13px;
    margin-bottom: 12px;
}
.order-step {
    width: 34px;
    height: 34px;
    padding: 0;
}
.order-hero-panel h1,
.order-success-card h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin: 0 0 12px;
}
.order-hero-panel p,
.order-form-section p,
.order-success-card p {
    color: var(--theme-muted);
    line-height: 1.8;
}
.order-hero-note {
    margin-top: 16px;
    display: inline-flex;
    padding: 12px 16px;
    border-radius: 18px;
    background: var(--theme-surface);
    border: 1px solid var(--theme-nav-border);
    color: var(--theme-text);
    font-weight: 700;
}
.order-form-card {
    padding: clamp(22px, 4vw, 38px);
}
.order-form-section {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--theme-nav-border);
}
.order-form-section:last-of-type {
    border-bottom: 0;
}
.order-form-section h2 {
    margin: 0 0 8px;
    font-size: 1.25rem;
}
.order-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.order-form-card label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-weight: 700;
    color: var(--theme-card-text);
}
.order-form-card input,
.order-form-card select,
.order-form-card textarea {
    width: 100%;
    border: 1px solid var(--theme-nav-border);
    border-radius: 16px;
    padding: 13px 14px;
    background: var(--theme-surface);
    color: var(--theme-text);
    font: inherit;
    outline: none;
}
.order-form-card input:focus,
.order-form-card select:focus,
.order-form-card textarea:focus {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--theme-primary) 16%, transparent);
}
.order-price-preview {
    grid-column: 2;
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--theme-surface-alt);
    color: var(--theme-text);
    font-weight: 700;
}
.order-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 28px;
}
.order-success-card {
    padding: clamp(28px, 5vw, 56px);
}
.order-success-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 26px 0;
}
.order-success-summary div {
    background: var(--theme-surface-alt);
    border: 1px solid var(--theme-nav-border);
    border-radius: 20px;
    padding: 16px;
}
.order-success-summary strong,
.order-success-summary span {
    display: block;
}
.order-success-summary strong {
    font-size: .78rem;
    color: var(--theme-muted);
    margin-bottom: 6px;
}
.order-whatsapp-preview {
    margin-top: 24px;
}
.order-whatsapp-preview pre {
    white-space: pre-wrap;
    background: var(--theme-surface-alt);
    color: var(--theme-text);
    border: 1px solid var(--theme-nav-border);
    border-radius: 24px;
    padding: 20px;
    max-height: 360px;
    overflow: auto;
    font-family: inherit;
    line-height: 1.65;
}
@media (max-width: 820px) {
    .order-form-section {
        grid-template-columns: 1fr;
    }
    .order-grid-2,
    .order-success-summary {
        grid-template-columns: 1fr;
    }
    .order-price-preview {
        grid-column: auto;
    }
    .order-form-actions {
        justify-content: stretch;
    }
    .order-form-actions .btn-pink,
    .order-form-actions .btn-outline {
        width: 100%;
        text-align: center;
    }
}

/* Tahap 5 Fix 2 - Form order pickup/delivery lebih ramah customer */
.is-hidden { display: none !important; }
.order-choice-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}
.order-choice-card {
    border: 1px solid var(--theme-nav-border);
    background: var(--theme-surface);
    border-radius: 20px;
    padding: 14px 16px;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 12px !important;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.order-choice-card:hover {
    transform: translateY(-2px);
    border-color: var(--theme-primary);
    box-shadow: 0 12px 24px color-mix(in srgb, var(--theme-primary) 12%, transparent);
}
.order-choice-card input {
    width: auto !important;
    margin-top: 4px;
    accent-color: var(--theme-primary);
}
.order-choice-card strong,
.order-choice-card small {
    display: block;
}
.order-choice-card small,
.field-hint {
    color: var(--theme-muted);
    font-weight: 500;
    line-height: 1.5;
}
.order-grid-full { grid-column: 1 / -1; }
.order-schedule-block { margin-top: 14px; }
#dpAmountWrap { align-self: end; }
@media (max-width: 820px) {
    .order-choice-row { grid-template-columns: 1fr; }
    .order-grid-full { grid-column: auto; }
}

/* Tahap 5 Fix 3 - UI/UX form order lebih rapi */
.order-form-card {
    border-radius: 34px;
    border: 1px solid color-mix(in srgb, var(--theme-nav-border) 86%, transparent);
    box-shadow: 0 22px 60px color-mix(in srgb, var(--theme-text) 8%, transparent);
}
.order-form-section {
    align-items: start;
}
.order-form-section > div:first-child {
    position: sticky;
    top: 106px;
    align-self: start;
}
.order-step {
    display: inline-grid;
    place-items: center;
    margin-bottom: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-hover));
    border-radius: 14px;
    font-weight: 900;
    box-shadow: 0 12px 26px color-mix(in srgb, var(--theme-primary) 20%, transparent);
}
.order-method-cards {
    gap: 16px;
    margin-bottom: 18px;
}
.order-choice-card {
    position: relative;
    min-height: 112px;
    padding: 18px !important;
    align-items: center !important;
    border-radius: 24px !important;
    background: linear-gradient(135deg, var(--theme-surface), color-mix(in srgb, var(--theme-surface-alt) 70%, var(--theme-surface)));
    border: 1px solid color-mix(in srgb, var(--theme-nav-border) 86%, transparent) !important;
    box-shadow: 0 12px 28px color-mix(in srgb, var(--theme-text) 6%, transparent);
}
.order-choice-card::after {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 19px;
    pointer-events: none;
    border: 1px solid transparent;
    transition: border-color .2s ease;
}
.order-choice-card.is-selected,
.order-choice-card:has(input:checked) {
    border-color: var(--theme-primary) !important;
    background: linear-gradient(135deg, color-mix(in srgb, var(--theme-primary) 9%, var(--theme-surface)), var(--theme-surface));
    box-shadow: 0 18px 38px color-mix(in srgb, var(--theme-primary) 18%, transparent);
}
.order-choice-card.is-selected::after,
.order-choice-card:has(input:checked)::after {
    border-color: color-mix(in srgb, var(--theme-primary) 42%, transparent);
}
.order-choice-card input {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 18px !important;
    height: 18px;
    margin: 0 !important;
}
.order-choice-icon {
    width: 46px;
    height: 46px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: color-mix(in srgb, var(--theme-primary) 12%, var(--theme-surface-alt));
    color: var(--theme-primary);
    font-size: 1.1rem;
}
.order-choice-copy { padding-right: 22px; }
.order-choice-copy strong { font-size: 1rem; color: var(--theme-card-text); margin-bottom: 5px; }
.order-mode-panel {
    border: 1px solid color-mix(in srgb, var(--theme-nav-border) 92%, transparent);
    border-radius: 26px;
    padding: 18px;
    background: color-mix(in srgb, var(--theme-surface-alt) 64%, var(--theme-surface));
    box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 60%, transparent);
}
.order-mode-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px dashed color-mix(in srgb, var(--theme-nav-border) 92%, transparent);
}
.order-mode-panel-head strong {
    color: var(--theme-card-text);
    font-size: .98rem;
}
.order-mode-panel-head span {
    max-width: 430px;
    color: var(--theme-muted);
    font-size: .86rem;
    line-height: 1.5;
    text-align: right;
}
.order-price-preview {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px dashed color-mix(in srgb, var(--theme-primary) 34%, var(--theme-nav-border));
}
.order-price-preview::before {
    content: '•';
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    color: var(--theme-primary);
    background: color-mix(in srgb, var(--theme-primary) 12%, transparent);
    flex: 0 0 auto;
}
#dpAmountWrap {
    padding: 14px;
    border-radius: 20px;
    background: color-mix(in srgb, var(--theme-primary) 8%, var(--theme-surface));
    border: 1px dashed color-mix(in srgb, var(--theme-primary) 32%, var(--theme-nav-border));
}
@media (max-width: 1020px) {
    .order-form-section > div:first-child { position: static; }
}
@media (max-width: 820px) {
    .order-choice-card { min-height: 98px; }
    .order-mode-panel { padding: 14px; border-radius: 22px; }
    .order-mode-panel-head { display: block; }
    .order-mode-panel-head span { display: block; text-align: left; margin-top: 5px; }
}


/* Tahap 5 Fix 4 - Metode Ambil/Antar full-width dan jam 24 jam tanpa AM/PM */
.order-fulfillment-section {
    display: block;
}
.order-fulfillment-section .order-section-intro {
    max-width: 760px;
    margin-bottom: 22px;
}
.order-fulfillment-section .order-section-intro p {
    max-width: 640px;
    margin-bottom: 0;
}
.order-fulfillment-section .order-method-cards {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 18px;
    margin: 0 0 18px;
}
.order-fulfillment-section .order-choice-card {
    min-height: 118px;
}
.order-fulfillment-section .order-mode-panel {
    width: 100%;
    margin-top: 18px;
    padding: clamp(18px, 3vw, 26px);
    border-radius: 28px;
}
.order-fulfillment-section .order-mode-panel-head {
    align-items: center;
    margin-bottom: 20px;
}
.order-fulfillment-section .order-mode-panel-head strong {
    font-size: 1.05rem;
}
.order-fulfillment-section .order-mode-panel-head span {
    text-align: left;
    max-width: 560px;
}
.order-fulfillment-section .order-schedule-block {
    margin-top: 0;
    grid-template-columns: repeat(2, minmax(230px, 1fr));
    gap: 18px;
}
.order-fulfillment-section input[type="date"],
.order-fulfillment-section .order-time-select {
    min-height: 54px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .01em;
}
.order-time-select {
    appearance: auto;
}
@media (max-width: 900px) {
    .order-fulfillment-section .order-method-cards,
    .order-fulfillment-section .order-schedule-block {
        grid-template-columns: 1fr;
    }
    .order-fulfillment-section .order-mode-panel-head {
        display: block;
    }
    .order-fulfillment-section .order-mode-panel-head span {
        display: block;
        margin-top: 6px;
    }
}

/* Tahap 5 Fix 5 - Hilangkan sticky judul section form order */
.order-form-section > div:first-child {
    position: static !important;
    top: auto !important;
    align-self: auto !important;
}
.order-form-section .order-section-intro {
    position: static !important;
    top: auto !important;
}

/* Tahap 5 Fix 6 - Rapikan layout form order dua kolom */
.order-form-section {
    display: block !important;
    padding: clamp(22px, 3.2vw, 34px) 0;
}
.order-form-section .order-section-intro,
.order-form-section > div:first-child {
    position: static !important;
    top: auto !important;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    column-gap: 14px;
    max-width: 100% !important;
    margin: 0 0 18px !important;
}
.order-form-section .order-step {
    grid-row: 1 / span 2;
    margin: 1px 0 0;
}
.order-form-section h2 {
    margin: 0;
    line-height: 1.25;
}
.order-form-section p {
    grid-column: 2;
    max-width: 760px;
    margin: 6px 0 0;
    font-size: .94rem;
    line-height: 1.65;
}
.order-form-section .order-grid-2 {
    width: 100%;
    margin-top: 0;
    gap: 18px;
}
.order-form-card label {
    min-width: 0;
}
.order-form-card input,
.order-form-card select,
.order-form-card textarea {
    min-width: 0;
}
.order-fulfillment-section .order-section-intro {
    margin-bottom: 18px !important;
}
.order-fulfillment-section .order-method-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 18px;
}
.order-fulfillment-section .order-choice-card {
    min-height: 104px;
}
.order-fulfillment-section .order-mode-panel {
    margin-top: 0;
    padding: clamp(16px, 2.4vw, 24px);
}
.order-fulfillment-section .order-mode-panel-head {
    display: block;
    margin-bottom: 16px;
    padding-bottom: 12px;
}
.order-fulfillment-section .order-mode-panel-head strong {
    display: block;
    font-size: 1.02rem;
    line-height: 1.3;
}
.order-fulfillment-section .order-mode-panel-head span {
    display: none !important;
}
.order-fulfillment-section .order-schedule-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.order-fulfillment-section textarea {
    min-height: 54px;
    resize: vertical;
}
.field-hint {
    font-size: .82rem;
}
.order-price-preview {
    margin-top: 16px;
}
#dpAmountWrap {
    align-self: stretch;
}
@media (max-width: 900px) {
    .order-form-section .order-grid-2,
    .order-fulfillment-section .order-method-cards,
    .order-fulfillment-section .order-schedule-block {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 560px) {
    .order-form-card {
        padding: 18px;
        border-radius: 26px;
    }
    .order-form-section .order-section-intro,
    .order-form-section > div:first-child {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .order-form-section .order-step {
        grid-row: auto;
    }
    .order-form-section p {
        grid-column: 1;
    }
}

/* Tahap 5 Fix 7 - Preview foto kategori produk di form order */
.order-product-section .order-section-intro {
    margin-bottom: 16px !important;
}
.order-category-picker {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(170px, 220px);
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding: 3px 4px 12px;
    margin: 0 0 16px;
    scrollbar-width: thin;
}
.order-category-card {
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    min-height: 184px;
    padding: 12px !important;
    border-radius: 24px;
    border: 1px solid color-mix(in srgb, var(--theme-nav-border) 88%, transparent);
    background: linear-gradient(135deg, var(--theme-surface), color-mix(in srgb, var(--theme-surface-alt) 74%, var(--theme-surface)));
    box-shadow: 0 12px 28px color-mix(in srgb, var(--theme-text) 5%, transparent);
    cursor: pointer;
    scroll-snap-align: start;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
    overflow: hidden;
}
.order-category-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--theme-primary) 58%, var(--theme-nav-border));
    box-shadow: 0 18px 36px color-mix(in srgb, var(--theme-primary) 14%, transparent);
}
.order-category-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: 0 !important;
}
.order-category-card.is-selected,
.order-category-card:has(input:checked) {
    border-color: var(--theme-primary);
    background: linear-gradient(135deg, color-mix(in srgb, var(--theme-primary) 12%, var(--theme-surface)), var(--theme-surface));
    box-shadow: 0 20px 42px color-mix(in srgb, var(--theme-primary) 18%, transparent);
}
.order-category-card.is-selected::after,
.order-category-card:has(input:checked)::after {
    content: '✓';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-hover));
    box-shadow: 0 10px 22px color-mix(in srgb, var(--theme-primary) 24%, transparent);
}
.order-category-thumb {
    display: block;
    width: 100%;
    height: 112px;
    overflow: hidden;
    border-radius: 18px;
    background: var(--theme-surface-alt);
    border: 1px solid color-mix(in srgb, var(--theme-nav-border) 72%, transparent);
}
.order-category-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    transition: transform .3s ease;
}
.order-category-card:hover .order-category-thumb img {
    transform: scale(1.06);
}
.order-category-thumb-empty {
    display: grid;
    place-items: center;
    color: var(--theme-primary);
    font-size: 2rem;
    background: color-mix(in srgb, var(--theme-primary) 10%, var(--theme-surface-alt));
}
.order-category-name {
    display: block;
    color: var(--theme-card-text);
    font-weight: 900;
    line-height: 1.25;
    font-size: .96rem;
}
.order-category-preview {
    display: grid;
    grid-template-columns: minmax(260px, 40%) 1fr;
    gap: 18px;
    align-items: stretch;
    padding: clamp(14px, 2.4vw, 22px);
    margin: 0 0 18px;
    border-radius: 28px;
    border: 1px solid color-mix(in srgb, var(--theme-primary) 28%, var(--theme-nav-border));
    background: linear-gradient(135deg, color-mix(in srgb, var(--theme-primary) 7%, var(--theme-surface)), var(--theme-surface-alt));
    box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 54%, transparent);
}
.order-category-preview-image {
    min-height: 190px;
    border-radius: 22px;
    overflow: hidden;
    background: var(--theme-surface);
    border: 1px solid color-mix(in srgb, var(--theme-nav-border) 72%, transparent);
}
.order-category-preview-image img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
    display: block;
}
.order-category-preview-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}
.order-category-preview-copy span {
    color: var(--theme-primary);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.order-category-preview-copy h3 {
    margin: 0;
    color: var(--theme-card-text);
    font-size: clamp(1.35rem, 3vw, 2.1rem);
    line-height: 1.15;
}
.order-category-preview-copy p {
    grid-column: auto !important;
    max-width: 660px;
    margin: 0 !important;
    color: var(--theme-muted);
    line-height: 1.65;
}
.order-category-preview-copy small {
    display: inline-flex;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 800;
    color: var(--theme-text);
    background: color-mix(in srgb, var(--theme-primary) 10%, var(--theme-surface));
    border: 1px solid color-mix(in srgb, var(--theme-primary) 18%, var(--theme-nav-border));
}
.order-category-preview-noimage {
    grid-template-columns: 1fr;
}
.order-category-preview-noimage .order-category-preview-image {
    display: none;
}
.order-product-fields {
    margin-top: 0 !important;
}
@media (max-width: 900px) {
    .order-category-preview {
        grid-template-columns: 1fr;
    }
    .order-category-preview-image,
    .order-category-preview-image img {
        min-height: 220px;
    }
}
@media (max-width: 560px) {
    .order-category-picker {
        grid-auto-columns: minmax(150px, 172px);
        gap: 12px;
    }
    .order-category-card {
        min-height: 162px;
        border-radius: 20px;
        padding: 10px !important;
    }
    .order-category-thumb {
        height: 92px;
        border-radius: 15px;
    }
    .order-category-preview {
        border-radius: 22px;
        padding: 14px;
    }
    .order-category-preview-image,
    .order-category-preview-image img {
        min-height: 180px;
        border-radius: 18px;
    }
}

/* Tahap 5 Fix 8 - Kategori kembali menjadi dropdown, preview foto tetap muncul setelah dipilih */
.order-product-section .order-section-intro {
    margin-bottom: 18px !important;
}
.order-product-selects {
    align-items: end;
    margin-bottom: 18px !important;
}
.order-product-extra-fields {
    margin-top: 0 !important;
}
.order-product-selects select,
.order-product-extra-fields input,
.order-product-extra-fields textarea {
    width: 100%;
}
.order-category-preview {
    margin-top: 0;
}
.order-category-preview-copy span {
    letter-spacing: .06em;
}
@media (max-width: 900px) {
    .order-product-selects,
    .order-product-extra-fields {
        grid-template-columns: 1fr;
    }
}

/* Tahap 5 Fix 9 - Produk / Varian dipindahkan ke bawah foto kategori */
.order-product-selects {
    grid-template-columns: 1fr;
    align-items: start;
}
.order-product-selects .order-grid-full {
    grid-column: 1 / -1;
}
.order-product-variant-row {
    margin-top: 18px !important;
    align-items: end;
}
.order-product-variant-row #productVariantWrap {
    grid-column: auto;
}
.order-product-variant-row #otherOrderWrap {
    margin-top: 0;
}
@media (max-width: 900px) {
    .order-product-selects,
    .order-product-variant-row {
        grid-template-columns: 1fr;
    }
}

/* Tahap 5 Fix 13 - Popup pembesar foto kategori Form Order */
.order-category-preview-image.is-clickable {
    position: relative;
    cursor: zoom-in;
}
.order-category-preview-image.is-clickable::after {
    content: 'Klik untuk memperbesar';
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 7px 11px;
    border-radius: 999px;
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    background: rgba(0, 0, 0, .54);
    backdrop-filter: blur(8px);
    opacity: .92;
    pointer-events: none;
}
.order-category-preview-image.is-clickable:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--theme-primary) 62%, #fff);
    outline-offset: 4px;
}
.order-category-photo-modal-open {
    overflow: hidden;
}
.order-category-photo-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(18px, 4vw, 42px);
    background: rgba(25, 18, 20, .72);
    backdrop-filter: blur(8px);
}
.order-category-photo-modal.is-open {
    display: flex;
}
.order-category-photo-modal-panel {
    position: relative;
    width: min(1040px, 100%);
    max-height: min(86vh, 760px);
    padding: clamp(12px, 2vw, 18px);
    border-radius: 30px;
    background: var(--theme-surface);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .28);
    border: 1px solid color-mix(in srgb, var(--theme-nav-border) 68%, transparent);
}
.order-category-photo-modal-panel img {
    width: 100%;
    max-height: calc(86vh - 110px);
    object-fit: contain;
    display: block;
    border-radius: 22px;
    background: var(--theme-surface-alt);
}
.order-category-photo-modal-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-hover));
    font-size: 2rem;
    line-height: 1;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 12px 30px color-mix(in srgb, var(--theme-primary) 34%, rgba(0, 0, 0, .22));
}
.order-category-photo-modal-close:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}
.order-category-photo-modal-title {
    margin: 10px 6px 0 !important;
    text-align: center;
    color: var(--theme-card-text);
    font-weight: 900;
    line-height: 1.35;
}
@media (max-width: 640px) {
    .order-category-preview-image.is-clickable::after {
        content: 'Tap untuk memperbesar';
        font-size: .72rem;
        left: 10px;
        bottom: 10px;
    }
    .order-category-photo-modal {
        padding: 14px;
    }
    .order-category-photo-modal-panel {
        border-radius: 22px;
        padding: 10px;
    }
    .order-category-photo-modal-panel img {
        max-height: calc(88vh - 96px);
        border-radius: 16px;
    }
    .order-category-photo-modal-close {
        top: 8px;
        right: 8px;
        width: 38px;
        height: 38px;
        font-size: 1.8rem;
    }
}


/* Tahap 6 Fix 15: pesan validasi form order lebih jelas */
.order-form-alert {
    margin-bottom: 22px;
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid color-mix(in srgb, #dc2626 35%, var(--theme-nav-border));
    background: color-mix(in srgb, #fee2e2 72%, var(--theme-surface));
    color: #7f1d1d;
    line-height: 1.55;
}
.order-form-alert strong {
    display: block;
    margin-bottom: 8px;
    font-weight: 900;
}
.order-form-alert ul {
    margin: 0;
    padding-left: 20px;
}
.order-form-alert li + li {
    margin-top: 4px;
}
