/*
Theme Name: astra_2
Version: 1.0
Description: A child theme of Astra
Template: astra
Author: Administrator
*/

@import url("../astra/style.css");

/* ==========================================================================
   1. GLOBAL OVERRIDES, UTILITIES & BRAND COLORS
   ========================================================================== */

/* Hide default page titles and breadcrumbs */
header.entry-header .entry-title,
.page-title,
.woocommerce-js .woocommerce-breadcrumb {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* WordPress Menu Custom Icon */
.wp-beauty-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    vertical-align: -1px;
    background: linear-gradient(135deg, #ffd1dc 0%, #e29578 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    box-shadow: 0 0 4px rgba(226, 149, 120, 0.4);
}
.wp-beauty-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background-color: #D4AF37;
    border-radius: 50%;
}

/* Global Brand Variables */
:root {
    --mg-gold: #D4AF37 !important;
    --mg-gold-hover: #D4AF37 !important;
    --mg-dark: #000000;
    --mg-card-dark: #1a1a1a;
    --mg-cream: #FDFBF7;
    --mg-text: #333333;
    --mg-text-light: #666666;
    --mg-font-heading: 'Playfair Display', serif;
    --mg-font-body: 'Lato', sans-serif;
}

/* Scoped Base Styles */
.mg-landing-wrapper, .mg-shop-page, .mg-about-page, .mg-faq-page, 
.mg-contact-page, .mg-delivery-page, .mg-legal-page, .mg-terms-page, 
.mg-privacy-page, .mg-returns-page {
    font-family: var(--mg-font-body);
    color: var(--mg-text);
    background-color: var(--mg-cream);
    line-height: 1.6;
    width: 100%;
}
.mg-landing-wrapper *, .mg-shop-page *, .mg-about-page *, .mg-faq-page *, 
.mg-contact-page *, .mg-delivery-page *, .mg-legal-page *, .mg-terms-page *, 
.mg-privacy-page *, .mg-returns-page * { 
    box-sizing: border-box; 
}

/* Force ALL headings to Miss Glam Gold (with dark background exceptions) */
h1, h2, h3, h4, h5, h6,
.mg-landing-wrapper h1, .mg-landing-wrapper h2, .mg-landing-wrapper h3, .mg-landing-wrapper h4,
.mg-shop-page h1, .mg-shop-page h2, .mg-shop-page h3, .mg-shop-page h4,
.mg-about-page h1, .mg-about-page h2, .mg-about-page h3, .mg-about-page h4,
.mg-faq-page h1, .mg-faq-page h2, .mg-faq-page h3, .mg-faq-page h4,
.mg-contact-page h1, .mg-contact-page h2, .mg-contact-page h3, .mg-contact-page h4,
.mg-delivery-page h1, .mg-delivery-page h2, .mg-delivery-page h3, .mg-delivery-page h4,
.mg-legal-page h1, .mg-legal-page h2, .mg-legal-page h3, .mg-legal-page h4,
.mg-terms-page h1, .mg-terms-page h2, .mg-terms-page h3, .mg-terms-page h4,
.mg-privacy-page h1, .mg-privacy-page h2, .mg-privacy-page h3, .mg-privacy-page h4,
.mg-returns-page h1, .mg-returns-page h2, .mg-returns-page h3, .mg-returns-page h4 {
    color: #D4AF37 !important;
}
.mg-hero-content h1, .mg-hero-content h2, .mg-hero-content h3,
.mg-slide-content h1, .mg-slide-content h2, .mg-slide-content h3,
.mgs-footer h1, .mgs-footer h2, .mgs-footer h3, .mgs-footer h4,
.mg-final-cta-section h1, .mg-final-cta-section h2, .mg-final-cta-section h3,
.mg-zone-highlight h3, .mg-cta-heading {
    color: #ffffff !important;
}

/* Global Buttons */
.mg-btn {
    display: inline-block; padding: 14px 32px; font-size: 13px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase; border-radius: 2px;
    cursor: pointer; transition: all 0.3s ease; border: 2px solid transparent; text-decoration: none;
}
.mg-btn-gold { background-color: var(--mg-gold); color: #fff; border-color: var(--mg-gold); }
.mg-btn-gold:hover { background-color: transparent; color: var(--mg-gold); }
.mg-btn-outline { background-color: transparent; color: #fff; border-color: #fff; }
.mg-btn-outline:hover { background-color: #fff; color: var(--mg-dark); }
.mg-btn-dark { background-color: var(--mg-dark); color: #fff; border-color: var(--mg-dark); }
.mg-btn-dark:hover { background-color: transparent; color: var(--mg-dark); }
.mg-btn-outline-dark { background-color: transparent; color: var(--mg-dark); border-color: var(--mg-dark); }
.mg-btn-outline-dark:hover { background-color: var(--mg-dark); color: #fff; }

/* Global Section Headers */
.mg-section-header { text-align: center; margin-bottom: 30px; padding: 0 20px; }
.mg-tag, .mg-section-tag { 
    display: block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; 
    color: var(--mg-gold); margin-bottom: 10px; font-weight: 700; font-family: var(--mg-font-body); 
}
.mg-heading { font-size: 36px; font-style: italic; margin-bottom: 10px; }
.mg-subheading { font-size: 16px; color: var(--mg-text-light); max-width: 600px; margin: 0 auto; }


/* ==========================================================================
   2. HOMEPAGE / LANDING PAGE
   ========================================================================== */

/* Hero Slider */
.mg-hero-slider { 
    position: relative; height: 75vh; min-height: 500px; width: 100%; 
    overflow: hidden; margin-top: -100px !important;
}
.mg-slide { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background-size: cover; background-position: center; opacity: 0; 
    animation: mg-crossfade 20s infinite; display: flex; align-items: center; 
    justify-content: center; text-align: center; 
}
.mg-slide-1 { background-image: url('https://missglamshop.com/wp-content/uploads/2026/11/MG1.jpg'); animation-delay: 0s; }
.mg-slide-2 { background-image: url('https://missglamshop.com/wp-content/uploads/2026/11/MG3.jpg'); animation-delay: 5s; }
.mg-slide-3 { background-image: url('https://missglamshop.com/wp-content/uploads/2026/11/MG4-1.jpg'); animation-delay: 10s; }
.mg-slide-4 { background-image: url('https://missglamshop.com/wp-content/uploads/2026/11/MG2.jpg'); animation-delay: 15s; }
@keyframes mg-crossfade { 0% { opacity: 0; } 5% { opacity: 1; } 25% { opacity: 1; } 30% { opacity: 0; } 100% { opacity: 0; } }

.mg-slide-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.45); }
.mg-slide-content { position: relative; z-index: 2; max-width: 800px; padding: 0 20px; color: #fff; }
.mg-slide-content .mg-subtitle { display: block; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 15px; color: var(--mg-gold); font-weight: 700; }
.mg-slide-content .mg-title { font-size: 48px; color: #fff; margin-bottom: 15px; }
.mg-slide-content .mg-desc { font-size: 18px; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }

.mg-slider-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.mg-dot { width: 10px; height: 10px; background: rgba(255,255,255,0.5); border-radius: 50%; }
.mg-dot-1 { animation: mg-dot-pulse 20s infinite 0s; }
.mg-dot-2 { animation: mg-dot-pulse 20s infinite 5s; }
.mg-dot-3 { animation: mg-dot-pulse 20s infinite 10s; }
.mg-dot-4 { animation: mg-dot-pulse 20s infinite 15s; }
@keyframes mg-dot-pulse { 0%, 30%, 100% { background: rgba(255,255,255,0.5); transform: scale(1); } 5%, 25% { background: var(--mg-gold); transform: scale(1.3); } }

/* Product Categories */
.mg-static-cats-wrapper {
    background-color: #000000 !important; margin-top: -50px !important; margin-bottom: 0 !important;
    padding: 60px 20px !important; text-align: center !important; width: 100% !important;
}
.mg-static-cats-wrapper h2 {
    color: #ffffff !important; font-family: 'Playfair Display', serif !important;
    font-style: italic !important; font-size: 36px !important; margin: 0 0 10px 0 !important;
}
.mg-static-cats-wrapper .mg-gold-tag {
    color: #D4AF37 !important; text-transform: uppercase !important; letter-spacing: 2px !important;
    font-size: 12px !important; font-weight: 700 !important; display: block !important; margin-bottom: 20px !important;
}
.mg-cat-grid {
    display: grid !important; grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px !important; max-width: 1100px !important; margin: 0 auto !important; align-items: stretch !important;
}
.mg-cat-card {
    background: #1a1a1a !important; border: 1px solid #333333 !important; border-radius: 12px !important;
    padding: 30px 15px !important; text-decoration: none !important; display: flex !important;
    flex-direction: column !important; align-items: center !important; justify-content: center !important;
    transition: all 0.3s ease !important; height: 100% !important; box-sizing: border-box !important;
}
.mg-cat-card:hover { transform: translateY(-5px) !important; border-color: #D4AF37 !important; background: #222222 !important; box-shadow: 0 10px 20px rgba(0,0,0,0.3) !important; }
.mg-cat-icon {
    width: 45px !important; height: 45px !important; stroke: #D4AF37 !important; stroke-width: 1.5 !important;
    margin-bottom: 15px !important; filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3)) !important;
}
.mg-cat-card span {
    color: #ffffff !important; font-weight: 600 !important; font-size: 14px !important;
    text-transform: uppercase !important; letter-spacing: 0.5px !important; text-align: center !important;
    line-height: 1.3 !important; text-shadow: 0 1px 2px rgba(0,0,0,0.8) !important;
}

/* Featured Products & WooCommerce Sections */
#featured-products.mg-woo-section { padding: 40px 20px; margin-top: -50px; background-color: #000000 !important; max-width: 100%; }
#featured-products.mg-woo-section .mg-heading, #featured-products.mg-woo-section .mg-tag { color: #ffffff !important; }
#featured-products.mg-woo-section .mg-subheading { color: #cccccc !important; }
#featured-products .woocommerce-loop-product__title, #featured-products .woocommerce-loop-product__title a, #featured-products .price { color: #ffffff !important; }
#featured-products .woocommerce-loop-product__title { font-size: 16px !important; }
#featured-products .price { font-size: 16px !important; color: var(--mg-gold) !important; }

.mg-woo-section { padding: 40px 20px; background-color: var(--mg-cream) !important; max-width: 100%; }
.mg-woo-container { margin-bottom: 30px; }
.mg-woo-container ul.products { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important; gap: 20px !important; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.mg-center-btn { text-align: center; margin-top: 10px; }

/* Brand Story */
.mg-story { background-color: #F5F0E6; padding: 50px 20px; }
.mg-story-container { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.mg-story-img { position: relative !important; overflow: hidden !important; border-radius: 8px !important; margin: 0 auto !important; box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important; }
.mg-story-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; filter: blur(1px) contrast(0.9) !important; transition: all 0.5s ease !important; }
.mg-story-img:hover img { filter: blur(0) contrast(1) !important; transform: scale(1.03) !important; }
.mg-story-content .mg-tag, .mg-story-content .mg-heading { text-align: left; }
.mg-story-content .mg-heading { margin-bottom: 20px; font-size: 36px; }
.mg-story-content p { margin-bottom: 15px; color: var(--mg-text-light); font-size: 16px; }
.mg-story-content .mg-btn { margin-top: 15px; }

/* Rich Text & Testimonials */
.mg-rich-text-section { padding: 50px 20px; background-color: #ffffff; }
.mg-rich-text-container { max-width: 1100px; margin: 0 auto; text-align: center; }
.mg-rich-text-content > p { font-size: 18px; color: var(--mg-text-light); line-height: 1.7; margin-bottom: 40px; max-width: 800px; margin-left: auto; margin-right: auto; }
.mg-benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 25px; text-align: left; }
.mg-benefit-item { padding: 30px 25px; background: var(--mg-cream); border-radius: 12px; transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid rgba(0,0,0,0.03); }
.mg-benefit-item:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.06); }
.mg-benefit-icon { font-size: 32px; display: block; margin-bottom: 15px; }
.mg-benefit-item h4 { font-size: 20px !important; font-weight: 700; margin-bottom: 12px; color: var(--mg-dark); font-family: var(--mg-font-heading); }
.mg-benefit-item p { font-size: 16px !important; color: var(--mg-text-light); line-height: 1.6; margin: 0; }

.mg-testimonials { background-color: var(--mg-cream); padding: 50px 20px; }
.mg-test-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.mg-test-card { background: #ffffff; padding: 30px 25px; border-radius: 8px; text-align: left; border: 1px solid rgba(0,0,0,0.05); }
.mg-stars { color: var(--mg-gold); font-size: 18px; margin-bottom: 15px; }
.mg-test-card p { font-style: italic; margin-bottom: 15px; color: var(--mg-text); font-size: 15px; }
.mg-author { font-weight: 700; color: var(--mg-gold); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }

/* The Miss Glam Ritual (Flexbox 4-Column) */
.mg-ritual-section { background-color: #FDFBF7 !important; padding: 80px 20px !important; text-align: center !important; border-top: 1px solid rgba(0,0,0,0.05) !important; }
.mg-ritual-container { max-width: 1300px !important; margin: 0 auto !important; }
.mg-ritual-header { margin-bottom: 50px !important; }
.mg-ritual-subtitle { font-size: 17px !important; color: #666666 !important; line-height: 1.7 !important; max-width: 650px !important; margin: 0 auto !important; }
.mg-ritual-flex { display: flex !important; flex-wrap: nowrap !important; gap: 20px !important; width: 100% !important; margin-bottom: 50px !important; }
.mg-ritual-card-flex {
    flex: 1 1 0 !important; min-width: 0 !important; background: #ffffff !important; padding: 30px 20px !important;
    border-radius: 8px !important; border: 1px solid rgba(0,0,0,0.04) !important; transition: all 0.4s ease !important;
    position: relative !important; overflow: hidden !important; display: flex !important; flex-direction: column !important;
}
.mg-ritual-card-flex:hover { transform: translateY(-8px) !important; box-shadow: 0 20px 40px rgba(0,0,0,0.06) !important; border-color: rgba(212, 175, 55, 0.3) !important; }
.mg-ritual-card-flex .mg-step-number { position: absolute !important; top: -10px !important; right: 15px !important; font-family: 'Playfair Display', serif !important; font-size: 70px !important; font-weight: 700 !important; color: rgba(212, 175, 55, 0.06) !important; line-height: 1 !important; pointer-events: none !important; }
.mg-ritual-card-flex .mg-step-icon { width: 45px !important; height: 45px !important; background: rgba(212, 175, 55, 0.08) !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important; margin-bottom: 20px !important; position: relative !important; z-index: 1 !important; }
.mg-ritual-card-flex .mg-step-icon svg { width: 22px !important; height: 22px !important; }
.mg-ritual-card-flex .mg-step-title { font-family: 'Playfair Display', serif !important; font-size: 18px !important; font-weight: 600 !important; color: #111111 !important; margin: 0 0 10px 0 !important; position: relative !important; z-index: 1 !important; }
.mg-ritual-card-flex .mg-step-desc { font-size: 16px !important; color: #666666 !important; line-height: 1.5 !important; margin-bottom: 20px !important; position: relative !important; z-index: 1 !important; flex-grow: 1 !important; }
.mg-ritual-card-flex .mg-step-link { font-size: 12px !important; font-weight: 700 !important; color: #D4AF37 !important; text-transform: uppercase !important; letter-spacing: 1px !important; text-decoration: none !important; transition: color 0.3s ease !important; display: inline-flex !important; align-items: center !important; gap: 5px !important; position: relative !important; z-index: 1 !important; }
.mg-ritual-card-flex .mg-step-link:hover { color: #111111 !important; }
.mg-ritual-cta { margin-top: 20px !important; }

/* Final Luxury CTA */
.mg-final-cta-section { background-color: #0a0a0a !important; padding: 80px 20px !important; width: 100% !important; position: relative !important; overflow: hidden !important; border-top: 1px solid #222 !important; }
.mg-final-cta-section::before { content: ""; position: absolute; top: -50%; left: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%); z-index: 0; pointer-events: none; }
.mg-cta-container { max-width: 1100px !important; margin: 0 auto !important; display: flex !important; flex-direction: column; align-items: center !important; gap: 50px !important; position: relative !important; z-index: 1 !important; }
.mg-cta-visual { width: 100%; max-width: 500px; order: 1; }
.mg-cta-image-box { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.5); border: 1px solid #222; }
.mg-cta-image-box img { width: 100%; height: auto; display: block; transition: transform 0.6s ease; }
.mg-cta-image-box:hover img { transform: scale(1.05); }
.mg-cta-badge { position: absolute; bottom: 20px; right: 20px; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(10px); padding: 15px 20px; border-radius: 8px; border-left: 3px solid var(--mg-gold); display: flex; flex-direction: column; }
.mg-badge-title { color: var(--mg-gold); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.mg-badge-sub { color: #ffffff; font-size: 16px; font-family: var(--mg-font-heading); font-style: italic; }
.mg-cta-content { width: 100%; max-width: 600px; text-align: center; order: 2; }
.mg-cta-tag { display: block; color: var(--mg-gold); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; margin-bottom: 15px; }
.mg-cta-heading { font-family: var(--mg-font-heading); font-size: 42px; font-style: italic; color: #ffffff; margin: 0 0 20px 0; line-height: 1.2; }
.mg-cta-text { font-family: var(--mg-font-body); font-size: 16px; color: #cccccc; line-height: 1.7; margin-bottom: 35px; }
.mg-cta-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.mg-cta-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 32px; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; border-radius: 4px; transition: all 0.3s ease; font-family: var(--mg-font-body); }
.mg-cta-btn-primary { background-color: var(--mg-gold); color: #000000; border: 2px solid var(--mg-gold); }
.mg-cta-btn-primary:hover { background-color: transparent; color: var(--mg-gold); }
.mg-cta-btn-secondary { background-color: transparent; color: #ffffff; border: 2px solid #333333; }
.mg-cta-btn-secondary:hover { border-color: var(--mg-gold); color: var(--mg-gold); }
.mg-wa-icon { width: 18px; height: 18px; }
.mg-cta-trust { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.mg-trust-item { display: flex; align-items: center; gap: 8px; color: #888888; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.mg-trust-item svg { width: 16px; height: 16px; }


/* ==========================================================================
   3. EDGE-TO-EDGE BREAKOUT (SPECIFIC SECTIONS ONLY)
   ========================================================================== */
.mg-hero-slider, .mg-final-cta-section, .mg-static-cats-wrapper, #featured-products.mg-woo-section,
.mg-shop-hero, .mg-about-hero, .mg-faq-hero, .mg-contact-hero, .mg-delivery-hero,
.mg-legal-hero, .mg-terms-hero, .mg-privacy-hero, .mg-returns-hero {
    width: 100vw !important; max-width: 100vw !important; position: relative !important;
    left: 50% !important; margin-left: -50vw !important; margin-right: 0 !important;
    padding-left: 20px !important; padding-right: 20px !important; box-sizing: border-box !important;
    overflow: visible !important;
}
html, body { overflow-x: hidden !important; width: 100% !important; }


/* ==========================================================================
   4. SHOP PAGE
   ========================================================================== */
.mg-shop-page .mg-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.mg-shop-hero { position: relative; height: 50vh; min-height: 350px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; background-color: #000; }
.mg-hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.mg-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(1px); }
.mg-hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%); }
.mg-shop-page .mg-hero-content { position: relative; z-index: 2; max-width: 700px; }
.mg-shop-page .mg-hero-tag { display: block; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--mg-gold); margin-bottom: 15px; font-weight: 700; }
.mg-shop-page .mg-hero-title { font-family: var(--mg-font-heading); font-size: 56px; font-style: italic; color: #ffffff; margin-bottom: 20px; line-height: 1.2; text-shadow: 0 2px 15px rgba(0,0,0,0.5); }
.mg-shop-page .mg-hero-subtitle { font-size: 18px; color: #f0f0f0; line-height: 1.7; text-shadow: 0 1px 5px rgba(0,0,0,0.3); }
.mg-shop-main { padding: 60px 0 100px 0; background-color: #ffffff; }

/* Category Filter Bar */
.shop-category-bar {
    display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important;
    align-items: center !important; gap: 15px !important; padding: 15px 20px !important;
    background: var(--mg-cream) !important; border-radius: 8px !important; margin-bottom: 50px !important;
    overflow-x: auto !important; white-space: nowrap !important; border: 1px solid rgba(0,0,0,0.08) !important;
    width: 100% !important; box-sizing: border-box !important; -ms-overflow-style: none; scrollbar-width: none;
}
.shop-category-bar::-webkit-scrollbar { display: none; }
.shop-category-bar p, .shop-category-bar div, .shop-category-bar span { display: inline-flex !important; margin: 0 !important; padding: 0 !important; width: auto !important; flex-shrink: 0 !important; }
.shop-cat-label, .shop-category-bar a { display: inline-block !important; width: auto !important; margin: 0 !important; text-decoration: none !important; flex-shrink: 0 !important; }
.shop-cat-label { padding: 8px 0 !important; font-weight: 700 !important; color: var(--mg-dark) !important; font-size: 0.9rem !important; background: transparent !important; border: none !important; }
.shop-category-bar a { padding: 8px 20px !important; color: var(--mg-text) !important; font-size: 0.9rem !important; font-weight: 600 !important; border-radius: 100px !important; border: 1px solid transparent !important; background: transparent !important; transition: all 0.3s ease !important; }
.shop-category-bar a:hover, .shop-category-bar a.active { background: var(--mg-gold) !important; color: #ffffff !important; border-color: var(--mg-gold) !important; box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3) !important; }

/* Reduce top spacing on shop page */
.mg-shop-main {
    padding-top: 5px !important; /* Reduced from 60px */
}

/* Optional: Also reduce the margin below the filter bar */
.shop-category-bar {
    margin-bottom: 1px !important; /* Reduced from 50px */
}


/* ==========================================================================
   5. ABOUT US PAGE
   ========================================================================== */
.mg-about-page img { max-width: 100%; height: auto; display: block; }
.mg-about-page a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
.mg-about-page .mg-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.mg-about-hero { position: relative; height: 65vh; min-height: 450px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; background-color: #000; }
.mg-about-page .mg-hero-content { position: relative; z-index: 2; max-width: 800px; }
.mg-about-page .mg-hero-title { font-family: var(--mg-font-heading); font-size: 56px; font-style: italic; color: #ffffff; margin-bottom: 15px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); line-height: 1.2; }
.mg-about-page .mg-hero-subtitle { font-size: 18px; color: #ffffff; font-weight: 300; }
.mg-about-page .mg-section-title { font-family: var(--mg-font-heading); font-size: 42px; font-style: italic; color: var(--mg-dark); margin-bottom: 30px; line-height: 1.2; }
.mg-about-page .mg-lead-text { font-size: 18px; line-height: 1.8; color: var(--mg-text); margin-bottom: 20px; font-weight: 400; }
.mg-mission-section, .mg-story-section { padding: 80px 0; background-color: #ffffff; }
.mg-mission-content, .mg-story-content { max-width: 900px; margin: 0 auto; text-align: center; }
.mg-story-text p { font-size: 16px; line-height: 1.8; color: var(--mg-text-light); margin-bottom: 20px; text-align: left; }
.mg-values-section, .mg-vision-section { padding: 80px 0; background-color: var(--mg-cream); }
.mg-values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.mg-value-card { background: #ffffff; padding: 40px 25px; border-radius: 8px; text-align: center; border: 1px solid rgba(0,0,0,0.05); transition: all 0.3s ease; }
.mg-value-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); border-color: rgba(212, 175, 55, 0.3); }
.mg-value-icon { font-size: 40px; margin-bottom: 20px; }
.mg-value-card h3 { font-family: var(--mg-font-heading); font-size: 20px; color: var(--mg-dark); margin-bottom: 15px; font-style: normal; }
.mg-value-card p { font-size: 14px; color: var(--mg-text-light); line-height: 1.7; }
.mg-vision-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.mg-vision-text { text-align: left; }
.mg-vision-text p { font-size: 16px; line-height: 1.8; color: var(--mg-text-light); margin-bottom: 20px; }
.mg-vision-image img { border-radius: 12px; box-shadow: 0 30px 60px rgba(0,0,0,0.15); }


/* ==========================================================================
   6. FAQS PAGE
   ========================================================================== */
.mg-faq-page .mg-container { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.mg-faq-hero { position: relative; height: 65vh; min-height: 450px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0; background-color: #000; }
.mg-faq-page .mg-hero-content { position: relative; z-index: 2; max-width: 800px; }
.mg-faq-page .mg-hero-title { font-family: var(--mg-font-heading); font-size: 56px; font-style: italic; color: #ffffff; margin-bottom: 20px; line-height: 1.2; text-shadow: 0 2px 15px rgba(0,0,0,0.5); }
.mg-faq-page .mg-hero-subtitle { font-size: 18px; color: #f0f0f0; max-width: 600px; margin: 0 auto; line-height: 1.7; text-shadow: 0 1px 5px rgba(0,0,0,0.3); }
.mg-faq-content { padding: 80px 0; }
.mg-faq-category { margin-bottom: 60px; }
.mg-faq-category:last-child { margin-bottom: 0; }
.mg-category-title { font-family: var(--mg-font-heading); font-size: 28px; color: var(--mg-dark); margin-bottom: 25px; padding-bottom: 15px; border-bottom: 2px solid var(--mg-gold); display: inline-block; }
.mg-faq-item { background: #ffffff; border: 1px solid rgba(0,0,0,0.06); border-radius: 6px; margin-bottom: 15px; overflow: hidden; transition: all 0.3s ease; }
.mg-faq-item:hover { border-color: rgba(212, 175, 55, 0.3); box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.mg-faq-item[open] { border-color: var(--mg-gold); box-shadow: 0 8px 25px rgba(0,0,0,0.05); }
.mg-faq-question { padding: 22px 60px 22px 25px; font-size: 16px; font-weight: 600; color: var(--mg-dark); cursor: pointer; position: relative; list-style: none; transition: color 0.3s ease; }
.mg-faq-question::-webkit-details-marker { display: none; }
.mg-faq-question::after { content: "+"; position: absolute; right: 25px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 300; color: var(--mg-gold); transition: transform 0.3s ease; }
.mg-faq-item[open] .mg-faq-question::after { content: "−"; transform: translateY(-50%) rotate(0deg); }
.mg-faq-item[open] .mg-faq-question { color: var(--mg-gold); border-bottom: 1px solid rgba(0,0,0,0.06); }
.mg-faq-answer { padding: 25px; font-size: 15px; color: var(--mg-text-light); line-height: 1.8; background-color: #fafafa; }
.mg-faq-answer p { margin: 0; }


/* ==========================================================================
   MISS GLAM - CONTACT US PAGE STYLES (CENTRALIZED)
   ========================================================================== */

.mg-contact-page .mg-container {
    max-width: 900px; /* Narrower max-width for a clean, centralized look */
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.mg-contact-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #000;
}
.mg-hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.mg-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.mg-hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.75) 100%); }
.mg-contact-page .mg-hero-content { position: relative; z-index: 2; max-width: 700px; }
.mg-contact-page .mg-hero-tag { display: block; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--mg-gold); margin-bottom: 15px; font-weight: 700; }
.mg-contact-page .mg-hero-title { font-family: var(--mg-font-heading); font-size: 56px; font-style: italic; color: #ffffff; margin-bottom: 20px; line-height: 1.2; text-shadow: 0 2px 15px rgba(0,0,0,0.5); }
.mg-contact-page .mg-hero-subtitle { font-size: 18px; color: #f0f0f0; line-height: 1.7; text-shadow: 0 1px 5px rgba(0,0,0,0.3); }

/* Main Content Area */
.mg-contact-main {
    padding: 80px 0 100px 0;
    background-color: #ffffff;
}

.mg-contact-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.mg-contact-page .mg-section-title {
    font-family: var(--mg-font-heading);
    font-size: 36px;
    font-style: italic;
    color: var(--mg-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.mg-contact-page .mg-intro-text {
    font-size: 16px;
    color: var(--mg-text-light);
    line-height: 1.7;
}

/* Info Cards Grid (3 Columns, Centralized) */
.mg-info-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.mg-info-card {
    background-color: var(--mg-cream);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.mg-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: rgba(212, 175, 55, 0.3);
}

.mg-info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(212, 175, 55, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mg-gold);
    margin: 0 auto 20px auto;
}

.mg-info-icon svg { width: 22px; height: 22px; }

.mg-info-content h3 {
    font-family: var(--mg-font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--mg-dark);
    margin-bottom: 10px;
    font-style: normal;
}

.mg-info-content p {
    font-size: 14px;
    color: var(--mg-text-light);
    margin: 0;
    line-height: 1.6;
}

/* Contact Form Wrapper (Centered) */
.mg-contact-form-wrapper {
    background-color: var(--mg-cream);
    padding: 50px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.04);
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.mg-contact-form-wrapper .mg-section-title,
.mg-contact-form-wrapper .mg-intro-text {
    text-align: center;
}

.mg-contact-form-wrapper .mg-intro-text {
    margin-bottom: 30px;
}

.mg-contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: left;
}

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

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

.mg-form-group label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--mg-dark);
    margin-bottom: 10px;
}

.mg-form-group input,
.mg-form-group textarea {
    width: 100%;
    padding: 15px 0;
    font-family: var(--mg-font-body);
    font-size: 15px;
    color: var(--mg-text);
    background: transparent;
    border: none;
    border-bottom: 1px solid #d1d1d1;
    border-radius: 0;
    outline: none;
    transition: border-color 0.3s ease;
}

.mg-form-group input::placeholder,
.mg-form-group textarea::placeholder {
    color: #999;
}

.mg-form-group input:focus,
.mg-form-group textarea:focus {
    border-bottom-color: var(--mg-gold);
}

.mg-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.mg-submit-btn {
    align-self: center;
    padding: 16px 50px;
    font-family: var(--mg-font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
    background-color: var(--mg-dark);
    border: 2px solid var(--mg-dark);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.mg-submit-btn:hover {
    background-color: transparent;
    color: var(--mg-dark);
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 768px) {
    .mg-contact-hero { height: 50vh; min-height: 350px; }
    .mg-contact-page .mg-hero-title { font-size: 36px; }
    .mg-contact-page .mg-hero-subtitle { font-size: 16px; }
    .mg-contact-main { padding: 60px 0; }
    
    .mg-info-cards-grid {
        grid-template-columns: 1fr; /* Stack cards on mobile */
        gap: 20px;
    }
    
    .mg-form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .mg-contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .mg-submit-btn {
        width: 100%;
    }
}


/* ==========================================================================
   8. DELIVERY PAGE
   ========================================================================== */
.mg-delivery-page .mg-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.mg-delivery-hero { position: relative; height: 60vh; min-height: 400px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; background-color: #000; }
.mg-delivery-page .mg-hero-content { position: relative; z-index: 2; max-width: 700px; }
.mg-delivery-page .mg-hero-title { font-family: var(--mg-font-heading); font-size: 56px; font-style: italic; color: #ffffff; margin-bottom: 20px; line-height: 1.2; text-shadow: 0 2px 15px rgba(0,0,0,0.5); }
.mg-delivery-page .mg-hero-subtitle { font-size: 18px; color: #f0f0f0; line-height: 1.7; text-shadow: 0 1px 5px rgba(0,0,0,0.3); }
.mg-delivery-page .mg-section-tag { display: block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--mg-gold); margin-bottom: 15px; font-weight: 700; text-align: center; }
.mg-delivery-page .mg-section-title { font-family: var(--mg-font-heading); font-size: 36px; font-style: italic; color: var(--mg-dark); margin-bottom: 20px; line-height: 1.2; text-align: center; }
.mg-delivery-intro { padding: 80px 0 40px 0; text-align: center; background-color: #ffffff; }
.mg-intro-text { font-size: 17px; color: var(--mg-text-light); line-height: 1.8; max-width: 800px; margin: 0 auto; }
.mg-delivery-zones { padding: 60px 0; background-color: #ffffff; }
.mg-zones-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.mg-zone-card { background-color: var(--mg-cream); padding: 40px 30px; border-radius: 8px; text-align: center; border: 1px solid rgba(0,0,0,0.05); transition: all 0.3s ease; }
.mg-zone-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.06); border-color: rgba(212, 175, 55, 0.3); }
.mg-zone-highlight { background-color: var(--mg-dark); border-color: var(--mg-dark); }
.mg-zone-highlight h3, .mg-zone-highlight .mg-zone-time, .mg-zone-highlight .mg-zone-desc { color: #ffffff; }
.mg-zone-highlight .mg-zone-desc { color: #cccccc; }
.mg-zone-icon { width: 60px; height: 60px; margin: 0 auto 20px auto; display: flex; align-items: center; justify-content: center; background-color: rgba(212, 175, 55, 0.1); border-radius: 50%; }
.mg-zone-icon svg { width: 28px; height: 28px; }
.mg-zone-card h3 { font-family: var(--mg-font-heading); font-size: 22px; color: var(--mg-dark); margin-bottom: 10px; font-style: normal; }
.mg-zone-time { font-size: 14px; font-weight: 700; color: var(--mg-gold); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.mg-zone-desc { font-size: 14px; color: var(--mg-text-light); line-height: 1.7; margin: 0; }
.mg-delivery-process { padding: 80px 0; background-color: var(--mg-cream); }
.mg-process-header { margin-bottom: 50px; }
.mg-process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.mg-step { position: relative; }
.mg-step-number { font-family: var(--mg-font-heading); font-size: 48px; font-weight: 700; color: rgba(212, 175, 55, 0.15); line-height: 1; margin-bottom: 15px; }
.mg-step h4 { font-family: var(--mg-font-heading); font-size: 20px; color: var(--mg-dark); margin-bottom: 10px; font-style: normal; }
.mg-step p { font-size: 14px; color: var(--mg-text-light); line-height: 1.6; margin: 0; }
.mg-delivery-info { padding: 80px 0; background-color: #ffffff; }
.mg-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.mg-info-box { padding: 40px; background-color: var(--mg-cream); border-radius: 8px; border-left: 4px solid var(--mg-gold); }
.mg-info-box h3 { font-family: var(--mg-font-heading); font-size: 22px; color: var(--mg-dark); margin-bottom: 15px; font-style: normal; }
.mg-info-box p { font-size: 15px; color: var(--mg-text-light); line-height: 1.7; margin: 0; }


/* ==========================================================================
   9. LEGAL PAGES (Consolidated: Legal, Terms, Privacy, Returns)
   ========================================================================== */
.mg-legal-page, .mg-terms-page, .mg-privacy-page, .mg-returns-page { --mg-text-light: #555555; }
.mg-legal-container, .mg-terms-container, .mg-privacy-container, .mg-returns-container { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.mg-legal-hero, .mg-terms-hero, .mg-privacy-hero, .mg-returns-hero { position: relative; height: 50vh; min-height: 350px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; background-color: #000; }
.mg-legal-page .mg-hero-content, .mg-terms-page .mg-hero-content, .mg-privacy-page .mg-hero-content, .mg-returns-page .mg-hero-content { position: relative; z-index: 2; max-width: 700px; }
.mg-legal-page .mg-hero-title, .mg-terms-page .mg-hero-title, .mg-privacy-page .mg-hero-title, .mg-returns-page .mg-hero-title { font-family: var(--mg-font-heading); font-size: 48px; font-style: italic; color: #ffffff; margin-bottom: 20px; line-height: 1.2; text-shadow: 0 2px 15px rgba(0,0,0,0.5); }
.mg-legal-page .mg-hero-subtitle, .mg-terms-page .mg-hero-subtitle, .mg-privacy-page .mg-hero-subtitle, .mg-returns-page .mg-hero-subtitle { font-size: 17px; color: #e0e0e0; line-height: 1.7; text-shadow: 0 1px 5px rgba(0,0,0,0.3); }
.mg-legal-content, .mg-terms-content, .mg-privacy-content, .mg-returns-content { padding: 80px 0 100px 0; background-color: #ffffff; }
.mg-legal-section, .mg-terms-section, .mg-privacy-section, .mg-returns-section { margin-bottom: 50px; }
.mg-legal-section:last-child, .mg-terms-section:last-child, .mg-privacy-section:last-child, .mg-returns-section:last-child { margin-bottom: 0; }
.mg-legal-heading, .mg-terms-heading, .mg-privacy-heading, .mg-returns-heading { font-family: var(--mg-font-heading); font-size: 26px; font-weight: 600; color: var(--mg-dark); margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid rgba(0,0,0,0.1); position: relative; font-style: normal; }
.mg-legal-heading::after, .mg-terms-heading::after, .mg-privacy-heading::after, .mg-returns-heading::after { content: ""; position: absolute; bottom: -1px; left: 0; width: 40px; height: 2px; background-color: var(--mg-gold); }
.mg-legal-section p, .mg-terms-section p, .mg-privacy-section p, .mg-returns-section p { font-size: 15px; color: var(--mg-text-light); line-height: 1.8; margin-bottom: 20px; }
.mg-legal-section p:last-child, .mg-terms-section p:last-child, .mg-privacy-section p:last-child, .mg-returns-section p:last-child { margin-bottom: 0; }
.mg-legal-section strong, .mg-terms-section strong, .mg-returns-section strong { color: var(--mg-dark); font-weight: 700; }
.mg-legal-list, .mg-privacy-list, .mg-returns-list { list-style: none; padding: 0; margin: 20px 0; }
.mg-legal-list li, .mg-privacy-list li, .mg-returns-list li { position: relative; padding-left: 25px; margin-bottom: 15px; font-size: 15px; color: var(--mg-text-light); line-height: 1.7; }
.mg-legal-list li::before, .mg-privacy-list li::before, .mg-returns-list li::before { content: "•"; color: var(--mg-gold); font-weight: bold; font-size: 20px; position: absolute; left: 0; top: -2px; }
.mg-legal-list strong, .mg-privacy-list strong { color: var(--mg-dark); font-weight: 700; }
.mg-legal-contact-details, .mg-terms-contact-details, .mg-privacy-contact-details, .mg-returns-contact-details { background-color: var(--mg-cream); padding: 30px; border-radius: 6px; border-left: 3px solid var(--mg-gold); margin-top: 20px; }
.mg-legal-contact-details p, .mg-terms-contact-details p, .mg-privacy-contact-details p, .mg-returns-contact-details p { margin: 0; font-size: 15px; color: var(--mg-text); }
.mg-legal-contact-details strong, .mg-terms-contact-details strong, .mg-privacy-contact-details strong, .mg-returns-contact-details strong { font-family: var(--mg-font-heading); font-size: 18px; color: var(--mg-dark); display: block; margin-bottom: 10px; font-style: normal; }


/* ==========================================================================
   10. FOOTER & PAYMENT ICONS
   ========================================================================== */
.mgs-footer { background-color: #1a1a1a; color: #cccccc; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Lato", sans-serif; font-size: 14px; line-height: 1.6; padding: 60px 20px 30px; position: relative; }
.mgs-footer-container { max-width: 1200px; margin: 0 auto; }
.mgs-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 50px; }
.mgs-footer-col h4 { color: #ffffff; font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 600; margin-top: 0; margin-bottom: 25px; letter-spacing: 0.5px; }
.mgs-footer-col ul { list-style: none; padding: 0; margin: 0; }
.mgs-footer-col ul li { margin-bottom: 12px; }
.mgs-footer-col ul li a { color: #a0a0a0; text-decoration: none; transition: color 0.3s ease, padding-left 0.3s ease; }
.mgs-footer-col ul li a:hover { color: #D4AF37; padding-left: 5px; }
.mgs-footer-info p { margin: 0 0 15px 0; color: #a0a0a0; line-height: 1.6; }
.mgs-footer-info a { color: #a0a0a0; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: color 0.3s ease; }
.mgs-footer-info a svg { flex-shrink: 0; color: #D4AF37; }
.mgs-footer-info a:hover { color: #D4AF37; }

.mgs-social-links { display: flex; gap: 12px; margin-top: 30px; }
.mgs-social-icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: #ffffff; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.mgs-social-icon svg { width: 18px; height: 18px; fill: currentColor; }
.mgs-social-icon:hover { background-color: #D4AF37; border-color: #D4AF37; color: #000000; transform: translateY(-4px); box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3); }

.mgs-footer-bottom { text-align: center; padding-top: 40px; border-top: 1px solid #333333; }
.mgs-copyright { color: #888888; font-size: 13px; margin-bottom: 25px; }

/* Payment Icons */
.mgs-payment-heading { font-family: 'Lato', sans-serif !important; font-size: 12px !important; font-weight: 600 !important; text-transform: uppercase !important; letter-spacing: 2px !important; color: #666666 !important; margin-bottom: 20px !important; text-align: center !important; width: 100% !important; display: block !important; }
.mgs-payment-icons { display: flex !important; justify-content: center !important; align-items: center !important; gap: 20px !important; flex-wrap: wrap !important; width: 100% !important; margin: 0 auto !important; }
.mgs-payment-icon { height: 32px !important; width: auto !important; max-width: 60px !important; object-fit: contain !important; opacity: 0.9 !important; transition: all 0.3s ease !important; filter: grayscale(10%) !important; background: transparent !important; display: inline-block !important; }
.mgs-payment-icon:hover { opacity: 1 !important; filter: grayscale(0%) !important; transform: translateY(-2px) !important; }

/* Back to Top */
.mgs-back-to-top { position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px; background-color: #333333; color: #ffffff; border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.4); opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 9999; }
.mgs-back-to-top.is-visible { opacity: 1; visibility: visible; }
.mgs-back-to-top:hover { background-color: #D4AF37; color: #000000; border-color: #D4AF37; transform: translateY(-3px); }
.mgs-back-to-top svg { width: 20px; height: 20px; fill: currentColor; }

/* Disable Default Astra Footer */
.ast-footer, .site-footer, footer#colophon, .ast-footer-overlay, .ast-footer-builder-wrap, .ast-small-footer { display: none !important; visibility: hidden !important; height: 0 !important; overflow: hidden !important; padding: 0 !important; margin: 0 !important; }


/* ==========================================================================
   11. GLOBAL WOOCOMMERCE & LAYOUT FIXES
   ========================================================================== */

/* Cart & Buttons */
.woocommerce-cart .wc-proceed-to-checkout { display: block !important; padding: 20px 0 !important; }
.woocommerce ul.products li.product .astra-shop-summary-wrap { display: block !important; width: 100% !important; margin-top: 15px !important; }
.woocommerce ul.products li.product .button, .woocommerce ul.products li.product .add_to_cart_button { width: 100% !important; margin-top: 10px !important; }
.woocommerce .single_add_to_cart_button { width: 100% !important; max-width: 300px !important; margin-top: 15px !important; }

/* Product Grid */
.woocommerce ul.products, ul.products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)) !important; gap: 28px !important; width: 100% !important; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.woocommerce ul.products li.product, .woocommerce ul.products li.product-category, ul.products li.product, ul.products li.product-category { display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center !important; width: 100% !important; margin: 0 !important; padding: 10px 0 0 0 !important; background: transparent !important; border: none !important; border-radius: 0 !important; overflow: visible !important; position: relative !important; transition: transform 0.3s ease !important; }
.woocommerce ul.products li.product:hover, .woocommerce ul.products li.product-category:hover, ul.products li.product:hover, ul.products li.product-category:hover { transform: translateY(-6px) !important; }
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link, .woocommerce ul.products li.product > a:first-child, .woocommerce ul.products li.product-category > a, ul.products li.product > a.woocommerce-LoopProduct-link, ul.products li.product > a:first-child, ul.products li.product-category > a { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: flex-start !important; width: 100% !important; background: #ffffff !important; border-radius: 12px !important; padding: 20px !important; box-sizing: border-box !important; text-decoration: none !important; box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important; transition: box-shadow 0.3s ease, transform 0.3s ease !important; height: 100% !important; }
.woocommerce ul.products li.product:hover > a.woocommerce-LoopProduct-link, .woocommerce ul.products li.product:hover > a:first-child, .woocommerce ul.products li.product-category:hover > a, ul.products li.product:hover > a.woocommerce-LoopProduct-link, ul.products li.product:hover > a:first-child, ul.products li.product-category:hover > a { box-shadow: 0 12px 30px rgba(0,0,0,0.1) !important; transform: translateY(-6px) !important; }
.woocommerce ul.products li.product img, .woocommerce ul.products li.product-category img, ul.products li.product img, ul.products li.product-category img, .woocommerce div.product div.images img { filter: brightness(1.08) contrast(1.02); object-fit: contain !important; width: 100% !important; max-height: 180px !important; height: auto !important; margin: 0 auto 15px auto !important; display: block !important; transition: transform .5s cubic-bezier(.4,0,.2,1) !important; }
.woocommerce ul.products li.product:hover img, .woocommerce ul.products li.product-category:hover img, ul.products li.product:hover img, ul.products li.product-category:hover img { transform: scale(1.05) !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h2, .woocommerce ul.products li.product h3, .woocommerce ul.products li.product-category h2, .woocommerce ul.products li.product-category h2 a, ul.products li.product .woocommerce-loop-product__title, ul.products li.product h2, ul.products li.product h3, ul.products li.product-category h2, ul.products li.product-category h2 a, .woocommerce ul.products li.product .astra-shop-summary-wrap h2 { font-size: 14px !important; font-weight: 600 !important; color: var(--mg-dark) !important; margin: 0 !important; line-height: 1.3 !important; padding: 0 !important; display: block !important; width: 100% !important; text-decoration: none !important; }
.woocommerce ul.products li.product .price, .woocommerce ul.products li.product-category .count, ul.products li.product .price, ul.products li.product-category .count { font-size: 15px !important; font-weight: 700 !important; color: var(--mg-gold) !important; margin: 5px 0 0 !important; display: block !important; width: 100% !important; padding: 0 !important; }
.woocommerce ul.products li.product-category .count, ul.products li.product-category .count { font-size: 13px !important; font-weight: 500 !important; color: var(--mg-text-light) !important; text-transform: uppercase !important; letter-spacing: 0.05em !important; }
.woocommerce ul.products li.product .star-rating, ul.products li.product .star-rating { float: none !important; margin: 0 auto 10px !important; font-size: .85em !important; color: #D4AF37 !important; }
.woocommerce span.onsale, span.onsale { position: absolute; top: 14px; left: 14px; z-index: 3; min-width: 0 !important; min-height: 0 !important; line-height: 1 !important; padding: 7px 14px !important; margin: 0 !important; background: var(--mg-gold) !important; color: #ffffff !important; border-radius: 100px !important; font-size: .72rem !important; font-weight: 800 !important; letter-spacing: .08em !important; text-transform: uppercase !important; }

/* Single Product & Pagination */
.single-product .site-content, .single-product #content, .single-product .content-area, .single-product .site-main { padding-top: 10px !important; }
.single-product .ast-primary-header-bar, .single-product #ast-desktop-header, .single-product .site-header { background-color: #000000 !important; }
.woocommerce-js div.product div.summary .single-product-category { display: none !important; }

.woocommerce-pagination, .woocommerce nav.woocommerce-pagination { margin-top: 100px !important; margin-bottom: 50px !important; text-align: center !important; }
.woocommerce-pagination ul.page-numbers, .woocommerce nav.woocommerce-pagination ul.page-numbers { display: inline-flex !important; justify-content: center !important; align-items: center !important; gap: 8px !important; list-style: none !important; margin: 0 !important; padding: 0 !important; }
.woocommerce-pagination ul.page-numbers li, .woocommerce nav.woocommerce-pagination ul.page-numbers li { display: inline-block !important; margin: 0 !important; }
.woocommerce-pagination ul.page-numbers li a, .woocommerce-pagination ul.page-numbers li span, .woocommerce nav.woocommerce-pagination ul.page-numbers li a, .woocommerce nav.woocommerce-pagination ul.page-numbers li span { display: flex !important; align-items: center !important; justify-content: center !important; min-width: 44px !important; height: 44px !important; padding: 0 12px !important; font-size: 14px !important; font-weight: 600 !important; text-decoration: none !important; border: 1px solid #dddddd !important; border-radius: 4px !important; background-color: #ffffff !important; color: #333333 !important; transition: all 0.3s ease !important; box-sizing: border-box !important; }
.woocommerce-pagination ul.page-numbers li a:hover, .woocommerce nav.woocommerce-pagination ul.page-numbers li a:hover { background-color: var(--mg-gold) !important; border-color: var(--mg-gold) !important; color: #ffffff !important; transform: translateY(-2px) !important; }
.woocommerce-pagination ul.page-numbers li .current, .woocommerce-pagination ul.page-numbers li span.current, .woocommerce nav.woocommerce-pagination ul.page-numbers li .current, .woocommerce nav.woocommerce-pagination ul.page-numbers li span.current { background-color: var(--mg-gold) !important; border-color: var(--mg-gold) !important; color: #ffffff !important; font-weight: 700 !important; }
.woocommerce-pagination ul.page-numbers li .prev, .woocommerce-pagination ul.page-numbers li .next, .woocommerce nav.woocommerce-pagination ul.page-numbers li .prev, .woocommerce nav.woocommerce-pagination ul.page-numbers li .next { padding: 0 16px !important; }

/* Spacing Fixes */
.mg-shop-hero, .mg-about-hero, .mg-faq-hero, .mg-contact-hero, .mg-delivery-hero, .mg-legal-hero, .mg-terms-hero, .mg-privacy-hero, .mg-returns-hero { margin-top: -100px !important; }
.mg-final-cta-section, .mg-faq-cta, .mg-global-cta, .mg-delivery-cta { margin-bottom: -100px !important; }
.mgs-footer, .site-footer, .ast-footer { margin-top: -100px !important; padding-top: 40px !important; }
.site-footer .ast-container, .mgs-footer .mgs-footer-container { padding-top: 0 !important; margin-top: 0 !important; }

/* About Hero Overflow Fix */
.mg-about-hero { overflow: hidden !important; position: relative !important; }
.mg-about-hero .mg-hero-bg { position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; overflow: hidden !important; z-index: 1 !important; }
.mg-about-hero .mg-hero-bg img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center !important; position: absolute !important; top: 0 !important; left: 0 !important; }
.mg-about-hero .mg-hero-overlay { position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; z-index: 2 !important; }
.mg-about-hero .mg-hero-content { position: relative !important; z-index: 3 !important; }


/* ==========================================================================
   12. RESPONSIVE DESIGN (CONSOLIDATED)
   ========================================================================== */

@media (min-width: 900px) {
    .mg-cta-container { flex-direction: row; justify-content: center; align-items: center; gap: 60px; }
    .mg-cta-visual { order: 1; }
    .mg-cta-content { order: 2; text-align: left; }
    .mg-cta-buttons, .mg-cta-trust { justify-content: flex-start; }
}

@media (max-width: 992px) {
    .mg-values-grid { grid-template-columns: repeat(2, 1fr); }
    .mg-vision-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .mg-about-page .mg-hero-title, .mg-contact-page .mg-hero-title, .mg-delivery-page .mg-hero-title { font-size: 42px; }
    .mg-about-page .mg-section-title { font-size: 36px; }
    .mg-zones-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .mg-process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .mg-contact-grid { grid-template-columns: 1fr; gap: 60px; }
    .hero-attached-dark .carousel-track-container ul.products li.product-category { flex: 0 0 calc(50% - 10px) !important; width: calc(50% - 10px) !important; max-width: calc(50% - 10px) !important; }
    .featured-grid ul.products { grid-template-columns: repeat(2, 1fr) !important; }
    .mg-ritual-flex { flex-wrap: wrap !important; }
    .mg-ritual-card-flex { flex: 1 1 calc(50% - 10px) !important; }
}

@media (max-width: 768px) {
    /* Hero Sections */
    .mg-shop-hero, .mg-about-hero, .mg-faq-hero, .mg-contact-hero, .mg-delivery-hero, .mg-legal-hero, .mg-terms-hero, .mg-privacy-hero, .mg-returns-hero { height: auto !important; min-height: 400px !important; padding: 80px 20px 60px 20px !important; }
    .mg-shop-page .mg-hero-title, .mg-about-page .mg-hero-title, .mg-faq-page .mg-hero-title, .mg-contact-page .mg-hero-title, .mg-delivery-page .mg-hero-title, .mg-legal-page .mg-hero-title, .mg-terms-page .mg-hero-title, .mg-privacy-page .mg-hero-title, .mg-returns-page .mg-hero-title { font-size: 32px !important; line-height: 1.2 !important; margin-bottom: 15px !important; padding: 0 10px !important; }
    .mg-shop-page .mg-hero-subtitle, .mg-about-page .mg-hero-subtitle, .mg-faq-page .mg-hero-subtitle, .mg-contact-page .mg-hero-subtitle, .mg-delivery-page .mg-hero-subtitle, .mg-legal-page .mg-hero-subtitle, .mg-terms-page .mg-hero-subtitle, .mg-privacy-page .mg-hero-subtitle, .mg-returns-page .mg-hero-subtitle { font-size: 15px !important; line-height: 1.5 !important; padding: 0 15px !important; }
    .mg-shop-page .mg-hero-content, .mg-about-page .mg-hero-content, .mg-faq-page .mg-hero-content, .mg-contact-page .mg-hero-content, .mg-delivery-page .mg-hero-content, .mg-legal-page .mg-hero-content, .mg-terms-page .mg-hero-content, .mg-privacy-page .mg-hero-content, .mg-returns-page .mg-hero-content { padding: 20px !important; max-width: 100% !important; }
    .mg-shop-page .mg-hero-tag, .mg-about-page .mg-hero-tag, .mg-faq-page .mg-hero-tag, .mg-contact-page .mg-hero-tag, .mg-delivery-page .mg-hero-tag, .mg-legal-page .mg-hero-tag, .mg-terms-page .mg-hero-tag, .mg-privacy-page .mg-hero-tag, .mg-returns-page .mg-hero-tag { font-size: 11px !important; letter-spacing: 2px !important; margin-bottom: 10px !important; }

    /* General Sections */
    .mg-values-grid { grid-template-columns: 1fr; gap: 20px; }
    .mg-mission-section, .mg-values-section, .mg-story-section, .mg-vision-section, .mg-contact-main, .mg-legal-content, .mg-terms-content, .mg-privacy-content, .mg-returns-content, .mg-faq-content { padding: 60px 0; }
    .mg-cta-heading { font-size: 32px; }
    .mg-form-row { grid-template-columns: 1fr; gap: 25px; }
    .mg-contact-page .mg-section-title, .mg-delivery-page .mg-section-title { font-size: 30px; }
    .mg-cta-box { padding: 40px 20px; }
    .mg-process-steps { grid-template-columns: 1fr; }
    .mg-info-grid { grid-template-columns: 1fr; }
    .mg-category-title { font-size: 24px; }
    .mg-faq-question { padding: 20px 50px 20px 20px; font-size: 15px; }
    .mg-faq-question::after { right: 20px; font-size: 20px; }
    .mg-faq-answer { padding: 20px; font-size: 14px; }
    .mg-legal-heading, .mg-terms-heading, .mg-privacy-heading, .mg-returns-heading { font-size: 22px; }
    .mg-legal-section, .mg-terms-section, .mg-privacy-section, .mg-returns-section { margin-bottom: 40px; }
    .woocommerce ul.products, ul.products { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important; gap: 18px !important; }
    .single-product .site-content, .single-product #content { padding-top: 50px !important; }
    .hero-attached-dark ul.products li.product-category { width: 220px !important; max-width: 220px !important; }
    .hero-attached-dark ul.products li.product-category > a { height: 240px !important; padding: 15px !important; }
    .hero-attached-dark ul.products li.product-category > a .woocommerce-loop-category__title { font-size: 12px !important; }
    .mg-story-container { grid-template-columns: 1fr; }
    .mg-slide-content .mg-title { font-size: 36px; }
    .mg-form { flex-direction: column; }
    .mg-benefits-grid { grid-template-columns: 1fr !important; }
    .mg-cat-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .mg-ritual-section { padding: 60px 20px !important; }
    .mg-ritual-card-flex { flex: 1 1 100% !important; padding: 30px 20px !important; text-align: center !important; }
    .mg-ritual-card-flex .mg-step-icon { margin: 0 auto 20px auto !important; }
    .mg-ritual-card-flex .mg-step-link { justify-content: center !important; }
    .mg-ritual-card-flex .mg-step-number { font-size: 60px !important; top: -5px !important; right: 10px !important; }
}

@media (max-width: 600px) {
    .hero-attached-dark .carousel-track-container ul.products li.product-category { flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; }
    .featured-grid ul.products { grid-template-columns: 1fr !important; }
    .mg-cat-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .mg-cat-card { padding: 25px 10px !important; }
    .mg-cat-icon { width: 40px !important; height: 40px !important; }
    .mg-cat-card span { font-size: 12px !important; }
    .shop-category-bar { padding: 12px 15px !important; gap: 10px !important; margin-bottom: 30px !important; }
    .shop-cat-label, .shop-category-bar a { font-size: 0.85rem !important; padding: 6px 16px !important; }
    .mgs-payment-icon { height: 26px !important; max-width: 50px !important; }
    .mgs-payment-icons { gap: 15px !important; }
}

@media (max-width: 520px) {
    .woocommerce ul.products, ul.products { grid-template-columns: 1fr !important; }
    .hero-attached-dark ul.products li.product-category { width: 180px !important; max-width: 180px !important; }
    .hero-attached-dark ul.products li.product-category > a { height: 220px !important; }
}

@media (max-width: 480px) {
    .mg-shop-hero, .mg-about-hero, .mg-faq-hero, .mg-contact-hero, .mg-delivery-hero, .mg-legal-hero, .mg-terms-hero, .mg-privacy-hero, .mg-returns-hero { min-height: 350px !important; padding: 60px 15px 40px 15px !important; }
    .mg-shop-page .mg-hero-title, .mg-about-page .mg-hero-title, .mg-faq-page .mg-hero-title, .mg-contact-page .mg-hero-title, .mg-delivery-page .mg-hero-title, .mg-legal-page .mg-hero-title, .mg-terms-page .mg-hero-title, .mg-privacy-page .mg-hero-title, .mg-returns-page .mg-hero-title { font-size: 28px !important; line-height: 1.3 !important; }
    .mg-shop-page .mg-hero-subtitle, .mg-about-page .mg-hero-subtitle, .mg-faq-page .mg-hero-subtitle, .mg-contact-page .mg-hero-subtitle, .mg-delivery-page .mg-hero-subtitle, .mg-legal-page .mg-hero-subtitle, .mg-terms-page .mg-hero-subtitle, .mg-privacy-page .mg-hero-subtitle, .mg-returns-page .mg-hero-subtitle { font-size: 14px !important; line-height: 1.4 !important; }
    .mg-about-page .mg-section-title { font-size: 28px; }
    .mg-cta-buttons { flex-direction: column; align-items: center; }
    .mg-cta-btn { width: 100%; max-width: 300px; }
    .mg-contact-form-wrapper { padding: 30px 20px; }
    .mg-submit-btn { width: 100%; text-align: center; }
    .mg-zone-card, .mg-info-box { padding: 30px 20px; }
    .mg-legal-heading, .mg-terms-heading, .mg-privacy-heading, .mg-returns-heading { font-size: 20px; }
    .mg-legal-section p, .mg-legal-list li, .mg-terms-section p, .mg-privacy-section p, .mg-privacy-list li, .mg-returns-section p, .mg-returns-list li { font-size: 14px; }
    .mg-legal-contact-details, .mg-terms-contact-details, .mg-privacy-contact-details, .mg-returns-contact-details { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .woocommerce ul.products li.product:hover { transform: none !important; }
}