/* Luxury Experiences Main Styles - STRICT MOBILE-FIRST DESIGN */
/* Mobile styles are the DEFAULT, desktop styles are added with media queries */
/* NO fixed widths, NO horizontal scroll, NO desktop-first code */

/* CSS Variables - White Background Theme */
:root {
    --background: 0 0% 100%;
    --foreground: 215 25% 15%;
    --card: 0 0% 100%;
    --card-foreground: 215 25% 15%;
    --popover: 0 0% 100%;
    --popover-foreground: 215 25% 15%;
    --primary: 221 83% 53%;
    --primary-foreground: 0 0% 100%;
    --secondary: 210 40% 96%;
    --secondary-foreground: 215 25% 15%;
    --muted: 210 40% 96%;
    --muted-foreground: 215 25% 15%;
    --accent: 210 40% 96%;
    --accent-foreground: 215 25% 15%;
    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 100%;
    --border: 214 32% 91%;
    --input: 214 32% 91%;
    --ring: 221 83% 53%;
    --success: 142 76% 36%;
    --success-foreground: 0 0% 100%;
    --warning: 38 92% 50%;
    --warning-foreground: 0 0% 100%;

    /* Gradient System */
    --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --gradient-success: linear-gradient(135deg, #10b981, #059669);
    --gradient-warning: linear-gradient(135deg, #f59e0b, #d97706);
    --gradient-danger: linear-gradient(135deg, #ef4444, #dc2626);

    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.16);
    --shadow-hover: 0 20px 40px rgba(59, 130, 246, 0.15);
}

/* Reset and Base Styles - MOBILE FIRST */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden; /* Prevent horizontal scroll globally */
    width: 100%;
    max-width: 100%;
}

.luxury-experiences-wrapper { 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    padding: 0.75rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* ===== MISSING CSS CLASSES - Added for JavaScript compatibility ===== */

/* Mobile menu classes */
.mobile-menu {
    display: none;
    width: 100%;
    max-width: 100%;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    overflow: hidden;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: hsl(var(--foreground));
    cursor: pointer;
    padding: 0.5rem;
    min-height: 44px;
    min-width: 44px;
}

/* Filter classes */
.filter-section {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
}

.filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: hsl(var(--muted));
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    cursor: pointer;
    width: 100%;
    max-width: 100%;
}

.filter-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
}

.filter-content.active {
    max-height: 2000px;
    padding: 1rem;
}

.filter-icon {
    font-size: 1.125rem;
    color: hsl(var(--primary));
    transition: transform 0.3s ease;
}

.filter-icon.active {
    transform: rotate(180deg);
}

/* Payment method classes */
.payment-method {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid hsl(var(--border));
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0.5rem;
}

.payment-method:hover {
    border-color: hsl(var(--primary));
    background: hsl(var(--muted));
}

.payment-method.selected {
    border-color: hsl(var(--primary));
    background: hsl(var(--accent));
}

/* Form validation classes */
.field-error {
    color: hsl(var(--destructive));
    font-size: 0.875rem;
    margin-top: 0.25rem;
    width: 100%;
    max-width: 100%;
}

input.error,
select.error,
textarea.error {
    border-color: hsl(var(--destructive)) !important;
}

/* Search classes */
.search-loading {
    display: none;
    text-align: center;
    padding: 1rem;
    color: hsl(var(--muted-foreground));
}

.search-results-container {
    width: 100%;
    max-width: 100%;
    margin-top: 1rem;
}

.search-result-item {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 100%;
}

.no-results {
    text-align: center;
    padding: 2rem;
    color: hsl(var(--muted-foreground));
    width: 100%;
    max-width: 100%;
}

/* Highlight class for checkout forms */
.luxury-checkout-form.highlight {
    animation: highlight-pulse 2s ease-in-out;
}

@keyframes highlight-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0.1); }
}

/* ===== ADDITIONAL MISSING CLASSES ===== */

/* Luxury experience card classes */
.luxury-experience-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.luxury-experience-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* Variant management classes */
.variant-row {
    display: grid;
    grid-template-columns: 1fr 180px 100px;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
    width: 100%;
    max-width: 100%;
}

.remove-variant {
    background: #ff4d4f !important;
    color: #fff !important;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    min-height: 44px;
}

.remove-variant:hover {
    background: #ff7875 !important;
    transform: translateY(-1px);
}

/* Form message classes */
.form-message,
.ajax-message {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    font-weight: 500;
    width: 100%;
    max-width: 100%;
}

.form-message.success,
.ajax-message.success {
    background: hsl(var(--success));
    color: hsl(var(--success-foreground));
    border: 1px solid hsl(var(--success));
}

.form-message.error,
.ajax-message.error {
    background: hsl(var(--destructive));
    color: hsl(var(--destructive-foreground));
    border: 1px solid hsl(var(--destructive));
}

/* ===== MOBILE-FIRST BASE STYLES ===== */
/* These are the DEFAULT styles for mobile devices */

/* Mobile Collapsible Sections - DEFAULT BEHAVIOR */
.mobile-collapsible {
    border: 1px solid hsl(var(--border));
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    background: hsl(var(--card));
    box-shadow: var(--shadow-soft);
    width: 100%;
    max-width: 100%;
}

.mobile-collapsible-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: hsl(var(--muted));
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid hsl(var(--border));
    min-height: 48px; /* Touch target */
    width: 100%;
}

.mobile-collapsible-header:hover {
    background: hsl(var(--accent));
}

.mobile-collapsible-title {
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0;
    flex: 1;
    padding-right: 1rem;
}

.mobile-collapsible-icon {
    font-size: 1.125rem;
    color: hsl(var(--primary));
    transition: transform 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-collapsible-icon::before {
    content: '▼';
    transition: transform 0.3s ease;
}

.mobile-collapsible-icon.active {
    transform: rotate(180deg);
}

.mobile-collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
}

.mobile-collapsible-content.active {
    max-height: 2000px;
    padding: 1rem;
}

/* Mobile Responsive Grid - DEFAULT BEHAVIOR */
.mobile-responsive-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr; /* Mobile: single column */
    width: 100%;
    max-width: 100%;
}

/* Mobile Forms - DEFAULT BEHAVIOR */
.mobile-form {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-form-input {
    width: 100%;
    max-width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    font-size: 16px; /* Prevent zoom on iOS */
    background: hsl(var(--input));
    color: hsl(var(--foreground));
    min-height: 48px; /* Touch target */
    box-sizing: border-box;
}

.mobile-form-input:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.mobile-form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
    width: 100%;
}

.mobile-action-button {
    width: 100%;
    max-width: 100%;
    padding: 0.875rem 1rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 48px; /* Touch target */
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    margin-bottom: 0.5rem;
    box-sizing: border-box;
}

.mobile-action-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

/* Mobile Tables - DEFAULT BEHAVIOR */
.mobile-table-wrapper {
    overflow-x: auto;
    border-radius: 0.5rem;
    border: 1px solid hsl(var(--border));
    margin-bottom: 1rem;
    width: 100%;
    max-width: 100%;
}

.mobile-table {
    width: 100%;
    min-width: 100%; /* Changed from 600px to prevent horizontal scroll */
    border-collapse: collapse;
    max-width: 100%;
}

.mobile-table th,
.mobile-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid hsl(var(--border));
    word-wrap: break-word;
    max-width: 200px; /* Prevent cells from becoming too wide */
}

.mobile-table th {
    background: hsl(var(--muted));
    font-weight: 600;
    color: hsl(var(--foreground));
}

.mobile-table td {
    background: hsl(var(--card));
}

/* Mobile Scroll Hint */
.mobile-scroll-hint {
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 0.5rem;
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    background: hsl(var(--muted));
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

/* ===== PAGE-SPECIFIC MOBILE-FIRST STYLES ===== */
/* These styles are scoped to specific pages to avoid conflicts */

/* ===== CHECKOUT PAGE MOBILE-FIRST ===== */
.luxury-checkout-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding: 0.75rem;
}

.checkout-section {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid hsl(var(--border));
    border-radius: 0.75rem;
    background: hsl(var(--card));
}

.booking-form {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    font-size: 16px;
    background: hsl(var(--input));
    color: hsl(var(--foreground));
    min-height: 48px;
    box-sizing: border-box;
}

.booking-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
    width: 100%;
}

/* Payment Method Sections - Mobile First */
.crypto-payment-section,
.wire-payment-section,
.giftcard-payment-section {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid hsl(var(--border));
    border-radius: 0.75rem;
    background: hsl(var(--card));
}

.payment-method-form {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-method-form input,
.payment-method-form select,
.payment-method-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    font-size: 16px;
    background: hsl(var(--input));
    color: hsl(var(--foreground));
    min-height: 48px;
    box-sizing: border-box;
}

.payment-method-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
    width: 100%;
}

/* ===== SINGLE CELEBRITY PAGE MOBILE-FIRST ===== */
.single-experience,
.celebrity-details {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding: 0.75rem;
}

.celebrity-info {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid hsl(var(--border));
    border-radius: 0.75rem;
    background: hsl(var(--card));
}

.celebrity-description {
    width: 100%;
    max-width: 100%;
    line-height: 1.6;
    color: hsl(var(--foreground));
}

.celebrity-gallery {
    width: 100%;
    max-width: 100%;
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr; /* Mobile: single column */
    margin-bottom: 1.5rem;
}

.celebrity-gallery img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    object-fit: cover;
}

/* ===== DOCUMENTATION PAGE MOBILE-FIRST ===== */
.documentation,
.help-section,
.guide-section {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding: 0.75rem;
}

.doc-section {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid hsl(var(--border));
    border-radius: 0.75rem;
    background: hsl(var(--card));
}

.doc-content {
    width: 100%;
    max-width: 100%;
    line-height: 1.6;
    color: hsl(var(--foreground));
}

.doc-content h1,
.doc-content h2,
.doc-content h3,
.doc-content h4 {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.doc-content p {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.doc-content code {
    background: hsl(var(--muted));
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: monospace;
    font-size: 0.875rem;
    color: hsl(var(--foreground));
    word-wrap: break-word;
    max-width: 100%;
}

.doc-content pre {
    background: hsl(var(--muted));
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
}

/* ===== SETTINGS PAGE MOBILE-FIRST ===== */
.luxury-admin-settings,
.admin-settings,
.settings-section {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding: 0.75rem;
}

.settings-card {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid hsl(var(--border));
    border-radius: 0.75rem;
    background: hsl(var(--card));
}

.settings-form {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.settings-form input,
.settings-form select,
.settings-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    font-size: 16px;
    background: hsl(var(--input));
    color: hsl(var(--foreground));
    min-height: 48px;
    box-sizing: border-box;
}

.settings-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
    width: 100%;
}

/* ===== CATEGORY PAGE MOBILE-FIRST ===== */
.category-section,
.luxury-categories,
.category-list {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding: 0.75rem;
}

.category-grid {
    width: 100%;
    max-width: 100%;
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr; /* Mobile: single column */
}

.category-card {
    width: 100%;
    max-width: 100%;
    padding: 1rem;
    border: 1px solid hsl(var(--border));
    border-radius: 0.75rem;
    background: hsl(var(--card));
    text-align: center;
}

.category-card img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    object-fit: cover;
}

.category-card h3 {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
}

.category-card p {
    width: 100%;
    max-width: 100%;
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

/* ===== DESKTOP ENHANCEMENTS ===== */
/* These styles are ADDED for larger screens */

/* Tablet (768px and up) */
@media (min-width: 768px) {
    .luxury-experiences-wrapper {
        padding: 1.5rem;
    }
    
    .mobile-responsive-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
        gap: 1.5rem;
    }
    
    .mobile-collapsible-header {
        padding: 1.25rem;
    }
    
    .mobile-collapsible-content.active {
        padding: 1.25rem;
    }
    
    .mobile-action-button {
        width: auto;
        padding: 1rem 1.5rem;
        margin-bottom: 0;
    }
    
    /* Checkout page enhancements */
    .luxury-checkout-page {
        padding: 1.5rem;
    }
    
    .checkout-section {
        padding: 1.5rem;
    }
    
    /* Single celebrity page enhancements */
    .single-experience,
    .celebrity-details {
        padding: 1.5rem;
    }
    
    .celebrity-gallery {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
        gap: 1.5rem;
    }
    
    /* Documentation page enhancements */
    .documentation,
    .help-section,
    .guide-section {
        padding: 1.5rem;
    }
    
    /* Settings page enhancements */
    .luxury-admin-settings,
    .admin-settings,
    .settings-section {
        padding: 1.5rem;
    }
    
    /* Category page enhancements */
    .category-section,
    .luxury-categories,
    .category-list {
        padding: 1.5rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
        gap: 1.5rem;
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .luxury-experiences-wrapper {
        padding: 2rem;
    }
    
    .mobile-responsive-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
        gap: 2rem;
    }
    
    .mobile-collapsible-header {
        padding: 1.5rem;
    }
    
    .mobile-collapsible-content.active {
        padding: 1.5rem;
    }
    
    .mobile-action-button {
        padding: 1.25rem 2rem;
        font-size: 18px;
    }
    
    /* Checkout page enhancements */
    .luxury-checkout-page {
        padding: 2rem;
    }
    
    .checkout-section {
        padding: 2rem;
    }
    
    /* Single celebrity page enhancements */
    .single-experience,
    .celebrity-details {
        padding: 2rem;
    }
    
    .celebrity-gallery {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
        gap: 2rem;
    }
    
    /* Documentation page enhancements */
    .documentation,
    .help-section,
    .guide-section {
        padding: 2rem;
    }
    
    /* Settings page enhancements */
    .luxury-admin-settings,
    .admin-settings,
    .settings-section {
        padding: 2rem;
    }
    
    /* Category page enhancements */
    .category-section,
    .luxury-categories,
    .category-list {
        padding: 2rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
        gap: 2rem;
    }
}

/* Large Desktop (1280px and up) */
@media (min-width: 1280px) {
    .mobile-responsive-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on large desktop */
        gap: 2.5rem;
    }
    
    .luxury-experiences-wrapper {
        padding: 2.5rem;
    }
    
    /* Checkout page enhancements */
    .luxury-checkout-page {
        padding: 2.5rem;
    }
    
    .checkout-section {
        padding: 2.5rem;
    }
    
    /* Single celebrity page enhancements */
    .single-experience,
    .celebrity-details {
        padding: 2.5rem;
    }
    
    .celebrity-gallery {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on large desktop */
        gap: 2.5rem;
    }
    
    /* Documentation page enhancements */
    .documentation,
    .help-section,
    .guide-section {
        padding: 2.5rem;
    }
    
    /* Settings page enhancements */
    .luxury-admin-settings,
    .admin-settings,
    .settings-section {
        padding: 2.5rem;
    }
    
    /* Category page enhancements */
    .category-section,
    .luxury-categories,
    .category-list {
        padding: 2.5rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on large desktop */
        gap: 2.5rem;
    }
}

/* ===== MOBILE-SPECIFIC IMPROVEMENTS ===== */
@media (max-width: 767px) {
    .luxury-experiences-wrapper {
        padding: 0.5rem;
    }
    
    .mobile-collapsible-header {
        padding: 0.875rem;
    }
    
    .mobile-collapsible-content.active {
        padding: 0.875rem;
    }
    
    .mobile-action-button {
        margin-bottom: 0.75rem;
    }
    
    /* Checkout page mobile improvements */
    .luxury-checkout-page {
        padding: 0.5rem;
    }
    
    .checkout-section {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    /* Single celebrity page mobile improvements */
    .single-experience,
    .celebrity-details {
        padding: 0.5rem;
    }
    
    .celebrity-info {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    /* Documentation page mobile improvements */
    .documentation,
    .help-section,
    .guide-section {
        padding: 0.5rem;
    }
    
    .doc-section {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    /* Settings page mobile improvements */
    .luxury-admin-settings,
    .admin-settings,
    .settings-section {
        padding: 0.5rem;
    }
    
    .settings-card {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    /* Category page mobile improvements */
    .category-section,
    .luxury-categories,
    .category-list {
        padding: 0.5rem;
    }
    
    .category-card {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .luxury-experiences-wrapper {
        padding: 0.25rem;
    }
    
    .mobile-collapsible-header {
        padding: 0.75rem;
    }
    
    .mobile-collapsible-content.active {
        padding: 0.75rem;
    }
    
    .mobile-action-button {
        padding: 0.75rem;
        font-size: 14px;
    }
    
    /* Checkout page small mobile improvements */
    .luxury-checkout-page {
        padding: 0.25rem;
    }
    
    .checkout-section {
        padding: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    /* Single celebrity page small mobile improvements */
    .single-experience,
    .celebrity-details {
        padding: 0.25rem;
    }
    
    .celebrity-info {
        padding: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    /* Documentation page small mobile improvements */
    .documentation,
    .help-section,
    .guide-section {
        padding: 0.25rem;
    }
    
    .doc-section {
        padding: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    /* Settings page small mobile improvements */
    .luxury-admin-settings,
    .admin-settings,
    .settings-section {
        padding: 0.25rem;
    }
    
    .settings-card {
        padding: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    /* Category page small mobile improvements */
    .category-section,
    .luxury-categories,
    .category-list {
        padding: 0.25rem;
    }
    
    .category-card {
        padding: 0.5rem;
    }
}

/* ===== GLOBAL MOBILE-FIRST OVERRIDES ===== */
/* Ensure no element can cause horizontal scroll */

.luxury-experiences-wrapper * {
    max-width: 100%;
    box-sizing: border-box;
}

.luxury-experiences-wrapper img, 
.luxury-experiences-wrapper video, 
.luxury-experiences-wrapper iframe, 
.luxury-experiences-wrapper embed, 
.luxury-experiences-wrapper object {
    max-width: 100%;
    height: auto;
}

.luxury-experiences-wrapper table {
    max-width: 100%;
    table-layout: fixed;
}

.luxury-experiences-wrapper pre, 
.luxury-experiences-wrapper code {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* ===== SPECIFIC PAGE OVERRIDES ===== */
/* These ensure the specific pages mentioned work properly */

/* Checkout page specific overrides */
.luxury-checkout-page * {
    max-width: 100%;
    box-sizing: border-box;
}

/* Single celebrity page specific overrides */
.single-experience *,
.celebrity-details * {
    max-width: 100%;
    box-sizing: border-box;
}

/* Documentation page specific overrides */
.documentation *,
.help-section *,
.guide-section * {
    max-width: 100%;
    box-sizing: border-box;
}

/* Settings page specific overrides */
.luxury-admin-settings *,
.admin-settings *,
.settings-section * {
    max-width: 100%;
    box-sizing: border-box;
}

/* Category page specific overrides */
.category-section *,
.luxury-categories *,
.category-list * {
    max-width: 100%;
    box-sizing: border-box;
}


