/* ============================================
   FANTASTIC ICE CREAME - MAIN STYLES
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--color-text-black);
    background-color: var(--color-bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 254, 240, 0.95) 100%),
                url('../images/fic-bg-1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: radial-gradient(circle at 20% 50%, rgba(233, 30, 99, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255, 213, 79, 0.1) 0%, transparent 50%);
}

.stars-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    font-size: 2rem;
    color: var(--color-primary-pink);
    text-shadow: 0 0 10px rgba(233, 30, 99, 0.5);
    animation: twinkle 3s infinite ease-in-out;
}

.star:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; }
.star:nth-child(2) { top: 20%; right: 20%; animation-delay: 0.5s; }
.star:nth-child(3) { top: 60%; left: 10%; animation-delay: 1s; }
.star:nth-child(4) { top: 70%; right: 15%; animation-delay: 1.5s; }
.star:nth-child(5) { top: 40%; right: 50%; animation-delay: 2s; }

@keyframes twinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

.clouds-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
}

.cloud {
    position: absolute;
    font-size: 3rem;
    color: rgba(233, 30, 99, 0.2);
    animation: float 20s infinite ease-in-out;
}

.cloud-1 { top: 15%; left: -5%; animation-duration: 25s; }
.cloud-2 { top: 50%; left: -10%; animation-duration: 30s; animation-delay: 5s; }
.cloud-3 { top: 80%; left: -5%; animation-duration: 35s; animation-delay: 10s; }

@keyframes float {
    0% { transform: translateX(0); }
    100% { transform: translateX(110vw); }
}

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

.logo-container {
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

.logo {
    max-width: 600px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
    animation: pulse 4s infinite ease-in-out;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-primary-pink);
    text-shadow: 3px 3px 0 var(--color-primary-yellow),
                 6px 6px 15px rgba(233, 30, 99, 0.2);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-title .highlight {
    color: var(--color-chocolate-dark);
    text-shadow: 3px 3px 0 var(--color-primary-yellow),
                 6px 6px 15px rgba(255, 213, 79, 0.3);
}

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

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-text-dark-gray);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    font-size: 2rem;
    color: var(--color-primary-pink);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background-color: var(--color-primary-pink);
    color: var(--color-bg-white);
    border-color: var(--color-primary-pink);
}

.btn-primary:hover {
    background-color: var(--color-primary-pink-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
}

.btn-secondary {
    background-color: var(--color-primary-yellow-bright);
    color: var(--color-chocolate-dark);
    border-color: var(--color-primary-yellow);
}

.btn-secondary:hover {
    background-color: var(--color-primary-yellow);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 213, 79, 0.4);
}

.btn-large {
    padding: 1.3rem 3.5rem;
    font-size: 1.2rem;
}

/* ============================================
   SECTION STYLES
   ============================================ */

section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-primary-pink);
    margin-bottom: 1rem;
    text-shadow: 3px 3px 0 var(--color-primary-yellow),
                 5px 5px 10px rgba(233, 30, 99, 0.15);
}

.title-decoration {
    font-size: 3rem;
    margin: 1rem 0;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-medium-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   BRAND STORY SECTION
   ============================================ */

.brand-story {
    background-color: var(--color-bg-cream);
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.story-card {
    background: var(--color-bg-white);
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    border: 4px solid var(--color-primary-yellow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(233, 30, 99, 0.2);
    border-color: var(--color-primary-pink);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.story-card h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    color: var(--color-primary-pink);
    margin-bottom: 1rem;
}

.story-card p {
    color: var(--color-text-medium-gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ============================================
   FLAVORS SHOWCASE SECTION
   ============================================ */

.flavors-showcase {
    background: var(--color-bg-white);
}

.flavors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.flavor-card {
    background-color: var(--color-bg-white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
    border: 4px solid var(--color-primary-yellow);
}

.flavor-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(233, 30, 99, 0.25);
    border-color: var(--color-primary-pink);
}

.flavor-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.chocolate-swirl {
    background: linear-gradient(135deg, rgba(62, 39, 35, 0.9) 0%, rgba(141, 110, 99, 0.9) 100%),
                url('../images/fic-bg-1.png');
    background-size: cover;
    background-position: 10% center;
}

.strawberry-delight {
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.85) 0%, rgba(240, 98, 146, 0.85) 100%),
                url('../images/fic-bg-1.png');
    background-size: cover;
    background-position: 90% center;
}

.pistachio-magic {
    background: linear-gradient(135deg, rgba(156, 204, 101, 0.85) 0%, rgba(77, 184, 168, 0.85) 100%),
                url('../images/fic-bg-1.png');
    background-size: cover;
    background-position: center;
}

.fig-wonder {
    background: linear-gradient(135deg, rgba(106, 27, 154, 0.85) 0%, rgba(171, 71, 188, 0.85) 100%),
                url('../images/fic-bg-1.png');
    background-size: cover;
    background-position: 50% center;
}

.flavor-content {
    padding: 2rem;
    background: var(--color-bg-white);
}

.flavor-content h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.8rem;
    color: var(--color-primary-pink);
    margin-bottom: 0.8rem;
}

.flavor-desc {
    color: var(--color-text-medium-gray);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

.flavor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background-color: var(--color-primary-yellow);
    color: var(--color-chocolate-dark);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 213, 79, 0.3);
}

/* ============================================
   INGREDIENTS SECTION
   ============================================ */

.ingredients {
    background: linear-gradient(rgba(255, 254, 240, 0.95), rgba(255, 254, 240, 0.95)),
                url('../images/fic-bg-1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.ingredients-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.ingredient-category {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 25px;
    border: 4px solid var(--color-primary-yellow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.ingredient-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(233, 30, 99, 0.2);
    border-color: var(--color-primary-pink);
}

.category-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.ingredient-category h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    color: var(--color-primary-pink);
    text-align: center;
    margin-bottom: 1.5rem;
}

.ingredient-list {
    list-style: none;
}

.ingredient-list li {
    padding: 1rem 0;
    color: var(--color-text-dark-gray);
    font-size: 1.1rem;
    border-bottom: 2px solid var(--color-primary-yellow);
    transition: all 0.2s ease;
}

.ingredient-list li:last-child {
    border-bottom: none;
}

.ingredient-list li:before {
    content: "✓ ";
    color: var(--color-primary-pink);
    font-weight: bold;
    font-size: 1.4rem;
    margin-right: 0.7rem;
}

.ingredient-list li:hover {
    color: var(--color-primary-pink);
    padding-left: 1rem;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary-pink) 0%, var(--color-fig-purple) 100%);
    color: var(--color-bg-white);
    text-align: center;
    padding: 7rem 0;
    overflow: hidden;
}

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

.cta-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}

.cta-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.social-links {
    margin-top: 3rem;
}

.social-text {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--color-primary-yellow-bright);
}

.social-icons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    color: var(--color-bg-white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.7rem 1.8rem;
    border: 2px solid var(--color-primary-yellow);
    border-radius: 30px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background-color: var(--color-primary-yellow);
    color: var(--color-chocolate-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 213, 79, 0.4);
}

.decorative-elements .star.floating {
    position: absolute;
    font-size: 3rem;
    color: var(--color-primary-yellow-bright);
    animation: floatStar 6s infinite ease-in-out;
    opacity: 0.6;
}

.decorative-elements .star:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.decorative-elements .star:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.decorative-elements .star:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes floatStar {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--color-chocolate-dark);
    color: var(--color-bg-white);
    padding: 0.6rem 0;
    text-align: center;
}

.footer-content p {
    margin: 0.2rem 0;
    font-size: 0.8rem;
}

.footer-tagline {
    color: var(--color-primary-yellow);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: default;
    user-select: none;
}

.footer-admin-btn {
    display: none;
    margin-top: 0.4rem;
    padding: 0.3rem 0.9rem;
    background: var(--color-primary-yellow);
    color: var(--color-chocolate-dark);
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    text-decoration: none;
}

.footer-admin-btn:hover {
    opacity: 0.85;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */


/* ============================================
   NEW FLAVOR CARD IMAGES
   ============================================ */

.raspberry-ribbon {
    background: linear-gradient(135deg, rgba(171, 71, 188, 0.85) 0%, rgba(229, 57, 53, 0.85) 100%),
                url('../images/fic-bg-1.png');
    background-size: cover;
    background-position: center;
}

.rajbhog {
    background: linear-gradient(135deg, rgba(251, 140, 0, 0.88) 0%, rgba(253, 216, 53, 0.85) 100%),
                url('../images/fic-bg-1.png');
    background-size: cover;
    background-position: center;
}

.kaju-anjeer {
    background: linear-gradient(135deg, rgba(205, 133, 63, 0.88) 0%, rgba(106, 27, 154, 0.80) 100%),
                url('../images/fic-bg-1.png');
    background-size: cover;
    background-position: center;
}

/* ============================================
   FLAVOR INGREDIENTS PANEL
   ============================================ */

.flavor-ingredients {
    margin: 1.2rem 0 1rem;
    padding: 0.9rem 1rem;
    background: var(--color-bg-cream);
    border-radius: 16px;
    border: 2px solid var(--color-primary-yellow);
}

.ingredients-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    color: var(--color-primary-pink);
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.flavor-ingredient-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.flavor-ingredient-list li {
    background: var(--color-primary-yellow);
    color: var(--color-chocolate-dark);
    padding: 0.2rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(255, 213, 79, 0.3);
}

.flavor-ingredient-list li::before {
    content: "\2726 ";
    color: var(--color-primary-pink);
    font-size: 0.7rem;
}

/* ============================================
   SIZE SELECTOR
   ============================================ */

.size-selector {
    margin: 1rem 0;
}

.size-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    color: var(--color-chocolate-dark);
    font-weight: 600;
    margin-bottom: 0.7rem;
}

.size-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}

.size-option {
    cursor: pointer;
}

.size-option input[type="radio"] {
    display: none;
}

.size-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.55rem 0.4rem;
    border-radius: 14px;
    border: 3px solid var(--color-primary-yellow);
    background: var(--color-bg-white);
    transition: all 0.22s ease;
    cursor: pointer;
    text-align: center;
    gap: 0.2rem;
}

.size-btn:hover {
    border-color: var(--color-primary-pink-light);
    background: rgba(233, 30, 99, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.15);
}

.size-option input[type="radio"]:checked + .size-btn {
    background: var(--color-primary-pink);
    border-color: var(--color-primary-pink-dark);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
    transform: translateY(-2px);
}

.size-option input[type="radio"]:checked + .size-btn .size-name {
    color: var(--color-bg-white);
}

.size-option input[type="radio"]:checked + .size-btn .size-price {
    background: var(--color-primary-yellow);
    color: var(--color-chocolate-dark);
    text-shadow: none;
}

.size-name {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-chocolate-dark);
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.size-price {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary-pink);
    text-shadow: 1px 1px 0 var(--color-primary-yellow);
    background: var(--color-primary-yellow-bright);
    padding: 0.05rem 0.55rem;
    border-radius: 12px;
    line-height: 1.4;
}

/* ============================================
   QUANTITY TICKER & ADD TO CART ROW
   ============================================ */

.quantity-cart {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.1rem;
    flex-wrap: wrap;
}

.quantity-ticker {
    display: flex;
    align-items: center;
    background: var(--color-bg-cream);
    border: 3px solid var(--color-primary-yellow);
    border-radius: 50px;
    overflow: hidden;
    flex-shrink: 0;
}

.qty-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary-pink);
    transition: background 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

.qty-btn:hover {
    background: var(--color-primary-pink);
    color: var(--color-bg-white);
}

.qty-display {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-chocolate-dark);
    min-width: 34px;
    text-align: center;
    padding: 0 0.25rem;
    user-select: none;
}

.add-to-cart-btn {
    flex: 1;
    min-width: 130px;
    padding: 0.75rem 1rem !important;
    font-size: 0.88rem !important;
    letter-spacing: 0.5px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

/* ============================================
   CART TOAST NOTIFICATION
   ============================================ */

.cart-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--color-primary-pink);
    color: var(--color-bg-white);
    padding: 0.9rem 1.4rem;
    border-radius: 18px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.45);
    z-index: 9999;
    border: 3px solid var(--color-primary-yellow);
    transform: translateY(120px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.4s ease;
    max-width: 320px;
    pointer-events: none;
}

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

/* ============================================
   RESPONSIVE - NEW SHOP ELEMENTS
   ============================================ */


/* ============================================
   NAVIGATION BAR
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 3px solid var(--color-primary-yellow);
    box-shadow: 0 2px 20px rgba(233, 30, 99, 0.10);
}

.nav-container {
    display: flex;
    align-items: center;
    height: 72px;
    gap: 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.nav-logo img {
    height: 54px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.nav-logo:hover img {
    transform: scale(1.06);
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.3rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-chocolate-dark);
    text-decoration: none;
    padding: 0.45rem 1.1rem;
    border-radius: 25px;
    transition: all 0.22s ease;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    background: var(--color-primary-pink);
    color: var(--color-bg-white);
    box-shadow: 0 4px 14px rgba(233, 30, 99, 0.28);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.nav-icon-btn {
    background: transparent;
    border: 2.5px solid var(--color-primary-yellow);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-primary-pink);
    transition: all 0.22s ease;
    flex-shrink: 0;
}

.nav-icon-btn:hover {
    background: var(--color-primary-pink);
    border-color: var(--color-primary-pink);
    color: var(--color-bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(233, 30, 99, 0.3);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 2.5px solid var(--color-primary-yellow);
    border-radius: 10px;
    padding: 8px 9px;
    cursor: pointer;
    transition: all 0.22s ease;
    flex-shrink: 0;
}

.nav-hamburger span {
    display: block;
    width: 21px;
    height: 2.5px;
    background: var(--color-primary-pink);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-hamburger:hover,
.nav-hamburger.open {
    background: var(--color-primary-pink);
    border-color: var(--color-primary-pink);
}

.nav-hamburger:hover span,
.nav-hamburger.open span {
    background: var(--color-bg-white);
}

/* Offset first section for fixed navbar */
.hero {
    padding-top: 72px;
}

.construction-section {
    padding-top: calc(72px + 3rem);
}

/* ============================================
   NAVBAR — MOBILE SLIDE-IN PANEL
   ============================================ */

/* Raise navbar above the panel */
.navbar { z-index: 1002; }

/* Overlay backdrop — starts below navbar */
.nav-overlay {
    display: none;
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1000;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.nav-overlay.open { display: block; }


/* ============================================
   UNDER CONSTRUCTION PAGE
   ============================================ */

.construction-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--color-bg-cream) 0%, rgba(255, 213, 79, 0.12) 50%, rgba(233, 30, 99, 0.06) 100%);
    overflow: hidden;
    padding-bottom: 4rem;
}

.construction-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.c-star {
    position: absolute;
    font-size: 2rem;
    color: var(--color-primary-pink);
    opacity: 0.25;
    animation: twinkle 3s infinite ease-in-out;
}

.c-star:nth-child(2) { animation-delay: 0.7s; font-size: 1.4rem; }
.c-star:nth-child(3) { animation-delay: 1.3s; font-size: 1.7rem; }
.c-star:nth-child(4) { animation-delay: 2s;   font-size: 1.2rem; }
.c-star:nth-child(5) { animation-delay: 0.4s; font-size: 2.2rem; }
.c-star:nth-child(6) { animation-delay: 1.6s; font-size: 1.5rem; }

.construction-clouds {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.c-cloud {
    position: absolute;
    font-size: 3rem;
    color: var(--color-primary-pink);
    opacity: 0.10;
}

.construction-content {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 2rem 1rem;
}

.cone-wrap {
    margin-bottom: 1.5rem;
    animation: pulse 4s infinite ease-in-out;
    display: inline-block;
}

.construction-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-primary-pink);
    text-shadow: 3px 3px 0 var(--color-primary-yellow),
                 6px 6px 15px rgba(233, 30, 99, 0.18);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.construction-subtitle {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.45rem;
    color: var(--color-chocolate-dark);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.construction-desc {
    font-size: 1.05rem;
    color: var(--color-text-medium-gray);
    margin-bottom: 2.2rem;
    line-height: 1.7;
}


/* ============================================
   NAVBAR — AUTH STATE
   ============================================ */

.nav-icon-btn.logged-in {
    background: var(--color-primary-pink);
    border-color: var(--color-primary-pink);
    color: var(--color-bg-white);
}

.nav-initials {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ============================================
   LOADING SKELETON
   ============================================ */

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

.flavors-loading,
.orders-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 1rem;
    gap: 1.2rem;
}

.loading-spinner {
    width: 56px;
    height: 56px;
    border: 5px solid var(--color-primary-yellow);
    border-top-color: var(--color-primary-pink);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.2rem;
    color: var(--color-text-medium-gray);
}

.flavors-error,
.orders-error {
    grid-column: 1 / -1;
    text-align: center;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.2rem;
    color: var(--color-primary-pink);
    padding: 4rem 1rem;
}

/* ============================================
   AUTH PAGE (login.html)
   ============================================ */

.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(72px + 2rem) 1rem 3rem;
    position: relative;
    background: linear-gradient(135deg,
        var(--color-bg-cream) 0%,
        rgba(255, 213, 79, 0.10) 50%,
        rgba(233, 30, 99, 0.06) 100%);
    overflow: hidden;
}

.auth-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.a-star {
    position: absolute;
    font-size: 1.8rem;
    color: var(--color-primary-pink);
    opacity: 0.18;
    animation: twinkle 3s infinite ease-in-out;
}
.a-star:nth-child(2) { animation-delay: .6s; font-size: 1.3rem; }
.a-star:nth-child(3) { animation-delay: 1.2s; font-size: 1.5rem; }
.a-star:nth-child(4) { animation-delay: 1.8s; font-size: 1.1rem; }
.a-star:nth-child(5) { animation-delay: .3s; font-size: 2rem; }
.a-star:nth-child(6) { animation-delay: 2.1s; }

.auth-card {
    background: var(--color-bg-white);
    border-radius: 28px;
    border: 4px solid var(--color-primary-yellow);
    box-shadow: 0 20px 60px rgba(233, 30, 99, 0.12);
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 2;
}

.auth-logo {
    display: block;
    text-align: center;
    margin-bottom: 1.6rem;
}

.auth-logo img {
    height: 72px;
    width: auto;
}

/* Tabs */
.auth-tabs {
    display: flex;
    background: var(--color-bg-cream);
    border-radius: 50px;
    padding: 4px;
    margin-bottom: 1.8rem;
    border: 2px solid var(--color-primary-yellow);
}

.auth-tab {
    flex: 1;
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 50px;
    background: transparent;
    color: var(--color-text-medium-gray);
    cursor: pointer;
    transition: all 0.25s ease;
}

.auth-tab.active {
    background: var(--color-primary-pink);
    color: var(--color-bg-white);
    box-shadow: 0 4px 14px rgba(233, 30, 99, 0.3);
}

/* Forms */
.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-chocolate-dark);
    margin-bottom: 0.35rem;
}

.input-wrap {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2.5px solid var(--color-primary-yellow);
    border-radius: 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: var(--color-text-dark-gray);
    background: var(--color-bg-white);
    outline: none;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
    box-sizing: border-box;
}

.form-input:focus {
    border-color: var(--color-primary-pink);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.10);
}

.toggle-pw {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.85rem;
    color: var(--color-primary-pink);
    cursor: pointer;
    font-weight: 600;
    padding: 0;
}

.auth-error {
    font-size: 0.9rem;
    color: var(--color-strawberry-red);
    margin-bottom: 0.8rem;
    display: none;
    font-weight: 500;
    padding: 0.5rem 0.8rem;
    background: rgba(229, 57, 53, 0.07);
    border-radius: 10px;
    border-left: 3px solid var(--color-strawberry-red);
}

.auth-submit {
    width: 100%;
    margin-top: 0.4rem;
    padding: 0.9rem !important;
    font-size: 1rem !important;
}

.auth-footer-text {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-medium-gray);
}

.auth-link {
    color: var(--color-primary-pink);
    text-decoration: none;
    font-weight: 600;
}

.auth-link:hover { text-decoration: underline; }


/* ============================================
   ACCOUNT PAGE (account.html)
   ============================================ */

.account-hero {
    padding: calc(72px + 2.5rem) 0 3rem;
    background: linear-gradient(135deg, var(--color-primary-pink) 0%, var(--color-fig-purple) 100%);
    position: relative;
    overflow: hidden;
}

.account-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.account-hero-content {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    flex-wrap: wrap;
}

.user-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--color-primary-yellow);
    color: var(--color-chocolate-dark);
    font-family: 'Fredoka', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    border: 3px solid rgba(255,255,255,0.4);
}

.account-hero-info {
    flex: 1;
}

.account-greeting {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-bg-white);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.15);
    margin-bottom: 0.2rem;
}

.account-email {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
}

.account-signout {
    margin-left: auto;
    flex-shrink: 0;
}

/* Orders section */
.account-orders-section {
    padding: 4rem 0 6rem;
    background: var(--color-bg-cream);
}

.account-section-header {
    margin-bottom: 2.5rem;
}

.account-section-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-primary-pink);
    text-shadow: 2px 2px 0 var(--color-primary-yellow);
}

.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.8rem;
}

/* Order card */
.order-card {
    background: var(--color-bg-white);
    border-radius: 20px;
    border: 3px solid var(--color-primary-yellow);
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.order-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(233, 30, 99, 0.15);
}

.order-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    border-bottom: 2px solid var(--color-primary-yellow);
    background: var(--color-bg-cream);
}

.order-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.order-id {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-chocolate-dark);
}

.order-date {
    font-size: 0.82rem;
    color: var(--color-text-medium-gray);
}

/* Status badges */
.order-status {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    text-transform: capitalize;
}

.status-pending   { background: #fff8e1; color: #f9a825; border: 2px solid #f9a825; }
.status-confirmed { background: #e3f2fd; color: #1976d2; border: 2px solid #1976d2; }
.status-preparing { background: #fff3e0; color: #e65100; border: 2px solid #e65100; }
.status-ready     { background: #e8f5e9; color: #2e7d32; border: 2px solid #2e7d32; }
.status-delivered { background: #e8f5e9; color: #1b5e20; border: 2px solid #1b5e20; }
.status-cancelled { background: #fce4ec; color: #b71c1c; border: 2px solid #b71c1c; }

/* Order items */
.order-items {
    padding: 0.8rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
}

.order-item-name {
    font-weight: 600;
    color: var(--color-chocolate-dark);
    flex: 1;
}

.order-item-detail {
    color: var(--color-text-medium-gray);
    font-size: 0.85rem;
}

.order-item-price {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    color: var(--color-primary-pink);
    font-size: 0.95rem;
}

.order-no-items {
    font-size: 0.9rem;
    color: var(--color-text-light-gray);
    font-style: italic;
}

/* Order footer */
.order-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.2rem;
    border-top: 2px solid var(--color-primary-yellow);
    background: var(--color-bg-cream);
}

.order-type-badge {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text-medium-gray);
    background: var(--color-bg-white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    border: 2px solid var(--color-primary-yellow);
    text-transform: capitalize;
}

.order-total {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-chocolate-dark);
}

/* Empty state */
.orders-empty {
    text-align: center;
    padding: 4rem 1rem;
}

.empty-cone {
    margin-bottom: 1.5rem;
    display: inline-block;
    opacity: 0.5;
}

.empty-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    color: var(--color-primary-pink);
    margin-bottom: 0.5rem;
}

.empty-desc {
    font-size: 1rem;
    color: var(--color-text-medium-gray);
    margin-bottom: 2rem;
}


/* ============================================
   CART BADGE & DROPDOWN
   ============================================ */

.cart-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;   /* keeps icon vertically centred in nav row */
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--color-primary-pink);
    color: #fff;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    pointer-events: none;
    z-index: 10;
    line-height: 1;
    padding: 0 3px;
}

.cart-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 310px;
    background: #fff;
    border: 2px solid var(--color-primary-yellow);
    border-radius: 18px;
    box-shadow: 0 16px 48px rgba(233, 30, 99, 0.18);
    z-index: 9999;
    overflow: hidden;
    animation: cartSlideIn 0.18s ease;
}

.cart-dropdown.open {
    display: block;
}

@keyframes cartSlideIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cart-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-bottom: 2px solid var(--color-primary-yellow);
    background: var(--color-bg-cream);
}

.cart-dropdown-header > span:first-child {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-chocolate-dark);
}

.cart-count-pill {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-chocolate-dark);
    background: var(--color-primary-yellow);
    padding: 0.1rem 0.6rem;
    border-radius: 20px;
}

.cart-items-list {
    max-height: 260px;
    overflow-y: auto;
    padding: 0.35rem 0;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 1rem;
    border-bottom: 1px solid var(--color-bg-light-gray);
    gap: 0.5rem;
}

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

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-chocolate-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-meta {
    font-size: 0.75rem;
    color: var(--color-text-medium-gray);
}

.cart-item-right {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

.cart-item-price {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary-pink);
}

.cart-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-light-gray);
    font-size: 1.1rem;
    line-height: 1;
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}

.cart-item-remove:hover {
    color: var(--color-primary-pink);
    background: var(--color-overlay-pink-light);
}

.cart-dropdown-footer {
    padding: 0.85rem 1rem;
    border-top: 2px solid var(--color-primary-yellow);
    background: var(--color-bg-cream);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-chocolate-dark);
}

.cart-subtotal span:last-child {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.05rem;
    color: var(--color-primary-pink);
}

/* Checkout button — must override the global .btn large padding */
a.cart-checkout-btn.btn.btn-primary,
.cart-checkout-btn {
    display: block !important;
    width: 100%;
    text-align: center;
    padding: 0.65rem 1rem !important;
    border-radius: 30px;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.95rem !important;
    font-weight: 600;
    text-decoration: none;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: none;
    background-color: var(--color-primary-pink);
    color: #fff;
    border-color: var(--color-primary-pink);
    box-sizing: border-box;
}

.cart-checkout-btn:hover {
    background-color: var(--color-primary-pink-dark) !important;
    border-color: var(--color-primary-pink-dark) !important;
    transform: none;
}

.cart-empty {
    text-align: center;
    padding: 2rem 1rem;
}

.cart-empty-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.cart-empty p {
    font-size: 0.85rem;
    color: var(--color-text-light-gray);
    margin: 0;
}

/* Mobile: keep dropdown on screen */


/* ============================================
   CHECKOUT PAGE
   ============================================ */

.chk-section {
    min-height: 100vh;
    padding: 7rem 0 4rem;
    background: linear-gradient(135deg, var(--color-bg-white) 0%, var(--color-bg-cream) 100%);
}

.chk-page-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-chocolate-dark);
    text-align: center;
    margin-bottom: 2rem;
}

/* ── Step indicator ── */
.chk-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2.5rem;
}

.chk-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.chk-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    border: 2.5px solid #ddd;
    color: #aaa;
    background: #fff;
    transition: all 0.25s ease;
}

.chk-step.active .chk-circle {
    background: var(--color-primary-pink);
    border-color: var(--color-primary-pink);
    color: #fff;
    box-shadow: 0 4px 16px rgba(233, 30, 99, 0.3);
}

.chk-step.done .chk-circle {
    background: var(--color-primary-pink);
    border-color: var(--color-primary-pink);
    color: #fff;
}

.chk-step-lbl {
    font-size: 0.78rem;
    font-weight: 600;
    color: #aaa;
    white-space: nowrap;
}

.chk-step.active .chk-step-lbl,
.chk-step.done .chk-step-lbl {
    color: var(--color-primary-pink);
}

.chk-connector {
    flex: 1;
    max-width: 80px;
    height: 2.5px;
    background: #ddd;
    margin: 0 6px;
    margin-bottom: 20px;
    transition: background 0.25s ease;
}

.chk-connector.done {
    background: var(--color-primary-pink);
}

/* ── Two-column layout ── */
.chk-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
}

/* ── Panels ── */
.chk-panels { min-width: 0; }

.chk-panel {
    display: none;
    background: #fff;
    border: 2px solid var(--color-primary-yellow);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(233, 30, 99, 0.08);
}

.chk-panel.active { display: block; }

.chk-panel-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-chocolate-dark);
    margin-bottom: 1.4rem;
}

.chk-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1.5px solid #a5d6a7;
    border-radius: 10px;
    padding: 0.65rem 1rem;
    font-size: 0.88rem;
    margin-bottom: 1.2rem;
}

.chk-notice a { color: var(--color-primary-pink); font-weight: 600; }

/* ── Form fields ── */
.chk-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0;
}

.chk-row-3 {
    grid-template-columns: 1fr 80px 100px;
}

.chk-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.chk-field label {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--color-text-dark-gray);
}

.field-note {
    font-weight: 400;
    color: var(--color-text-light-gray);
    font-size: 0.78rem;
    margin-left: 0.3rem;
}

.chk-field input {
    width: 100%;
    padding: 0.72rem 1rem;
    border: 2px solid var(--color-primary-yellow);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    color: var(--color-text-black);
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.chk-field input:focus {
    border-color: var(--color-primary-pink);
}

.chk-field input[readonly] {
    background: var(--color-bg-light-gray);
    cursor: not-allowed;
}

/* ── Create account toggle ── */
.chk-create-acct {
    margin: 1.2rem 0 1rem;
    padding: 1rem 1.2rem;
    border: 2px dashed var(--color-primary-yellow);
    border-radius: 14px;
    background: var(--color-bg-cream);
}

.chk-toggle-row {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
}

.chk-toggle-row input[type="checkbox"] {
    display: none;
}

.chk-toggle-box {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 6px;
    border: 2.5px solid var(--color-primary-yellow);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    transition: all 0.2s;
}

.chk-toggle-row input[type="checkbox"]:checked ~ .chk-toggle-box {
    background: var(--color-primary-pink);
    border-color: var(--color-primary-pink);
}

.chk-toggle-row input[type="checkbox"]:checked ~ .chk-toggle-box::after {
    content: '✓';
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

.chk-toggle-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.chk-toggle-text strong {
    font-size: 0.9rem;
    color: var(--color-chocolate-dark);
}

.chk-toggle-text span {
    font-size: 0.8rem;
    color: var(--color-text-medium-gray);
}

.chk-acct-fields {
    margin-top: 1rem;
    border-top: 1px solid var(--color-primary-yellow);
    padding-top: 1rem;
}

/* ── Option cards (pickup/delivery, payment) ── */
.chk-option-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.chk-option-card {
    border: 2px solid var(--color-primary-yellow);
    border-radius: 14px;
    padding: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    display: block;
}

.chk-option-card:hover {
    border-color: var(--color-primary-pink-light);
    background: var(--color-overlay-pink-light);
}

.chk-option-card.selected {
    border-color: var(--color-primary-pink);
    background: rgba(233, 30, 99, 0.04);
    box-shadow: 0 4px 18px rgba(233, 30, 99, 0.14);
}

.chk-option-card input[type="radio"] {
    display: none;
}

.chk-opt-body {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.chk-opt-icon {
    font-size: 1.8rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.chk-opt-text { flex: 1; }

.chk-opt-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
    flex-wrap: wrap;
}

.chk-opt-header strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-chocolate-dark);
}

.chk-opt-text p {
    font-size: 0.8rem;
    color: var(--color-text-medium-gray);
    margin: 0;
    line-height: 1.4;
}

.chk-price-tag {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.1rem 0.6rem;
    border-radius: 20px;
    background: var(--color-primary-yellow);
    color: var(--color-chocolate-dark);
}

.chk-price-tag.free {
    background: #e8f5e9;
    color: #2e7d32;
}

/* ── Delivery address ── */
.chk-delivery-addr {
    margin-top: 1rem;
    padding: 1rem 1.2rem;
    background: var(--color-bg-cream);
    border: 2px solid var(--color-primary-yellow);
    border-radius: 14px;
}

.chk-addr-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-chocolate-dark);
    margin-bottom: 0.8rem;
}

/* ── Error ── */
.chk-error {
    color: var(--color-error);
    font-size: 0.85rem;
    font-weight: 600;
    min-height: 1.2em;
    margin-bottom: 0.5rem;
}

/* ── Action buttons ── */
.chk-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 2px solid var(--color-bg-light-gray);
}

.chk-btn-ghost {
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text-medium-gray);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.2s;
}

.chk-btn-ghost:hover { color: var(--color-primary-pink); }

.chk-btn-next {
    background: var(--color-primary-pink);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 0.75rem 2rem;
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.3px;
}

.chk-btn-next:hover {
    background: var(--color-primary-pink-dark);
    transform: translateY(-1px);
}

.chk-btn-place {
    background: var(--color-primary-yellow);
    color: var(--color-chocolate-dark);
    border: none;
    border-radius: 30px;
    padding: 0.85rem 2.2rem;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 16px rgba(255, 213, 79, 0.5);
}

.chk-btn-place:hover:not(:disabled) {
    background: var(--color-primary-yellow-dark);
    transform: translateY(-2px);
}

.chk-btn-place:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ── Order Summary Sidebar ── */
.chk-summary {
    background: #fff;
    border: 2px solid var(--color-primary-yellow);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(233, 30, 99, 0.08);
    position: sticky;
    top: 90px;
}

.chk-sum-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-chocolate-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-primary-yellow);
}

.sum-items {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.sum-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.sum-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
    min-width: 0;
}

.sum-item-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-chocolate-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sum-item-meta {
    font-size: 0.75rem;
    color: var(--color-text-medium-gray);
}

.sum-item-price {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--color-primary-pink);
    flex-shrink: 0;
}

.sum-empty {
    font-size: 0.85rem;
    color: var(--color-text-light-gray);
    text-align: center;
    padding: 0.5rem 0;
}

.sum-lines {
    border-top: 2px solid var(--color-primary-yellow);
    padding-top: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sum-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: var(--color-text-dark-gray);
}

.sum-del-line { color: var(--color-text-medium-gray); }

.sum-total-line {
    border-top: 1px solid var(--color-bg-light-gray);
    padding-top: 0.6rem;
    margin-top: 0.2rem;
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--color-chocolate-dark);
}

.sum-total-line span:last-child {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.15rem;
    color: var(--color-primary-pink);
}

/* ── Checkout responsive ── */


/* ============================================
   CONFIRMATION PAGE
   ============================================ */

.conf-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 0 4rem;
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.97) 0%, rgba(255,254,240,0.97) 100%);
    overflow: hidden;
}

.conf-stars {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}

.conf-section .c-star {
    position: absolute;
    font-size: 2rem;
    color: var(--color-primary-yellow);
    animation: twinkle 3s infinite ease-in-out;
}

.conf-card {
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid var(--color-primary-yellow);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 16px 56px rgba(233, 30, 99, 0.12);
}

.conf-checkmark {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--color-primary-pink);
    color: #fff;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    box-shadow: 0 6px 24px rgba(233, 30, 99, 0.35);
}

.conf-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-chocolate-dark);
    margin-bottom: 0.5rem;
}

.conf-greeting {
    font-size: 1rem;
    color: var(--color-text-medium-gray);
    margin-bottom: 1.5rem;
}

.conf-number-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    background: var(--color-bg-cream);
    border: 2px dashed var(--color-primary-yellow);
    border-radius: 14px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.conf-number-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.conf-number {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary-pink);
    letter-spacing: 0.05em;
}

.conf-message {
    font-size: 0.95rem;
    color: var(--color-text-dark-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.conf-total-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-bg-light-gray);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    margin-bottom: 1.5rem;
}

.conf-total-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-dark-gray);
}

.conf-total-amount {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary-pink);
}

.conf-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.conf-btn {
    padding: 0.7rem 1.6rem !important;
    font-size: 0.92rem !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    border-radius: 30px;
}

.conf-note {
    font-size: 0.8rem;
    color: var(--color-text-light-gray);
    margin: 0;
}

/* ============================================
   GLOBAL MOBILE IMPROVEMENTS
   ============================================ */

/* ── Small phone tweaks (≤ 480px) ── */


/* ── Tablet (769px – 1024px) general ── */


/* ============================================
   PROFILE DROPDOWN
   ============================================ */

/* Hide mobile-only nav items on desktop */
.nav-mob-divider,
.nav-mob-auth-item {
    display: none !important;
}


/* Profile wrapper — mirrors .cart-wrapper */
.profile-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Dropdown panel — same look as cart dropdown */
.profile-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 230px;
    background: #fff;
    border: 2px solid var(--color-primary-yellow);
    border-radius: 18px;
    box-shadow: 0 16px 48px rgba(233, 30, 99, 0.18);
    z-index: 9999;
    overflow: hidden;
    animation: cartSlideIn 0.18s ease;
}

.profile-dropdown.open { display: block; }

/* Header row (logged-in state) */
.pdrop-header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
    background: var(--color-bg-cream);
    border-bottom: 2px solid var(--color-primary-yellow);
}

.pdrop-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: var(--color-primary-pink);
    color: #fff;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdrop-info {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    min-width: 0;
}

.pdrop-name {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-chocolate-dark);
    line-height: 1.2;
}

.pdrop-email {
    font-size: 0.72rem;
    color: var(--color-text-medium-gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Guest message */
.pdrop-guest-msg {
    padding: 0.85rem 1rem 0.4rem;
    font-size: 0.82rem;
    color: var(--color-text-medium-gray);
    text-align: center;
    margin: 0;
    background: var(--color-bg-cream);
    border-bottom: 2px solid var(--color-primary-yellow);
}

/* Menu items */
.pdrop-item {
    display: block;
    padding: 0.65rem 1rem;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-chocolate-dark);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.pdrop-item:hover {
    background: var(--color-overlay-pink-light);
    color: var(--color-primary-pink);
}

.pdrop-item-primary {
    color: var(--color-primary-pink);
    text-align: center;
    padding: 0.75rem 1rem;
}

.pdrop-logout {
    border-top: 1px solid var(--color-bg-light-gray);
    color: var(--color-text-medium-gray);
}

.pdrop-logout:hover {
    background: #fce4ec !important;
    color: #b71c1c !important;
}
