/**
 * WP Menu Price List Styling (Clean Single Price layout)
 * Zero JavaScript, highly performant, mobile-first design.
 */

/* Utility fallbacks if not defined by theme */
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
.relative {
    position: relative;
}

/* Screen Reader Accessible Utility */
.wpmc-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Core Wrapper */
.wpmc-wrapper {
    max-width: var(--container-width, 1200px);
    padding: 10px 15px;
    color: var(--text-color, #1e293b);
    font-family: var(--font-main, system-ui, -apple-system, BlinkMacSystemFont, sans-serif);
}

/* Category Navigation (Horizontal Scrolling Jumps) */
.wpmc-cat-navigation {
    margin-bottom: 30px;
    position: sticky;
    top: 60px; /* Below Fastly's sticky header */
    background: #ffffff;
    z-index: 40;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    width: 100% !important;
    overflow: hidden !important;
}

.wpmc-cat-list {
    list-style: none !important;
    padding: 0 15px !important; /* Side padding so edges don't stick */
    margin: 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important; /* Smooth swiping on iOS */
    scrollbar-width: none !important; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none !important; /* Hide scrollbar for IE/Edge */
    touch-action: pan-x !important; /* Force scroll horizontally on touch */
}

.wpmc-cat-list::-webkit-scrollbar {
    display: none !important; /* Hide scrollbar for Chrome/Safari */
}

.wpmc-cat-list li {
    flex-shrink: 0 !important; /* Prevents pills from squishing or disappearing */
}

.wpmc-cat-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--secondary-bg, #f8fafc);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color, #1e293b);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.wpmc-cat-link:hover {
    background-color: var(--primary-color, #2563eb);
    color: #ffffff;
    border-color: var(--primary-color, #2563eb);
}

/* Category Sections */
.wpmc-category-section {
    margin-bottom: 45px;
    scroll-margin-top: 180px !important; /* Account for sticky navs and theme header */
}

.wpmc-category-title {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    font-size: 1.4rem;
    font-weight: 800;
    margin-top: 0 !important;
    margin-bottom: 22px !important;
    border-left: 4px solid var(--primary-color, #2563eb);
    padding-left: 12px;
    color: #111111;
}

/* Grid of Menu Items (Single Column on Mobile, Two Columns on Desktop) */
.wpmc-items-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

/* Single Menu Item Card */
.wpmc-item-card {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.05));
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wpmc-item-image {
    width: 65px;
    height: 65px;
    min-height: 65px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    overflow: hidden;
}

.wpmc-item-image img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.wpmc-item-card:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md, 0 4px 6px rgba(0,0,0,0.08));
    border-color: var(--primary-color, #2563eb);
}

.wpmc-item-details {
    flex: 1;
}

.wpmc-item-name {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #111111;
}

.wpmc-item-description {
    font-size: 0.88rem;
    color: var(--text-light, #475569);
    margin: 0;
    line-height: 1.45;
}

/* Elegant Price Tag Display */
.wpmc-item-price-tag {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 8px !important;
    text-align: right;
    white-space: nowrap;
}

.wpmc-price-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.wpmc-price-value {
    font-weight: 700 !important;
    font-size: 1.2rem;
    color: #1e293b !important;
    background: var(--secondary-bg, #f8fafc);
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-color, #e2e8f0);
    display: inline-block;
}

.wpmc-no-price {
    font-weight: normal;
    color: var(--text-light, #64748b);
    font-size: 0.85rem;
    background: none;
    border: none;
    padding: 0;
}

/* Footer disclaimer for E-E-A-T and Search Quality */
.wpmc-footer-meta {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color, #e2e8f0);
    font-size: 0.82rem;
    color: var(--text-light, #64748b);
    text-align: center;
    line-height: 1.5;
}

/* Desktop Styles (Media Queries) */
@media (min-width: 768px) {
    .wpmc-items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile Grid & Spacing Optimization (max-width: 480px) */
@media (max-width: 480px) {
    .wpmc-wrapper {
        padding: 5px 10px !important;
    }
    
    .wpmc-cat-mobile-nav {
        margin-bottom: 10px !important;
        padding: 4px 0 !important;
    }
    
    .wpmc-cat-select {
        padding: 9px 12px !important;
        font-size: 0.88rem !important;
    }
    
    .wpmc-filter-bar {
        margin-bottom: 12px !important;
        padding: 8px 10px !important;
        gap: 8px !important;
        border-radius: 10px !important;
    }
    
    .wpmc-search-box input {
        padding: 7px 12px !important;
        font-size: 0.82rem !important;
    }
    
    .wpmc-filter-pill {
        padding: 5px 10px !important;
        font-size: 0.8rem !important;
    }
    
    .wpmc-category-section {
        margin-bottom: 20px !important;
    }
    
    .wpmc-category-title {
        font-size: 1.15rem !important;
        margin-bottom: 10px !important;
        padding-left: 8px !important;
    }
    
    .wpmc-item-card {
        display: grid !important;
        grid-template-columns: 50px 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 8px 12px !important;
        align-items: start !important;
        padding: 12px 14px !important;
        border-radius: 12px !important;
        background: #ffffff !important;
    }
    
    .wpmc-item-image {
        width: 50px !important;
        height: 50px !important;
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .wpmc-item-image img {
        border-radius: 8px !important;
    }
    
    .wpmc-item-details {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }
    
    .wpmc-item-name {
        font-size: 0.98rem !important;
        line-height: 1.35 !important;
        margin-bottom: 4px !important;
    }
    
    .wpmc-item-description {
        font-size: 0.78rem !important;
        line-height: 1.35 !important;
    }
    
    .wpmc-item-price-tag {
        grid-column: 1 / span 2 !important;
        grid-row: 2 !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        margin-top: 4px !important;
        padding-top: 8px !important;
        border-top: 1px solid #f1f5f9 !important;
    }

    .wpmc-price-box {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 2px !important;
    }
    
    .wpmc-price-value {
        padding: 4px 10px !important;
        font-size: 0.95rem !important;
        border-radius: 8px !important;
        background: #f8fafc !important;
    }

    .wpmc-report-link {
        font-size: 0.68rem !important;
        margin-top: 2px !important;
        text-align: left !important;
    }

    .wpmc-qty-selector {
        margin-left: auto !important;
    }
    
    /* Fallback if there is no image */
    .wpmc-item-card:not(:has(.wpmc-item-image)) {
        grid-template-columns: 1fr !important;
    }
    .wpmc-item-card:not(:has(.wpmc-item-image)) .wpmc-item-details {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }
    .wpmc-item-card:not(:has(.wpmc-item-image)) .wpmc-item-price-tag {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }
}

/* Premium Filter Bar & Search Box Styling */
.wpmc-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    background: var(--secondary-bg, #f8fafc);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 16px;
    padding: 16px;
}

@media (min-width: 768px) {
    .wpmc-filter-bar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.wpmc-search-box {
    flex: 1;
    max-width: 100%;
}

@media (min-width: 768px) {
    .wpmc-search-box {
        max-width: 320px;
    }
}

.wpmc-search-box input {
    width: 100% !important;
    padding: 10px 18px !important;
    border: 1px solid var(--border-color, #e2e8f0) !important;
    border-radius: 30px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    background: #ffffff !important;
    color: var(--text-color, #1e293b) !important;
    outline: none !important;
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.05)) !important;
    transition: all 0.25s ease !important;
}

.wpmc-search-box input:focus {
    border-color: var(--primary-color, #2563eb) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

.wpmc-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.wpmc-filter-pill {
    background: #ffffff !important;
    border: 1px solid var(--border-color, #e2e8f0) !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: var(--text-color, #1e293b) !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.05)) !important;
}

.wpmc-filter-pill:hover {
    border-color: var(--primary-color, #2563eb) !important;
    color: var(--primary-color, #2563eb) !important;
}

.wpmc-filter-pill.active {
    background: var(--secondary-bg, #f8fafc) !important;
    border-color: var(--primary-color, #2563eb) !important;
    color: var(--primary-color, #2563eb) !important;
}

.wpmc-pill-icon {
    font-size: 1rem !important;
}

/* Custom PDF Download Button styled specifically as the PDF pill */
.wpmc-pdf-pill {
    border-color: #2563eb !important;
    color: #2563eb !important;
}

.wpmc-pdf-pill:hover {
    background: #2563eb !important;
    color: #ffffff !important;
}

/* High Quality Print stylesheet rules for PDF generation */
@media print {
    /* Hide menus, filters, page header and footer */
    body {
        background: #ffffff !important;
        color: #000000 !important;
    }
    .wpmc-cat-navigation,
    .wpmc-filter-bar,
    .wpmc-footer-meta,
    .wpmc-eeat-box,
    .wpmc-related-menus,
    .wpmc-vs-matrix-wrapper,
    .wpmc-calc-bar,
    .wpmc-branches-map-section,
    header,
    footer,
    #header,
    #footer,
    .sidebar,
    #sidebar,
    .site-header,
    .site-footer {
        display: none !important;
    }
    .wpmc-wrapper {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .wpmc-items-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .wpmc-item-card {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        page-break-inside: avoid !important;
    }
    .wpmc-item-description {
        max-height: none !important;
    }
    .wpmc-desc-label {
        display: none !important;
    }
}

/* Responsive visibility utilities */
.wpmc-desktop-only {
    display: block !important;
}
.wpmc-mobile-only {
    display: none !important;
}

@media (max-width: 991px) {
    .wpmc-desktop-only {
        display: none !important;
    }
    .wpmc-mobile-only {
        display: block !important;
    }
}

/* Mobile Premium Select Dropdown Navigation */
.wpmc-cat-mobile-nav {
    margin-bottom: 25px;
    position: sticky;
    top: 60px; /* Below Fastly sticky header */
    z-index: 45;
    background: #ffffff;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
}

.wpmc-cat-select {
    width: 100% !important;
    padding: 12px 18px !important;
    border: 1px solid var(--border-color, #e2e8f0) !important;
    border-radius: 30px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: var(--text-color, #1e293b) !important;
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%232563eb%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 18px center !important;
    background-size: 18px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    outline: none !important;
    cursor: pointer !important;
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.05)) !important;
    transition: all 0.25s ease !important;
}

.wpmc-cat-select:focus {
    border-color: var(--primary-color, #2563eb) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

/* Hide mobile dropdown during print */
@media print {
    .wpmc-cat-mobile-nav {
        display: none !important;
    }
}

/* Premium FAQ (SSS) Accordion Styling */
.wpmc-faq-section {
    margin-top: 40px !important;
    padding-top: 30px !important;
    border-top: 1px solid var(--border-color, #e2e8f0) !important;
}

.wpmc-faq-title {
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    margin-bottom: 22px !important;
    color: #111111 !important;
}

.wpmc-faq-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.wpmc-faq-item {
    background: #ffffff !important;
    border: 1px solid var(--border-color, #e2e8f0) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: all 0.2s ease !important;
}

.wpmc-faq-item[open] {
    border-color: var(--primary-color, #2563eb) !important;
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.05)) !important;
}

.wpmc-faq-item summary {
    padding: 16px 20px !important;
    font-weight: 700 !important;
    font-size: 1.02rem !important;
    color: var(--text-color, #1e293b) !important;
    cursor: pointer !important;
    outline: none !important;
    list-style: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* Hide native list marker arrow */
.wpmc-faq-item summary::-webkit-details-marker {
    display: none !important;
}

/* Custom premium dropdown arrow */
.wpmc-faq-item summary::after {
    content: "" !important;
    width: 7px !important;
    height: 7px !important;
    border-right: 2px solid var(--text-light, #64748b) !important;
    border-bottom: 2px solid var(--text-light, #64748b) !important;
    transform: rotate(45deg) !important;
    transition: transform 0.2s ease !important;
    margin-left: 10px !important;
    flex-shrink: 0 !important;
}

.wpmc-faq-item[open] summary::after {
    transform: rotate(-135deg) !important;
    border-color: var(--primary-color, #2563eb) !important;
}

.wpmc-faq-content {
    padding: 0 20px 20px 20px !important;
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    color: var(--text-light, #64748b) !important;
    border-top: 1px solid transparent !important;
}

.wpmc-faq-item[open] .wpmc-faq-content {
    border-top-color: var(--border-color, #e2e8f0) !important;
    padding-top: 15px !important;
}

/* Print styles - Hide FAQ during print */
@media print {
    .wpmc-faq-section {
        display: none !important;
    }
}

/* Premium Desktop Left Sidebar Layout Styling */
@media (min-width: 992px) {
    .wpmc-main-container {
        display: grid !important;
        grid-template-columns: 260px 1fr !important;
        gap: 40px !important;
        align-items: start !important;
    }
}

.wpmc-desktop-sidebar {
    position: sticky !important;
    top: 90px !important; /* Below header and sticky padding */
    z-index: 10 !important;
    max-height: calc(100vh - 110px) !important;
}

.wpmc-sidebar-sticky {
    background: #ffffff !important;
    border: 1px solid var(--border-color, #e2e8f0) !important;
    border-radius: 16px !important;
    padding: 20px 14px !important;
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.05)) !important;
    max-height: calc(100vh - 110px) !important;
    display: flex !important;
    flex-direction: column !important;
}

.wpmc-sidebar-title {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    color: var(--text-color, #1e293b) !important;
    border-bottom: 2px solid var(--primary-color, #2563eb) !important;
    padding-bottom: 10px !important;
    flex-shrink: 0 !important;
}

.wpmc-sidebar-list {
    list-style: none !important;
    padding: 0 4px 0 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    overflow-y: auto !important;
    max-height: calc(100vh - 170px) !important;
    scrollbar-width: thin !important;
    scrollbar-color: #cbd5e1 transparent !important;
}

.wpmc-sidebar-list::-webkit-scrollbar {
    width: 5px !important;
}

.wpmc-sidebar-list::-webkit-scrollbar-track {
    background: transparent !important;
}

.wpmc-sidebar-list::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 4px !important;
}

.wpmc-sidebar-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8 !important;
}

.wpmc-sidebar-link {
    display: block !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    color: var(--text-light, #64748b) !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border-left: 3px solid transparent !important;
}

.wpmc-sidebar-link:hover,
.wpmc-sidebar-link.active {
    background-color: var(--secondary-bg, #f8fafc) !important;
    color: var(--primary-color, #2563eb) !important;
    border-left-color: var(--primary-color, #2563eb) !important;
}

/* Print styles - Hide sidebar */
@media print {
    .wpmc-desktop-sidebar {
        display: none !important;
    }
}

/* Description Read-More Toggle CSS */
.wpmc-desc-wrapper {
    position: relative;
    width: 100%;
}
.wpmc-desc-toggle {
    display: none !important;
}
.wpmc-desc-toggle:checked ~ .wpmc-item-description {
    max-height: 1000px !important; /* expand to full height */
}
.wpmc-desc-label {
    font-size: 0.72rem !important;
    color: var(--primary-color, #2563eb) !important;
    cursor: pointer !important;
    font-weight: 700 !important;
    margin-top: 4px !important;
    display: inline-block !important;
    width: fit-content !important;
    user-select: none !important;
    transition: color 0.2s ease !important;
}
.wpmc-desc-label:hover {
    color: var(--primary-hover, #1d4ed8) !important;
}
.wpmc-desc-label::after {
    content: "👇 Devamını Oku" !important;
}
.wpmc-desc-toggle:checked ~ .wpmc-desc-label::after {
    content: "👆 Daha Az Göster" !important;
}

/* Intro Block Read-More Toggle */
.wpmc-desc-toggle:checked ~ .wpmc-intro-rest {
    max-height: 1000px !important;
}

/* Print: always show full intro text, hide the toggle label */
@media print {
    .wpmc-intro-rest {
        max-height: none !important;
        overflow: visible !important;
    }
    .wpmc-intro-block .wpmc-desc-label {
        display: none !important;
    }
}

/* Optimized CSS class extensions to eliminate inline styles */

.wpmc-intro-block {
    margin-bottom: 22px;
    font-size: 0.91rem;
    line-height: 1.7;
    color: #334155;
}

.wpmc-intro-block p {
    margin: 0;
    font-size: 0.91rem;
    line-height: 1.7;
    color: #334155;
}

.wpmc-intro-rest {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
}

.wpmc-intro-rest p {
    margin: 12px 0;
    font-size: 0.91rem;
    line-height: 1.7;
    color: #334155;
}

.wpmc-intro-rest p.wpmc-margin-0 {
    margin: 0;
}

.wpmc-diet-filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    font-family: sans-serif;
    justify-content: flex-start;
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    align-items: center;
}

.wpmc-diet-filter-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #475569;
    display: inline-flex;
    align-items: center;
}

.wpmc-diet-pill {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
    outline: none;
}

.wpmc-diet-pill.active {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
}

/* Category avg badge */
.wpmc-cat-avg-badge {
    font-size: 0.8rem;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #bfdbfe;
    font-family: var(--font-main, sans-serif);
}

/* F/P Badges */
.wpmc-fp-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 12px;
    border: 1px solid currentColor;
    font-family: sans-serif;
}
.wpmc-fp-badge.wpmc-fp-high {
    color: #166534;
    background: #f0fdf4;
    border-color: #bbf7d0;
}
.wpmc-fp-badge.wpmc-fp-med {
    color: #92400e;
    background: #fffbeb;
    border-color: #fde68a;
}
.wpmc-fp-badge.wpmc-fp-low {
    color: #334155;
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.wpmc-discount-badge {
    font-size: 0.7rem;
    font-weight: 800;
    color: #991b1b;
    background: #fef2f2;
    padding: 1px 6px;
    border-radius: 12px;
    border: 1px solid #fecaca;
    font-family: sans-serif;
}

.wpmc-item-description.wpmc-collapsed {
    max-height: 2.8em;
    overflow: hidden;
    transition: max-height 0.25s ease-out;
    margin-bottom: 2px;
}

.wpmc-allergen-badges {
    display: flex !important;
    gap: 6px !important;
    margin-top: 6px !important;
    flex-wrap: wrap !important;
}

.wpmc-allergen-badge {
    font-size: 0.75rem !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
}

.wpmc-price-old {
    text-decoration: line-through;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 4px;
}

.wpmc-qty-selector {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    border-radius: 20px;
    padding: 3px 8px;
    border: 1px solid #cbd5e1;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.wpmc-qty-btn {
    border: none;
    background: #e2e8f0;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
    font-size: 1.05rem;
    color: #334155;
    line-height: 1;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    transition: background 0.15s ease, transform 0.1s ease;
}

.wpmc-qty-btn:hover {
    background: #cbd5e1;
    color: #0f172a;
}

.wpmc-qty-btn:active {
    transform: scale(0.92);
    background: #94a3b8;
    color: #ffffff;
}

.wpmc-qty-val {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1e293b;
    min-width: 18px;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
}

.wpmc-report-link {
    font-size: 0.72rem;
    color: #475569;
    text-decoration: none;
    margin-top: 2px;
    transition: color 0.2s;
    font-family: sans-serif;
    font-weight: 600;
}
.wpmc-report-link:hover {
    color: #dc2626 !important;
}

.wpmc-eeat-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px;
    margin-top: 30px;
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.wpmc-eeat-icon {
    font-size: 24px;
    line-height: 1;
}

.wpmc-eeat-text {
    font-size: 0.88rem;
    line-height: 1.45;
    color: #475569;
}

.wpmc-eeat-text a {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 600;
}

.wpmc-vs-matrix-wrapper {
    margin-top: 35px;
    border-top: 1px solid #e2e8f0;
    padding-top: 25px;
    margin-bottom: 20px;
}

.wpmc-vs-matrix-wrapper h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #111;
}

.wpmc-vs-matrix-table-container {
    overflow-x: auto;
}

.wpmc-vs-matrix-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
    color: #334155;
    min-width: 500px;
}

.wpmc-vs-matrix-table tr.wpmc-header-row {
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.wpmc-vs-matrix-table th {
    padding: 12px;
    font-weight: 700;
    border: 1px solid #e2e8f0;
}

.wpmc-vs-matrix-table th a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 700;
}

.wpmc-vs-matrix-table tr.wpmc-data-row {
    border-bottom: 1px solid #f1f5f9;
}

.wpmc-vs-matrix-table td {
    padding: 12px;
    border: 1px solid #e2e8f0;
}

.wpmc-vs-matrix-table td.wpmc-criterion-name {
    font-weight: 600;
    background: #f8fafc;
}

.wpmc-vs-matrix-table td.wpmc-current-value {
    font-weight: 700;
    color: #111;
}

.wpmc-related-menus {
    margin-top: 35px;
    border-top: 1px solid #e2e8f0;
    padding-top: 25px;
    margin-bottom: 20px;
}

.wpmc-related-menus h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #111;
}

.wpmc-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.wpmc-related-link {
    display: block;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.wpmc-related-link:hover {
    border-color: #2563eb !important;
    color: #2563eb !important;
}

.wpmc-branches-map-section {
    margin-top: 35px;
    border-top: 1px solid #e2e8f0;
    padding-top: 25px;
    margin-bottom: 20px;
    font-family: sans-serif;
}

.wpmc-branches-map-section h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #111;
}

.wpmc-branches-map-section p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 15px;
}

.wpmc-map-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    line-height: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    height: 300px;
}

.wpmc-map-container iframe {
    border: 0;
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: block;
}

.wpmc-calc-bar {
    position: fixed;
    bottom: -150px;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.15);
    border-top: 3px solid #2563eb;
    padding: 12px 20px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 999999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px 16px 0 0;
}

@media (max-width: 600px) {
    .wpmc-calc-bar {
        padding: 10px 14px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        gap: 10px;
        border-radius: 12px 12px 0 0;
    }
    
    .wpmc-calc-title {
        font-size: 0.7rem;
    }
    
    .wpmc-calc-total-label {
        font-size: 0.98rem;
    }
    
    .wpmc-calc-details {
        font-size: 0.75rem;
        gap: 4px;
        flex-direction: column;
        align-items: flex-end;
    }
}

.wpmc-calc-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wpmc-calc-title {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wpmc-calc-total-label {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
}

.wpmc-calc-total-label span {
    color: #2563eb;
}

.wpmc-calc-details {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: #475569;
    font-weight: 600;
    flex-wrap: wrap;
    text-align: right;
    justify-content: flex-end;
    align-items: center;
}

.wpmc-calc-commission-label {
    border-left: 1px solid #e2e8f0;
    padding-left: 15px;
}

.wpmc-calc-commission-label span {
    font-weight: 800;
    color: #dc2626;
}

.wpmc-report-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    font-family: sans-serif;
    padding: 15px;
}

.wpmc-report-modal-content {
    background: #ffffff;
    border-radius: 16px;
    max-width: 400px;
    width: 100%;
    padding: 24px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    position: relative;
}

.wpmc-report-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    border: none;
    background: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #94a3b8;
    line-height: 1;
}

.wpmc-report-modal-content h3 {
    margin-top: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.wpmc-report-modal-content p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.4;
}

.wpmc-report-modal-content p span {
    color: #111;
}

.wpmc-form-group {
    margin-bottom: 16px;
}

.wpmc-form-group.wpmc-margin-large {
    margin-bottom: 20px;
}

.wpmc-form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
}

.wpmc-form-group input[type="number"] {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.92rem;
    outline: none;
    box-sizing: border-box;
    font-weight: 600;
}

.wpmc-form-group textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.85rem;
    outline: none;
    resize: none;
    box-sizing: border-box;
    line-height: 1.4;
}

.wpmc-report-modal-content button[type="submit"] {
    width: 100%;
    background: #2563eb;
    color: #ffffff;
    font-weight: 700;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.92rem;
    transition: background 0.2s;
}

.wpmc-report-modal-content button[type="submit"]:hover {
    background: #1d4ed8;
}

.wpmc-report-success {
    display: none;
    text-align: center;
    color: #16a34a;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 15px 0;
}

/* NLG style classes from nlg-engine.php */
.wpmc-nlp-micro-summary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
    font-family: sans-serif;
}

.wpmc-nlp-micro-summary h4 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

.wpmc-nlp-micro-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.88rem;
    color: #475569;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.wpmc-nlg-summary-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 28px;
    margin-top: 35px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.wpmc-nlg-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 15px;
    color: #111111;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 8px;
}

.wpmc-nlg-p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #334155;
    margin-bottom: 15px;
}

/* =================================================================
 * PREMIUM HOMEPAGE STYLING (Koray Tuğberk Gübür SEO Structure)
 * =================================================================*/
.wpmc-home-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
    font-family: var(--font-main, system-ui, -apple-system, BlinkMacSystemFont, sans-serif);
    color: #1e293b;
    background-color: #f8fafc;
}

/* Premium Dark/Glow Hero Section */
.wpmc-home-hero {
    position: relative;
    text-align: center;
    margin-bottom: 50px;
    padding: 60px 30px;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #311042 100%);
    border-radius: 24px;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.3);
    overflow: hidden;
    color: #f8fafc;
}

.wpmc-home-hero-glow {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.wpmc-home-hero h1 {
    font-size: 2.6rem;
    font-weight: 900;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.025em;
    z-index: 2;
    position: relative;
}

.wpmc-home-hero p {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
    z-index: 2;
    position: relative;
}

/* Hero Search Bar */
.wpmc-home-search-form {
    position: relative;
    max-width: 600px;
    margin: 0 auto 40px auto;
    z-index: 2;
    display: flex;
    gap: 10px;
}

.wpmc-home-search-form input[type="text"] {
    flex-grow: 1;
    padding: 16px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.98rem;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.wpmc-home-search-form input[type="text"]::placeholder {
    color: #64748b;
}

.wpmc-home-search-form input[type="text"]:focus {
    border-color: #6366f1;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.25), inset 0 2px 4px rgba(0,0,0,0.1);
}

.wpmc-home-search-form button {
    padding: 16px 32px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.wpmc-home-search-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
}

/* Glassmorphic Stats Banner */
.wpmc-home-stats-banner {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    z-index: 2;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.wpmc-home-stats-item {
    font-size: 0.9rem;
    color: #cbd5e1;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.wpmc-home-stats-item:last-child {
    border-right: none;
}

.wpmc-home-stats-icon {
    font-size: 1.1rem;
}

.wpmc-home-stats-item strong {
    color: #60a5fa;
    font-size: 1.05rem;
    font-weight: 700;
}

/* Section Title */
.wpmc-home-section-title {
    font-size: 1.7rem;
    font-weight: 800;
    margin-top: 50px;
    margin-bottom: 25px;
    color: #0f172a;
    border-left: 5px solid #6366f1;
    padding-left: 15px;
    letter-spacing: -0.02em;
}

/* Brands Grid */
.wpmc-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.wpmc-home-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.wpmc-home-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: transparent;
    transition: background-color 0.3s ease;
}

.wpmc-home-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.wpmc-home-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.wpmc-home-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.wpmc-home-card-cuisine {
    font-size: 0.78rem;
    padding: 5px 12px;
    background: #f1f5f9;
    border-radius: 30px;
    color: #475569;
    font-weight: 700;
}

.wpmc-home-card-desc {
    font-size: 0.88rem;
    color: #475569;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

/* Brand specific custom hover effects */
.wpmc-brand-mcdonalds:hover {
    border-color: #ffbc0d;
}
.wpmc-brand-mcdonalds:hover::before {
    background-color: #ffbc0d;
}

.wpmc-brand-burgerking:hover {
    border-color: #d62300;
}
.wpmc-brand-burgerking:hover::before {
    background-color: #d62300;
}

.wpmc-brand-starbucks:hover {
    border-color: #00704a;
}
.wpmc-brand-starbucks:hover::before {
    background-color: #00704a;
}

.wpmc-brand-doyuyo:hover {
    border-color: #e11d48;
}
.wpmc-brand-doyuyo:hover::before {
    background-color: #e11d48;
}

.wpmc-brand-komagene:hover {
    border-color: #84cc16;
}
.wpmc-brand-komagene:hover::before {
    background-color: #84cc16;
}

.wpmc-brand-kofteciyusuf:hover {
    border-color: #2563eb;
}
.wpmc-brand-kofteciyusuf:hover::before {
    background-color: #2563eb;
}

/* Mini Price Stats Grid inside Card */
.wpmc-home-card-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #f1f5f9;
}

.wpmc-mini-stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.wpmc-mini-stat-lbl {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.wpmc-mini-stat-val {
    font-size: 0.88rem;
    color: #0f172a;
    font-weight: 700;
}

.wpmc-home-card-meta {
    font-size: 0.85rem;
    color: #64748b;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wpmc-home-card-link-btn {
    font-weight: 700;
    color: #4f46e5;
    transition: color 0.2s ease;
}

.wpmc-home-card:hover .wpmc-home-card-link-btn {
    color: #6366f1;
}

/* Dashboard styled Comparison Table */
.wpmc-home-table-wrapper {
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    margin-bottom: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    background: #ffffff;
}

.wpmc-home-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.wpmc-home-table th, 
.wpmc-home-table td {
    padding: 18px 24px;
    border-bottom: 1px solid #f1f5f9;
}

.wpmc-home-table th {
    background: #f8fafc;
    font-weight: 700;
    color: #334155;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e2e8f0;
}

.wpmc-home-table tbody tr {
    transition: background-color 0.2s ease;
}

.wpmc-home-table tbody tr:hover {
    background-color: #f8fafc;
}

.wpmc-home-table tr:last-child td {
    border-bottom: none;
}

.wpmc-home-table td strong {
    color: #0f172a;
    font-weight: 700;
}

.wpmc-table-price {
    color: #10b981 !important;
    font-size: 1.05rem;
}

.wpmc-status-badge {
    font-size: 0.78rem;
    padding: 4px 10px;
    background: #ecfdf5;
    color: #059669;
    border-radius: 12px;
    font-weight: 700;
}

/* How It Works (Steps) Styles */
.wpmc-home-how-it-works {
    margin-bottom: 50px;
}

.wpmc-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.wpmc-step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wpmc-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.06);
    border-color: #cbd5e1;
}

.wpmc-step-num {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.25);
}

.wpmc-step-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px 0;
}

.wpmc-step-card p {
    font-size: 0.92rem;
    color: #475569;
    margin: 0;
    line-height: 1.6;
}

/* Why Trust Us (Features) Styles */
.wpmc-home-why-us {
    margin-bottom: 50px;
}

.wpmc-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.wpmc-feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wpmc-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.06);
    border-color: #cbd5e1;
}

.wpmc-feature-icon {
    font-size: 2rem;
    line-height: 1;
    padding: 10px;
    background: #f0fdf4;
    border-radius: 14px;
    color: #10b981;
}

.wpmc-feature-content h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.wpmc-feature-content p {
    font-size: 0.92rem;
    color: #475569;
    margin: 0;
    line-height: 1.6;
}

/* Premium SSS Accordion (CSS-only) */
.wpmc-home-faq {
    margin-bottom: 50px;
}

.wpmc-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 15px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
    transition: border-color 0.2s ease;
}

.wpmc-faq-item:hover {
    border-color: #cbd5e1;
}

.wpmc-faq-toggle {
    display: none;
}

.wpmc-faq-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
    font-size: 1.05rem;
}

.wpmc-faq-label:hover {
    background-color: #f8fafc;
}

.wpmc-faq-label::after {
    content: '▼';
    font-size: 0.75rem;
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.wpmc-home-faq .wpmc-faq-content {
    display: none !important;
    padding: 0 28px;
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.7;
}

.wpmc-home-faq .wpmc-faq-toggle:checked + .wpmc-faq-label + .wpmc-faq-content {
    display: block !important;
    padding: 12px 28px 24px 28px !important;
    border-top: 1px solid #f1f5f9 !important;
}

.wpmc-home-faq .wpmc-faq-toggle:checked + .wpmc-faq-label::after {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .wpmc-home-hero {
        padding: 40px 20px;
    }
    
    .wpmc-home-hero h1 {
        font-size: 1.9rem;
    }
    
    .wpmc-home-search-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .wpmc-home-search-form button {
        width: 100%;
    }
    
    .wpmc-home-stats-banner {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        padding: 15px;
    }
    
    .wpmc-home-stats-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        width: 100%;
        padding: 8px 0;
    }
    
    .wpmc-home-stats-item:last-child {
        border-bottom: none;
    }
    
    .wpmc-home-text-block {
        padding: 24px;
    }
}

/* =================================================================
 * PREMIUM DIRECTORY PAGE STYLING (PriceListo style)
 * =================================================================*/
.wpmc-dir-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 35px 15px;
    font-family: var(--font-main, system-ui, -apple-system, BlinkMacSystemFont, sans-serif);
    color: #1e293b;
}

.wpmc-dir-header {
    text-align: center;
    margin-bottom: 40px;
}

.wpmc-dir-header h1 {
    font-size: 2.4rem;
    font-weight: 900;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 12px;
    letter-spacing: -0.025em;
}

.wpmc-dir-header p {
    font-size: 1.05rem;
    color: #475569;
    max-width: 750px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.wpmc-dir-search-box {
    max-width: 500px;
    margin: 0 auto;
}

.wpmc-dir-search-box input {
    width: 100%;
    padding: 14px 20px;
    border-radius: 30px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    font-size: 0.95rem;
    outline: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: all 0.2s ease;
}

.wpmc-dir-search-box input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

/* Alphabet Filter Bar */
.wpmc-dir-alpha-nav {
    margin-bottom: 40px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 20px;
}

.wpmc-dir-alpha-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
}

.wpmc-alpha-link {
    display: inline-block;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.01);
}

.wpmc-alpha-link:hover {
    background: #6366f1;
    color: #ffffff;
    border-color: #6366f1;
    transform: translateY(-1px);
}

/* Letter Sections */
.wpmc-dir-letter-section {
    margin-bottom: 45px;
    scroll-margin-top: 100px;
}

.wpmc-dir-letter-header {
    font-size: 1.8rem;
    font-weight: 900;
    color: #4f46e5;
    margin-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
}

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

.wpmc-dir-item-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
}

.wpmc-dir-item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
}

.wpmc-dir-item-link {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.wpmc-dir-item-info {
    margin-bottom: 12px;
}

.wpmc-dir-item-title {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.wpmc-dir-item-cuisine {
    font-size: 0.72rem;
    padding: 3px 8px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 20px;
    font-weight: 700;
}

.wpmc-dir-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
    font-size: 0.82rem;
    color: #64748b;
}

.wpmc-dir-item-arrow {
    font-weight: 700;
    color: #6366f1;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .wpmc-dir-header h1 {
        font-size: 1.9rem;
    }
}

/* ==========================================================================
   Smart Budget Combo Generator Section (Item 3)
   ========================================================================== */
.wpmc-budget-combo-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.wpmc-budget-combo-header {
    margin-bottom: 16px;
}

.wpmc-budget-combo-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.wpmc-budget-combo-icon {
    font-size: 1.8rem;
    line-height: 1;
    background: #eff6ff;
    padding: 8px 10px;
    border-radius: 10px;
}

.wpmc-budget-combo-title h3 {
    margin: 0 0 4px 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
}

.wpmc-budget-combo-title p {
    margin: 0;
    font-size: 0.88rem;
    color: #64748b;
}

.wpmc-budget-quick-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.wpmc-budget-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    margin-right: 4px;
}

.wpmc-budget-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wpmc-budget-btn:hover,
.wpmc-budget-btn.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.wpmc-budget-input-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
}

.wpmc-budget-custom-input {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 140px;
    min-width: 130px;
}

.wpmc-input-currency {
    position: absolute;
    left: 12px;
    font-weight: 700;
    color: #64748b;
}

.wpmc-budget-custom-input input {
    width: 100%;
    padding: 9px 12px 9px 28px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    background: #ffffff;
}

.wpmc-budget-strategy-select {
    flex: 2 1 200px;
}

.wpmc-budget-strategy-select select {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    background: #ffffff;
}

.wpmc-generate-combo-btn {
    background: #16a34a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
    flex: 1 1 130px;
}

.wpmc-generate-combo-btn:hover {
    background: #15803d;
}

/* Result Box */
.wpmc-combo-result-box {
    background: #ffffff;
    border: 1.5px dashed #2563eb;
    border-radius: 12px;
    padding: 16px;
    margin-top: 10px;
}

.wpmc-combo-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 8px;
}

.wpmc-combo-result-header h4 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
    color: #1e293b;
}

.wpmc-combo-badge {
    background: #dbeafe;
    color: #1e40af;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.wpmc-combo-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.wpmc-combo-item-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
}

.wpmc-combo-role {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.wpmc-combo-item-name {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.92rem;
    margin-bottom: 4px;
}

.wpmc-combo-item-price {
    font-weight: 800;
    color: #2563eb;
    font-size: 0.95rem;
}

.wpmc-combo-item-fp {
    font-size: 0.78rem;
    font-weight: 600;
    color: #15803d;
    margin-top: 2px;
}

.wpmc-combo-result-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px dashed #cbd5e1;
    padding-top: 12px;
}

.wpmc-combo-totals {
    font-size: 0.9rem;
    color: #334155;
}

.wpmc-positive-remaining {
    color: #16a34a;
    font-weight: 700;
}

.wpmc-negative-remaining {
    color: #dc2626;
    font-weight: 700;
}

.wpmc-add-sim-btn {
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 9px 16px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.wpmc-add-sim-btn:hover {
    background: #1d4ed8;
}

/* ==========================================================================
   Step-by-Step Order & Savings Guide Section (Item 7)
   ========================================================================== */
.wpmc-howto-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-top: 30px;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.wpmc-howto-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 8px;
}

.wpmc-howto-intro {
    color: #475569;
    font-size: 0.94rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.wpmc-howto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.wpmc-howto-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    position: relative;
}

.wpmc-step-badge {
    display: inline-block;
    background: #2563eb;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.wpmc-step-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 8px;
    line-height: 1.3;
}

.wpmc-step-desc {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}






