/* ================================
   DAPPFLORIST - KARANGAN BUNGA BOGOR
   E-Commerce CSS - PHP Native
   Mobile-First, Fresh & Natural Design
   ================================ */

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

:root {
    /* Flower Shop Colors - Fresh & Natural */
    --primary: #E91E63;
    --primary-dark: #C2185B;
    --primary-light: #F8BBD0;
    --secondary: #4CAF50;
    --secondary-dark: #388E3C;
    --accent: #FFF3E0;
    --accent-dark: #FFE0B2;
    --dark: #1A1A1A;
    --text: #2C2C2C;
    --light-bg: #FAFAFA;
    --white: #FFFFFF;
    --error: #D32F2F;
    --success: #66BB6A;
    --shadow: rgba(233, 30, 99, 0.12);
    --shadow-hover: rgba(233, 30, 99, 0.25);
    
    /* Typography */
    --font-main: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
}

body {
    font-family: var(--font-main);
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

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

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

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

/* ===== HEADER ===== */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 18px 0;
    border-bottom: 2px solid var(--accent);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    margin: 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo a:hover {
    opacity: 0.8;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: bold;
    line-height: 1.2;
    display: block;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.main-nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

.main-nav a {
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--primary);
}

.btn-whatsapp-nav {
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    color: white !important;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-nav:hover {
    background: linear-gradient(135deg, #20BA5A 0%, #1DA851 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-whatsapp-order {
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-order:hover {
    background: linear-gradient(135deg, #20BA5A 0%, #1DA851 100%);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 650px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.95) 0%, rgba(194, 24, 91, 0.95) 100%);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 25px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.4);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.98);
    margin-bottom: 35px;
    line-height: 1.7;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

.hero-trust {
    margin-top: 25px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.dot.active,
.dot:hover {
    background: var(--white);
    width: 40px;
    border-radius: 6px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== SECTIONS ===== */
.about, .products, .how-to-order {
    padding: 60px 0;
}

.about {
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
                url('https://images.unsplash.com/photo-1559181567-c3190ca9959b?w=1600&q=80') center/cover no-repeat fixed;
    position: relative;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #1A1A1A;
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle, .section-intro {
    text-align: center;
    color: var(--text);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--white);
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px var(--shadow);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(233, 30, 99, 0.2));
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 700;
}

/* ===== PRODUCTS GRID ===== */
.products {
    background: linear-gradient(to bottom, var(--light-bg) 0%, var(--accent) 100%);
    position: relative;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 35px var(--shadow-hover);
    border-color: var(--primary-light);
}

.product-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background: var(--accent);
}

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

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.product-description {
    color: var(--text);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.product-price {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 20px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions .btn-primary,
.product-actions .btn-secondary {
    flex: 1;
    padding: 10px 15px;
    font-size: 0.95rem;
}

/* ===== HOW TO ORDER ===== */
.how-to-order {
    background: var(--white);
    position: relative;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--accent) 100%);
    padding: 35px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border: 2px solid var(--accent-dark);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 6px 15px var(--shadow);
}

.step-card h3 {
    font-size: 1.3rem;
    color: #1A1A1A;
    margin-bottom: 10px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #880E4F 100%),
                url('https://images.unsplash.com/photo-1518709268805-4e9042af9f23?w=1600&q=80') center/cover no-repeat fixed;
    color: var(--white);
    padding: 90px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.cta-section .btn-primary:hover {
    background: var(--accent);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

/* ===== PRODUCT DETAIL ===== */
.product-detail {
    padding: 40px 0;
}

.breadcrumb {
    margin-bottom: 30px;
    color: var(--text);
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb span {
    margin: 0 8px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.product-image-large {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-image-large img {
    width: 100%;
    height: auto;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.product-price-large {
    font-size: 2rem;
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 30px;
}

.product-description-full h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.product-description-full p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.product-features ul {
    list-style: none;
    margin: 20px 0;
}

.product-features li {
    padding: 10px 0;
    color: var(--text);
    font-size: 1.05rem;
}

.product-cta {
    margin-top: 30px;
    padding: 30px;
    background: var(--light-bg);
    border-radius: 12px;
}

.order-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text);
    text-align: center;
}

.related-products {
    margin-top: 60px;
}

.related-products h2 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 30px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.footer-contact a {
    color: var(--primary);
}

/* Social Media Links */
.social-media-links {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.social-media-links h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
}

.social-link:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.15);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.facebook:hover {
    background: #1877f2;
}

.social-link.tiktok:hover {
    background: linear-gradient(135deg, #00f2ea 0%, #ff0050 50%, #000000 100%);
}

.social-link svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.social-link span {
    flex: 1;
}

@media (max-width: 768px) {
    .social-icons {
        gap: 10px;
    }
    
    .social-link {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    .social-link svg {
        width: 24px;
        height: 24px;
    }
}

.footer-map {
    margin: 40px 0 30px;
}

.footer-map h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-align: center;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
    display: block;
    border-radius: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

/* ===== FLOATING SOCIAL BUTTONS ===== */
.social-float-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    display: none; /* Hidden by default, shown on mobile */
    flex-direction: column;
    gap: 12px;
}

.social-float-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    text-decoration: none;
    color: white;
}

.social-float-btn:hover {
    transform: scale(1.15) rotate(5deg);
}

.social-float-btn.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
}

.social-float-btn.whatsapp:hover {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.7);
}

.social-float-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-float-btn.instagram:hover {
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.6);
}

.social-float-btn.facebook {
    background: #1877f2;
}

.social-float-btn.facebook:hover {
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.6);
}

.social-float-btn.tiktok {
    background: linear-gradient(135deg, #00f2ea 0%, #ff0050 100%);
}

.social-float-btn.tiktok:hover {
    box-shadow: 0 6px 20px rgba(255, 0, 80, 0.6);
}

.social-float-btn.maps {
    background: #EA4335;
}

.social-float-btn.maps:hover {
    box-shadow: 0 6px 20px rgba(234, 67, 53, 0.6);
}

.social-float-btn svg {
    width: 28px;
    height: 28px;
}

/* Legacy WhatsApp float button - hidden when social container is visible */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
}

/* ===== WHATSAPP ADMIN MODAL ===== */
.wa-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

.wa-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.wa-modal-content {
    background: white;
    border-radius: 20px;
    padding: 35px 30px;
    max-width: 450px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

.wa-modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.wa-modal-content h3 {
    margin-bottom: 10px;
    color: #333;
    font-size: 1.5rem;
    text-align: center;
}

.wa-modal-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.wa-admin-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wa-admin-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.wa-admin-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    background: linear-gradient(135deg, #20BA5A 0%, #1BA34F 100%);
}

.wa-admin-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wa-admin-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.wa-admin-info strong {
    font-size: 1.1rem;
    font-weight: 600;
}

.wa-admin-info span {
    font-size: 0.95rem;
    opacity: 0.95;
}

/* ===== ADMIN STYLES ===== */
.admin-body {
    background: #F5F5F5;
}

.admin-login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.admin-login-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.admin-login-card h1 {
    font-size: 1.8rem;
    color: var(--dark);
    text-align: center;
    margin-bottom: 10px;
}

.login-subtitle {
    text-align: center;
    color: var(--text);
    margin-bottom: 30px;
}

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

.admin-sidebar {
    width: 250px;
    background: var(--dark);
    color: var(--white);
    padding: 30px 20px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-brand {
    margin-bottom: 30px;
}

.admin-brand h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.admin-brand p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-nav a {
    padding: 12px 15px;
    border-radius: 8px;
    transition: background 0.3s;
    color: rgba(255,255,255,0.9);
}

.admin-nav a:hover,
.admin-nav a.active {
    background: var(--primary);
    color: var(--white);
}

.admin-nav a.logout {
    margin-top: 20px;
    background: var(--error);
}

.admin-nav a.logout:hover {
    background: #B71C1C;
}

.admin-main {
    margin-left: 250px;
    flex: 1;
    padding: 30px;
}

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

.admin-header h1 {
    font-size: 2rem;
    color: var(--dark);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    font-size: 2.5rem;
}

.stat-info h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-info p {
    color: var(--text);
}

.admin-section {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

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

.section-header h2 {
    font-size: 1.5rem;
    color: var(--dark);
}

/* ===== ADMIN TABLE ===== */
.admin-table-container {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #E0E0E0;
}

.admin-table th {
    background: var(--light-bg);
    font-weight: 600;
    color: var(--dark);
}

.admin-table tr:hover {
    background: var(--light-bg);
}

.table-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.table-actions {
    display: flex;
    gap: 10px;
}

.btn-edit, .btn-delete {
    padding: 6px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-edit {
    background: var(--primary);
    color: var(--white);
}

.btn-edit:hover {
    background: var(--primary-dark);
}

.btn-delete {
    background: var(--error);
    color: var(--white);
}

.btn-delete:hover {
    background: #B71C1C;
}

/* ===== ADMIN FORM ===== */
.admin-form-container {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    max-width: 700px;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group small {
    margin-top: 5px;
    color: var(--text);
    font-size: 0.85rem;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.current-image {
    margin-top: 10px;
}

.current-image img {
    max-width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ===== ALERTS ===== */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-error {
    background: #FFEBEE;
    color: var(--error);
    border-left: 4px solid var(--error);
}

.alert-success {
    background: #E8F5E9;
    color: var(--success);
    border-left: 4px solid var(--success);
}

.alert a {
    color: inherit;
    font-weight: bold;
    text-decoration: underline;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
}

.login-footer a {
    color: var(--primary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .site-header {
        padding: 10px 0;
    }
    
    .hero-slider {
        height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .slider-nav.prev {
        left: 10px;
    }
    
    .slider-nav.next {
        right: 10px;
    }
    
    .slider-dots {
        bottom: 20px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Show mobile menu button */
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Hide nav by default on mobile */
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: 2px 0 15px rgba(0,0,0,0.3);
        transition: left 0.3s ease;
        z-index: 1001;
        gap: 5px;
        overflow-y: auto;
        pointer-events: auto;
    }
    
    /* Show nav when open */
    .main-nav.menu-open {
        left: 0;
    }
    
    .main-nav a {
        width: 100%;
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
        color: var(--text) !important;
        font-size: 1rem;
        font-weight: 500;
        display: block;
        background: transparent !important;
        border-radius: 0 !important;
        transition: background 0.2s;
    }
    
    .main-nav a:hover,
    .main-nav a:active {
        background: var(--light-bg) !important;
    }
    
    .main-nav .btn-whatsapp-nav {
        background: #25D366 !important;
        color: white !important;
        border-radius: 8px !important;
        margin-top: 10px;
        text-align: center;
        border: none !important;
    }
    
    .main-nav .btn-whatsapp-nav:hover {
        background: #20BA5A !important;
    }
    
    /* Backdrop overlay - BEHIND menu */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        pointer-events: none;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .admin-container {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        position: relative;
        height: auto;
    }
    
    .admin-main {
        margin-left: 0;
    }
    
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        width: 35px;
        height: 35px;
    }
    
    .logo-text {
        font-size: 0.95rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    /* Show social float container on mobile, hide desktop WhatsApp */
    .social-float-container {
        display: flex;
        bottom: 20px;
        right: 20px;
    }
    
    .social-float-btn {
        width: 50px;
        height: 50px;
    }
    
    .social-float-btn svg {
        width: 24px;
        height: 24px;
    }
    
    /* Hide legacy WhatsApp float on mobile */
    .whatsapp-float {
        display: none;
    }
}
