/* ============================================================
   RUMAH JAMBU - Custom CSS
   Cheerful, Modern, Food-themed Design
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
    --primary: #FFD93D;
    --primary-dark: #f0c800;
    --secondary: #FF8C42;
    --accent: #FF6B81;
    --white: #FFFFFF;
    --bg-light: #FFF9E6;
    --bg-cream: #FFFDF5;
    --text-dark: #2D2D2D;
    --text-medium: #555555;
    --text-light: #888888;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-glow: 0 4px 20px rgba(255,217,61,0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, #FFD93D 0%, #FF8C42 100%);
    --gradient-accent: linear-gradient(135deg, #FF6B81 0%, #FF8C42 100%);
    --gradient-hero: linear-gradient(135deg, #FFD93D 0%, #FF8C42 50%, #FF6B81 100%);
}

/* ---- Global Reset ---- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family:'Inter',sans-serif;
    color: var(--text-dark);
    background:
    linear-gradient(
        135deg,
        #fff9e6 0%,
        #fffdf5 50%,
        #fff5eb 100%
    );
    overflow-x:hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ---- Custom Scrollbar ---- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

/* ============================================================
   REGISTER
   ============================================================ */

.register-wrapper{
    
    min-height:auto;
    overflow:hidden;
    position:relative;
    padding:40px 0;
    display:flex;
    justify-content:center;
    align-items:flex-start;

    background:linear-gradient(
        135deg,
        #fff7ed 0%,
        #fffbeb 35%,
        #fef3c7 70%,
        #fde68a 100%
    );
}

.register-wrapper::before{
    content:'';

    position:absolute;

    width:450px;
    height:450px;

    background:#f59e0b;

    border-radius:50%;

    top:-150px;
    left:-150px;

    opacity:.12;

    filter:blur(80px);
}

.register-wrapper::after{
    content:'';

    position:absolute;

    width:400px;
    height:400px;

    background:#fb7185;

    border-radius:50%;

    bottom:-120px;
    right:-120px;

    opacity:.10;

    filter:blur(80px);
}

/* ============================================================
   LOGIN
   ============================================================ */

.login-wrapper{
    min-height:100vh;
    position:relative;
    overflow:hidden;
    display:flex;
    justify-content:center;
    align-items:center;

    background:linear-gradient(
        135deg,
        #fff7ed 0%,
        #fffbeb 35%,
        #fef3c7 70%,
        #fde68a 100%
    );
}

.login-wrapper::before{
    content:'';

    position:absolute;

    width:450px;
    height:450px;

    background:#f59e0b;

    border-radius:50%;

    top:-150px;
    left:-150px;

    opacity:.12;

    filter:blur(80px);
}

.login-wrapper::after{
    content:'';

    position:absolute;

    width:400px;
    height:400px;

    background:#fb7185;

    border-radius:50%;

    bottom:-120px;
    right:-120px;

    opacity:.10;

    filter:blur(80px);
}

.login-pattern{
    position:absolute;

    inset:0;

    background-image:
    radial-gradient(
        rgba(0,0,0,.04) 1px,
        transparent 1px
    );

    background-size:30px 30px;

    pointer-events:none;
}

.floating-food{
    position:absolute;
    font-size:60px;
    opacity:.08;
    animation: floatFood 12s ease-in-out infinite;
    pointer-events:none;
}

.food1{
    top:10%;
    left:10%;
}

.food2{
    top:20%;
    right:15%;
    animation-delay:2s;
}

.food3{
    bottom:20%;
    left:15%;
    animation-delay:4s;
}

.food4{
    bottom:10%;
    right:10%;
    animation-delay:6s;
}

.food5{
    top:50%;
    left:5%;
    animation-delay:8s;
}

.food6{
    top:65%;
    right:5%;
    animation-delay:10s;
}

@keyframes floatFood{
    0%,100%{
        transform:translateY(0px) rotate(0deg);
    }
    50%{
        transform:translateY(-25px) rotate(10deg);
    }
}

.login-card{
    border:1px solid rgba(255,255,255,.7);
    position:relative;
    z-index:10;

    border-radius:32px;

    background:rgba(255,255,255,.88);

    backdrop-filter:blur(25px);

    box-shadow:
        0 25px 60px rgba(0,0,0,.10),
        0 10px 30px rgba(249,115,22,.12);

    overflow:hidden;
    -webkit-backdrop-filter:blur(25px);
    animation:
        cardEntry .8s ease,
        floatingCard 6s ease-in-out infinite;
}

@keyframes cardEntry{

    from{
        opacity:0;
        transform:
            translateY(40px)
            scale(.95);
    }

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

}


.login-card::before{
    content:'';

    position:absolute;
    top:0;
    left:0;

    width:100%;
    height:6px;

    background:linear-gradient(
        90deg,
        #f59e0b,
        #f97316,
        #ef4444
    );
}

.login-card::after{
    content:'';

    position:absolute;

    width:300px;
    height:300px;

    background:rgba(245,158,11,.12);

    border-radius:50%;

    top:-120px;
    right:-120px;

    filter:blur(50px);

    pointer-events:none;
}

.login-header{
    text-align:center;
    margin-bottom:15px;
    animation:fadeUp .8s ease;
}

form{
    animation:fadeUp 1s ease;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(25px);
    }

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

}

.login-logo{
    width:95px;
    height:95px;
    object-fit:cover;
    border-radius:24px;
    margin-bottom:20px;
}

.login-title{
    font-size:28px;
    font-weight:800;

    background:linear-gradient(
        135deg,
        #f59e0b,
        #f97316
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

    margin-bottom:3px;
}

.login-subtitle{
    color:#64748b;

    font-size:15px;

    font-weight:500;

    letter-spacing:.3px;
}

.register-icon{
    font-size:40px;

    margin-bottom:8px;

    animation:bounceBurger 3s infinite;
}

@keyframes bounceBurger{

    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-8px);
    }

}

.input-group .btn{
    border:1px solid #e2e8f0;
    background:#fff;
}

.form-control{
    height:48px;
    border-radius:14px;
    border:1px solid #e2e8f0;
    transition:.3s;
}

.form-control:focus{
    border-color:#f59e0b;

    box-shadow:
        0 0 0 4px rgba(245,158,11,.12),
        0 8px 20px rgba(245,158,11,.10);

    transform:translateY(-2px);
}

.form-control:hover{
    border-color:#94a3b8;
}

textarea.form-control{
    min-height:120px;

    resize:none;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-custom {
    background: rgba(255,255,255,.88);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-bottom: 1px solid rgba(255,255,255,.5);

    padding: 5px 0;

    transition: all .3s ease;

    box-shadow:
        0 8px 30px rgba(0,0,0,.06);
}

.navbar-custom.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-md);
}

.brand-emoji {
    font-size: 1.8rem;
    margin-right: 8px;
    animation: bounce-soft 2s ease-in-out infinite;
}

@keyframes bounce-soft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.brand-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.brand-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand{
    display:flex;
    align-items:center;
    gap:10px;
}

.navbar-custom .nav-link {
    color: var(--text-medium);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: all .25s ease;
    position: relative;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--secondary);

    background: rgba(255,140,66,.12);

    transform: translateY(-2px);
}

.navbar-custom .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 4px;
    border-radius: 20px;
    background: var(--gradient-primary);
}

.nav-icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: var(--transition);
}

.nav-icon-btn:hover {
    background: rgba(255,140,66,0.1);
}

.nav-icon-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #ff6b81;
    color: white;
    font-size: 0.6rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.nav-user-btn {
    display: flex !important;
    align-items: center;
    gap: 8px;
    border-radius: 30px;
    padding: 6px 14px !important;
    transition: var(--transition);
}

.nav-user-btn:hover {
    background: rgba(255,140,66,0.15);
    border-color: rgba(255,140,66,0.4);
}

.nav-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-avatar-placeholder {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-icon {
    position: relative;
    font-size: 1.2rem;
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 4px;
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    animation: pop-in 0.3s ease;
}

@keyframes pop-in {
    0% { transform: scale(0); }
    80% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.btn-login{
    height:58px;
    border:none;
    border-radius:16px;
    background:linear-gradient(
        135deg,
        #f59e0b,
        #f97316
    );
    color:white;
    font-weight:700;
    letter-spacing:.3px;
    transition:.3s;
    box-shadow:
        0 8px 20px rgba(249,115,22,.25);
}

.btn-login:hover{
    transform:translateY(-3px);

    box-shadow:
        0 15px 35px rgba(249,115,22,.35);

    background:linear-gradient(
        135deg,
        #f97316,
        #ea580c
    );
    color: white;
}

.btn-login:active{
    transform:translateY(0);
}

.btn-login-nav {
    font-weight: 500;
}

.btn-register-nav {
    background: var(--gradient-primary);
    color: var(--text-dark) !important;
    font-weight: 600;
    padding: 8px 20px !important;
    border-radius: var(--radius-xl) !important;
    border: none;
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
}

.btn-register-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255,217,61,0.4);
    color: var(--text-dark) !important;
}

.dropdown-custom {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    animation: dropdown-appear 0.2s ease;
}

@keyframes dropdown-appear {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-custom .dropdown-item {
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-custom .dropdown-item:hover {
    background: rgba(255,140,66,0.1);
}

.dropdown-custom .dropdown-item i {
    margin-right: 8px;
    width: 18px;
    text-align: center;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    background: var(--gradient-hero);
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding:80px 0 120px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"><circle cx="100" cy="100" r="80" fill="rgba(255,255,255,0.1)"/><circle cx="700" cy="150" r="120" fill="rgba(255,255,255,0.08)"/><circle cx="400" cy="500" r="100" fill="rgba(255,255,255,0.06)"/><circle cx="650" cy="450" r="60" fill="rgba(255,255,255,0.1)"/><circle cx="200" cy="400" r="40" fill="rgba(255,255,255,0.08)"/></svg>');
    background-size: cover;
    animation: float-bg 20s ease-in-out infinite;
}

@keyframes float-bg {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.02); }
}

.hero-wave{
    position:absolute;
    bottom:-40px;
    left:0;
    width:100%;
    line-height:0;
    z-index:2;
}

.hero-wave svg{
    width:100%;
    height:140px;
    display:block;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;

    padding:10px 20px;
    margin-bottom:25px;

    background:rgba(255,255,255,.25);
    border:1px solid rgba(255,255,255,.35);
    border-radius:50px;

    color:white;
    font-weight:700;
    font-size:15px;

    position:relative;
    z-index:20;
}

@keyframes badgePulse{

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

    50%{
        transform:scale(1.03);
    }

}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero-title span {
    display: block;
    background: linear-gradient(to right, white, rgba(255,255,255,0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    font-weight: 400;
    max-width: 500px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons{
    display:flex;
    gap:15px;
    margin-top:25px;
    flex-wrap:wrap;
}

.hero-buttons .btn {
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.btn-hero-primary {
    background: white;
    color: var(--secondary);
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: var(--secondary);
    background: white;
}

.btn-hero-secondary{
    background:white;
    color:#f97316;
    border:2px solid #f97316;
    padding:14px 26px;
    border-radius:16px;
    font-weight:600;
    transition:.3s;
}

.btn-hero-secondary:hover {
    background: #f97316;
    color: white;
    border-color: white;
}

.hero-food-grid {
    position: relative;
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    max-width:420px;
    margin:auto;
    transform: translateX(-40px);
}

.hero-food-item {
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 24px;
    padding:30px 20px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    text-align: center;
    font-size: 3rem;
    width: 180px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition:.4s;
    cursor: default;
}

.hero-food-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 45px rgba(0,0,0,.12);
    background: rgba(255,255,255,0.3);
}

.hero-food-item small {
    font-size: 0.7rem;
    color: white;
    font-weight: 600;
    margin-top: 4px;
}

.food-emoji{
    font-size:48px;
    margin-bottom:10px;
}

.hero-food-item span{
    display:block;
    white-space: nowrap;
    font-size:15px;
    font-weight:600;

    color:#334155;
}

.hero-float-1 { animation: float-1 3s ease-in-out infinite; }
.hero-float-2 { animation: float-2 4s ease-in-out infinite 0.5s; }
.hero-float-3 { animation: float-3 3.5s ease-in-out infinite 1s; }
.hero-float-4 { animation: float-4 4.5s ease-in-out infinite 0.3s; }

@keyframes float-1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes float-2 { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(5deg); } }
@keyframes float-3 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes float-4 { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-18px) rotate(-3deg); } }

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section{
    padding:80px 0;
    position:relative;
    z-index:3;
}

.section.bg-light{
    background:
    linear-gradient(
        180deg,
        #fffdf5,
        #fff7ed
    );
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading{
    margin-bottom:60px;
}

.section-badge{
    display:inline-block;

    background:#fff3cd;

    color:#ff8c42;

    padding:8px 18px;

    border-radius:999px;

    font-size:14px;
    font-weight:600;

    margin-bottom:15px;
}

.section-title{
    font-size:2.4rem;
    font-weight:800;

    color:#1f2937;

    margin-bottom:12px;
}

.section-subtitle {
    font-size: 1rem;
    color:#777;
    max-width: 600px;
    margin: 0 auto;
}

.section-best-seller{
    background:#fff5e6;
    position:relative;
}

.section-best-seller::before{
    content:'';

    position:absolute;

    width:350px;
    height:350px;

    background:#ffd93d;

    opacity:.12;

    filter:blur(120px);

    top:50px;
    left:-100px;

    border-radius:50%;
}

.section-divider{
    width:80px;
    height:4px;

    background:linear-gradient(
        90deg,
        #ffd93d,
        #ff8c42
    );

    margin:20px auto;

    border-radius:20px;
}

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.category-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255,140,66,0.2);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
    display: block;
}

.category-card h5 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.category-card p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
}

.product-image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
    padding:15px;
}

.product-image img {
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
    border-radius:15px;
    transition:0.4s ease;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-xl);
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 1;
}

.product-body{
    flex:1;
    display:flex;
    flex-direction:column;
    padding:24px;
}

.product-body .mt-3{
    margin-top:auto !important;
    padding-top:12px;
}

.product-category {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display:inline-block;
    background:#fff4e8;
    color:#ff8c42;
    font-size:.75rem;
    font-weight:700;
    border-radius:20px;
    margin-bottom:10px;
    width:auto;
    padding:6px 12px;
    text-align: center;
}

.product-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:all .3s ease;
    border:1px solid rgba(0,0,0,.05);
}

.product-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.product-card:hover .product-image img{
    transform:scale(1.05);
}


.product-name{
    font-size:1.15rem;
    font-weight:700;
    color:#222;
    line-height:1.4;
    margin-top:10px;
    margin-bottom:14px;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:1;

    overflow:hidden;

    max-height:3.4em;
}

.product-card .btn{
    border:none;
    border-radius:12px;
    padding:10px 18px;
    font-weight:600;

    background:linear-gradient(
        135deg,
        #ffb347,
        #ff8c42
    );

    box-shadow:0 6px 15px rgba(255,140,66,.25);

    transition:all .3s ease;
}

.product-card .btn:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 20px rgba(255,140,66,.35);
}

.product-name a {
    color: inherit;
}

.product-name a:hover {
    color: var(--secondary);
}

.product-badge{
    position:absolute;
    top:20px;
    left:20px;

    background:#ff4757;
    color:black;

    padding:6px 12px;
    border-radius:20px;

    font-size:.75rem;
    font-weight:700;

    z-index:10;
}

.product-desc {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.product-price {
    font-size:1.2rem;
    font-weight: 800;
    color:#ff8c42;
    margin-top:auto;
    margin-bottom:2px;
}

.product-price small {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-light);
}

.btn-add-cart {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--text-dark);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-glow);
    cursor: pointer;
}

.btn-add-cart:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(255,217,61,0.5);
}

.product-sold{
    font-size:.9rem;
    color:#888;

    font-weight:500;

    margin-bottom:18px;
}

.product-sold i {
    color: var(--accent);
}

/* ============================================================
   DETAIL PRODUK
   ============================================================ */
.product-detail-img-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    position: relative;
}

.product-detail-img-wrapper img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.product-detail-img-wrapper:hover img {
    transform: scale(1.05);
}

.product-detail-img-wrapper::after {
    content: '🔍';
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-detail-img-wrapper:hover::after {
    opacity: 1;
}

.product-detail-info {
    padding: 10px 0 10px 20px;
}

.product-detail-category {
    background: #fff4e8;
    color: #ff8c42;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-detail-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: #222;
    line-height: 1.3;
    margin-bottom: 8px;
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 800;
    color: #ff8c42;
    margin-bottom: 8px;
}

.product-detail-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.product-detail-stock {
    margin-bottom: 8px;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.stock-available { background: #d1e7dd; color: #0a3622; }
.stock-low       { background: #fff3cd; color: #856404; }
.stock-empty     { background: #f8d7da; color: #842029; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary-custom {
    background: var(--gradient-primary);
    color: var(--text-dark);
    border: none;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255,217,61,0.4);
    color: var(--text-dark);
}

.btn-accent-custom {
    background: var(--gradient-accent);
    color: white;
    border: none;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.btn-accent-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255,107,129,0.3);
    color: white;
}

.btn-outline-custom {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
    font-weight: 600;
    padding: 10px 28px;
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-2px);
}

.btn-wishlist-detail {
    height: 50px;
    padding: 0 20px;
    border-radius: 30px;
    border: 2px solid #ffcdd2;
    background: white;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ff6b81;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(255,107,129,0.15);
    white-space: nowrap;
}

.btn-wishlist-detail:hover {
    background: #ff6b81;
    border-color: #ff6b81;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,129,0.35);
}

/* ============================================================
   PROMO BANNER
   ============================================================ */
.promo-banner {
    background: var(--gradient-accent);
    border-radius: var(--radius-xl);
    padding: 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.promo-banner::after {
    content: '🎉';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 6rem;
    opacity: 0.2;
}

.promo-banner h3 {
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.promo-banner p {
    opacity: 0.9;
    margin-bottom: 20px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0,0,0,0.04);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 4rem;
    color: rgba(255,140,66,0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 0.92rem;
    color: var(--text-medium);
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
}

.testimonial-info h6 {
    font-weight: 600;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.testimonial-info small {
    color: var(--text-light);
    font-size: 0.75rem;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
    background: var(--gradient-hero);
    padding: 100px 0 60px;
    color: white;
    text-align: center;
}

.about-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.about-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: rgba(255,140,66,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 16px;
}

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 40px;
    background: var(--bg-light);
}

.auth-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.auth-link{
    color:#f97316;

    font-weight:700;

    transition:.3s;
}

.auth-link:hover{
    color:#ea580c;

    letter-spacing:.5px;
}

.auth-card .card-header{
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    color: white;
    text-align: center;
    padding: 20px;
    border: none;
}

.auth-card .card-body{
    padding: 30px;
}

.auth-card .form-control{
    border-radius: 12px;
    padding: 12px;
}

.auth-card .btn{
    border-radius: 12px;
    padding: 12px;
    font-weight: 600;
}

.auth-brand {
    background: var(--gradient-hero);
    padding: 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100%;
}

.auth-brand h2 {
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 12px;
}

.auth-brand p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.auth-form-section {
    padding: 40px;
}

.auth-form-section h3 {
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-form-section .subtitle {
    color: var(--text-light);
    margin-bottom: 28px;
    font-size: 0.9rem;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--secondary);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,217,61,0.2);
}

.form-control{
    height:56px;
    border-radius:16px;
    border:1px solid #dbe2ea;
    padding-left:16px;
    transition:.3s;
}

.form-floating .form-control {
    height: calc(3.5rem + 2px);
}

.input-group{
    transition:.3s;
}

.input-group:focus-within{

    transform:translateY(-2px);

}

.input-group-text {
    background: var(--bg-light);
    border-color: #e0e0e0;
}

/* ============================================================
   DASHBOARD
   ============================================================ */
.dashboard-section {
    padding: 40px 0;
    min-height: 80vh;
}

.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-card.primary::after { background: var(--gradient-primary); }
.stat-card.secondary::after { background: var(--secondary); }
.stat-card.accent::after { background: var(--accent); }
.stat-card.success::after { background: #2ed573; }

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.stat-icon.primary { background: rgba(255,217,61,0.15); color: var(--primary-dark); }
.stat-icon.secondary { background: rgba(255,140,66,0.15); color: var(--secondary); }
.stat-icon.accent { background: rgba(255,107,129,0.15); color: var(--accent); }
.stat-icon.success { background: rgba(46,213,115,0.15); color: #2ed573; }

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-item {
    background: white;
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 12px;
    transition: var(--transition);
}

.cart-item:hover {
    box-shadow: var(--shadow-md);
}

.cart-product-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.cart-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #ddd;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-weight: 600;
}

.qty-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.qty-value {
    font-weight: 700;
    font-size: 1rem;
    min-width: 30px;
    text-align: center;
}

.cart-summary {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.cart-summary h5 {
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-light);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 2px solid var(--bg-light);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--secondary);
}

/* ============================================================
   ORDERS
   ============================================================ */
.order-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.order-card:hover {
    box-shadow: var(--shadow-md);
}

.order-card.status-diproses { border-left-color: #3498db; }
.order-card.status-dikemas { border-left-color: #9b59b6; }
.order-card.status-dikirim { border-left-color: var(--primary); }
.order-card.status-selesai { border-left-color: #2ed573; }
.order-card.status-dibatalkan { border-left-color: #e74c3c; }

/* ============================================================
   ADMIN SIDEBAR & LAYOUT
   ============================================================ */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #2D2D2D 0%, #1a1a2e 100%);
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
    overflow-y: auto;
    transition: var(--transition);
}

.admin-sidebar-brand {
    padding: 24px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-sidebar-brand h4 {
    font-weight: 800;
    margin: 0;
    font-size: 1.2rem;
}

.admin-sidebar-menu {
    padding: 16px 12px;
}

.admin-menu-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.4);
    padding: 12px 16px 8px;
    font-weight: 600;
}

.admin-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: rgba(255,255,255,0.7);
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
}

.admin-menu-item:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.admin-menu-item.active {
    background: var(--gradient-primary);
    color: var(--text-dark);
    font-weight: 600;
}

.admin-menu-item i {
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
}

.admin-content {
    margin-left: 260px;
    flex: 1;
    padding: 30px;
    background: var(--bg-light);
    min-height: 100vh;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.admin-header h2 {
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}

.admin-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.admin-table {
    width: 100%;
}

.admin-table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    font-weight: 600;
    padding: 12px 16px;
    border-bottom: 2px solid var(--bg-light);
}

.admin-table td {
    padding: 12px 16px;
    vertical-align: middle;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.admin-table tr:hover td {
    background: rgba(255,140,66,0.03);
}

.table img{
    border-radius:10px;
    object-fit:cover;
}

.table th{
    background:#FF8C42;
    color:white;
}

.table-hover tbody tr:hover{
    background:#fff8f2;
}

/* ============================================================
   PAYMENT PAGE
   ============================================================ */
.payment-method-card {
    background: white;
    border: 2px solid #eee;
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.payment-method-card:hover,
.payment-method-card.active {
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
}

.payment-method-card.active {
    background: rgba(255,140,66,0.05);
}

.payment-method-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.payment-total-card {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    color: var(--text-dark);
    box-shadow: var(--shadow-glow);
}

.payment-total-amount {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 6px 0;
}

.payment-method-options {
    display: flex;
    gap: 12px;
}

.payment-method-option {
    flex: 1;
    cursor: pointer;
}

.payment-method-option input {
    display: none;
}

.payment-method-option-card {
    text-align: center;
    padding: 16px 8px;
    border: 2px solid #eee;
    border-radius: 12px;
    transition: var(--transition);
}

.payment-method-option input:checked + .payment-method-option-card {
    border-color: #ff8c42;
    background: #fff8f2;
}

.payment-method-option-card:hover {
    border-color: #ff8c42;
}

.bank-info-box {
    background: #fff8f2;
    border: 1px solid #ffe0c4;
    border-radius: 14px;
    padding: 16px 20px;
}

.bank-info-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 0.9rem;
}

.upload-box {
    border: 2px dashed #ddd;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.upload-box:hover {
    border-color: #ff8c42;
    background: #fff8f2;
}

.upload-box img {
    max-width: 100%;
    max-height: 250px;
    border-radius: 12px;
}

/* ============================================================
   QRIS
   ============================================================ */

.qris-placeholder {
    background: #f5f5f5;
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 30px;
    margin: 0 auto;
    max-width: 250px;
}

/* ============================================================
   CHECKOUT STEPS
   ============================================================ */
.checkout-steps {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
}

.checkout-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
}

.checkout-step.active {
    color: var(--secondary);
    font-weight: 700;
}

.checkout-step.completed {
    color: #2ed573;
}

.checkout-step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.checkout-step.active .checkout-step-number {
    background: var(--gradient-primary);
    color: var(--text-dark);
}

.checkout-step.completed .checkout-step-number {
    background: #2ed573;
    color: white;
}

.checkout-step-line {
    width: 40px;
    height: 2px;
    background: #eee;
}

.checkout-step.completed + .checkout-step-line,
.checkout-step-line.completed {
    background: #2ed573;
}

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    overflow: hidden;
}

.checkout-card-header {
    padding: 16px 20px;
    font-weight: 700;
    font-size: 1rem;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}

.checkout-card-body {
    padding: 20px;
}

.delivery-options {
    display: flex;
    gap: 12px;
}

.delivery-option {
    flex: 1;
    cursor: pointer;
}

.delivery-option input {
    display: none;
}

.delivery-option-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 2px solid #eee;
    border-radius: 12px;
    transition: var(--transition);
}

.delivery-option input:checked + .delivery-option-card {
    border-color: #ff8c42;
    background: #fff8f2;
}

.delivery-option-card:hover {
    border-color: #ff8c42;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.checkout-item:last-of-type {
    border-bottom: none;
}

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

.checkout-total {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ff8c42;
}

.btn-checkout {
    background: var(--gradient-primary);
    color: var(--text-dark);
    border: none;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
    font-size: 1rem;
    cursor: pointer;
    display: block;
    text-align: center;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,217,61,0.5);
}

/* ============================================================
   ALERTS
   ============================================================ */
.alert-custom {
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    animation: slide-down 0.3s ease;
}

@keyframes slide-down {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-custom i {
    margin-right: 8px;
}

/* ============================================================
   STAR RATING
   ============================================================ */
.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.star-rating i {
    font-size: 0.85rem;
}

.star-rating-input {
    display: flex;
    gap: 4px;
    direction: rtl;
    font-size: 1.5rem;
}

.star-rating-input input {
    display: none;
}

.star-rating-input label {
    cursor: pointer;
    color: #ddd;
    transition: var(--transition);
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label {
    color: #f1c40f;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-section {
    position: relative;
    margin-top: 60px;
    background:
    linear-gradient(
        135deg,
        #2D3436,
        #1E272E
    );

    color:white;
}

.footer-wave {
    color: #2D2D2D;
    line-height: 0;
    margin-bottom: -2px;
}

.footer-content {
    background: linear-gradient(180deg, #2D2D2D 0%, #1a1a2e 100%);
    padding: 50px 0 30px;
    color: white;
}

.footer-brand h4 {
    font-weight: 800;
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: var(--text-dark);
    transform: translateY(-3px);
}

.footer-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title-brand{
    font-weight:800;
    font-size:1.8rem;
    margin-bottom:15px;
}

.footer-title-brand i{
    font-size:1.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
    transition: var(--transition);
    display:inline-block;
}

.footer-links a:hover {
    color: var(--secondary);
    transform:translateX(5px);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact li i {
    color: var(--primary);
    font-size: 1rem;
    width: 18px;
    text-align: center;
}

.footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 30px 0 20px;
}

.footer-desc{
    color:rgba(255,255,255,.75);
    line-height:1.8;
    max-width:300px;
}

.footer-copyright {
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem;
    margin: 0;
}

.footer-social{
    display:flex;
    gap:12px;
    margin-top:20px;
}

.footer-social a{
    width:42px;
    height:42px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.08);
    color:white;

    transition:.3s;
}

.footer-social a:hover{
    background:var(--secondary);
    border-color:var(--secondary);
    color:white;
    transform:translateY(-4px) scale(1.08);
}

/* ============================================================
   PAGE HEADERS
   ============================================================ */
.page-header {
    background: var(--gradient-hero);
    color: white;
    text-align: center;
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header .food-deco {
    position: absolute;
    pointer-events: none;
    opacity: 0.12;
    animation: floatFood 8s ease-in-out infinite;
    margin-top: 60px; /* ← tambahkan ini agar semua ikon turun */
}

.page-header h1 {
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 8px;
}

.page-header p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.breadcrumb-custom {
    justify-content: center;
    margin-bottom: 0;
}

.breadcrumb-custom .breadcrumb-item a {
    color: rgba(255,255,255,0.8);
}

.breadcrumb-custom .breadcrumb-item.active {
    color: white;
}

.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.6);
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h4 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 24px;
}

/* ============================================================
   SEARCH & FILTER
   ============================================================ */
.search-box {
    position: relative;
}

.search-box input {
    padding-left: 45px;
    border-radius: var(--radius-xl);
    border: 2px solid #eee;
    height: 48px;
    font-size: 0.92rem;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255,217,61,0.15);
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1.1rem;
}

.search-product-wrapper{
    max-width:700px;
    margin:0 auto 40px;
}

.search-product-wrapper .input-group{
    background:white;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.search-product-wrapper .input-group-text{
    background:white;
    border:none;
    font-size:1.2rem;
    padding-left:20px;
}

.search-product-wrapper .form-control{
    border:none;
    height:60px;
    font-size:1rem;
}

.search-product-wrapper .form-control:focus{
    box-shadow:none;
}

.search-product-wrapper .btn{
    border:none;
    padding:0 20px;
}

#clearSearch{
    display:none;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    border: 2px solid #eee;
    background: white;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-medium);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--secondary);
    color: var(--secondary);
    background: rgba(255,140,66,0.05);
}

.category-filter{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:30px;
}

.btn-category{
    border:2px solid #ffd93d;
    background:#fff;
    color:#ff8c42;
    border-radius:30px;
    padding:8px 20px;
    font-weight:600;
    transition:.3s;
}

.btn-category:hover{
    background:#ffd93d;
    color:#333;
}

.btn-category.active{
    background:linear-gradient(
        135deg,
        #ffd93d,
        #ff8c42
    );
    color:white;
    border:none;
}

.btn-cart-detail {
    background: var(--gradient-primary);
    color: var(--text-dark);
    border: none;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-cart-detail::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn-cart-detail:active::before {
    width: 300px;
    height: 300px;
}

.btn-cart-detail:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,217,61,0.5);
}

.btn-cart-detail.added {
    background: linear-gradient(135deg, #2ed573, #1abc9c);
    color: white;
}

/* ============================================================
   MODAL CUSTOM
   ============================================================ */
.modal-custom .modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.modal-custom .modal-header {
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 20px 24px;
}

.modal-custom .modal-title {
    font-weight: 700;
}

.modal-custom .modal-body {
    padding: 24px;
}

.modal-custom .modal-footer {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding: 16px 24px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.pulse {
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .hero-title { font-size: 2.5rem; }
    .hero-food-grid { display: none; }
    .hero-section { min-height: 70vh; }
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.show { transform: translateX(0); }
    .admin-content { margin-left: 0; }
    .section { padding: 50px 0; }
}

@media (max-width: 767px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-stats { gap: 20px; }
    .hero-stat-number { font-size: 1.2rem; }
    .section-title { font-size: 1.7rem; }
    .hero-buttons .btn { padding: 12px 24px; font-size: 0.9rem; }
    .stat-value { font-size: 1.4rem; }
    .checkout-step span { display: none; }
}

@media (max-width: 575px) {
    .hero-title { font-size: 1.7rem; }
    .hero-section { min-height: 60vh; }
    .hero-stats { flex-wrap: wrap; gap: 15px; }
    .promo-banner { padding: 24px; }
    .promo-banner h3 { font-size: 1.3rem; }
    .auth-form-section { padding: 24px; }
}

/* ============================================================
   LOADING SKELETON
   ============================================================ */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================================
   INVOICE
   ============================================================ */
.invoice-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
}

/* ============================================================
   CHART CONTAINER
   ============================================================ */
.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.bg-gradient-primary { background: var(--gradient-primary) !important; }
.bg-gradient-accent { background: var(--gradient-accent) !important; }
.text-primary-custom { color: var(--secondary) !important; }
.text-accent { color: var(--accent) !important; }
.fw-800 { font-weight: 800; }
.rounded-custom { border-radius: var(--radius-lg) !important; }

.hover-grow {
    transition: var(--transition);
}
.hover-grow:hover {
    transform: scale(1.02);
}

.glass-effect {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

@media print {

    .navbar,
    .btn,
    footer {
        display: none !important;
    }

    body {
        margin: 0;
        padding: 0;
    }

    .container {
        width: 100%;
        max-width: 100%;
    }
}

.stock-card{
    background: linear-gradient(
        135deg,
        #ffb347,
        #ff8c42
    ) !important;

    color:white !important;

    border:none !important;

    border-radius:20px;

    box-shadow:
    0 10px 25px rgba(255,140,66,.25);

    transition:all .3s ease;
}

.stock-card:hover{
    transform:translateY(-6px);

    box-shadow:
    0 18px 35px rgba(255,140,66,.35);
}

.stock-icon{
    font-size:42px;
}

.out-stock-card{
    background: linear-gradient(
        135deg,
        #ff5f6d,
        #d63031
    ) !important;

    color:white !important;

    border:none !important;

    border-radius:20px;

    box-shadow:
    0 10px 25px rgba(214,48,49,.25);

    transition:all .3s ease;
}

.out-stock-card:hover{
    transform:translateY(-6px);

    box-shadow:
    0 18px 35px rgba(214,48,49,.35);
}

.out-stock-icon{
    font-size:42px;
}

.stock-card .card-body,
.out-stock-card .card-body{
    color:white !important;
}

.stock-card,
.out-stock-card{
    cursor:pointer;
}

.stock-card:hover,
.out-stock-card:hover{
    transform: translateY(-8px) scale(1.02);
}

/* =========================
   ADMIN SIDEBAR
========================= */

.admin-wrapper{
    display:flex;
    min-height:100vh;
}

.sidebar{
    width:260px;
    background:#1f2937;
    color:white;

    position:fixed;
    left:0;
    top:0;

    height:100vh;
    overflow-y:auto;

    padding:25px 15px;

    box-shadow:
    4px 0 20px rgba(0,0,0,.15);
}

.sidebar-logo{
    text-align:center;

    margin-bottom:30px;

    font-weight:700;

    color:#fff;
}

.sidebar-menu{
    list-style:none;

    padding:0;
    margin:0;
}

.sidebar-menu li{
    margin-bottom:8px;
}

.sidebar-menu li a{
    display:block;

    padding:12px 15px;

    color:#e5e7eb;

    text-decoration:none;

    border-radius:12px;

    transition:.3s;
}

.sidebar-menu li a:hover{
    background:#3b82f6;

    color:white;
}

.sidebar-menu a.active-menu{
    background:#2563eb;

    color:white !important;

    font-weight:600;

    box-shadow:
    0 4px 12px rgba(37,99,235,.35);
}

.main-content{
    margin-left:260px;

    width:100%;

    padding:20px;
}

.admin-profile{
    text-align:center;
    margin-bottom:20px;
}

.admin-avatar{
    width:80px;
    height:80px;

    margin:auto;

    border-radius:50%;

    background:#3b82f6;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:36px;

    color:white;

    margin-bottom:10px;
}

.admin-profile h5{
    color:white;
    margin-bottom:5px;
}

.admin-profile p{
    color:#cbd5e1;
    font-size:14px;
    margin-bottom:0;
}

.admin-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50%;
}

.order-badge{
    float:right;

    background:#ef4444;

    color:white;

    font-size:12px;

    font-weight:bold;

    padding:2px 8px;

    border-radius:20px;

    min-width:24px;

    text-align:center;
}

.btn-back-modern{
    background:linear-gradient(
    135deg,
    #2563eb,
    #3b82f6
    );

    color:white !important;

    border:none;

    border-radius:14px;

    padding:12px 24px;

    font-weight:600;

    transition:.3s;

    box-shadow:
    0 6px 18px rgba(37,99,235,.25);
}

.btn-back-modern:hover{
    transform:translateY(-2px);

    box-shadow:
    0 10px 25px rgba(37,99,235,.4);
}

.btn-invoice-modern{
    display:inline-flex;
    align-items:center;
    gap:8px;

    background:linear-gradient(
    135deg,
    #10b981,
    #34d399
    );

    color:white !important;

    text-decoration:none;

    padding:12px 24px;

    border-radius:16px;

    font-weight:600;

    transition:.3s;

    box-shadow:
    0 8px 20px rgba(16,185,129,.25);
}

.btn-invoice-modern:hover{
    transform:translateY(-3px);

    color:white !important;

    box-shadow:
    0 12px 28px rgba(16,185,129,.4);
}

.notification-badge{
    float:right;

    background:#ef4444;

    color:white;

    min-width:22px;
    height:22px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:12px;
    font-weight:bold;
}

.new-order-alert{
    display:flex;
    align-items:center;
    gap:15px;

    background:#fff7ed;

    border-left:5px solid #f97316;

    padding:18px;

    border-radius:15px;

    margin-bottom:20px;

    box-shadow:
    0 5px 15px rgba(0,0,0,.08);
}

.alert-icon{
    font-size:35px;
}

.food-img{
    position:absolute;
    width:90px;
    opacity:.12;
    filter:blur(1px);
    pointer-events:none;
    animation:floatFood 8s ease-in-out infinite;
}

.food1{
    top:10%;
    left:5%;
    animation-duration:8s;
}

.food2{
    top:15%;
    right:10%;
    animation-duration:10s;
}

.food3{
    bottom:15%;
    left:10%;
    animation-duration:12s;
}

.food4{
    bottom:10%;
    right:5%;
    animation-duration:9s;
}

.food5{
    top:50%;
    right:3%;
    animation-duration:11s;
}

@keyframes floatFood{

    0%{
        transform:translateY(0px) rotate(0deg);
    }

    50%{
        transform:translateY(-25px) rotate(10deg);
    }

    100%{
        transform:translateY(0px) rotate(20deg);
    }

}

textarea.form-control{
    height:auto !important;
    min-height:120px;
}

.col-title {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: white;
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border-left: 5px solid #FF8C42;
    transition: transform 0.2s;
}
.notif-card:hover {
    transform: translateX(4px);
}

.notif-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.notif-content {
    flex: 1;
}

.notif-title {
    font-weight: 700;
    font-size: 1rem;
    color: #333;
    margin-bottom: 4px;
}

.notif-message {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.notif-time {
    font-size: 0.8rem;
    color: #aaa;
}

.notif-badge {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
    white-space: nowrap;
}

.notif-items {
    font-size: 0.85rem;
    color: #666;
    padding-left: 4px;
    margin-top: 4px;
    line-height: 1.8;
}

.badge-pending    { background: #FFF3CD; color: #856404; }
.badge-processing { background: #CFF4FC; color: #055160; }
.badge-packed     { background: #CFE2FF; color: #084298; }
.badge-delivered  { background: #D1ECF1; color: #0C5460; }
.badge-completed  { background: #D1E7DD; color: #0A3622; }
.badge-cancelled  { background: #F8D7DA; color: #842029; }

.icon-pending    { background: #FFF3CD; }
.icon-processing { background: #CFF4FC; }
.icon-packed     { background: #CFE2FF; }
.icon-delivered  { background: #D1ECF1; }
.icon-completed  { background: #D1E7DD; }
.icon-cancelled  { background: #F8D7DA; }
.icon-default    { background: #F0F0F0; }

/* ============================================================
   REVIEW
   ============================================================ */
.review-summary {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    margin-bottom: 8px;
    margin-top: 30px;
    justify-content: center;
}
.review-avg {
    text-align: center;
    background:#fff;
    padding:25px 40px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    text-align:center;
}
.avg-number {
    font-size: 3rem;
    font-weight: 700;
    color:#ff9800;
    line-height: 1;
}

.avg-stars .star { 
    color: #ddd; 
    font-size: 1.5rem; 
    margin:10px 0;
}

.avg-stars .star.filled { color: #f1c40f; }
.avg-label {
    color:#666;
    font-size:.9rem;
    margin-top: 4px;
}

.review-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}
.review-item:last-child { 
    border-bottom: none; 
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FF8C42;
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: 0.95rem; }
.review-stars .star { color: #ddd; font-size: 0.9rem; }
.review-stars .star.filled { color: #f1c40f; }

.review-date { font-size: 0.8rem; color: #aaa; }

.review-text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    background: #fafafa;
    border-radius: 10px;
    padding: 10px 14px;
    margin-top: 8px;
    margin-left: 65px;
}

.review-summary-bars { min-width: 200px; }

.review-bar-bg {
    height: 8px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.review-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd93d, #ff8c42);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.review-notice {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 14px;
    font-size: 0.95rem;
}
.notice-info    { background: #e8f4fd; border-left: 4px solid #3498db; }
.notice-warning { background: #fff8e6; border-left: 4px solid #f39c12; }
.notice-success { background: #eafaf1; border-left: 4px solid #2ecc71; }

/* ============================================================
   PRODUK TERKAIT
   ============================================================ */
.related-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: none;
}

.related-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-title::after {
    content: '';
    flex: 1;
    height: 2px;
    border-radius: 10px;
    margin-left: 10px;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */

.breadcrumb {
    background: transparent;
    margin-bottom: 0;
    display: inline-flex;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    padding: 8px 20px;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
    content: "›";
    font-size: 1rem;
}

.breadcrumb-item a {
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.breadcrumb-item a:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.breadcrumb-item.active {
    color: white;
    font-size: 0.82rem;
    font-weight: 700;
}

.burger-options {
    display: flex;
    gap: 12px;
}

.burger-option {
    flex: 1;
    cursor: pointer;
}

.burger-option input {
    display: none;
}

.burger-option-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 2px solid #eee;
    border-radius: 12px;
    transition: var(--transition);
}

.burger-option input:checked + .burger-option-card {
    border-color: #ff8c42;
    background: #fff8f2;
}

.burger-option-card:hover {
    border-color: #ff8c42;
}

.burger-unit {
    background: #fafafa;
    border-radius: 12px;
    padding: 12px 14px;
}

/* ============================================================
   DISTANCE
   ============================================================ */

.distance-status {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.distance-ok {
    background: #d1e7dd;
    color: #0a3622;
}

.distance-far {
    background: #f8d7da;
    color: #842029;
}

.distance-checking {
    background: #fff3cd;
    color: #856404;
}

.toast-notif {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: white;
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 320px;
    font-size: 0.9rem;
    border-left: 4px solid #2ed573;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.toast-notif.show {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: visible;
}

.about-img-wrapper img {
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    width: 100%;
}

.about-img-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    border-radius: 16px;
    padding: 14px 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-badge {
    background: #fff4e8;
    color: #ff8c42;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
}

.visi-misi-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    height: 100%;
    transition: var(--transition);
}

.visi-misi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.visi-misi-icon {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
    background: #fff4e8;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-about-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: var(--transition);
}

.stat-about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.stat-about-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.stat-about-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ff8c42;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-about-label {
    font-size: 0.9rem;
    color: #aaa;
    font-weight: 500;
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.contact-icon {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
    background: #fff4e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #eee;
    background: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    color: #555;
}

.pagination-btn:hover {
    border-color: #ff8c42;
    color: #ff8c42;
}

.pagination-btn.active {
    background: linear-gradient(135deg, #ffd93d, #ff8c42);
    border-color: transparent;
    color: white;
}

/* ============================================================
   PROFILE
   ============================================================ */
.profile-avatar-card {
    background: white;
    border-radius: 20px;
    padding: 28px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    text-align: center;
}

.profile-avatar-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto;
    overflow: hidden;
    border: 4px solid #fff4e8;
    box-shadow: 0 4px 15px rgba(255,140,66,0.2);
}

.profile-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
}

.profile-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    overflow: hidden;
}

.profile-card-header {
    padding: 16px 20px;
    font-weight: 700;
    font-size: 1rem;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}

.profile-card-body {
    padding: 24px;
}

.upload-avatar-box {
    background: #fff4e8;
    color: #ff8c42;
    border: 2px dashed #ff8c42;
    border-radius: 12px;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.upload-avatar-box:hover {
    background: #ff8c42;
    color: white;
}

/* ============================================================
   WISHLIST
   ============================================================ */
.wishlist-remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    color: #ff6b81;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 10;
}

.wishlist-remove-btn:hover {
    background: #ff6b81;
    color: white;
    transform: scale(1.1);
}

/* ============================================================
   ORDER LIST
   ============================================================ */
.order-list-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    overflow: hidden;
    transition: var(--transition);
}

.order-list-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.order-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}

.order-list-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff4e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.order-list-body {
    padding: 12px 20px;
}

.order-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.order-list-item:last-child {
    border-bottom: none;
}

.order-item-img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.order-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.order-list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-order-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-order-detail {
    background: #eff6ff;
    color: #3b82f6;
    border: 1.5px solid #bfdbfe;
}

.btn-order-detail:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.btn-order-invoice {
    background: #f0fdf4;
    color: #16a34a;
    border: 1.5px solid #bbf7d0;
}

.btn-order-invoice:hover {
    background: #16a34a;
    color: white;
    border-color: #16a34a;
    transform: translateY(-2px);
}

/* ============================================================
   ORDER DETAIL
   ============================================================ */
.order-detail-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    overflow: hidden;
}

.order-detail-card-header {
    padding: 14px 20px;
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}

.order-detail-card-body {
    padding: 20px;
}

.order-detail-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid #f5f5f5;
}

.order-detail-item:last-child {
    border-bottom: none;
}

.order-info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.9rem;
    gap: 12px;
}

.order-info-row:last-child {
    border-bottom: none;
}

.order-info-label {
    color: #aaa;
    min-width: 80px;
    flex-shrink: 0;
}

/* ============================================================
   DASHBOARD USER
   ============================================================ */
.dashboard-stat-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: var(--transition);
}

.dashboard-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.dashboard-stat-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.dashboard-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ff8c42;
    line-height: 1;
    margin-bottom: 4px;
}

.dashboard-stat-label {
    font-size: 0.8rem;
    color: #aaa;
    font-weight: 500;
}

.dashboard-menu-item {
    display: block;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition);
    text-decoration: none;
}

.dashboard-menu-item:last-child {
    border-bottom: none;
}

.dashboard-menu-item:hover {
    background: #fff4e8;
    color: #ff8c42;
    padding-left: 28px;
}

.stock-badge-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    border-radius: 20px;
    padding: 4px 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.payment-countdown {
    background: rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 12px 20px;
    display: inline-block;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}