/* ============================================
   MIRA SHOPPING - COMPLETE STYLESHEET
   White Background | Green Buttons | Horizontal Categories
   ============================================ */

:root {
    --white: #FFFFFF;
    --bg-light: #F8F9FA;
    --gray-light: #F0F0F0;
    --gray-mid: #DDDDDD;
    --text-dark: #333333;
    --text-muted: #666666;
    --primary-pink: #E91E63;
    --primary-purple: #9B30FF;
    --gradient-pink-purple: linear-gradient(135deg, #E91E63, #9B30FF);
    --green-primary: #4CAF50;
    --green-dark: #388E3C;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 25px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.5;
}

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

/* ========== HEADER ========== */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    text-decoration: none;
}

.logo h1 {
    font-size: 1.3rem;
    background: var(--gradient-pink-purple);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: 'Playfair Display', serif;
}

.logo span {
    font-size: 0.7rem;
    color: var(--primary-pink);
}

.desktop-nav {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--primary-pink);
}

.btn-order {
    background: var(--green-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-order:hover {
    background: var(--green-dark);
    transform: scale(0.96);
}

/* ========== MOBILE SIDEBAR ========== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-pink);
    cursor: pointer;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: var(--white);
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.open {
    transform: translateX(0);
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h3 {
    background: var(--gradient-pink-purple);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: 'Playfair Display', serif;
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.sidebar-nav {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-nav a {
    text-decoration: none;
    color: var(--text-dark);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 12px;
    transition: var(--transition);
}

.sidebar-nav a i {
    width: 24px;
    color: var(--primary-pink);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(233, 30, 99, 0.1);
    color: var(--primary-pink);
}

.sidebar-order-btn {
    margin: 20px;
    background: var(--green-primary);
    color: white;
    text-decoration: none;
    padding: 14px;
    text-align: center;
    border-radius: 40px;
    font-weight: 600;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--gray-light);
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.sidebar-footer i {
    width: 24px;
    color: var(--primary-pink);
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay-light {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.hero-content h1 .highlight {
    background: var(--gradient-pink-purple);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.hero-btn {
    background: var(--green-primary);
    color: white;
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.hero-btn:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
}

/* ========== HORIZONTAL CATEGORY BUTTONS ========== */
.category-nav-horizontal {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px auto 20px;
    padding: 0 20px;
}

.cat-filter-btn {
    padding: 10px 24px;
    background: var(--bg-light);
    border: 1px solid var(--gray-mid);
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-dark);
}

.cat-filter-btn:hover {
    background: var(--green-primary);
    color: white;
    border-color: var(--green-primary);
}

.cat-filter-btn.active {
    background: var(--green-primary);
    color: white;
    border-color: var(--green-primary);
}

/* ========== SECTION TITLE ========== */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin: 50px 0 30px;
    font-family: 'Playfair Display', serif;
    background: var(--gradient-pink-purple);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-pink-purple);
    border-radius: 3px;
}

.section-title-small {
    font-size: 1.5rem;
    margin: 30px 0 20px;
    color: var(--primary-pink);
}

/* ========== PRODUCT CARDS ========== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--green-primary);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.price {
    color: var(--green-primary);
    font-weight: 700;
    font-size: 1.2rem;
    margin: 10px 0;
}

.shop-now-btn {
    display: inline-block;
    background: var(--green-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
}

.shop-now-btn:hover {
    background: var(--green-dark);
}

/* ========== PROMO BANNER ========== */
.promo-banner {
    background: var(--gradient-pink-purple);
    padding: 50px 0;
    margin: 40px 0;
    text-align: center;
    border-radius: 20px;
}

.promo-content h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 10px;
}

.promo-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
}

.promo-btn {
    background: var(--green-primary);
    color: white;
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.promo-btn:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
}

/* ========== ABOUT PAGE ========== */
.about-section {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text h2 {
    font-size: 2rem;
    background: var(--gradient-pink-purple);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
    line-height: 1.6;
}

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

.stat {
    text-align: center;
}

.stat .number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-pink-purple);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
}

.about-values h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-pink);
}

.about-values ul {
    list-style: none;
}

.about-values li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.about-values li i {
    color: var(--green-primary);
    width: 24px;
}

.quote-section {
    padding: 40px 0;
}

.quote-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
}

.quote-card i {
    font-size: 2rem;
    background: var(--gradient-pink-purple);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
    display: block;
}

.quote-card p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 15px;
}

/* ========== SHOP/CART PAGE ========== */
.shop-section {
    padding: 40px 0;
}

.shop-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.cart-summary {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid var(--gray-light);
}

.cart-summary h3 {
    margin-bottom: 20px;
    color: var(--primary-pink);
}

.cart-items {
    min-height: 150px;
    max-height: 350px;
    overflow-y: auto;
    margin-bottom: 20px;
}

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

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-mid);
    flex-wrap: wrap;
    gap: 12px;
}

.item-name {
    flex: 1;
    min-width: 120px;
}

.cart-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f5;
    padding: 4px 12px;
    border-radius: 40px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

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

.item-qty {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

.remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    opacity: 0.6;
    padding: 5px;
}

.remove-btn:hover {
    opacity: 1;
}

.item-total-price {
    font-weight: 600;
    color: var(--green-primary);
    min-width: 80px;
    text-align: right;
}

.cart-total {
    text-align: right;
    padding-top: 15px;
    border-top: 2px solid var(--gray-mid);
    font-size: 1.2rem;
}

.delivery-note {
    margin-top: 15px;
    text-align: center;
    font-size: 0.8rem;
}

.checkout-form {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid var(--gray-light);
}

.checkout-form h3 {
    margin-bottom: 20px;
    color: var(--primary-pink);
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--gray-mid);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
}

.form-row-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.shop-item {
    background: var(--bg-light);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--gray-light);
}

.shop-item span:first-child {
    font-weight: 500;
}

.add-to-cart-btn {
    background: var(--green-primary);
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.add-to-cart-btn:hover {
    background: var(--green-dark);
    transform: scale(0.96);
}

/* ========== CONTACT PAGE ========== */
.contact-section {
    padding: 60px 0;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--white);
    padding: 30px 20px;
    text-align: center;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--gradient-pink-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.icon-circle i {
    font-size: 24px;
    color: white;
}

.contact-card h3 {
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
    color: white;
}

.social-link.fb { background: #1877F2; }
.social-link.ig { background: linear-gradient(45deg, #f09433, #d62976); }
.social-link.tg { background: #0088cc; }
.social-link.wa { background: #25D366; }

.social-link:hover {
    transform: translateY(-3px);
}

#map {
    height: 300px;
    width: 100%;
    border-radius: 20px;
    margin: 30px 0;
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary-pink);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

input, textarea, select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-mid);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
}

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

button {
    background: var(--green-primary);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
}

button:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
}

/* ========== FOOTER ========== */
.main-footer {
    background: #1A1A2E;
    color: #AAAAAA;
    padding: 50px 0 20px;
    margin-top: 60px;
}

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

.footer-logo {
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--gradient-pink-purple);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

.tagline {
    font-size: 0.8rem;
    color: var(--primary-pink);
    margin-bottom: 15px;
}

.footer-col h4 {
    color: var(--primary-pink);
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: #AAAAAA;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-pink);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: #AAAAAA;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--green-primary);
    transform: translateY(-3px);
    color: white;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info li i {
    width: 20px;
    color: var(--primary-pink);
}

.payment-badge {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.payment-badge span {
    display: block;
    margin-bottom: 8px;
    font-size: 0.7rem;
    color: var(--primary-pink);
}

.payment-badge i {
    font-size: 1.2rem;
    margin-right: 8px;
}

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

.footer-heart {
    margin-top: 5px;
    color: var(--primary-pink);
}

/* ========== TOAST NOTIFICATION ========== */
.toast-msg {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--green-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    z-index: 2000;
    transition: transform 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.toast-msg.show {
    transform: translateX(-50%) translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .desktop-nav, .btn-order {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .shop-layout {
        grid-template-columns: 1fr;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .category-nav-horizontal {
        gap: 8px;
    }
    .cat-filter-btn {
        padding: 6px 14px;
        font-size: 0.75rem;
    }
}

@media (max-width: 600px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .form-row-small {
        grid-template-columns: 1fr;
    }
    .stats {
        flex-direction: column;
        align-items: center;
    }
    .container {
        padding: 0 15px;
    }
    .hero {
        min-height: 350px;
    }
    .toast-msg {
        white-space: normal;
        text-align: center;
        width: 85%;
        font-size: 0.85rem;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .items-grid {
        grid-template-columns: 1fr;
    }
}
