/* Playful Geometric Design System - Maroon Souvenir */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    /* Colors */
    --bg-primary: #FFFDF5;
    --foreground: #1E293B;
    --muted: #F1F5F9;
    --muted-foreground: #64748B;

    /* Brand Colors */
    --accent: #8B5CF6;
    /* Vivid Violet */
    --accent-foreground: #FFFFFF;
    --secondary: #F472B6;
    /* Hot Pink */
    --tertiary: #FBBF24;
    /* Amber */
    --quaternary: #34D399;
    /* Emerald */

    /* UI Colors */
    --border: #E2E8F0;
    --input: #FFFFFF;
    --card: #FFFFFF;
    --ring: #8B5CF6;

    /* Typography */
    --font-heading: 'Outfit', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-hard: 4px 4px 0px 0px #1E293B;
    --shadow-hard-hover: 6px 6px 0px 0px #1E293B;
    --shadow-hard-active: 2px 2px 0px 0px #1E293B;
    --shadow-card: 8px 8px 0px 0px #E2E8F0;
    --shadow-card-hover: 8px 8px 0px 0px #F472B6;

    /* Transitions */
    --transition-bounce: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Global overflow prevention - CRITICAL FOR MOBILE */
html {
    overflow-x: hidden;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

body {
    background-color: var(--bg-primary);
    color: var(--foreground);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    width: 100%;
    max-width: 100vw;
    position: relative;
    min-height: 100vh;
}

/* Fail-safe for mobile containers */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    /* overflow: hidden; REMOVED to allow sticky elements */
}

@media (max-width: 768px) {
    .container {
        overflow: hidden;
        /* Keep safe on mobile */
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Ensure all sections have proper padding */
    section,
    header,
    footer {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    section .container,
    header .container,
    footer .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--foreground);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-bounce);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

/* Utilities */
.container {
    max-width: 1280px;
    /* max-w-6xl roughly 1152px, let's go a bit wider */
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--accent);
}

.text-tertiary {
    color: var(--tertiary);
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-12 {
    grid-template-columns: repeat(12, 1fr);
}

@media (min-width: 768px) {
    .md-grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .md-grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .md-grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .md-text-left {
        text-align: left;
    }

    .md-justify-start {
        justify-content: flex-start;
    }

    .md-margin-0 {
        margin: 0;
    }

    .md-order-1 {
        order: 1;
    }

    .md-order-2 {
        order: 2;
    }
}

@media (min-width: 1024px) {
    .lg-grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Custom proportional footer grid */
    .lg-footer-grid {
        grid-template-columns: 1.5fr 0.8fr 1.2fr 1.5fr;
    }
}

.gap-6 {
    gap: 1.5rem;
}

/* Mobile Padding */
.section-padding {
    padding: 3rem 0;
    /* Reduced from 6rem */
}

@media (min-width: 1024px) {
    .section-padding {
        padding: 6rem 0;
    }

    .lg-grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .lg-col-span-2 {
        grid-column: span 2 / span 2;
    }
}


/* Design Components */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    border: 2px solid #1E293B;
    cursor: pointer;
    transition: var(--transition-bounce);
    gap: 0.5rem;
    font-size: 1rem;
    position: relative;
    z-index: 10;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--accent-foreground);
    box-shadow: var(--shadow-hard);
}

.btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-hard-hover);
}

.btn-primary:active {
    transform: translate(2px, 2px);
    box-shadow: var(--shadow-hard-active);
}

.btn-secondary {
    background-color: transparent;
    color: var(--foreground);
    border: 2px solid #1E293B;
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--tertiary);
    transform: translateY(-2px);
}

/* Cards */
.card {
    background: var(--card);
    border: 2px solid #1E293B;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 2rem;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: rotate(-1deg) scale(1.02);
    box-shadow: var(--shadow-card-hover);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: 2px solid #1E293B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 2px 2px 0px #1E293B;
    transition: var(--transition-bounce);
    z-index: 2;
    position: relative;
    /* Sit on top */
}

.card:hover .card-icon {
    transform: rotate(15deg);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid #1E293B;
    margin-bottom: 1rem;
}

.badge-yellow {
    background-color: var(--tertiary);
}

.badge-pink {
    background-color: var(--secondary);
    color: white;
}

.badge-green {
    background-color: var(--quaternary);
}

/* Decorative Text/Shapes */
.blob-shape {
    border-radius: 70% 30% 30% 70% / 60% 40% 60% 40%;
}

/* Gallery */
.gallery-item:hover img,
.hover-zoom:hover {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(30, 41, 59, 0.9);
    padding: 1.5rem;
    color: white;
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.gallery-item:hover .gallery-overlay {
    bottom: 0;
}

.gallery-overlay h3 {
    color: var(--tertiary);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Layout Specifics */

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 253, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #1E293B;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent);
    text-shadow: 2px 2px 0px #1E293B;
    /* Hard shadow for text */
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        cursor: pointer;
        color: var(--foreground);
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 2px solid #1E293B;
        box-shadow: var(--shadow-hard);
        gap: 1.5rem;
    }

    .nav-menu.active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero */
.hero {
    margin-top: 80px;
    /* Offset fixed header */
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column-reverse;
    gap: 3rem;
}

@media (min-width: 992px) {
    .hero-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-text h1 {
        font-size: 4rem;
    }
}

.hero-image {
    position: relative;
}

.hero-image img {
    border: 2px solid #1E293B;
    border-radius: 2rem;
    box-shadow: 8px 8px 0px #1E293B;
    z-index: 2;
    position: relative;
}

.hero-bg-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background-color: var(--tertiary);
    border-radius: 2rem;
    z-index: 1;
    border: 2px solid #1E293B;
}

/* Footer */
.footer {
    background-color: var(--foreground);
    color: white;
    padding: 4rem 0 2rem;
    border-top: 4px solid var(--accent);
}

.footer h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer a:hover {
    color: var(--tertiary);
}

/* Floating Button */
.float-wa {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    color: white;
    padding: 1rem;
    border-radius: 50%;
    border: 2px solid #1E293B;
    box-shadow: var(--shadow-hard);
    z-index: 999;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
}

.float-wa:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Back To Top */
.back-to-top {
    position: fixed;
    bottom: 7rem;
    /* Stacked above WA button */
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--foreground);
    color: white;
    border: 2px solid var(--accent);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-hard);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-bounce);
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background-color: var(--accent);
    box-shadow: var(--shadow-hard-hover);
}

/* Patterns */
.pattern-dots {
    background-image: radial-gradient(#1E293B 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
}

/* Input Fields */
input,
textarea,
select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #CBD5E1;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.2s;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 4px 4px 0px var(--accent);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--muted-foreground);
    list-style: none;
    padding: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 0.5rem;
    opacity: 0.5;
}

.breadcrumb a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb li:last-child {
    color: var(--accent);
    font-weight: 600;
}

/* Legal List Item (Mobile Optimized) */
.legal-list-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background-color: white;
    transition: var(--transition-bounce);
}

.legal-list-item:hover {
    border-color: var(--accent);
    box-shadow: 2px 2px 0px var(--accent);
    transform: translateY(-2px);
}

.legal-list-item i {
    font-size: 1.25rem;
    margin-top: 0.2rem;
    /* Align icon visually with the first line of text */
    flex-shrink: 0;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
        width: 100%;
        /* Make buttons full width on small screens for better touch target */
    }

    .badge {
        padding: 0.35rem 0.75rem;
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .card {
        padding: 1.25rem;
        /* Reduce card padding on mobile */
    }

    .hero-text h1 {
        font-size: 2.25rem;
        /* Smaller hero title on mobile */
    }

    /* Wrap grid items nicely if they are not stacking */
    .flex.gap-4 {
        flex-wrap: wrap;
    }
}

/* Related Category Card Styles */
.hover-zoom {
    transition: transform 0.3s ease;
}

.hover-zoom:hover {
    transform: translateY(-5px);
}

.hover-zoom img {
    transition: transform 0.5s ease;
}

.hover-zoom:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    width: 100%;
    padding: 1.5rem;
    box-sizing: border-box;
}

/* --- Package Filter Navigation (Mobile Optimized) --- */
.package-filter-container {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 2px solid #1E293B;
    transition: all 0.3s ease;
}

.package-filter-toggle {
    display: none;
    /* Hidden on desktop */
    width: 100%;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--foreground);
    padding: 0;
}

.package-filter-list {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    transition: all 0.3s ease;
}

/* Tab Active State (Desktop) */
.package-filter-list .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {

    /* Override parent container negative margin on mobile */
    .container[style*="margin-top: -2rem"] {
        margin-top: 1rem !important;
    }

    .package-filter-container {
        padding: 1rem 1.25rem;
        cursor: pointer;
        margin-top: 0 !important;
    }

    .package-filter-toggle {
        display: flex;
        padding: 0.5rem 0;
    }

    .package-filter-list {
        display: none;
        /* Hidden by default on mobile */
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
        gap: 0.75rem;
        border-top: 1px solid var(--border);
        padding-top: 1rem;
        opacity: 0;
        transform: translateY(-10px);
    }

    .package-filter-list.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    /* Mobile specific button tweaks */
    .package-filter-list .btn {
        width: 100%;
        text-align: left;
        justify-content: flex-start;
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-radius: 8px;
    }

    /* Add indicators to mobile buttons */
    .package-filter-list .btn::after {
        content: '\f054';
        /* fa-chevron-right */
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        margin-left: 0.75rem;
        font-size: 0.8em;
        opacity: 0.5;
    }
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}


.gap-12 {
    gap: 3rem;
}

.gap-16 {
    gap: 4rem;
}


@media (max-width: 768px) {
    .breadcrumb {
        flex-wrap: wrap;
        justify-content: flex-start !important;
        /* Force align left on mobile */
        font-size: 0.8rem;
    }

    .btn-primary {
        white-space: normal;
        /* Allow text wrapping */
        line-height: 1.2;
        padding: 0.75rem 1rem;
        height: auto;
    }
}

/* --- Blog & Sidebar System --- */

/* Article Card */
.article-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--accent);
}

.article-card-img {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.article-card:hover .article-card-img img {
    transform: scale(1.1);
}

.article-card-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    background: #FFFFFF;
}

.article-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.article-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-family: var(--font-heading);
    font-weight: 700;
}

.article-title a {
    text-decoration: none;
    color: var(--foreground);
    /* FORCE Black/Dark Color */
    background-image: linear-gradient(var(--accent), var(--accent));
    background-size: 0% 2px;
    background-position: left bottom;
    background-repeat: no-repeat;
    transition: background-size 0.3s ease, color 0.3s ease;
}

.article-title a:hover {
    color: var(--accent);
    background-size: 100% 2px;
}

/* Make entire card clickable via script or CSS trick if desired, but here we focus on visual */

.article-excerpt {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

.article-read-more {
    font-weight: 700;
    color: var(--foreground);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    text-decoration: none;
    margin-top: auto;
    /* Push to bottom if flex container has height */
}

.article-read-more:hover {
    color: var(--accent);
    gap: 0.75rem;
    text-decoration: underline;
}

/* Sidebar Widgets */
.sidebar-sticky {
    position: sticky;
    top: 100px;
    /* Adjusted for better view */
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.widget-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--muted);
    position: relative;
    color: var(--foreground);
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent);
}

/* Category List */
.cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cat-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Spread content */
    padding: 1rem;
    border-radius: var(--radius-sm);
    color: var(--foreground);
    font-weight: 500;
    background: var(--muted);
    /* Light background for items */
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid transparent;
}

.cat-item a:hover {
    background: white;
    color: var(--accent);
    border-color: var(--accent);
    transform: translateX(5px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.cat-item i {
    width: 24px;
    text-align: center;
    color: var(--accent);
    /* Icon always accent color */
}

/* CTA Widget - Premium Look */
.widget-cta {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    /* Vibrant Gradient */
    color: white;
    text-align: center;
    border: none;
    position: relative;
    overflow: hidden;
    padding: 2.5rem 2rem;
}

.widget-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0.5;
}

.widget-cta h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.widget-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

.widget-cta .btn {
    background: white;
    color: var(--accent);
    border: none;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.widget-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    background: #f8fafc;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.page-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: white;
    border: 2px solid var(--border);
    color: var(--muted-foreground);
    font-weight: 700;
    transition: all 0.2s ease;
}

.page-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.page-link.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    pointer-events: none;
}

@media (min-width: 1024px) {
    .article-card {
        flex-direction: row;
        align-items: stretch;
    }

    .article-card-img {
        width: 35%;
        height: auto;
        min-height: 280px;
    }

    .article-card-content {
        width: 65%;
    }
}

/* ==========================================================================
   Share Buttons Component
   ========================================================================== */
.share-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
    flex-direction: column;
}

@media (min-width: 640px) {
    .share-container {
        flex-direction: row;
    }
}

.share-btn {
    flex: 1;
    min-width: 120px;
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    transition: opacity 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.share-btn:hover {
    opacity: 0.9;
    color: white;
}

.bg-wa {
    background-color: #25D366;
}

.bg-fb {
    background-color: #1877F2;
}

.bg-tw {
    background-color: #1DA1F2;
}

.bg-li {
    background-color: #0077b5;
}

/* ==========================================================================
   Mobile Responsive Fixes - Prevent Horizontal Overflow
   COMPREHENSIVE FIX FOR ALL PAGES
   ========================================================================== */

/* Global overflow prevention - Applied to all pages */
html {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

html,
body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
}

/* Ensure all major containers don't overflow */
section,
header,
footer,
main,
article,
aside,
nav,
div {
    max-width: 100%;
}

section {
    overflow-x: hidden;
    max-width: 100%;
}

/* Prevent images from overflowing */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent tables from overflowing */
table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

/* Prevent pre and code blocks from overflowing */
pre,
code {
    max-width: 100%;
    overflow-x: auto;
    word-wrap: break-word;
}

/* Prevent videos and iframes from overflowing */
video,
iframe,
embed,
object {
    max-width: 100%;
}

/* Fix any absolutely positioned elements that extend beyond viewport */
[style*="position: absolute"],
[style*="position:absolute"] {
    max-width: 100vw;
}

@media (max-width: 768px) {

    /* CRITICAL: Force all elements to stay within viewport */
    * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Override any inline styles with negative positioning */
    [style*="left: -"],
    [style*="right: -"],
    [style*="margin-left: -"],
    [style*="margin-right: -"] {
        display: none !important;
    }

    /* Force container to not overflow */
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        overflow: hidden !important;
    }

    /* ====== BLOG PAGE SPECIFIC FIXES ====== */

    /* Fix blog grid layout - make single column */
    .lg-grid-cols-3,
    .grid.lg-grid-cols-3 {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Fix blog 2-column span */
    .lg-col-span-2 {
        grid-column: span 1 !important;
    }

    /* Blog article cards */
    .article-card {
        flex-direction: column !important;
        max-width: 100% !important;
    }

    .article-card-img {
        width: 100% !important;
        height: 200px !important;
        min-height: auto !important;
    }

    .article-card-content {
        width: 100% !important;
        padding: 1.25rem !important;
    }

    .article-title {
        font-size: 1.1rem !important;
    }

    .article-excerpt {
        font-size: 0.9rem !important;
    }

    /* Sidebar sticky - make non-sticky on mobile */
    .sidebar-sticky {
        position: static !important;
        top: auto !important;
    }

    /* Widget cards */
    .widget-card,
    .widget-cta {
        padding: 1.25rem !important;
        max-width: 100% !important;
    }

    /* Category list items */
    .cat-list {
        gap: 0.5rem !important;
    }

    .cat-item a {
        padding: 0.75rem !important;
        font-size: 0.9rem !important;
    }

    /* Pagination */
    .pagination {
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }

    .page-link {
        width: 40px !important;
        height: 40px !important;
        font-size: 0.9rem !important;
    }

    /* ====== GENERAL GRID FIXES ====== */

    /* Any gap-12 class - reduce gap */
    .gap-12 {
        gap: 1.5rem !important;
    }

    /* Any gap-16 class - reduce gap */
    .gap-16 {
        gap: 1.5rem !important;
    }

    /* Gap-8 */
    .gap-8 {
        gap: 1rem !important;
    }

    /* Fix grid layouts on mobile */
    .grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    /* Fix flex layouts on mobile */
    .flex {
        flex-wrap: wrap !important;
    }

    /* Limit box shadows that extend beyond element */
    .card,
    .btn,
    .hero-image img {
        box-shadow: 2px 2px 0px 0px #1E293B !important;
    }

    /* Hero section fixes */
    .hero {
        padding: 3rem 0;
        overflow: hidden !important;
    }

    .hero-content {
        gap: 2rem;
    }

    /* Hide or adjust hero background accent on mobile */
    .hero-bg-accent {
        display: none;
    }

    .hero-image {
        overflow: hidden;
        max-width: 100%;
    }

    .hero-image img {
        margin: 0;
        max-width: 100%;
    }

    /* Hide floating decorative elements that cause overflow */
    .hero-image>div[style*="position: absolute"] {
        display: none;
    }

    /* Hero floating badge specific - hide on small mobile */
    .hero-float-badge {
        display: none;
    }

    /* About section decorative elements - hide on mobile */
    .about-deco-left,
    .about-deco-right {
        display: none !important;
    }

    .about-sticker {
        position: static !important;
        transform: none !important;
        margin-top: 1rem;
        display: inline-block;
    }

    /* Hero text adjustments */
    .hero-text h1 {
        font-size: 1.75rem;
        word-wrap: break-word;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    /* Trust/Logos section - fix gap */
    section[style*="border-top: 2px solid #1E293B"] .flex {
        gap: 1.5rem !important;
    }

    section[style*="border-top: 2px solid #1E293B"] img {
        height: 35px !important;
    }

    .trust-logos {
        gap: 1rem !important;
        justify-content: center !important;
    }

    .trust-logos img {
        height: 30px !important;
        max-width: 60px !important;
        object-fit: contain;
    }

    /* About section - hide decorative circles that overflow */
    #about>div[style*="position: absolute"] {
        display: none !important;
    }

    /* Gallery grid adjustments */
    .gallery-item {
        height: 200px !important;
    }

    /* Product section adjustments */
    #products .flex.justify-between {
        flex-direction: column;
        align-items: flex-start;
    }

    #products .btn-secondary {
        margin-top: 1rem;
    }

    /* Legal info grid */
    .legal-list-item {
        padding: 0.75rem;
    }

    .legal-list-item i {
        font-size: 1rem;
    }

    /* Blog section cards */
    #blog .card {
        padding: 0 !important;
    }

    #blog .card div[style*="height: 200px"] {
        height: 150px !important;
    }

    #blog h3 {
        font-size: 1.1rem !important;
    }

    /* FAQ cards */
    .card[style*="padding: 1.5rem"] {
        padding: 1rem !important;
    }

    /* CTA section */
    section[style*="background-color: var(--accent)"] h2 {
        font-size: 1.75rem !important;
    }

    section[style*="background-color: var(--accent)"] p {
        font-size: 1rem !important;
    }

    /* Footer adjustments */
    .footer {
        padding: 2.5rem 0 1.5rem;
    }

    .footer .grid {
        gap: 2rem !important;
    }

    .footer h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .footer ul {
        font-size: 0.9rem;
    }

    .footer .logo {
        font-size: 1.5rem !important;
        justify-content: center;
    }

    /* Social icons in footer */
    .footer .flex.gap-4 a {
        font-size: 1.5rem !important;
    }

    /* QR Code container */
    .footer div[style*="background: white"] {
        margin: 0 auto !important;
    }

    /* Floating buttons - move closer to edge */
    .float-wa {
        right: 1rem;
        bottom: 1rem;
        padding: 0.75rem;
        font-size: 1.5rem;
    }

    .back-to-top {
        right: 1rem;
        bottom: 5rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Container padding adjustment */
    .container {
        padding: 0 1rem;
    }

    /* Section padding reduction for mobile */
    .section-padding {
        padding: 2rem 0;
    }

    /* Card adjustments */
    .card {
        margin: 0;
        max-width: 100%;
    }

    .card:hover {
        transform: none;
    }

    /* Button full width on mobile */
    .btn {
        text-align: center;
        justify-content: center;
    }

    /* Badge adjustments */
    .badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    /* Fix any absolute positioned decorative elements */
    [style*="position: absolute"][style*="right: -"] {
        display: none !important;
    }

    [style*="position: absolute"][style*="left: -"] {
        display: none !important;
    }
}

/* Extra small devices (phones, less than 480px) */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 0.75rem !important;
    }

    h2 {
        font-size: 1.5rem;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    /* Stats in about section */
    .flex.gap-4 h3 {
        font-size: 1.5rem !important;
    }

    /* Product cards */
    article.card div[style*="height: 250px"] {
        height: 180px !important;
    }

    article.card div[style*="padding: 1.5rem"] {
        padding: 1rem !important;
    }

    article.card h3 {
        font-size: 1.1rem;
    }

    article.card ul {
        font-size: 0.8rem;
    }

    /* Footer text size */
    .footer p,
    .footer li {
        font-size: 0.85rem;
    }

    /* Copyright section */
    .footer .container.text-center {
        margin-top: 2rem !important;
        padding-top: 1rem !important;
        font-size: 0.75rem !important;
    }

    /* Page headers with inline font sizes */
    h1[style*="font-size: 2.5rem"],
    h1[style*="font-size:2.5rem"] {
        font-size: 1.5rem !important;
    }

    h2[style*="font-size: 2.5rem"],
    h2[style*="font-size:2.5rem"],
    h2[style*="font-size: 2rem"],
    h2[style*="font-size:2rem"] {
        font-size: 1.25rem !important;
    }

    /* Legal list items on mobile */
    .legal-list-item {
        flex-direction: column !important;
        text-align: center;
        gap: 0.5rem;
    }

    /* Category/product section layouts */
    .flex.items-center.gap-4 {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }

    .flex.items-center.gap-4 h2 {
        font-size: 1.25rem !important;
    }

    /* Hide decorative dividers on mobile */
    .flex.items-center.gap-4>div[style*="height: 2px"] {
        display: none !important;
    }

    /* Extra small screen package fixes */
    .hero-text h1 {
        font-size: 1.25rem !important;
    }

    h1[style*="font-size: 2.5rem"],
    h1[style*="font-size:2.5rem"] {
        font-size: 1.25rem !important;
    }

    h3[style*="font-size: 2rem"],
    h3[style*="font-size:2rem"] {
        font-size: 1.25rem !important;
    }

    /* Thumbnails on extra small */
    .grid.grid-cols-4 {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 0.25rem !important;
    }

    /* Breadcrumb */
    .breadcrumb {
        font-size: 0.75rem !important;
        flex-wrap: wrap !important;
    }

    /* Package filter on extra small */
    .package-filter-list a.btn {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.85rem !important;
    }

    /* Hero buttons on extra small */
    .btn {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
    }

    /* Navbar logo text */
    .logo {
        font-size: 1.25rem !important;
    }

    .logo img {
        height: 30px !important;
    }

    /* ====== EXTRA SMALL SCREEN COMPREHENSIVE FIXES ====== */

    /* Hero on extra small */
    .hero {
        padding: 1.5rem 0 !important;
    }

    .hero-text h1 {
        font-size: 1.25rem !important;
    }

    .hero-text p {
        font-size: 0.85rem !important;
    }

    /* Gallery items on extra small */
    .gallery-item,
    .card.gallery-item {
        height: 180px !important;
    }

    .gallery-overlay h3 {
        font-size: 0.9rem !important;
    }

    .gallery-overlay p {
        font-size: 0.75rem !important;
    }

    /* Cards on extra small */
    .card {
        padding: 1rem !important;
    }

    .card-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }

    .card h3 {
        font-size: 1rem !important;
    }

    .card p {
        font-size: 0.85rem !important;
    }

    /* Product cards on extra small */
    article.card div[style*="height: 250px"],
    article.card div[style*="height: 180px"] {
        height: 150px !important;
    }

    /* Footer on extra small */
    .footer {
        padding: 2rem 0 1.5rem !important;
    }

    .footer div>.logo {
        font-size: 1.1rem !important;
    }

    .footer h4 {
        font-size: 0.9rem !important;
    }

    .footer ul {
        font-size: 0.8rem !important;
    }

    /* Section padding on extra small */
    .section-padding {
        padding: 2rem 0 !important;
    }

    /* Container padding on extra small */
    .container {
        padding: 0 1rem !important;
    }

    /* Heading sizes on extra small */
    h2,
    .text-center h2 {
        font-size: 1.25rem !important;
    }

    /* FAQ cards on extra small */
    .card h4 {
        font-size: 0.9rem !important;
    }

    /* CTA section on extra small */
    section[style*="background-color: var(--accent)"] h2 {
        font-size: 1.25rem !important;
    }

    section[style*="background-color: var(--accent)"] p {
        font-size: 0.9rem !important;
    }

    /* Trust logos on extra small */
    .trust-logos img {
        height: 25px !important;
        max-width: 50px !important;
    }

    /* All inline font-size on extra small */
    [style*="font-size: 2.5rem"],
    [style*="font-size:2.5rem"] {
        font-size: 1.25rem !important;
    }

    [style*="font-size: 2rem"],
    [style*="font-size:2rem"] {
        font-size: 1.1rem !important;
    }

    /* Stats numbers */
    h3[style*="font-size: 2rem"] {
        font-size: 1.25rem !important;
    }

    /* Promo banner on extra small */
    .promo-banner {
        padding: 1rem !important;
    }

    .promo-banner h3 {
        font-size: 1.1rem !important;
    }

    .promo-banner p {
        font-size: 0.8rem !important;
    }

    /* Article content on extra small */
    .article-content {
        font-size: 0.9rem !important;
    }

    .article-content h2 {
        font-size: 1.1rem !important;
    }

    .article-content h3 {
        font-size: 1rem !important;
    }

    /* Ensure container has proper padding on extra small screens */
    .container {
        padding-left: 0.875rem !important;
        padding-right: 0.875rem !important;
    }
}

/* ==========================================================================
   FINAL CATCH-ALL FIXES - Applied to all breakpoints
   ========================================================================== */

/* Ensure long words break properly */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
li,
td,
th {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Ensure inline-styled elements with large font sizes scale down */
@media (max-width: 768px) {

    [style*="font-size: 2.5rem"],
    [style*="font-size:2.5rem"] {
        font-size: 1.5rem !important;
    }

    [style*="font-size: 2rem"],
    [style*="font-size:2rem"] {
        font-size: 1.25rem !important;
    }

    [style*="font-size: 1.75rem"],
    [style*="font-size:1.75rem"] {
        font-size: 1.1rem !important;
    }

    /* Fix inline gaps that are too large for mobile */
    [style*="gap: 4rem"],
    [style*="gap:4rem"] {
        gap: 1rem !important;
    }

    [style*="gap: 3rem"],
    [style*="gap:3rem"] {
        gap: 1rem !important;
    }

    [style*="gap: 8"],
    [style*="gap:8"] {
        gap: 1rem !important;
    }

    /* Fix large paddings on mobile */
    [style*="padding: 3rem"],
    [style*="padding:3rem"] {
        padding: 1.5rem !important;
    }

    /* Ensure grid-cols-4 becomes 2 columns on mobile */
    .md-grid-cols-4,
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Ensure grid-cols-3 becomes 1 column on mobile */
    .md-grid-cols-3 {
        grid-template-columns: 1fr !important;
    }

    /* Ensure grid-cols-2 becomes 1 column on small mobile */
    .md-grid-cols-2 {
        grid-template-columns: 1fr !important;
    }

    /* ====== ADDITIONAL MOBILE FIXES ====== */

    /* Float buttons - ensure they don't cause overflow */
    .float-wa,
    .back-to-top {
        right: 15px !important;
        left: auto !important;
    }

    /* Sticky elements - ensure they don't overflow */
    [style*="position: sticky"],
    [style*="position:sticky"] {
        position: static !important;
        top: auto !important;
    }

    /* Large images with inline styles */
    img[style*="width:"],
    img[style*="width: "] {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Inline widths that might cause overflow */
    [style*="width: 100vw"],
    [style*="width:100vw"] {
        width: 100% !important;
    }

    /* Any element with inline min-width */
    [style*="min-width:"],
    [style*="min-width: "] {
        min-width: unset !important;
    }

    /* Category/Product grids */
    .product-grid,
    .category-grid {
        grid-template-columns: 1fr !important;
    }

    /* Article/Blog specific fixes */
    .article-body {
        padding: 0 !important;
        font-size: 1rem !important;
    }

    .article-body h2 {
        font-size: 1.25rem !important;
        padding-left: 1rem !important;
    }

    .article-body h3 {
        font-size: 1.1rem !important;
    }

    /* TOC wrapper */
    .toc-wrapper {
        padding: 1rem !important;
    }

    /* Pull quote */
    .pull-quote {
        padding: 1.5rem !important;
        font-size: 1rem !important;
    }

    /* Bio box */
    .bio-box {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1rem !important;
    }

    /* FAQ items */
    .faq-trigger {
        font-size: 1rem !important;
    }

    /* Share container */
    .share-container {
        flex-direction: column !important;
    }

    /* Package cards */
    .package-card,
    .category-card {
        max-width: 100% !important;
    }

    /* Comparison table wrapper */
    .comparison-table-wrapper,
    .table-responsive {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Inline borders/decorations that might overflow */
    [style*="border-left: 5px"],
    [style*="border-left:5px"],
    [style*="border-left: 6px"],
    [style*="border-left:6px"] {
        border-left-width: 3px !important;
    }

    /* ====== PACKAGE PAGE SPECIFIC FIXES ====== */

    /* Package filter container */
    .package-filter-container {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }

    .package-filter-list {
        flex-direction: column !important;
        gap: 0.5rem !important;
        width: 100% !important;
    }

    .package-filter-list a.btn {
        width: 100% !important;
        text-align: center !important;
    }

    /* Package grids - make single column */
    .grid.md-grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .grid.md-grid-cols-3 {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* ====== PREVENT CONTENT TOUCHING SCREEN EDGES ====== */

    /* Package item content boxes */
    div[style*="padding: 2rem"] {
        padding: 1.25rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Grids inside containers - proper spacing */
    .grid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Cards should have proper border-box */
    .card {
        box-sizing: border-box !important;
        max-width: 100% !important;
    }

    /* Images shouldn't overflow */
    img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Lists with icons - PROPER ALIGNMENT */
    .fa-ul {
        padding-left: 1.75em !important;
        margin-left: 0 !important;
        list-style: none !important;
    }

    /* Override inline margin-left: 0 */
    .fa-ul[style*="margin-left: 0"],
    .fa-ul[style*="margin-left:0"],
    ul.fa-ul[style] {
        padding-left: 1.75em !important;
    }

    .fa-ul li {
        position: relative !important;
        padding-left: 0.5em !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.5 !important;
    }

    .fa-ul .fa-li {
        position: absolute !important;
        left: -1.75em !important;
        top: 0.15em !important;
        width: 1.5em !important;
        text-align: center !important;
    }

    /* Fix span.fa-li icon alignment */
    span.fa-li {
        position: absolute !important;
        left: -1.75em !important;
        top: 0 !important;
        width: 1.5em !important;
        text-align: center !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Also fix ul with inline list-style: none */
    ul[style*="list-style: none"] {
        padding-left: 1.75em !important;
        margin-left: 0 !important;
    }

    ul[style*="list-style: none"] li {
        position: relative !important;
        padding-left: 0.5em !important;
        margin-bottom: 0.5rem !important;
    }

    ul[style*="list-style: none"] .fa-li,
    ul[style*="list-style: none"] span.fa-li {
        position: absolute !important;
        left: -1.75em !important;
        top: 0 !important;
    }

    /* Breadcrumb */
    .breadcrumb {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

    /* Package detail: gap-16 is too large */
    .gap-16 {
        gap: 2rem !important;
    }

    /* Large font sizes for package titles */
    h1[style*="font-size: 2.5rem"],
    h1[style*="font-size:2.5rem"],
    h3[style*="font-size: 2rem"],
    h3[style*="font-size:2rem"] {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }

    h2[style*="font-size: 2.5rem"],
    h2[style*="font-size:2.5rem"] {
        font-size: 1.5rem !important;
    }

    /* Price display */
    [style*="font-size: 1.75rem"],
    [style*="font-size:1.75rem"] {
        font-size: 1.25rem !important;
    }

    /* Thumbnail grids */
    .grid.grid-cols-4 {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 0.5rem !important;
    }

    /* Sticky image containers - disable sticky on mobile */
    div[style*="position: sticky"],
    div[style*="position:sticky"] {
        position: static !important;
        top: auto !important;
    }

    /* Hero bg accent in packages */
    .hero-bg-accent {
        display: none !important;
    }

    /* Hero content in packages */
    .hero-content {
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .hero-text {
        text-align: center !important;
        order: 2 !important;
    }

    .hero-image {
        order: 1 !important;
        max-width: 100% !important;
    }

    /* Buttons in hero - stack vertically */
    .hero-text .flex.gap-4 {
        flex-direction: column !important;
        width: 100% !important;
        gap: 1rem !important;
    }

    .hero-text .flex.gap-4 .btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.875rem 1.5rem !important;
        text-align: center !important;
        font-size: 1rem !important;
    }

    .hero-text .flex.gap-4 .btn-primary {
        padding: 1rem 1.5rem !important;
    }

    .hero-text .flex.gap-4 .btn-secondary {
        padding: 0.875rem 1.5rem !important;
    }

    /* ====== PACKAGE ITEM BUTTON ROWS ====== */
    /* Buttons in package items - proper spacing */
    #catalog .flex.gap-4,
    #onboarding .flex.gap-4,
    #seminar .flex.gap-4,
    #vip .flex.gap-4,
    #eco .flex.gap-4,
    #premium .flex.gap-4,
    #hampers .flex.gap-4,
    #merch .flex.gap-4 {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: stretch !important;
    }

    #catalog .flex.gap-4 .btn,
    #onboarding .flex.gap-4 .btn,
    #seminar .flex.gap-4 .btn,
    #vip .flex.gap-4 .btn,
    #eco .flex.gap-4 .btn,
    #premium .flex.gap-4 .btn,
    #hampers .flex.gap-4 .btn,
    #merch .flex.gap-4 .btn {
        width: 100% !important;
        text-align: center !important;
        padding: 0.875rem 1.5rem !important;
        margin-bottom: 0 !important;
    }

    /* All package section buttons - ensure proper spacing */
    div[style*="padding: 2rem"] .flex.gap-4 {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    div[style*="padding: 2rem"] .flex.gap-4 .btn {
        width: 100% !important;
        padding: 0.875rem 1.5rem !important;
    }

    /* Package detail page CTA buttons - extra spacing */
    .flex.flex-col.gap-4 {
        gap: 1.25rem !important;
    }

    .flex.flex-col.gap-4 .btn {
        width: 100% !important;
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
    }

    .flex.flex-col.gap-4.text-center .btn {
        margin-bottom: 0.25rem !important;
    }

    /* Package info boxes */
    div[style*="padding: 2rem"] {
        padding: 1.25rem !important;
    }

    /* Margin bottom 6rem is too large */
    div[style*="margin-bottom: 6rem"],
    [style*="margin-bottom: 6rem"] {
        margin-bottom: 3rem !important;
    }

    /* Items-center on grids */
    .items-center {
        align-items: flex-start !important;
    }

    .items-start {
        align-items: flex-start !important;
    }

    /* Package lists */
    .fa-ul {
        margin-left: 0 !important;
    }

    /* CTA sections */
    section[style*="background-color: var(--accent)"] .container {
        padding: 2rem 1rem !important;
    }

    section[style*="background-color: var(--accent)"] .flex.gap-4 {
        flex-direction: column !important;
        width: 100% !important;
    }

    section[style*="background-color: var(--accent)"] .btn {
        width: 100% !important;
    }

    /* Footer grid fixes */
    .lg-footer-grid {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }

    .footer .grid {
        gap: 2rem !important;
    }

    /* Related packages grid */
    .grid.grid-cols-1.md-grid-cols-3 .card {
        margin-bottom: 1rem !important;
    }

    /* Fix card heights in package detail */
    .card div[style*="height: 200px"] {
        height: 150px !important;
    }

    /* ====== PRODUCT & CATEGORY PAGE SPECIFIC FIXES ====== */

    /* Products catalog - grid items */
    #gadget,
    #lifestyle,
    #drinkware,
    #office,
    #executive,
    #eco {
        margin-bottom: 2.5rem !important;
    }

    div[style*="margin-bottom: 4rem"] {
        margin-bottom: 2rem !important;
    }

    /* Category headings with decorative line */
    .flex.items-center.gap-4 h2 {
        font-size: 1.25rem !important;
        margin: 0 !important;
    }

    /* Hide decorative line divider on mobile */
    .flex.items-center.gap-4>div[style*="flex-grow: 1"] {
        display: none !important;
    }

    /* Order classes for zigzag layouts */
    .md-order-1 {
        order: 1 !important;
    }

    .md-order-2 {
        order: 2 !important;
    }

    /* On mobile, always show image first */
    div[style*="order: 1"],
    div[style*="order: 2"] {
        order: initial !important;
    }

    /* Top picks grid (nested grid md-grid-cols-2) */
    ul.grid.md-grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    ul.grid.md-grid-cols-2 .card {
        padding: 0.75rem !important;
    }

    /* Category card heights */
    .card[style*="height: 250px"] {
        height: auto !important;
        min-height: 200px !important;
    }

    .card div[style*="height: 250px"] {
        height: 180px !important;
    }

    /* Gallery overlay text */
    .gallery-overlay h3 {
        font-size: 1.1rem !important;
    }

    .gallery-overlay p {
        font-size: 0.8rem !important;
    }

    /* SEO content section */
    .container[style*="max-width: 900px"] h1 {
        font-size: 1.5rem !important;
    }

    /* Blockquote style boxes */
    div[style*="border-left: 4px"] {
        padding: 0.75rem !important;
        font-size: 0.9rem !important;
    }

    /* Card icon in product items */
    .card-icon[style*="width: 50px"] {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }

    /* Lists in product descriptions */
    ul[style*="list-style: circle"] {
        padding-left: 1rem !important;
        font-size: 0.9rem !important;
    }

    /* CTA section with large font */
    h2[style*="font-size: 2.5rem"] {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }

    p[style*="font-size: 1.25rem"] {
        font-size: 1rem !important;
    }

    /* Legal list items grid */
    .grid.md-grid-cols-3.gap-4 {
        grid-template-columns: 1fr !important;
    }

    .legal-list-item {
        padding: 0.75rem !important;
        flex-direction: row !important;
        gap: 0.75rem !important;
        text-align: left !important;
    }

    .legal-list-item i {
        font-size: 1.25rem !important;
    }

    /* ====== PRODUCT DETAIL PAGE SPECIFIC FIXES ====== */

    /* Article content areas */
    .article-content {
        font-size: 1rem !important;
    }

    .article-content h2 {
        font-size: 1.3rem !important;
        margin-top: 2rem !important;
    }

    .article-content h3 {
        font-size: 1.1rem !important;
    }

    .article-content p {
        margin-bottom: 1rem !important;
    }

    /* TOC box */
    .toc-box {
        padding: 1rem !important;
        margin: 1.5rem 0 !important;
    }

    .toc-header {
        font-size: 1rem !important;
    }

    .toc-list li {
        margin-bottom: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }

    /* Promo banner */
    .promo-banner {
        padding: 1.5rem !important;
        margin: 2rem 0 !important;
    }

    .promo-banner h3 {
        font-size: 1.25rem !important;
    }

    .promo-banner p {
        font-size: 0.9rem !important;
    }

    .promo-btn {
        padding: 0.5rem 1.5rem !important;
        font-size: 0.9rem !important;
    }

    /* FAQ cards */
    .faq-card {
        margin-bottom: 0.75rem !important;
    }

    .faq-header {
        padding: 0.75rem 1rem !important;
        font-size: 0.95rem !important;
    }

    .faq-body.open {
        padding: 1rem !important;
    }

    /* Author section - already mobile first but ensure it */
    .author-section {
        padding: 1.5rem !important;
        margin-top: 2rem !important;
    }

    .author-avatar {
        width: 60px !important;
        height: 60px !important;
    }

    /* Sidebar widgets */
    .widget-cta,
    .widget-card {
        padding: 1.25rem !important;
    }

    .widget-title {
        font-size: 1rem !important;
    }

    /* Sidebar sticky - disable on mobile */
    div[style*="position: sticky"][style*="top: 120px"] {
        position: static !important;
        top: auto !important;
    }

    /* Related items in sidebar */
    .related-widget img,
    div[style*="width: 70px"][style*="height: 70px"] img {
        width: 60px !important;
        height: 60px !important;
    }

    /* Category list items */
    .cat-list,
    .cat-item {
        font-size: 0.9rem !important;
    }

    /* Blockquote styling */
    blockquote {
        padding: 1rem !important;
        margin: 1.5rem 0 !important;
        font-size: 1rem !important;
    }

    blockquote::before {
        font-size: 1.5rem !important;
    }

    /* Lead paragraph */
    p.lead,
    .lead {
        font-size: 1.05rem !important;
    }

    /* Figure captions */
    figcaption {
        font-size: 0.8rem !important;
    }

    /* Margin top 4rem is too large */
    div[style*="margin-top: 4rem"] {
        margin-top: 2rem !important;
    }

    /* Widget buttons */
    .widget-cta .btn,
    .w-full {
        width: 100% !important;
    }

    /* ====== INDEX.HTML & ALL PAGES - FINAL COMPREHENSIVE FIXES ====== */

    /* HERO SECTION */
    .hero {
        padding: 2rem 0 !important;
        overflow: hidden !important;
    }

    .hero-content {
        flex-direction: column !important;
        text-align: center !important;
    }

    .hero-text {
        order: 2 !important;
        text-align: center !important;
    }

    .hero-text h1 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }

    .hero-text p {
        font-size: 0.95rem !important;
    }

    .hero-image {
        order: 1 !important;
        margin-bottom: 1.5rem !important;
    }

    /* Hero float badges */
    .hero-float-badge {
        position: static !important;
        margin-top: 1rem !important;
        display: inline-block !important;
    }

    /* Hero bg accent - hide on mobile */
    .hero-bg-accent {
        display: none !important;
    }

    /* Hero buttons - stack and full width */
    .hero-text .flex.gap-4 {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
    }

    .hero-text .flex.gap-4 .btn {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* Hero stats row */
    .hero-text .flex.gap-8 {
        flex-direction: row !important;
        justify-content: center !important;
        gap: 1rem !important;
        flex-wrap: wrap !important;
    }

    .hero-text .flex.items-center.gap-2 {
        font-size: 0.8rem !important;
    }

    /* TRUST LOGOS SECTION */
    .trust-logos {
        gap: 1rem !important;
    }

    .trust-logos img {
        height: 30px !important;
        max-width: 60px !important;
    }

    /* ABOUT SECTION */
    .about-deco-left,
    .about-deco-right {
        display: none !important;
    }

    .about-sticker {
        display: none !important;
    }

    /* About stats */
    .flex.gap-4 div[style*="text-align: center"] h3 {
        font-size: 1.5rem !important;
    }

    .flex.gap-4 div[style*="border-left: 2px"] {
        border-left: none !important;
        padding-left: 0 !important;
    }

    /* GALLERY / PACKAGES GRID */
    .gallery-item,
    .card.gallery-item {
        height: 220px !important;
    }

    .gallery-item img {
        height: 100% !important;
        object-fit: cover !important;
    }

    .gallery-overlay {
        padding: 1rem !important;
    }

    .gallery-overlay h3 {
        font-size: 1rem !important;
        margin-bottom: 0.25rem !important;
    }

    .gallery-overlay p {
        font-size: 0.8rem !important;
    }

    /* FEATURE CARDS (Why Us) */
    .card {
        padding: 1.25rem !important;
    }

    .card-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.25rem !important;
    }

    .card h3 {
        font-size: 1.1rem !important;
    }

    .card p {
        font-size: 0.9rem !important;
    }

    /* PRODUCT CARDS */
    article.card div[style*="height: 250px"] {
        height: 180px !important;
    }

    article.card div[style*="padding: 1.5rem"] {
        padding: 1rem !important;
    }

    article.card h3 {
        font-size: 1rem !important;
    }

    article.card ul {
        font-size: 0.8rem !important;
    }

    /* Product card button row */
    article.card .flex.justify-between {
        flex-direction: column !important;
        gap: 0.75rem !important;
        align-items: stretch !important;
    }

    article.card .flex.justify-between span {
        text-align: center !important;
    }

    article.card .flex.justify-between .btn {
        width: 100% !important;
        text-align: center !important;
    }

    /* LEGAL LIST ITEMS */
    .legal-list-item {
        padding: 0.75rem !important;
        flex-direction: row !important;
        gap: 0.75rem !important;
        text-align: left !important;
        justify-content: flex-start !important;
    }

    .legal-list-item i {
        font-size: 1.25rem !important;
        flex-shrink: 0 !important;
    }

    /* BLOG CARDS */
    #blog .card div[style*="height: 200px"] {
        height: 150px !important;
    }

    #blog .card h3 {
        font-size: 1rem !important;
    }

    #blog .card p {
        font-size: 0.85rem !important;
    }

    /* FAQ SECTION */
    .flex.flex-col.gap-4 {
        gap: 0.75rem !important;
    }

    .card[style*="padding: 1.5rem"] {
        padding: 1rem !important;
    }

    .card h4 {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
    }

    /* CTA FINAL SECTION */
    section[style*="background-color: var(--accent)"] h2 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }

    section[style*="background-color: var(--accent)"] p {
        font-size: 1rem !important;
    }

    section[style*="background-color: var(--accent)"] .btn {
        width: 100% !important;
        max-width: 300px !important;
    }

    /* FOOTER */
    .footer {
        padding: 3rem 0 2rem !important;
    }

    .footer .grid {
        gap: 2rem !important;
    }

    .footer div>.logo {
        font-size: 1.25rem !important;
        justify-content: center !important;
    }

    .footer h4 {
        font-size: 1rem !important;
        margin-bottom: 0.75rem !important;
    }

    .footer ul {
        font-size: 0.9rem !important;
    }

    .footer li {
        margin-bottom: 0.5rem !important;
    }

    /* Footer social icons */
    .footer .flex.gap-4 a {
        font-size: 1.5rem !important;
    }

    /* QR Code container */
    .md-margin-0 {
        margin: 0 auto !important;
    }

    /* Copyright section */
    .footer>.container.text-center {
        margin-top: 2rem !important;
        padding-top: 1.5rem !important;
    }

    /* FLOATING BUTTONS */
    .float-wa {
        bottom: 20px !important;
        right: 15px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5rem !important;
    }

    .back-to-top {
        bottom: 80px !important;
        right: 15px !important;
        width: 40px !important;
        height: 40px !important;
    }

    /* MOBILE MENU */
    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 80% !important;
        max-width: 300px !important;
        height: 100vh !important;
        background: white !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding: 5rem 2rem 2rem !important;
        gap: 1rem !important;
        box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2) !important;
        z-index: 1000 !important;
        transition: left 0.3s ease !important;
    }

    .nav-menu.active {
        left: 0 !important;
    }

    .nav-menu a {
        font-size: 1.1rem !important;
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid #eee !important;
    }

    .nav-menu .btn {
        width: 100% !important;
        margin-top: 1rem !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
        z-index: 1001 !important;
    }

    /* SECTION PADDING */
    .section-padding {
        padding: 3rem 0 !important;
    }

    /* TEXT UTILITIES */
    .text-center h2 {
        font-size: 1.5rem !important;
    }

    .text-center p {
        font-size: 0.95rem !important;
    }

    /* Badge adjustments */
    .badge {
        font-size: 0.7rem !important;
        padding: 0.35rem 0.75rem !important;
    }

    /* All inline font-size overrides */
    [style*="font-size: 2.5rem"] {
        font-size: 1.5rem !important;
    }

    [style*="font-size:2.5rem"] {
        font-size: 1.5rem !important;
    }

    [style*="font-size: 2rem"] {
        font-size: 1.25rem !important;
    }

    [style*="font-size:2rem"] {
        font-size: 1.25rem !important;
    }

    [style*="font-size: 1.75rem"] {
        font-size: 1.25rem !important;
    }

    [style*="font-size:1.75rem"] {
        font-size: 1.25rem !important;
    }

    [style*="font-size: 1.25rem"] {
        font-size: 1rem !important;
    }

    /* All inline margin/padding overrides */
    [style*="margin-bottom: 4rem"] {
        margin-bottom: 2rem !important;
    }

    [style*="margin-bottom: 3rem"] {
        margin-bottom: 2rem !important;
    }

    [style*="margin-top: 3rem"] {
        margin-top: 1.5rem !important;
    }

    [style*="padding: 2rem"] {
        padding: 1.25rem !important;
    }

    /* Gap overrides */
    [style*="gap: 2rem"] {
        gap: 1rem !important;
    }

    /* Image blob shape */
    .blob-shape {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Section with max-width */
    .container[style*="max-width: 800px"],
    .container[style*="max-width: 700px"] {
        max-width: 100% !important;
    }
}