/* =====================================================
   KIOSGAMES - DARK ORANGE NEON THEME (CLEAN VERSION)
   ===================================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* =====================================================
   CSS VARIABLES
   ===================================================== */
:root {
    /* Primary Colors */
    --neon-orange: #ff6b2c;
    --neon-orange-bright: #ff8c4c;
    --neon-orange-dark: #e55a1f;

    /* Background Colors */
    --bg-primary: #0d0d12;
    --bg-secondary: #14141c;
    --bg-card: rgba(20, 20, 28, 0.9);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    /* Border Colors */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 107, 44, 0.4);

    /* Typography */
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --container-max: 440px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Transitions */
    --transition: 0.2s ease;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Subtle gradient background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 107, 44, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

a {
    text-decoration: none;
    color: inherit;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* =====================================================
   MAIN CONTAINER
   ===================================================== */
.lynk-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 24px 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =====================================================
   HERO BANNER
   ===================================================== */
.hero-banner {
    position: relative;
    margin: -24px -16px 0;
    width: calc(100% + 32px);
    height: 250px;
    /* Specific height for better control */
    overflow: hidden;
    background: var(--bg-secondary);
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay Navigation */
.overlay-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent);
    z-index: 10;
}

.menu-button,
.cart-button-v2 {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.menu-button:hover,
.cart-button-v2:hover {
    background: rgba(255, 107, 44, 0.5);
}

.cart-button-v2 {
    position: relative;
}

.cart-button-v2 .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--neon-orange);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 0, 0, 0.3);
}

/* =====================================================
   PROFILE SECTION
   ===================================================== */
.profile-section {
    text-align: center;
    padding: 32px 0 24px;
}

.profile-section.with-banner {
    margin-top: -50px;
    padding-top: 0;
}

.avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--neon-orange);
    background: var(--bg-secondary);
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.profile-name span.name {
    color: var(--neon-orange);
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--neon-orange);
    border-radius: 50%;
}

.verified-badge svg {
    width: 12px;
    height: 12px;
    fill: white;
}

.profile-bio {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 300px;
    margin: 0 auto;
}

/* Profile Stats */
.profile-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 20px;
}

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

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--neon-orange);
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =====================================================
   SOCIAL ICONS
   ===================================================== */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.social-icon:hover {
    color: var(--neon-orange);
    border-color: var(--border-hover);
    background: rgba(255, 107, 44, 0.1);
}

/* =====================================================
   LINKS SECTION
   ===================================================== */
.links-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 32px;
}

/* Section Title */
.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 16px 0 8px;
}

.section-title::before,
.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
}

/* Product Grid (Homepage) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

/* Link Card (Redesigned for Grid) */
.link-card {
    display: block;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    overflow: hidden;
    text-decoration: none;
}

.link-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 107, 44, 0.15);
}

/* Link Icon (Now Full Width Banner) */
.link-icon {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neon-orange);
    flex-shrink: 0;
}

.link-icon svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.link-icon-img {
    background: var(--bg-primary);
}

.link-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Link Content */
.link-content {
    padding: 10px 6px;
    text-align: center;
}

.link-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-sold {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 360px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =====================================================
   FEATURED BANNER
   ===================================================== */
.featured-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, var(--neon-orange-dark), var(--neon-orange));
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 8px;
    position: relative;
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.2);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.65rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
}

.featured-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.featured-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.featured-text h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    margin-bottom: 2px;
}

.featured-text p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
}

.featured-banner-img {
    margin-bottom: 24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.featured-banner-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* =====================================================
   FOOTER
   ===================================================== */
.lynk-footer {
    text-align: center;
    padding: 24px 0;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.lynk-footer a {
    color: var(--neon-orange);
}

.lynk-footer a:hover {
    text-decoration: underline;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 4px;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 480px) {
    .lynk-container {
        padding: 16px 12px;
    }

    .profile-name {
        font-size: 1.3rem;
    }

    .profile-stats {
        gap: 24px;
    }
}

/* =====================================================
   SCROLLBAR
   ===================================================== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-orange);
    border-radius: var(--radius-full);
}

/* =====================================================
   PRODUCT CARD WITH PRICE LIST
   ===================================================== */
.product-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 10px;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.product-info {
    flex: 1;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.product-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 2px 0 0;
}

/* Price List */
.price-list {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: 4px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.price-item:hover {
    background: rgba(255, 107, 44, 0.08);
}

.item-name {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.item-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--neon-orange);
}

.no-items {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 12px;
}

.empty-message {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.empty-message a {
    color: var(--neon-orange);
}

/* =====================================================
   PRODUCT DETAIL PAGE
   ===================================================== */

/* Back Button */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 10px 0;
    margin-bottom: 16px;
    transition: var(--transition);
}

.back-button:hover {
    color: var(--neon-orange);
}

.back-button svg {
    stroke: currentColor;
}

/* Product Detail Header */
.product-detail-header {
    text-align: center;
    padding: 20px 0 30px;
}

.product-icon-large {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.product-icon-large svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.product-image-large {
    width: 200px;
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 0 auto 16px;
    box-shadow: 0 8px 24px rgba(255, 107, 44, 0.25);
}

.product-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.product-detail-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Price Section */
.price-section {
    flex: 1;
    padding-bottom: 24px;
}

.price-section-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

/* Price Grid */
.price-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.price-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0;
    /* Changed for flush image */
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    overflow: hidden;
    /* For image radius */
}

.price-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.price-card.selected {
    border-color: var(--neon-orange);
    box-shadow: 0 0 15px rgba(255, 107, 44, 0.2);
}

.price-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    margin: 0;
    overflow: hidden;
}

.price-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.price-info-padding {
    padding: 10px 6px 12px;
}

.price-name {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-value {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--neon-orange);
}

.empty-price {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

/* Contact CTA */
.contact-cta {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid var(--border-subtle);
}

.contact-cta p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

@media (max-width: 360px) {
    .price-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   TOP NAVIGATION & CART
   ===================================================== */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 10px;
}

.top-nav.home-nav {
    justify-content: flex-end;
}

.cart-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: var(--transition);
}

.cart-button:hover {
    color: var(--neon-orange);
    border-color: var(--border-hover);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    background: var(--neon-orange);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

/* Add to Cart Button */
.add-to-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    margin-top: 16px;
    background: var(--neon-orange);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart-btn:hover:not(:disabled) {
    background: var(--neon-orange-dark);
}

.add-to-cart-btn:disabled {
    background: var(--bg-secondary);
    color: var(--text-muted);
    cursor: not-allowed;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-secondary);
    border: 1px solid var(--neon-orange);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    z-index: 1000;
    transition: bottom 0.3s ease;
}

.toast.show {
    bottom: 30px;
}

/* =====================================================
   CART PAGE
   ===================================================== */
.cart-header {
    text-align: center;
    padding: 10px 0 20px;
}

.cart-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.cart-section {
    flex: 1;
}

/* Cart Item */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 10px;
}

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

.cart-item-product {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 2px;
}

.cart-item-name {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0 0 4px;
}

.cart-item-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--neon-orange);
    margin: 0;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Quantity Control */
.quantity-control {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.quantity-control button {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-control button:hover {
    background: var(--neon-orange);
    color: white;
}

.quantity-control span {
    width: 32px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.remove-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    transition: var(--transition);
}

.remove-btn:hover {
    color: #ef4444;
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

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

.empty-cart h3 {
    color: var(--text-primary);
    margin-bottom: 8px;
}

.empty-cart p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.btn-back-shop {
    display: inline-block;
    padding: 12px 24px;
    background: var(--neon-orange);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.btn-back-shop:hover {
    background: var(--neon-orange-dark);
}

/* Cart Summary */
.cart-summary {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-top: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.summary-row.total {
    border-top: 1px solid var(--border-subtle);
    margin-top: 8px;
    padding-top: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.summary-row.total span:last-child {
    color: var(--neon-orange);
}

.checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    margin-top: 16px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.checkout-btn:hover {
    opacity: 0.9;
}

.clear-cart-btn {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.85rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.clear-cart-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
}

/* =====================================================
   CHECKOUT PAGE
   ===================================================== */
.checkout-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
}

.checkout-section-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

/* Order Summary */
.order-summary {
    margin-bottom: 12px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
}

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

.order-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.order-item-product {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.order-item-name {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.order-item-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--neon-orange);
}

.order-total {
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.order-total span:last-child {
    color: var(--neon-orange);
}

/* Checkout Form */
.checkout-form .form-group {
    margin-bottom: 16px;
}

.checkout-form .form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.checkout-form .form-input,
.checkout-form .form-textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.checkout-form .form-input:focus,
.checkout-form .form-textarea:focus {
    outline: none;
    border-color: var(--neon-orange);
}

.checkout-form .form-input::placeholder,
.checkout-form .form-textarea::placeholder {
    color: var(--text-muted);
}

.checkout-form .form-textarea {
    resize: vertical;
    min-height: 80px;
}

.submit-order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    margin-top: 8px;
    background: var(--neon-orange);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.submit-order-btn:hover:not(:disabled) {
    background: var(--neon-orange-dark);
}

.submit-order-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* =====================================================
   SUCCESS PAGE
   ===================================================== */
.success-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.success-message {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.order-info-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    width: 100%;
    max-width: 360px;
    margin-bottom: 20px;
}

.order-number-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.order-number-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--neon-orange);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.order-details {
    text-align: left;
}

.order-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
}

.order-detail-row span:first-child {
    color: var(--text-muted);
}

.order-detail-row span:last-child {
    color: var(--text-primary);
    font-weight: 500;
}

.total-highlight {
    color: var(--neon-orange) !important;
    font-weight: 700 !important;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-pending {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.status-processing {
    background: rgba(33, 150, 243, 0.15);
    color: #2196f3;
}

.status-completed {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
}

.status-cancelled {
    background: rgba(244, 67, 54, 0.15);
    color: #f44336;
}

.order-items-summary {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 16px;
    width: 100%;
    max-width: 360px;
    margin-bottom: 20px;
    text-align: left;
}

.order-items-summary h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

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

.order-item-row span:last-child {
    color: var(--neon-orange);
    font-weight: 500;
}

.next-step-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 300px;
    margin-bottom: 24px;
}

.btn-back-home {
    display: inline-block;
    padding: 12px 32px;
    background: var(--neon-orange);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.btn-back-home:hover {
    background: var(--neon-orange-dark);
}

/* =====================================================
   ITEM DETAIL MODAL
   ===================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 24px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.modal-image {
    width: calc(100% + 48px);
    margin: -24px -24px 20px -24px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.modal-product {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.modal-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-orange);
    margin-bottom: 24px;
}

/* Quantity Selector in Modal */
.modal-qty-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.qty-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.qty-btn:hover {
    border-color: var(--neon-orange);
    color: var(--neon-orange);
}

#modalQtyValue {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 700;
    width: 60px;
    text-align: center;
    font-family: inherit;
    outline: none;
}

/* Hide arrow buttons in number input */
#modalQtyValue::-webkit-inner-spin-button,
#modalQtyValue::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#modalQtyValue {
    -moz-appearance: textfield;
    appearance: none;
}

.modal-add-btn {
    width: 100%;
    padding: 14px 24px;
    background: var(--neon-orange);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.modal-add-btn:hover {
    background: var(--neon-orange-dark);
}

/* =====================================================
   WHATSAPP FLOAT (MODERN CLEAN)
   ===================================================== */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(20, 20, 28, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 107, 44, 0.3);
    border-radius: 100px;
    padding: 8px 18px 8px 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4),
        inset 0 0 15px rgba(255, 107, 44, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wa-float:hover {
    transform: translateY(-5px);
    border-color: var(--neon-orange);
    box-shadow: 0 15px 35px rgba(255, 107, 44, 0.2);
    background: rgba(25, 25, 35, 0.95);
}

.wa-mascot-wrapper {
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--neon-orange);
    box-shadow: 0 0 15px rgba(255, 107, 44, 0.3);
}

.wa-mascot-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.1);
}

.wa-content {
    display: flex;
    flex-direction: column;
}

.wa-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
}

.wa-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Pulsing dot to show activity */
.wa-status-dot {
    width: 8px;
    height: 8px;
    background: #25d366;
    border-radius: 50%;
    margin-left: auto;
    box-shadow: 0 0 10px #25d366;
    animation: wa-blink 1.5s infinite;
}

@keyframes wa-blink {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }

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

@media (max-width: 480px) {
    .wa-float {
        bottom: 20px;
        right: 20px;
        padding: 6px 14px 6px 8px;
    }

    .wa-mascot-wrapper {
        width: 38px;
        height: 38px;
    }

    .wa-text {
        font-size: 0.85rem;
    }
}