/* ============================================
   MB BEAUTY STUDIO - PREMIUM MOBILE-FIRST HOMEPAGE
   Mobile-first, elegant, luxury feel
   ============================================ */

/* ============================
   DESIGN TOKENS
   ============================ */
:root {
    /* Colors */
    --hp-primary: #e8a2c0;
    --hp-primary-dark: #d489ad;
    --hp-primary-light: #f5d0e0;
    --hp-accent: #ffd6e5;
    --hp-bg-soft: #fff5f8;
    --hp-bg-white: #ffffff;
    --hp-text-dark: #2c2c2c;
    --hp-text-muted: #666666;
    --hp-text-light: #888888;

    /* Shadows */
    --hp-shadow-sm: 0 4px 15px rgba(232, 162, 192, 0.1);
    --hp-shadow-md: 0 10px 30px rgba(232, 162, 192, 0.15);
    --hp-shadow-lg: 0 20px 50px rgba(232, 162, 192, 0.2);
    --hp-shadow-glow: 0 0 30px rgba(232, 162, 192, 0.25);

    /* Spacing */
    --hp-section-spacing: 60px;
    --hp-section-spacing-mobile: 40px;

    /* Border Radius */
    --hp-radius-sm: 8px;
    --hp-radius-md: 12px;
    --hp-radius-lg: 16px;
    --hp-radius-xl: 24px;
    --hp-radius-full: 50px;

    /* Transitions */
    --hp-transition: 0.3s ease;
    --hp-transition-slow: 0.5s ease;

    /* Touch Target */
    --hp-touch-size: 44px;
}

/* ============================
   BASE SECTION STYLES
   ============================ */
.hp-section {
    padding: var(--hp-section-spacing-mobile) 0;
    position: relative;
}

.hp-section-header {
    text-align: center;
    margin-bottom: 30px;
}

.hp-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--hp-text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.hp-section-subtitle {
    color: var(--hp-text-muted);
    font-size: 0.9rem;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================
   PREMIUM CATEGORY CARDS
   ============================ */
.hp-categories {
    background: linear-gradient(180deg, var(--hp-bg-white) 0%, var(--hp-bg-soft) 100%);
    padding: var(--hp-section-spacing-mobile) 0;
}

.hp-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 15px;
}

.hp-category-card {
    background: var(--hp-bg-white);
    border-radius: var(--hp-radius-lg);
    padding: 25px 15px;
    text-align: center;
    text-decoration: none;
    box-shadow: var(--hp-shadow-sm);
    transition: all var(--hp-transition);
    border: 1px solid rgba(232, 162, 192, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 140px;
}

.hp-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hp-shadow-md);
    border-color: var(--hp-primary-light);
}

.hp-category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--hp-bg-soft), var(--hp-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 12px;
    transition: all var(--hp-transition);
}

.hp-category-card:hover .hp-category-icon {
    background: linear-gradient(135deg, var(--hp-primary), var(--hp-primary-dark));
    transform: scale(1.1);
}

.hp-category-card:hover .hp-category-icon i {
    color: white;
}

.hp-category-icon i {
    color: var(--hp-primary);
    transition: color var(--hp-transition);
}

.hp-category-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--hp-text-dark);
    margin: 0;
}

.hp-category-count {
    font-size: 0.75rem;
    color: var(--hp-text-light);
    margin-top: 4px;
}

/* ============================
   PREMIUM PRODUCT CARDS
   ============================ */
.hp-products-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 15px 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.hp-products-scroll::-webkit-scrollbar {
    display: none;
}

.hp-product-card {
    flex: 0 0 calc(50% - 10px);
    min-width: 160px;
    max-width: 200px;
    background: var(--hp-bg-white);
    border-radius: var(--hp-radius-lg);
    overflow: hidden;
    box-shadow: var(--hp-shadow-sm);
    transition: all var(--hp-transition);
    scroll-snap-align: start;
}

.hp-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hp-shadow-md);
}

.hp-product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--hp-bg-soft);
}

.hp-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--hp-transition-slow);
}

.hp-product-card:hover .hp-product-image img {
    transform: scale(1.08);
}

.hp-product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--hp-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--hp-radius-full);
}

.hp-product-info {
    padding: 15px;
}

.hp-product-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--hp-text-dark);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.hp-product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hp-product-price .current {
    font-size: 1rem;
    font-weight: 600;
    color: var(--hp-primary-dark);
}

.hp-product-price .original {
    font-size: 0.8rem;
    color: var(--hp-text-light);
    text-decoration: line-through;
}

.hp-add-btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, var(--hp-primary), var(--hp-primary-dark));
    color: white;
    border: none;
    border-radius: var(--hp-radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--hp-transition);
    margin-top: 10px;
    min-height: var(--hp-touch-size);
}

.hp-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(232, 162, 192, 0.4);
}

/* ============================
   NEWSLETTER SECTION
   ============================ */
.hp-newsletter {
    background: linear-gradient(135deg, var(--hp-bg-soft) 0%, var(--hp-accent) 100%);
    padding: var(--hp-section-spacing-mobile) 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hp-newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: newsletterGlow 8s ease-in-out infinite;
}

@keyframes newsletterGlow {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10%, 10%);
    }
}

.hp-newsletter-content {
    position: relative;
    z-index: 1;
    max-width: 400px;
    margin: 0 auto;
}

.hp-newsletter-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--hp-text-dark);
    margin-bottom: 10px;
}

.hp-newsletter-text {
    color: var(--hp-text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hp-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hp-newsletter-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(232, 162, 192, 0.3);
    border-radius: var(--hp-radius-full);
    font-size: 0.95rem;
    outline: none;
    background: white;
    transition: all var(--hp-transition);
    min-height: var(--hp-touch-size);
}

.hp-newsletter-input:focus {
    border-color: var(--hp-primary);
    box-shadow: 0 0 0 4px rgba(232, 162, 192, 0.15);
}

.hp-newsletter-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--hp-primary), var(--hp-primary-dark));
    color: white;
    border: none;
    border-radius: var(--hp-radius-full);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--hp-transition);
    min-height: var(--hp-touch-size);
}

.hp-newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--hp-shadow-md);
}

/* ============================
   TESTIMONIALS SECTION
   ============================ */
.hp-testimonials {
    background: var(--hp-bg-white);
    padding: var(--hp-section-spacing-mobile) 0;
}

.hp-testimonials-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 15px 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.hp-testimonials-slider::-webkit-scrollbar {
    display: none;
}

.hp-testimonial-card {
    flex: 0 0 calc(85% - 10px);
    min-width: 280px;
    max-width: 350px;
    background: var(--hp-bg-soft);
    border-radius: var(--hp-radius-xl);
    padding: 25px;
    scroll-snap-align: center;
    position: relative;
}

.hp-testimonial-quote {
    font-size: 2rem;
    color: var(--hp-primary-light);
    position: absolute;
    top: 15px;
    left: 20px;
}

.hp-testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 12px;
}

.hp-testimonial-stars i {
    color: #ffc107;
    font-size: 0.9rem;
}

.hp-testimonial-text {
    font-size: 0.95rem;
    color: var(--hp-text-dark);
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
}

.hp-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hp-testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hp-primary), var(--hp-primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.hp-testimonial-name {
    font-weight: 600;
    color: var(--hp-text-dark);
    font-size: 0.9rem;
}

.hp-testimonial-location {
    font-size: 0.8rem;
    color: var(--hp-text-light);
}

/* ============================
   FINAL CTA STRIP
   ============================ */
.hp-cta-strip {
    background: linear-gradient(135deg, var(--hp-primary) 0%, var(--hp-primary-dark) 100%);
    padding: 40px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hp-cta-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hp-cta-content {
    position: relative;
    z-index: 1;
}

.hp-cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 15px;
}

.hp-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 35px;
    background: white;
    color: var(--hp-primary-dark);
    border: none;
    border-radius: var(--hp-radius-full);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--hp-transition);
    min-height: var(--hp-touch-size);
}

.hp-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: var(--hp-primary-dark);
}

/* ============================
   TRUST BAR ENHANCEMENT
   ============================ */
.hp-trust-bar {
    background: var(--hp-bg-white);
    padding: 20px 15px;
    border-bottom: 1px solid rgba(232, 162, 192, 0.1);
}

.hp-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.hp-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--hp-bg-soft);
    border-radius: var(--hp-radius-md);
}

.hp-trust-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.hp-trust-text h6 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--hp-text-dark);
    margin: 0 0 2px;
}

.hp-trust-text p {
    font-size: 0.7rem;
    color: var(--hp-text-light);
    margin: 0;
}

/* ============================
   DESKTOP STYLES (768px+)
   ============================ */
@media (min-width: 768px) {
    .hp-section {
        padding: var(--hp-section-spacing) 0;
    }

    .hp-section-title {
        font-size: 2.25rem;
    }

    .hp-section-subtitle {
        font-size: 1rem;
        max-width: 500px;
    }

    /* Categories */
    .hp-category-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
        max-width: 900px;
        margin: 0 auto;
        padding: 0 30px;
    }

    .hp-category-card {
        padding: 35px 20px;
        min-height: 180px;
    }

    .hp-category-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }

    .hp-category-name {
        font-size: 1.1rem;
    }

    /* Products */
    .hp-products-scroll {
        padding: 15px 30px 25px;
        gap: 25px;
        justify-content: center;
        flex-wrap: wrap;
        overflow-x: visible;
    }

    .hp-product-card {
        flex: 0 0 calc(25% - 20px);
        min-width: 220px;
        max-width: 280px;
    }

    /* Newsletter */
    .hp-newsletter {
        padding: 80px 40px;
    }

    .hp-newsletter-content {
        max-width: 500px;
    }

    .hp-newsletter-title {
        font-size: 2rem;
    }

    .hp-newsletter-form {
        flex-direction: row;
    }

    .hp-newsletter-input {
        flex: 1;
    }

    .hp-newsletter-btn {
        width: auto;
        padding: 14px 35px;
    }

    /* Testimonials */
    .hp-testimonials-slider {
        justify-content: center;
        flex-wrap: wrap;
        overflow-x: visible;
        gap: 25px;
        padding: 15px 30px 25px;
    }

    .hp-testimonial-card {
        flex: 0 0 calc(33% - 20px);
        min-width: 300px;
        max-width: 380px;
    }

    /* CTA Strip */
    .hp-cta-strip {
        padding: 60px 40px;
    }

    .hp-cta-title {
        font-size: 2rem;
    }

    .hp-cta-btn {
        padding: 16px 50px;
        font-size: 1.1rem;
    }

    /* Trust Bar */
    .hp-trust-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 900px;
        margin: 0 auto;
    }
}

/* ============================
   LARGE DESKTOP (1200px+)
   ============================ */
@media (min-width: 1200px) {
    .hp-category-grid {
        max-width: 1100px;
    }

    .hp-product-card {
        flex: 0 0 calc(20% - 20px);
    }
}

/* ============================
   BRAND STORY SECTION
   ============================ */
.hp-brand-story {
    background: linear-gradient(180deg, var(--hp-bg-soft) 0%, var(--hp-bg-white) 50%, var(--hp-bg-soft) 100%);
    padding: var(--hp-section-spacing-mobile) 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hp-brand-story::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--hp-accent) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    opacity: 0.5;
}

.hp-brand-story::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--hp-primary-light) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    opacity: 0.4;
}

.hp-brand-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.hp-brand-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--hp-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hp-brand-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--hp-text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.hp-brand-text {
    font-size: 1rem;
    color: var(--hp-text-muted);
    line-height: 1.8;
    margin-bottom: 25px;
}

.hp-brand-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--hp-primary-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--hp-transition);
}

.hp-brand-cta:hover {
    color: var(--hp-primary);
    gap: 12px;
}

/* ============================
   LUXURY TRUST STRIP
   ============================ */
.hp-luxury-trust {
    background: var(--hp-bg-white);
    padding: 25px 15px;
    border-top: 1px solid rgba(232, 162, 192, 0.1);
    border-bottom: 1px solid rgba(232, 162, 192, 0.1);
}

.hp-luxury-trust-grid {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.hp-luxury-trust-grid::-webkit-scrollbar {
    display: none;
}

.hp-luxury-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 2px;
    min-width: 65px;
    flex: 1;
    max-width: unset;
}

.hp-luxury-trust-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--hp-bg-soft), var(--hp-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: all var(--hp-transition);
}

.hp-luxury-trust-icon i {
    font-size: 1.2rem;
    color: var(--hp-primary-dark);
}

.hp-luxury-trust-item:hover .hp-luxury-trust-icon {
    transform: scale(1.1);
    box-shadow: var(--hp-shadow-glow);
}

.hp-luxury-trust-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--hp-text-dark);
    line-height: 1.3;
}

/* ============================
   FEATURES LUXURY STYLING
   ============================ */
.features-single-line {
    background: linear-gradient(135deg, var(--hp-bg-soft) 0%, var(--hp-bg-white) 100%);
    padding: 30px 15px;
}

.features-single-line .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.features-single-line .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--hp-bg-white);
    border-radius: var(--hp-radius-lg);
    box-shadow: var(--hp-shadow-sm);
    transition: all var(--hp-transition);
}

.features-single-line .feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--hp-shadow-md);
}

.features-single-line .feature-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--hp-bg-soft), var(--hp-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.features-single-line .feature-text h6 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--hp-text-dark);
    margin: 0 0 3px;
}

.features-single-line .feature-text p {
    font-size: 0.75rem;
    color: var(--hp-text-light);
    margin: 0;
}

/* ============================
   SCROLL FADE ANIMATIONS
   ============================ */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
   BEST SELLERS LUXURY STYLING
   ============================ */
.best-sellers-longines {
    background: linear-gradient(180deg, var(--hp-bg-white) 0%, var(--hp-bg-soft) 100%);
}

.best-sellers-longines .longines-section-header {
    text-align: center;
    padding: 40px 20px 30px;
}

.best-sellers-longines .longines-section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--hp-text-dark);
    margin-bottom: 8px;
}

.best-sellers-longines .longines-section-header p {
    color: var(--hp-text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.best-sellers-longines .view-all-link {
    display: inline-block;
    color: var(--hp-primary-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--hp-transition);
    border-bottom: 2px solid transparent;
}

.best-sellers-longines .view-all-link:hover {
    color: var(--hp-primary);
    border-bottom-color: var(--hp-primary);
}

/* ============================
   ABOUT SECTION ENHANCEMENT
   ============================ */
.about-section {
    background: var(--hp-bg-white);
}

.about-section .about-content {
    text-align: center;
    padding: 40px 20px;
}

.about-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--hp-text-dark);
    margin-bottom: 15px;
}

.about-section p {
    color: var(--hp-text-muted);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 20px;
}

/* ============================
   PREMIUM CARDS ENHANCEMENT
   ============================ */
.premium-product-card {
    background: var(--hp-bg-white);
    border-radius: var(--hp-radius-lg);
    overflow: hidden;
    box-shadow: var(--hp-shadow-sm);
    transition: all var(--hp-transition);
}

.premium-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hp-shadow-md);
}

.premium-card-content {
    padding: 15px;
}

.premium-card-category {
    font-size: 0.75rem;
    color: var(--hp-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.premium-card-title a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--hp-text-dark);
    text-decoration: none;
    transition: color var(--hp-transition);
}

.premium-card-title a:hover {
    color: var(--hp-primary);
}

.premium-card-price {
    margin: 10px 0;
}

.premium-card-price del {
    color: var(--hp-text-light);
    font-size: 0.85rem;
    margin-right: 8px;
}

.premium-card-price .sale-price {
    color: var(--hp-primary-dark);
    font-weight: 600;
    font-size: 1rem;
}

.savings-text {
    font-size: 0.8rem;
    color: #27ae60;
    margin-bottom: 10px;
}

.btn-premium-action {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--hp-primary), var(--hp-primary-dark));
    color: white;
    border: none;
    border-radius: var(--hp-radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--hp-transition);
    min-height: var(--hp-touch-size);
}

.btn-premium-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(232, 162, 192, 0.4);
}

/* ============================
   DESKTOP ENHANCEMENTS
   ============================ */
@media (min-width: 768px) {
    .hp-brand-story {
        padding: 80px 40px;
    }

    .hp-brand-title {
        font-size: 2.5rem;
    }

    .hp-brand-text {
        font-size: 1.1rem;
    }

    .hp-luxury-trust-grid {
        gap: 30px;
        justify-content: center;
        flex-wrap: wrap;
        /* Restore wrap for safety on large screens if content grows */
    }

    .hp-luxury-trust-item {
        min-width: 120px;
        max-width: 150px;
    }

    .hp-luxury-trust-icon {
        width: 60px;
        height: 60px;
    }

    .hp-luxury-trust-icon i {
        font-size: 1.5rem;
    }

    .hp-luxury-trust-label {
        font-size: 0.8rem;
    }

    .features-single-line .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .best-sellers-longines .longines-section-header h2 {
        font-size: 2.25rem;
    }
}

/* ============================================
   CATEGORY PRODUCT SLIDER - LUXURY STYLE
   ============================================ */
/* ============================================
   CATEGORY PRODUCT SLIDER - LUXURY STYLE
   ============================================ */
.hp-category-slider-section {
    background: linear-gradient(180deg, var(--hp-bg-soft) 0%, var(--hp-bg-white) 100%);
    padding: 50px 0 60px;
}

.hp-category-block {
    margin-bottom: 60px;
}

.hp-category-block:last-child {
    margin-bottom: 0;
}

.hp-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    margin-bottom: 25px;
}

.hp-category-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--hp-text-dark);
    margin: 0;
    position: relative;
    font-weight: 600;
}

/* Elegant Underline */
.hp-category-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--hp-primary);
}

.hp-category-view-all {
    color: var(--hp-text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--hp-transition);
    border-bottom: 1px solid transparent;
}

.hp-category-view-all:hover {
    color: var(--hp-primary);
    border-bottom-color: var(--hp-primary);
}

/* Slider Container */
.hp-slider-container {
    position: relative;
    overflow: hidden;
    padding: 15px 0 25px;
    /* Extra bottom padding for shadows */
}

.hp-slider-track {
    display: flex;
    gap: 15px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    /* Smooth luxury easing */
    padding: 5px 15px;
}

/* Product Card - Premium Style */
.hp-slider-card {
    flex: 0 0 calc(50% - 10px);
    /* Mobile: 2 Cards */
    min-width: 160px;
    max-width: 240px;
    background: var(--hp-bg-white);
    border-radius: var(--hp-radius-lg);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    /* Soft premium shadow */
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.hp-slider-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(232, 162, 192, 0.2);
}

/* Card Image */
.hp-slider-card-image {
    position: relative;
    aspect-ratio: 3/4;
    /* Portrait 3:4 */
    overflow: hidden;
    background: #f9f9f9;
}

.hp-slider-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    /* Slow smooth zoom */
}

.hp-slider-card:hover .hp-slider-card-image img {
    transform: scale(1.08);
    /* Subtle zoom */
}

/* Wishlist Icon */
.hp-wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    z-index: 5;
    opacity: 0.9;
}

.hp-wishlist-btn:hover {
    background: var(--hp-primary);
    transform: scale(1.1);
    opacity: 1;
}

.hp-wishlist-btn i {
    color: #888;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.hp-wishlist-btn:hover i {
    color: white;
}

.hp-wishlist-btn.active i {
    color: #e74c3c;
}

/* Badges */
.hp-slider-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hp-slider-badge.sale {
    background: #ff6b6b;
    color: white;
}

.hp-slider-badge.new {
    background: var(--hp-primary);
    color: white;
}

/* Card Content */
.hp-slider-card-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hp-slider-card-category {
    font-size: 0.7rem;
    color: var(--hp-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    display: block;
}

.hp-slider-card-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--hp-text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.hp-slider-card-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hp-slider-card-name a:hover {
    color: var(--hp-primary);
}

.hp-slider-card-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    /* Push to bottom */
}

.hp-slider-old-price {
    font-size: 0.85rem;
    color: #aaa;
    text-decoration: line-through;
}

.hp-slider-new-price {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--hp-text-dark);
    /* Modern luxury dark price */
}

/* Navigation Arrows - Minimal */
.hp-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.85);
    /* Semi-transparent */
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    /* Glassmorphism */
}

.hp-slider-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.hp-slider-nav i {
    color: var(--hp-text-dark);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.hp-slider-nav.prev {
    left: 10px;
}

.hp-slider-nav.next {
    right: 10px;
}

/* Pagination Dots */
.hp-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.hp-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e0e0e0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hp-slider-dot.active {
    background: var(--hp-primary);
    transform: scale(1.2);
    width: 24px;
    /* Extended active dot */
    border-radius: 10px;
}

/* Desktop Styles */
@media (min-width: 768px) {
    .hp-category-slider-section {
        padding: 70px 0 80px;
    }

    .hp-category-header {
        padding: 0 40px;
        margin-bottom: 30px;
    }

    .hp-category-title {
        font-size: 2rem;
    }

    .hp-slider-track {
        gap: 24px;
        padding: 10px 40px;
        /* Aligned with header */
    }

    .hp-slider-card {
        flex: 0 0 calc(20% - 19.2px);
        /* Desktop: 5 Cards (100% / 5 = 20%) minus gap adjustment */
        min-width: 200px;
        max-width: 260px;
    }

    .hp-slider-nav {
        width: 50px;
        height: 50px;
        opacity: 0;
        /* Hide arrows until hover */
        transform: translateY(-50%) translateX(20px);
    }

    .hp-slider-container:hover .hp-slider-nav {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }

    .hp-slider-nav.prev {
        left: 20px;
    }

    .hp-slider-nav.next {
        right: 20px;
    }
}

@media (min-width: 1200px) {
    .hp-slider-card {
        flex: 0 0 calc(20% - 19.2px);
    }

    .hp-slider-track {
        padding: 10px 50px;
    }

    .hp-category-header {
        padding: 0 50px;
    }
}

.hp-category-block {
    margin-bottom: 50px;
}

.hp-category-block:last-child {
    margin-bottom: 0;
}

.hp-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    margin-bottom: 20px;
}

.hp-category-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--hp-text-dark);
    margin: 0;
    position: relative;
}

.hp-category-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--hp-primary);
}

.hp-category-view-all {
    color: var(--hp-primary-dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--hp-transition);
}

.hp-category-view-all:hover {
    color: var(--hp-primary);
}

/* Slider Container */
.hp-slider-container {
    position: relative;
    overflow: hidden;
    padding: 10px 0;
}

.hp-slider-track {
    display: flex;
    gap: 15px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 5px 15px;
}

/* Product Card - Premium Style */
.hp-slider-card {
    flex: 0 0 calc(50% - 10px);
    min-width: 160px;
    max-width: 220px;
    background: var(--hp-bg-white);
    border-radius: var(--hp-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all var(--hp-transition);
    position: relative;
}

.hp-slider-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(232, 162, 192, 0.2);
}

/* Card Image */
.hp-slider-card-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f8f8f8;
}

.hp-slider-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hp-slider-card:hover .hp-slider-card-image img {
    transform: scale(1.08);
}

/* Wishlist Icon */
.hp-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--hp-transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.hp-wishlist-btn:hover {
    background: var(--hp-primary);
    transform: scale(1.1);
}

.hp-wishlist-btn i {
    color: #999;
    font-size: 0.9rem;
    transition: color var(--hp-transition);
}

.hp-wishlist-btn:hover i {
    color: white;
}

.hp-wishlist-btn.active i {
    color: #e74c3c;
}

/* Badges */
.hp-slider-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.hp-slider-badge.sale {
    background: #ff6b35;
    color: white;
}

.hp-slider-badge.new {
    background: var(--hp-primary);
    color: white;
}

.hp-slider-badge.out-of-stock {
    background: #666;
    color: white;
}

/* Card Content */
.hp-slider-card-content {
    padding: 15px;
}

.hp-slider-card-category {
    font-size: 0.7rem;
    color: var(--hp-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    display: block;
}

.hp-slider-card-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--hp-text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
}

.hp-slider-card-name a {
    color: inherit;
    text-decoration: none;
    transition: color var(--hp-transition);
}

.hp-slider-card-name a:hover {
    color: var(--hp-primary);
}

.hp-slider-card-price {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.hp-slider-old-price {
    font-size: 0.8rem;
    color: #999;
    text-decoration: line-through;
}

.hp-slider-new-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--hp-primary-dark);
}

/* Quick Add Button */
.hp-slider-add-btn {
    width: 100%;
    padding: 10px;
    background: transparent;
    color: var(--hp-primary-dark);
    border: 1.5px solid var(--hp-primary);
    border-radius: var(--hp-radius-md);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--hp-transition);
    opacity: 0;
    transform: translateY(10px);
}

.hp-slider-card:hover .hp-slider-add-btn {
    opacity: 1;
    transform: translateY(0);
}

.hp-slider-add-btn:hover {
    background: linear-gradient(135deg, var(--hp-primary), var(--hp-primary-dark));
    color: white;
    border-color: transparent;
}

/* Navigation Arrows */
.hp-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all var(--hp-transition);
}

.hp-slider-nav:hover {
    background: var(--hp-primary);
    transform: translateY(-50%) scale(1.1);
}

.hp-slider-nav:hover i {
    color: white;
}

.hp-slider-nav i {
    color: var(--hp-text-dark);
    font-size: 0.9rem;
    transition: color var(--hp-transition);
}

.hp-slider-nav.prev {
    left: 5px;
}

.hp-slider-nav.next {
    right: 5px;
}

/* Pagination Dots */
.hp-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.hp-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all var(--hp-transition);
}

.hp-slider-dot.active {
    background: var(--hp-primary);
    transform: scale(1.2);
}

.hp-slider-dot:hover {
    background: var(--hp-primary-light);
}

/* Desktop Styles */
@media (min-width: 768px) {
    .hp-category-slider-section {
        padding: 60px 0 70px;
    }

    .hp-category-header {
        padding: 0 30px;
        margin-bottom: 25px;
    }

    .hp-category-title {
        font-size: 1.75rem;
    }

    .hp-slider-track {
        gap: 20px;
        padding: 10px 30px;
    }

    .hp-slider-card {
        flex: 0 0 calc(20% - 16px);
        min-width: 200px;
        max-width: 250px;
    }

    .hp-slider-nav {
        width: 45px;
        height: 45px;
    }

    .hp-slider-nav.prev {
        left: 10px;
    }

    .hp-slider-nav.next {
        right: 10px;
    }

    .hp-slider-add-btn {
        opacity: 0;
    }
}

@media (min-width: 1200px) {
    .hp-slider-card {
        flex: 0 0 calc(20% - 16px);
    }
}

/* ============================================
   INSTAGRAM SOFT GLOW THEME (Option 2)
   ============================================ */
.instagram-modern {
    background: #fafafa;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    color: var(--hp-text-dark);
}

/* Floating Soft Orbs Background */
.insta-floating-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.insta-floating-bg::before,
.insta-floating-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: orbFloat 20s infinite alternate ease-in-out;
}

/* Orb 1: Soft Pink */
.insta-floating-bg::before {
    width: 600px;
    height: 600px;
    background: #fce4ec;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

/* Orb 2: Champagne/Gold */
.insta-floating-bg::after {
    width: 500px;
    height: 500px;
    background: #fff8e1;
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* Floating Icons (Subtle) */
.insta-icon-float {
    position: absolute;
    color: rgba(0, 0, 0, 0.04);
    /* Slightly increased visibility */
    font-size: 2rem;
    animation: floatUp 20s linear infinite;
    bottom: -100px;
    z-index: 1;
}

.insta-icon-float:nth-child(1) {
    left: 10%;
    animation-duration: 15s;
    font-size: 3rem;
    animation-delay: 0s;
}

.insta-icon-float:nth-child(2) {
    left: 20%;
    animation-duration: 25s;
    font-size: 1.5rem;
    animation-delay: 2s;
}

.insta-icon-float:nth-child(3) {
    left: 35%;
    animation-duration: 18s;
    font-size: 4rem;
    animation-delay: 5s;
}

.insta-icon-float:nth-child(4) {
    left: 50%;
    animation-duration: 22s;
    font-size: 2.5rem;
    animation-delay: 1s;
}

.insta-icon-float:nth-child(5) {
    left: 65%;
    animation-duration: 19s;
    font-size: 3.5rem;
    animation-delay: 7s;
}

/* New Icons Animations */
.insta-icon-float:nth-child(6) {
    left: 80%;
    animation-duration: 24s;
    font-size: 2rem;
    animation-delay: 3s;
}

.insta-icon-float:nth-child(7) {
    left: 90%;
    animation-duration: 16s;
    font-size: 2.8rem;
    animation-delay: 6s;
}

.insta-icon-float:nth-child(8) {
    left: 5%;
    animation-duration: 28s;
    font-size: 1.8rem;
    animation-delay: 4s;
}

.insta-icon-float:nth-child(9) {
    left: 45%;
    animation-duration: 21s;
    font-size: 3rem;
    animation-delay: 9s;
}

.insta-icon-float:nth-child(10) {
    left: 75%;
    animation-duration: 17s;
    font-size: 2.2rem;
    animation-delay: 2s;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-110vh) rotate(360deg);
        opacity: 0;
    }
}

.instagram-header {
    text-align: center;
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
}

.instagram-header .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--hp-text-dark);
}

.instagram-header .section-subtitle {
    font-size: 1.1rem;
    color: #777;
    font-weight: 300;
    letter-spacing: 1px;
}

.instagram-grid-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
}

/* GLASSMORPHIC CARD STYLE */
.insta-post {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.insta-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.insta-content-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

/* Media Area */
.insta-media-link {
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.insta-media {
    position: relative;
    width: 100%;
    /* Default square for images */
    aspect-ratio: 1;
    /* Square by default */
    overflow: hidden;
    background: #000;
    /* Black background for video letterboxing */
}

/* Video specific aspect ratio (Reel size) */
.insta-post.has-video .insta-media {
    aspect-ratio: 9/16;
}

.insta-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.insta-media video {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    /* Fill the container */
    /* Ensure whole video is visible */
    transition: transform 0.6s ease;
    background: #000;
}

.insta-post:hover .insta-media img {
    transform: scale(1.05);
    /* Subtle zoom for images only */
}

.insta-post:hover .insta-media video {
    transform: scale(1.02);
    /* Very subtle zoom for video to avoid cropping edges too much */
}

/* Play Icon for Videos */
.play-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Footer / Interaction Area */
.insta-footer {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.insta-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.insta-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--hp-text-dark);
    transition: transform 0.2s ease, color 0.2s ease;
}

.insta-btn:hover {
    transform: scale(1.1);
    color: #ed4956;
    /* Instagram Heart Color matches interaction */
}

.insta-spacer {
    flex-grow: 1;
}

.insta-likes {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--hp-text-dark);
    margin-bottom: 4px;
}

.insta-caption {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.account-name {
    font-weight: 700;
    color: var(--hp-text-dark);
    margin-right: 5px;
}

.insta-date-small {
    font-size: 0.7rem;
    color: #999;
    text-transform: uppercase;
    margin-top: 5px;
}

/* Specific Layout for Desktop */
@media (min-width: 992px) {
    .instagram-grid-modern {
        grid-template-columns: 1.2fr 1fr;
        grid-template-rows: repeat(3, auto);
        height: 600px;
        /* Fixed height container */
    }

    /* Main Reel (Left side, full height) */
    .insta-post.large {
        grid-column: 1 / 2;
        grid-row: 1 / 4;
        height: 100%;
    }

    .insta-post.large .insta-media {
        aspect-ratio: auto;
        /* Allow height to stretch */
        height: auto;
        flex-grow: 1;
        /* Take remaining space */
    }

    .insta-post.large .insta-content-wrapper {
        /* Make sure wrapper fills card */
        justify-content: space-between;
    }

    /* Side slots (Right side, stacked) */
    .insta-post:not(.large) {
        grid-column: 2 / 3;
        flex-direction: row;
        /* Horizontal layout for side cards */
        height: 100%;
        max-height: 185px;
        /* Fixed height for consistency */
        align-items: center;
        /* Center vertically */
    }

    .insta-post:not(.large) .insta-content-wrapper {
        flex-direction: row;
        width: 100%;
        height: 100%;
    }

    .insta-post:not(.large) .insta-media-link {
        width: 40%;
        height: 100%;
        border-bottom: none;
        border-right: 1px solid rgba(0, 0, 0, 0.03);
        flex-shrink: 0;
    }

    .insta-post:not(.large) .insta-media {
        height: 100%;
        width: 100%;
        aspect-ratio: auto;
    }

    .insta-post:not(.large) .insta-footer {
        width: 60%;
        padding: 15px;
        justify-content: center;
    }

    .insta-post:not(.large) .insta-caption {
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
}

.instagram-cta {
    text-align: center;
    margin-top: 50px;
    position: relative;
    z-index: 30;
    /* Ensure it is above other elements */
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 40px;
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d, #f56040, #f77737, #fcaf45, #ffdc80);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(193, 53, 132, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-instagram:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(193, 53, 132, 0.5);
    color: white;
}

/* ============================
   INSTAGRAM VIDEO CONTROLS
   ============================ */
.insta-mute-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 20;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 1;
    /* Ensure visibility */
    pointer-events: auto;
    /* Ensure clickable */
}

.insta-mute-btn:hover {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.8);
}

.insta-mute-btn.unmuted {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    border-color: white;
}

/* Ensure play icon is not interfering */
.insta-media .play-icon {
    pointer-events: none;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: white;
    opacity: 0.8;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Make sure the media container handles z-index correctly */
.insta-media-container {
    isolation: isolate;
}