/**
 * JusoLook Directory - Frontend Styles
 * Modern, ShadCN-inspired design
 */

/* ========================================
   CSS Variables / Theme
   ======================================== */
:root {
    /* Colors - Light theme inspired by ShadCN */
    --juso-bg: #ffffff;
    --juso-bg-subtle: #fafafa;
    --juso-bg-muted: #f4f4f5;
    --juso-fg: #09090b;
    --juso-fg-muted: #71717a;
    --juso-fg-subtle: #a1a1aa;

    --juso-border: #e4e4e7;
    --juso-border-hover: #d4d4d8;
    --juso-ring: #18181b;

    --juso-primary: #18181b;
    --juso-primary-fg: #fafafa;
    --juso-primary-hover: #27272a;

    --juso-accent: #f4f4f5;
    --juso-accent-fg: #18181b;

    --juso-success: #22c55e;
    --juso-warning: #f59e0b;
    --juso-danger: #ef4444;

    /* Shadows */
    --juso-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --juso-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --juso-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --juso-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

    /* Radius */
    --juso-radius-sm: 0.375rem;
    --juso-radius: 0.5rem;
    --juso-radius-md: 0.625rem;
    --juso-radius-lg: 0.75rem;
    --juso-radius-xl: 1rem;

    /* Typography */
    --juso-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
}

/* ========================================
   Base Styles
   ======================================== */

/* Prevent horizontal scrolling on pages with JusoLook components */
html:has(.juso-dir),
html:has(.juso-submit-wrapper),
html:has(.juso-coupons),
body:has(.juso-dir),
body:has(.juso-submit-wrapper),
body:has(.juso-coupons) {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

.juso-dir,
.juso-submit-wrapper,
.juso-coupons {
    font-family: var(--juso-font);
    color: var(--juso-fg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
}

.juso-dir *,
.juso-submit-wrapper *,
.juso-coupons * {
    box-sizing: border-box;
}

/* ========================================
   Filter Section
   ======================================== */
.juso-filter {
    background: var(--juso-bg);
    border: 1px solid var(--juso-border);
    border-radius: var(--juso-radius-lg);
    padding: 1.25rem;
    padding-bottom: 0px;
    margin-bottom: 1.5rem;
    position: sticky;
    top: 1rem;
    z-index: 10;
    box-shadow: var(--juso-shadow-sm);
}

.juso-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.juso-filter-row:last-child {
    margin-bottom: 0;
}

.juso-filter-group {
    flex: 1;
    min-width: 200px;
}

/* Subcategory filter group in its own row should take full width */
.juso-filter-group[data-filter-type="sub"] {
    flex: 1 1 100%;
    min-width: 100%;
}

.juso-filter-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--juso-fg);
    margin-bottom: 0.5rem;
}

.juso-filter-group label small {
    font-weight: 400;
    color: var(--juso-fg-muted);
}

.juso-filter-tags {
    flex: 2;
    min-width: 300px;
}

.juso-select {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--juso-radius-md);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--juso-fg);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.juso-select:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 12px -2px rgba(0, 0, 0, 0.15), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.juso-select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(24, 24, 27, 0.3);
    box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.15), 0 8px 16px -4px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.juso-select:active {
    background: rgba(255, 255, 255, 0.45);
    border-color: rgba(24, 24, 27, 0.4);
    transform: translateY(0);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.juso-select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Style dropdown options with glass morphism */
.juso-select option {
    background: rgba(255, 255, 255, 0.95);
    color: var(--juso-fg);
    padding: 0.75rem 1rem;
    margin: 0.25rem 0;
    border-radius: var(--juso-radius-sm);
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.juso-select option:hover {
    background: rgba(24, 24, 27, 0.08);
    color: var(--juso-fg);
}

.juso-select option:checked,
.juso-select option:focus {
    background: rgba(24, 24, 27, 0.12);
    color: var(--juso-fg);
    font-weight: 500;
}

/* Removed duplicate - using enhanced version at line 878 */

/* Custom Glass Morphism Dropdown */
.juso-custom-dropdown {
    position: relative;
    width: auto;
    max-width: 100%;
    overflow: hidden;
}

.juso-custom-dropdown-trigger {
    width: auto;
    max-width: 100%;
    padding: 0.625rem 0.875rem;
    padding-right: 2.5rem;
    font-size: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--juso-radius-md);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--juso-fg);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    min-height: 2.5rem;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
}

.juso-custom-dropdown-trigger .juso-dropdown-text {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.juso-custom-dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 12px -2px rgba(0, 0, 0, 0.15), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.juso-custom-dropdown-trigger.active {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(24, 24, 27, 0.3);
    box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.15), 0 8px 16px -4px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.juso-custom-dropdown-trigger .juso-dropdown-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    opacity: 0.7;
}

.juso-custom-dropdown-trigger.active .juso-dropdown-arrow {
    transform: rotate(180deg);
}

.juso-custom-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: auto;
    width: 100%;
    min-width: 150px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--juso-radius-md);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0.25rem;
}

.juso-custom-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.juso-custom-dropdown-menu::-webkit-scrollbar {
    width: 8px;
}

.juso-custom-dropdown-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.juso-custom-dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.juso-custom-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

.juso-dropdown-option {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--juso-fg);
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
    text-decoration: none;
}

.juso-dropdown-option:last-child {
    border-bottom: none;
}

.juso-dropdown-option:hover {
    background: rgba(255, 255, 255, 0.3);
    padding-left: 1.25rem;
}

.juso-dropdown-option.selected {
    background: rgba(24, 24, 27, 0.15);
    font-weight: 500;
    color: var(--juso-fg);
}

.juso-dropdown-option.selected:hover {
    background: rgba(24, 24, 27, 0.2);
}

/* Glass morphism for sort select custom dropdown */
.juso-results-header .juso-custom-dropdown-trigger {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(12px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: var(--juso-radius-md) !important;
    box-shadow: 
        0 4px 12px -2px rgba(0, 0, 0, 0.08),
        0 2px 4px -1px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    overflow: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.juso-results-header .juso-custom-dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(14px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(180%) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    box-shadow: 
        0 6px 16px -2px rgba(0, 0, 0, 0.12),
        0 4px 6px -1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-1px) !important;
}

.juso-results-header .juso-custom-dropdown-trigger.active {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(14px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(180%) !important;
    border-color: rgba(24, 24, 27, 0.2) !important;
    box-shadow: 
        0 0 0 3px rgba(24, 24, 27, 0.1),
        0 8px 20px -4px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
    transform: translateY(-1px) !important;
}

/* Glass morphism for sort select custom dropdown menu */
.juso-results-header .juso-custom-dropdown-menu {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.juso-results-header .juso-dropdown-option {
    background: transparent !important;
    backdrop-filter: blur(10px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(180%) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.juso-results-header .juso-dropdown-option:hover {
    background: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(14px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(180%) !important;
    padding-left: 1.25rem !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3) !important;
}

.juso-results-header .juso-dropdown-option.selected {
    background: rgba(24, 24, 27, 0.12) !important;
    backdrop-filter: blur(14px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(180%) !important;
    font-weight: 500 !important;
    box-shadow: inset 0 0 0 1px rgba(24, 24, 27, 0.1) !important;
}

.juso-results-header .juso-dropdown-option.selected:hover {
    background: rgba(24, 24, 27, 0.18) !important;
}

/* Glass morphism style for sort select native options */
/* Removed duplicate - using enhanced version with !important at line 852 */

.juso-custom-dropdown.disabled .juso-custom-dropdown-trigger {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Hide native select when custom dropdown is active */
.juso-select-wrapper {
    position: relative;
    overflow: hidden !important;
    max-width: 200px;
    width: auto;
    box-sizing: border-box;
    display: inline-flex;
}

.juso-select-wrapper .juso-select,
.juso-select-wrapper .juso-sort-select {
    position: fixed;
    top: -9999px;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
    z-index: -1;
}

/* Tags - always horizontally scrollable */
.juso-tags {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.05);
    white-space: nowrap;
    gap: 0.5rem;
}

.juso-tags .juso-tag-chip {
    flex-shrink: 0;
    white-space: nowrap;
}

.juso-tags::-webkit-scrollbar {
    height: 6px;
}

.juso-tags::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

.juso-tags::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.juso-tags::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* Category filter chips - same style as tags */
.juso-filter-chips {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.05);
    white-space: nowrap;
    gap: 0.5rem;
}

.juso-filter-chips .juso-tag-chip {
    flex-shrink: 0;
    white-space: nowrap;
}

.juso-filter-chips::-webkit-scrollbar {
    height: 6px;
}

.juso-filter-chips::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

.juso-filter-chips::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.juso-filter-chips::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* Hide native select in filter groups - show chips instead */
.juso-filter-group[data-filter-type="main"] .juso-select,
.juso-filter-group[data-filter-type="sub"] .juso-select {
    display: none;
}

/* Hide custom dropdown wrapper for filter selects - we use chips instead */
.juso-filter-group[data-filter-type="main"] .juso-select-wrapper,
.juso-filter-group[data-filter-type="sub"] .juso-select-wrapper,
.juso-filter-group[data-filter-type="main"] .juso-custom-dropdown,
.juso-filter-group[data-filter-type="sub"] .juso-custom-dropdown {
    display: none !important;
}

/* Filter group dropdowns should be full width when visible */
.juso-filter-group .juso-select-wrapper,
.juso-filter-group .juso-custom-dropdown,
.juso-filter-group .juso-custom-dropdown-trigger {
    width: 100%;
    max-width: 100%;
}

/* Hide filter groups by default - show when needed */
/* Main category filter is always visible */
.juso-filter-group[data-filter-type="sub"] {
    display: none;
}

.juso-filter-group[data-filter-type="sub"].juso-filter-group-visible {
    display: block;
}

.juso-tag-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9999px;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    min-height: 2rem;
}

.juso-tag-chip:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 6px 8px -1px rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.juso-tag-chip span {
    display: inline-flex;
    align-items: center;
    line-height: 1.5;
    vertical-align: middle;
    font-size: 0.75rem !important;
}

.juso-tag-chip.juso-tag-chip-active {
    background: rgba(16, 185, 129, 0.3);
    border-color: rgba(16, 185, 129, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2), 0 2px 4px -1px rgba(16, 185, 129, 0.15);
}

.juso-tag-chip.juso-tag-chip-active:hover {
    background: rgba(16, 185, 129, 0.4);
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 6px 8px -1px rgba(16, 185, 129, 0.25), 0 3px 5px -1px rgba(16, 185, 129, 0.2);
}

.juso-tag-chip.juso-tag-chip-active span {
    font-weight: 500;
}

/* ========================================
   Results Grid
   ======================================== */
.juso-results {
    min-height: 300px;
    position: relative;
    overflow: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
}

.juso-results-header {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin-bottom: 1rem;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

.juso-search-wrapper {
    position: relative;
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

.juso-search-input {
    padding: 0.5rem 0.75rem 0.5rem 2.25rem !important;
    font-size: 0.875rem !important;
    border: 1px solid rgba(24, 24, 27, 0.15) !important;
    border-radius: 0.5rem !important;
    background-color: rgba(255, 255, 255, 0.85) !important;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: left 0.75rem center !important;
    background-size: 14px 14px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    color: var(--juso-fg) !important;
    cursor: text !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 100% !important;
    height: 36px !important;
    line-height: 1.25 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

/* Override any global input[type=text] styles */
.juso-search-input[type="text"],
input.juso-search-input[type="text"] {
    border: 1px solid rgba(24, 24, 27, 0.15) !important;
    border-radius: 0.5rem !important;
    padding: 0.5rem 0.75rem 0.5rem 2.25rem !important;
    width: 100% !important;
    height: 36px !important;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: left 0.75rem center !important;
    background-size: 14px 14px !important;
}

.juso-search-input::placeholder {
    color: rgba(107, 114, 128, 0.7);
}

.juso-search-input:hover {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(24, 24, 27, 0.25) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

.juso-search-input:focus {
    outline: none !important;
    background-color: #fff !important;
    border-color: rgba(24, 24, 27, 0.3) !important;
    box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.08), 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.juso-search-dropdown {
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--juso-radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 10000;
}

.juso-search-dropdown-item {
    padding: 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(24, 24, 27, 0.1);
    transition: background-color 0.2s ease;
}

.juso-search-dropdown-item:last-child {
    border-bottom: none;
}

.juso-search-dropdown-item:hover,
.juso-search-dropdown-item-active {
    background-color: rgba(24, 24, 27, 0.05);
}

.juso-search-dropdown-item-title {
    font-weight: 500;
    color: var(--juso-fg);
    margin-bottom: 0.25rem;
}

.juso-search-dropdown-item-korean {
    font-size: 0.8125rem;
    color: rgba(24, 24, 27, 0.6);
}

/* ============================================
   Glass Morphism Sort Dropdown - Custom Component
   ============================================ */

/* Hidden select for form functionality */
.juso-sort-select-hidden {
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 1px !important;
    height: 1px !important;
}

/* Sort Dropdown Container */
.juso-sort-dropdown {
    position: relative;
    display: none;
    flex-shrink: 0;
    z-index: 100;
}

.juso-sort-dropdown.juso-sort-visible {
    display: block;
}

/* Sort Trigger Button - Transparent with Light Grey Border */
.juso-sort-trigger,
button.juso-sort-trigger,
.juso-sort-dropdown .juso-sort-trigger,
.juso-sort-dropdown button.juso-sort-trigger,
.juso-results-header .juso-sort-trigger,
.juso-results-header button.juso-sort-trigger {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid rgba(156, 163, 175, 0.4) !important;
    border-radius: 0.5rem !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #6b7280 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.juso-sort-trigger:hover,
button.juso-sort-trigger:hover,
.juso-sort-dropdown .juso-sort-trigger:hover {
    background: rgba(156, 163, 175, 0.1) !important;
    background-color: rgba(156, 163, 175, 0.1) !important;
    border-color: rgba(156, 163, 175, 0.6) !important;
}

.juso-sort-trigger:focus,
button.juso-sort-trigger:focus,
.juso-sort-dropdown .juso-sort-trigger:focus {
    outline: none !important;
    background: transparent !important;
    background-color: transparent !important;
    border-color: rgba(107, 114, 128, 0.5) !important;
    box-shadow: 0 0 0 2px rgba(107, 114, 128, 0.1) !important;
}

.juso-sort-trigger.active,
button.juso-sort-trigger.active,
.juso-sort-dropdown .juso-sort-trigger.active {
    background: rgba(156, 163, 175, 0.15) !important;
    background-color: rgba(156, 163, 175, 0.15) !important;
    border-color: rgba(107, 114, 128, 0.5) !important;
}

.juso-sort-trigger:active,
button.juso-sort-trigger:active,
.juso-sort-dropdown .juso-sort-trigger:active {
    background: rgba(156, 163, 175, 0.2) !important;
    background-color: rgba(156, 163, 175, 0.2) !important;
}

/* Sort Icons */
.juso-sort-icon,
.juso-sort-trigger .juso-sort-icon,
.juso-sort-dropdown .juso-sort-icon {
    width: 18px !important;
    height: 18px !important;
    stroke: #6b7280 !important;
    fill: none !important;
    transition: stroke 0.2s ease !important;
}

.juso-sort-trigger:hover .juso-sort-icon {
    stroke: #374151 !important;
}

/* Hide chevron - only show sort icon centered */
.juso-sort-chevron {
    display: none;
}

/* Sort Dropdown Menu - Glass Morphism Panel */
.juso-sort-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 0.75rem;
    box-shadow: 
        0 12px 32px -4px rgba(0, 0, 0, 0.15),
        0 6px 16px -4px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    transform-origin: top right;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    overflow: hidden;
}

.juso-sort-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.1) 100%);
    pointer-events: none;
    border-radius: inherit;
}

.juso-sort-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Sort Option Items */
.juso-sort-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    font-size: 0.875rem;
    font-weight: 450;
    color: var(--juso-fg);
    cursor: pointer;
    border-radius: 0.5rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: transparent;
}

.juso-sort-option svg {
    width: 16px;
    height: 16px;
    stroke: #6b7280;
    flex-shrink: 0;
    transition: stroke 0.2s ease, transform 0.2s ease;
}

.juso-sort-option span {
    white-space: nowrap;
}

.juso-sort-option:hover {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 
        inset 0 0 0 1px rgba(255, 255, 255, 0.4),
        0 2px 8px -2px rgba(0, 0, 0, 0.06);
}

.juso-sort-option:hover svg {
    stroke: #374151;
    transform: scale(1.1);
}

.juso-sort-option:active {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(0.98);
}

.juso-sort-option.selected {
    background: rgba(24, 24, 27, 0.08);
    font-weight: 500;
    box-shadow: inset 0 0 0 1px rgba(24, 24, 27, 0.08);
}

.juso-sort-option.selected svg {
    stroke: #374151;
    fill: rgba(24, 24, 27, 0.1);
}

.juso-sort-option.selected:hover {
    background: rgba(24, 24, 27, 0.12);
}

.juso-results-header .juso-select-wrapper {
    position: relative;
    flex: 0 0 auto;
    min-width: 0 !important;
    max-width: 180px !important;
    width: auto !important;
    margin: 0 !important;
    overflow: hidden !important;
    animation: jusoFadeIn 0.2s ease-out forwards;
}

@keyframes jusoFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Sort dropdown visibility in results header */
.juso-results-header .juso-sort-dropdown {
    margin: 0 !important;
    flex-shrink: 0;
}

.juso-results-header .juso-sort-dropdown.juso-sort-visible {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
}

.juso-results-header .juso-custom-dropdown {
    position: relative;
    width: 160px !important;
    min-width: 0 !important;
    max-width: 180px !important;
    overflow: hidden !important;
    flex-shrink: 0;
}

/* Ensure dropdown menu doesn't cause overflow - position it to not extend left */
.juso-results-header .juso-custom-dropdown-menu {
    left: 0 !important;
    right: auto !important;
    min-width: 100%;
    max-width: 200px;
    /* Glass morphism styles - ensure they're preserved */
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: var(--juso-radius-md) !important;
    box-shadow: 
        0 10px 25px -5px rgba(0, 0, 0, 0.2), 
        0 8px 10px -6px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

/* Responsive styles for search and sort */
@media (max-width: 1024px) {
    .juso-search-wrapper {
        min-width: 0 !important;
        max-width: none !important;
        flex: 1 1 auto;
    }

    .juso-results-header .juso-select-wrapper {
        min-width: 0 !important;
        max-width: 200px !important;
        flex: 0 0 auto;
    }
}

@media (max-width: 768px) {
    /* Keep search and sort on same row in mobile */
    .juso-results-header {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 0.75rem !important;
    }

    .juso-search-wrapper {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: none !important;
        order: 1;
    }

    .juso-search-input {
        width: 100% !important;
        min-width: 0 !important;
        height: 36px !important;
    }
    
    .juso-search-input[type="text"],
    input.juso-search-input[type="text"] {
        width: 100% !important;
        min-width: 0 !important;
    }

    .juso-results-header .juso-select-wrapper {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: auto !important;
        max-width: none !important;
        order: 2;
    }
    
    /* Sort dropdown on the right */
    .juso-sort-dropdown {
        order: 2;
        flex-shrink: 0 !important;
    }

    /* Sort trigger stays same size as search input */
    .juso-sort-trigger,
    button.juso-sort-trigger,
    .juso-sort-dropdown .juso-sort-trigger {
        width: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        height: 36px !important;
    }
    
    .juso-sort-icon,
    .juso-sort-trigger .juso-sort-icon {
        width: 16px !important;
        height: 16px !important;
    }
}

@media (max-width: 480px) {
    /* Keep search and sort on same row in small mobile */
    .juso-results-header {
        gap: 0.5rem !important;
    }
    
    .juso-search-input {
        height: 34px !important;
        padding-left: 1.875rem !important;
        font-size: 0.8125rem !important;
        background-size: 13px !important;
        background-position: left 0.625rem center !important;
    }
    
    /* Sort dropdown responsive - mobile */
    .juso-sort-trigger,
    button.juso-sort-trigger,
    .juso-sort-dropdown .juso-sort-trigger {
        width: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;
        height: 34px !important;
    }
    
    .juso-sort-icon,
    .juso-sort-trigger .juso-sort-icon {
        width: 15px !important;
        height: 15px !important;
    }
    
    .juso-sort-menu {
        min-width: 180px !important;
        right: 0 !important;
    }

    .juso-results-header .juso-custom-dropdown-trigger .juso-dropdown-text {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1 1 auto;
    }

    .juso-results-header .juso-custom-dropdown-menu {
        white-space: nowrap;
        min-width: 100%;
        max-width: 100%;
        /* Preserve glass morphism on mobile */
        background: rgba(255, 255, 255, 0.25) !important;
        backdrop-filter: blur(20px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
        box-shadow: 
            0 10px 25px -5px rgba(0, 0, 0, 0.2), 
            0 8px 10px -6px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    }

    .juso-results-header .juso-dropdown-option {
        white-space: nowrap;
    }
}

.juso-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    align-items: stretch;
    max-width: 100%;
}

.juso-featured-grid .juso-card {
    max-width: 100%;
}

@media (max-width: 768px) {
    .juso-featured-grid {
        grid-template-columns: 1fr;
    }
}

/* Featured Carousel */
.juso-featured-carousel {
    position: relative;
    width: 100%;
}

.juso-featured-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.juso-featured-carousel-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.juso-featured-carousel-track {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.5s ease-in-out;
    align-items: stretch;
}

.juso-featured-carousel-track .juso-card {
    flex: 0 0 calc(25% - 0.9375rem);
    min-width: 0;
}

@media (max-width: 1200px) {
    .juso-featured-carousel-track .juso-card {
        flex: 0 0 calc(33.333% - 0.8333rem);
    }
}

@media (max-width: 900px) {
    .juso-featured-carousel-track .juso-card {
        flex: 0 0 calc(50% - 0.625rem);
    }
}

@media (max-width: 768px) {
    .juso-featured-carousel-track .juso-card {
        flex: 0 0 100%;
    }
}

.juso-featured-carousel-arrow {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--juso-bg);
    border: 1px solid var(--juso-border);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--juso-fg);
    padding: 0;
}

.juso-featured-carousel-arrow:hover {
    background: var(--juso-bg-muted);
    border-color: var(--juso-border-hover);
    color: var(--juso-primary);
}

.juso-featured-carousel-arrow:active {
    transform: scale(0.95);
}

.juso-featured-carousel-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.juso-featured-carousel-arrow svg {
    width: 1.25rem;
    height: 1.25rem;
}

.juso-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.juso-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--juso-fg-muted);
}

.juso-empty-icon {
    margin-bottom: 1rem;
    opacity: 0.5;
}

.juso-empty-icon svg {
    stroke: var(--juso-fg-subtle);
}

.juso-loading {
    display: flex;
    justify-content: center;
    padding: 3rem;
}

.juso-spinner {
    width: 2rem;
    height: 2rem;
    border: 2px solid var(--juso-border);
    border-top-color: var(--juso-primary);
    border-radius: 50%;
    animation: juso-spin 0.8s linear infinite;
}

@keyframes juso-spin {
    to {
        transform: rotate(360deg);
    }
}

.juso-more {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

/* ========================================
   Business Card
   ======================================== */
.juso-card {
    position: relative;
    background: var(--juso-bg);
    border: 1px solid var(--juso-border);
    border-radius: var(--juso-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Featured Card */
.juso-card-featured {
    grid-column: span 1;
    border: 2px solid var(--juso-success);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.15);
}

.juso-card-featured:hover {
    border-color: var(--juso-success);
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.25);
}

/* Badge - always positioned at top left of card */
.juso-card-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--juso-success);
    color: #fff;
    border-radius: var(--juso-radius-sm);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.juso-card-coupon-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--juso-success);
    color: #fff;
    border-radius: var(--juso-radius-sm);
    z-index: 2;
}

.juso-card-thumb {
    aspect-ratio: 16/9;
    background: #f7f7f7;
    overflow: hidden;
    flex-shrink: 0;
    max-width: 100%;
    width: 100%;
    max-height: 180px;
}

.juso-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.juso-card-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Add top padding for featured cards without images to make room for badge */
.juso-card-featured:not(.juso-card-has-image) .juso-card-body {
    padding-top: 3rem;
}

/* Featured card body - subtle green accent */
.juso-card-featured .juso-card-body {
    background: linear-gradient(to bottom, rgba(34, 197, 94, 0.02) 0%, transparent 100%);
}

.juso-card-title {
    font-size: 30px;
    font-weight: 600;
    margin: 0 0 0.25rem;
    line-height: 40px;
    word-break: keep-all;
    overflow-wrap: break-word;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Add spacing between badge and title when there's no image */
.juso-card-featured:not(.juso-card-has-image) .juso-card-title {
    margin-top: 1.5rem;
}

.juso-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
    line-height: inherit;
    display: inline;
}

.juso-card-title a:hover {
    color: var(--juso-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.juso-card-google-reviews {
    margin-top: 0.125rem;
    margin-bottom: 0.25rem;
}

.juso-card-google-reviews .juso-google-rating {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.juso-card-google-reviews .juso-google-stars {
    display: inline-flex;
    font-size: 0.9375rem;
    gap: 1px;
    line-height: 1;
}

.juso-card-google-reviews .juso-google-rating-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--juso-fg);
}

.juso-card-google-reviews .juso-google-count {
    font-size: 0.8125rem;
    color: var(--juso-fg-muted);
}

.juso-card-korean-name {
    font-size: 0.875rem;
    color: var(--juso-fg-muted);
    margin: 0 0 0.125rem;
}

.juso-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    margin-bottom: 0.5rem;
}

.juso-meta-main {
    padding: 0.25rem 0.5rem;
    background: var(--juso-bg-muted);
    border-radius: var(--juso-radius-sm);
    font-weight: 500;
}

.juso-meta-sep {
    color: var(--juso-fg-subtle);
}

.juso-meta-sub {
    padding: 0.25rem 0.5rem;
    background: #eef2ff;
    color: #4338ca;
    border-radius: var(--juso-radius-sm);
    font-weight: 500;
    font-size: 0.8125rem;
}

.juso-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 0.75rem;
}

.juso-tag {
    display: inline-block;
    padding: 0.1875rem 0.5rem;
    font-size: 0.75rem;
    background: var(--juso-bg-subtle);
    color: var(--juso-fg-muted);
    border: 1px solid var(--juso-border);
    border-radius: 9999px;
}

/* Tag color variants */
.juso-card-tags .juso-tag:nth-child(6n+1) {
    background: #eff6ff;
    color: #1e40af;
    border-color: #dbeafe;
}

.juso-card-tags .juso-tag:nth-child(6n+2) {
    background: #ecfeff;
    color: #155e75;
    border-color: #cffafe;
}

.juso-card-tags .juso-tag:nth-child(6n+3) {
    background: #ecfdf5;
    color: #065f46;
    border-color: #d1fae5;
}

.juso-card-tags .juso-tag:nth-child(6n+4) {
    background: #fefce8;
    color: #92400e;
    border-color: #fef9c3;
}

.juso-card-tags .juso-tag:nth-child(6n+5) {
    background: #fff1f2;
    color: #9f1239;
    border-color: #ffe4e6;
}

.juso-card-tags .juso-tag:nth-child(6n+6) {
    background: #f5f3ff;
    color: #6d28d9;
    border-color: #ede9fe;
}

.juso-card-intro {
    font-size: 0.875rem;
    color: var(--juso-fg-muted);
    margin: 0 0 0.75rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.juso-card-address {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.juso-card-address svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: var(--juso-fg-muted);
}

.juso-card-address a {
    color: var(--juso-fg);
    text-decoration: none;
    transition: color 0.15s;
}

.juso-card-address a:hover {
    color: var(--juso-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Multi-location address display */
.juso-card-address-multi {
    align-items: flex-start;
}

.juso-card-address-multi svg {
    margin-top: 0.125rem;
}

.juso-card-address-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.juso-card-address-label {
    font-weight: 600;
    color: var(--juso-fg);
    font-size: 0.8125rem;
}

.juso-card-locations-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.juso-card-locations-list li {
    font-size: 0.8125rem;
    color: var(--juso-fg-muted);
    padding-left: 0.75rem;
    position: relative;
}

.juso-card-locations-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--juso-fg-subtle);
}

.juso-card-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
}

.juso-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--juso-fg-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.juso-contact-item:hover {
    color: var(--juso-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.juso-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.juso-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--juso-border);
    border-radius: var(--juso-radius);
    color: var(--juso-fg-muted);
    background: var(--juso-bg);
    transition: all 0.15s;
}

.juso-icon-link:hover {
    border-color: var(--juso-primary);
    color: var(--juso-primary);
    background: var(--juso-bg-subtle);
}

.juso-card-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.75rem;
    margin-top: auto;
    border-top: 1px solid var(--juso-border);
}

.juso-recommend-btn,
.juso-report-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.625rem;
    font-size: 0.8125rem;
    border: none !important;
    border-radius: var(--juso-radius);
    background: #ecfdf5;
    color: #059669;
    cursor: pointer;
    transition: all 0.15s;
    outline: none !important;
    box-shadow: none !important;
}

.juso-recommend-btn:hover:not(:disabled),
.juso-report-btn:hover {
    background: #d1fae5;
    color: #047857;
}

.juso-recommend-btn:focus,
.juso-report-btn:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.juso-recommend-btn.juso-recommended {
    background: #059669;
    color: #fff;
}

.juso-recommend-btn:disabled {
    cursor: default;
    opacity: 0.7;
}

.juso-report-btn {
    margin-left: auto;
    padding: 0.375rem;
}

.juso-recommend-count {
    font-weight: 500;
}

/* ========================================
   Buttons
   ======================================== */
/* Override any external border styles (including red border from theme) */
.juso-btn,
.juso-btn[type="button"],
.juso-btn[type="submit"],
button.juso-btn,
.juso-modal button[type="button"],
.juso-modal button[type="submit"],
.juso-modal .juso-btn {
    border: none !important;
}

.juso-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    border-radius: var(--juso-radius);
    background: var(--juso-bg-muted);
    color: var(--juso-fg);
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
}

.juso-btn:hover {
    background: var(--juso-bg-subtle);
}

.juso-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgb(24 24 27 / 0.1);
}

.juso-btn-primary {
    background: var(--juso-primary);
    color: var(--juso-primary-fg);
}

.juso-btn-primary:hover {
    background: var(--juso-primary-hover);
}

.juso-btn-outline {
    background: var(--juso-bg-muted);
    color: var(--juso-fg);
}

.juso-btn-outline:hover {
    background: var(--juso-bg-subtle);
}

.juso-btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.juso-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========================================
   Submit Form
   ======================================== */
.juso-submit-wrapper {
    width: 100%;
    max-width: 100%;
}

.juso-form {
    background: var(--juso-bg);
    border: 1px solid var(--juso-border);
    border-radius: var(--juso-radius-lg);
    overflow: hidden;
}

.juso-form-section {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--juso-border);
}

.juso-form-section:first-of-type {
    padding-top: 2rem;
}

.juso-form-section:last-of-type {
    border-bottom: none !important;
    padding-bottom: 2rem;
}

/* Remove border from section immediately before form-actions */
.juso-form-section-last {
    border-bottom: none !important;
}

.juso-form-actions {
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
}

.juso-form-section-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 1.5rem;
    color: var(--juso-fg);
}

.juso-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.juso-form-grid:last-child {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .juso-form-grid {
        grid-template-columns: 1fr;
    }
}

.juso-field {
    margin-bottom: 1.5rem;
}

.juso-form-grid .juso-field {
    margin-bottom: 0;
}

.juso-field:last-child {
    margin-bottom: 0;
}

.juso-field label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--juso-fg);
    margin-bottom: 0.5rem;
}

.juso-field label small {
    font-weight: 400;
    color: var(--juso-fg-muted);
}

.juso-field-description {
    display: block;
    margin-top: 0.375rem;
    color: var(--juso-fg-muted);
    font-size: 0.8125rem;
    line-height: 1.4;
}

.juso-field-required label::after {
    content: " *";
    color: var(--juso-danger);
}

.juso-field input[type="text"],
.juso-field input[type="email"],
.juso-field input[type="tel"],
.juso-field input[type="url"],
.juso-field textarea,
.juso-field select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-family: inherit;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--juso-radius);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--juso-fg);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.juso-field input:hover,
.juso-field textarea:hover,
.juso-field select:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.juso-field input:focus,
.juso-field textarea:focus,
.juso-field select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(24, 24, 27, 0.3);
    box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.1), 0 4px 16px rgba(0, 0, 0, 0.1);
}

.juso-field textarea {
    min-height: 80px;
    resize: vertical;
}

.juso-field input::placeholder,
.juso-field textarea::placeholder {
    color: var(--juso-fg-subtle);
}

.juso-form-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: var(--juso-bg-subtle);
    margin-top: 0;
    border: none;
    border-top: none;
    border-bottom: none;
}

.juso-form-message {
    font-size: 0.875rem;
    color: var(--juso-fg-muted);
}

.juso-form-message.success {
    color: var(--juso-success);
}

.juso-form-message.error {
    color: var(--juso-danger);
}

/* ========================================
   Modal
   ======================================== */
.juso-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.juso-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 0.5);
    backdrop-filter: blur(4px);
}

.juso-modal-content {
    position: relative;
    width: 100%;
    max-width: 500px;
    background: var(--juso-bg);
    border: 1px solid var(--juso-border);
    border-radius: var(--juso-radius-lg);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    animation: juso-modal-in 0.2s ease-out;
    overflow: hidden;
}

@keyframes juso-modal-in {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.juso-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--juso-border);
}

.juso-modal-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--juso-fg);
    line-height: 1.5;
    display: flex;
    align-items: center;
}

.juso-modal-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.juso-modal-header-actions .juso-modal-cancel {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    margin: 0;
}

.juso-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    color: var(--juso-fg-muted);
    cursor: pointer;
    border-radius: var(--juso-radius);
    transition: all 0.15s;
    padding: 0;
    margin: 0;
    line-height: 1;
    flex-shrink: 0;
    position: relative;
}

.juso-modal-close:hover {
    background: var(--juso-bg-muted);
    color: var(--juso-fg);
}

.juso-modal-close svg {
    width: 18px;
    height: 18px;
    display: block;
    margin: auto;
    padding: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    flex-shrink: 0;
}

.juso-modal-body {
    padding: 1.5rem;
}

.juso-modal-body .juso-field {
    margin-bottom: 1.25rem;
}

.juso-modal-body .juso-field:last-child {
    margin-bottom: 0;
}

.juso-modal-body label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--juso-fg);
    margin-bottom: 0.5rem;
}

.juso-modal-body label small {
    font-weight: 400;
    color: var(--juso-fg-muted);
}

.juso-modal-body select,
.juso-modal-body input[type="email"],
.juso-modal-body textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    border: 1px solid var(--juso-border);
    border-radius: var(--juso-radius);
    background: var(--juso-bg);
    color: var(--juso-fg);
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
}

.juso-modal-body select:focus,
.juso-modal-body input[type="email"]:focus,
.juso-modal-body textarea:focus {
    outline: none;
    border-color: var(--juso-ring);
    box-shadow: 0 0 0 2px rgb(24 24 27 / 0.1);
}

.juso-modal-body textarea {
    resize: vertical;
    min-height: 100px;
}

.juso-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: var(--juso-bg-subtle);
    border-top: 1px solid var(--juso-border);
}

.juso-modal-footer .juso-btn {
    width: 100%;
    justify-content: center;
}

/* ========================================
   Coupon Cards
   ======================================== */
.juso-coupon-results {
    min-height: 200px;
}

/* Separate Sections for Coupons and Deals */
.juso-coupons-section,
.juso-deals-section {
    margin-bottom: 3rem;
}

.juso-coupons-section:last-child,
.juso-deals-section:last-child {
    margin-bottom: 0;
}

.juso-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--juso-fg);
    margin: 0 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--juso-border);
}

.juso-section-title svg {
    width: 24px;
    height: 24px;
    color: var(--juso-primary);
    flex-shrink: 0;
}

.juso-coupons-section .juso-section-title svg {
    color: transparent;
}

.juso-coupons-section .juso-section-title svg path[fill] {
    fill: #FF6B6B;
}

.juso-coupons-section .juso-section-title svg path[stroke] {
    stroke: #FF5252;
}

.juso-deals-section .juso-section-title svg {
    color: transparent;
}

.juso-deals-section .juso-section-title svg path[fill] {
    fill: #F59E0B;
}

.juso-deals-section .juso-section-title svg path[stroke] {
    stroke: #D97706;
}

.juso-coupon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

/* Deals grid - same width as coupons */
.juso-deal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

@media (max-width: 768px) {

    .juso-coupon-grid,
    .juso-deal-grid {
        grid-template-columns: 1fr;
    }
}

.juso-coupon-card {
    background: var(--juso-bg);
    border: 1px solid var(--juso-border);
    border-radius: var(--juso-radius-lg);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.juso-coupon-card:hover {
    border-color: var(--juso-border-hover);
    box-shadow: var(--juso-shadow-md);
}

.juso-coupon-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-bottom: 1px dashed var(--juso-border);
    min-height: 3.5rem;
}

.juso-coupon-discount {
    font-size: 1.25rem;
    font-weight: 700;
    color: #166534;
    flex-shrink: 0;
    white-space: nowrap;
}

.juso-coupon-expiry {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--juso-fg-muted);
    flex-shrink: 0;
    white-space: nowrap;
}

.juso-coupon-body {
    padding: 1rem;
}

.juso-coupon-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    text-align: center;
}

.juso-coupon-content {
    font-size: 0.875rem;
    color: var(--juso-fg-muted);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.juso-coupon-content:empty {
    display: none;
}

/* Coupon cards - compact format */
.juso-promotion-coupon .juso-coupon-content {
    font-size: 0.875rem;
    max-height: 4.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.juso-coupon-code-section {
    margin: 1rem 0;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--juso-border);
}

.juso-coupon-code-section .juso-btn,
.juso-coupon-code-section .juso-reveal-code,
.juso-coupon-code-section button.juso-btn,
.juso-coupon-code-section button.juso-btn-primary.juso-reveal-code,
button.juso-btn-primary.juso-reveal-code {
    width: calc(100% - 1.5rem) !important;
    max-width: calc(100% - 1.5rem) !important;
    display: flex !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    margin: 0.75rem 0.75rem !important;
}

.juso-coupon-code-display {
    margin: 0.75rem 0.75rem 0 0.75rem;
    padding: 0.75rem;
    background: var(--juso-bg-muted);
    border-radius: var(--juso-radius);
    text-align: center;
}

.juso-coupon-code-value {
    font-size: 1.125rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.1em;
    color: var(--juso-primary);
    padding: 0.5rem;
    background: var(--juso-bg);
    border: 2px dashed var(--juso-primary);
    border-radius: var(--juso-radius);
}

.juso-coupon-type-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: var(--juso-primary);
    padding: 0.25rem 0.625rem;
    border-radius: var(--juso-radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.juso-deal-content {
    line-height: 1.7;
    font-size: 0.9375rem;
    color: var(--juso-fg);
}

.juso-deal-content p {
    margin-bottom: 1rem;
}

.juso-deal-content p:last-child {
    margin-bottom: 0;
}

.juso-deal-content h1,
.juso-deal-content h2,
.juso-deal-content h3,
.juso-deal-content h4 {
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--juso-fg);
}

.juso-deal-content h1 {
    font-size: 1.5rem;
}

.juso-deal-content h2 {
    font-size: 1.25rem;
}

.juso-deal-content h3 {
    font-size: 1.125rem;
}

.juso-deal-content h4 {
    font-size: 1rem;
}

.juso-deal-content ul,
.juso-deal-content ol {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

.juso-deal-content li {
    margin-bottom: 0.5rem;
}

.juso-deal-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--juso-radius);
    margin: 1rem 0;
}

/* Deal Intro Section */
.juso-deal-intro {
    margin: 1rem 0 1.25rem;
    padding: 1rem;
    background: var(--juso-bg-muted);
    border-left: 3px solid var(--juso-primary);
    border-radius: var(--juso-radius);
}

.juso-deal-intro-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--juso-fg-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.5rem;
}

.juso-deal-intro-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--juso-fg);
    margin: 0;
}

/* Deals cards - expanded format for longer content */
.juso-promotion-deals .juso-coupon-body {
    padding: 1.5rem;
}

.juso-promotion-deals .juso-coupon-code-section {
    margin: 1rem 0;
}

.juso-promotion-deals .juso-coupon-code-section .juso-btn,
.juso-promotion-deals .juso-coupon-code-section .juso-reveal-code,
.juso-promotion-deals .juso-coupon-code-section button.juso-btn,
.juso-promotion-deals .juso-coupon-code-section button.juso-btn-primary.juso-reveal-code {
    width: calc(100% - 1.5rem) !important;
    max-width: calc(100% - 1.5rem) !important;
    margin: 0.75rem 0.75rem !important;
}

.juso-promotion-deals .juso-coupon-code-display {
    margin: 0.75rem 0.75rem 0 0.75rem;
}

.juso-promotion-deals .juso-coupon-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    text-align: center;
}

.juso-promotion-deals .juso-coupon-header {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.juso-coupon-business {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--juso-border);
}

.juso-coupon-business a {
    color: var(--juso-fg);
    text-decoration: none;
    font-weight: 500;
}

.juso-coupon-business a:hover {
    text-decoration: underline;
}

.juso-coupon-korean {
    font-weight: 400;
    color: var(--juso-fg-muted);
}

.juso-coupon-category {
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    background: var(--juso-bg-muted);
    border-radius: 9999px;
    color: var(--juso-fg-muted);
    margin-left: auto;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .juso-filter {
        position: relative;
        top: 0;
    }

    .juso-filter-group {
        min-width: 100%;
    }

    .juso-filter-tags {
        min-width: 100%;
    }

    .juso-featured-grid,
    .juso-grid {
        grid-template-columns: 1fr;
    }

    .juso-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .juso-form-actions .juso-btn {
        width: 100%;
    }
}

/* ========================================
   Animation Classes
   ======================================== */
.juso-fade-in {
    animation: juso-fade-in 0.3s ease-out;
}

@keyframes juso-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Recent Businesses Shortcode
   ======================================== */
.juso-recent-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--juso-fg);
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--juso-border);
}

@media (max-width: 640px) {
    .juso-recent-title {
        font-size: 1.25rem;
    }
}

/* ========================================
   Single Business Page - ShadCN Style
   ======================================== */
.juso-single-business {
    max-width: 1024px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Hero Section */
.juso-single-hero {
    margin-bottom: 2.5rem;
}

.juso-single-hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--juso-bg);
    border-radius: var(--juso-radius-md);
    padding: 1rem;
    border: 1px solid var(--juso-border);
}

.juso-single-hero-image img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    display: block;
    background: var(--juso-bg);
}

.juso-single-hero-card {
    background: var(--juso-bg);
    border: 1px solid var(--juso-border);
    border-radius: var(--juso-radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.juso-single-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
    width: 100%;
}

.juso-single-hero-content {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;
    width: 100%;
}

.juso-single-hero-left {
    flex: 1;
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.juso-single-hero-right {
    flex: 1;
    width: 50%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.juso-single-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--juso-success);
    color: #fff;
    border-radius: var(--juso-radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    width: fit-content;
}

.juso-single-report-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem !important;
    padding: 0.375rem 0.625rem !important;
    font-size: 0.75rem !important;
    font-weight: 500;
    border: none !important;
    border-radius: var(--juso-radius-sm);
    background: var(--juso-bg-muted);
    color: var(--juso-fg);
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    line-height: 1;
    margin-left: auto;
    vertical-align: middle;
}

.juso-single-report-btn:hover {
    background: var(--juso-bg-subtle);
    color: var(--juso-fg);
}

.juso-single-report-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgb(24 24 27 / 0.1);
}

.juso-single-report-btn svg {
    flex-shrink: 0;
    width: 11px !important;
    height: 11px !important;
    vertical-align: middle;
    display: inline-block;
}

.juso-single-report-btn span {
    vertical-align: middle;
    display: inline-block;
    line-height: 1;
}

.juso-single-title {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--juso-fg);
    margin: 0;
    line-height: 1.0;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.juso-single-korean-name {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--juso-fg-muted);
    margin: 0;
}

.juso-single-hero-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.juso-single-hero-badges .juso-meta-main {
    padding: 0.25rem 0.5rem;
    background: var(--juso-bg-muted);
    border-radius: var(--juso-radius-sm);
    font-weight: 500;
    font-size: 0.8125rem;
}

.juso-single-hero-badges .juso-meta-sep {
    color: var(--juso-fg-subtle);
    font-size: 0.8125rem;
}

.juso-single-hero-badges .juso-meta-sub {
    padding: 0.25rem 0.5rem;
    background: #eef2ff;
    color: #4338ca;
    border-radius: var(--juso-radius-sm);
    font-weight: 500;
    font-size: 0.8125rem;
}

.juso-single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.juso-single-tags .juso-tag {
    display: inline-block;
    padding: 0.1875rem 0.5rem;
    font-size: 0.75rem;
    background: var(--juso-bg-subtle);
    color: var(--juso-fg-muted);
    border: 1px solid var(--juso-border);
    border-radius: 9999px;
}

/* Tag color variants - same as listing cards */
.juso-single-tags .juso-tag:nth-child(6n+1) {
    background: #eff6ff;
    color: #1e40af;
    border-color: #dbeafe;
}

.juso-single-tags .juso-tag:nth-child(6n+2) {
    background: #ecfeff;
    color: #155e75;
    border-color: #cffafe;
}

.juso-single-tags .juso-tag:nth-child(6n+3) {
    background: #ecfdf5;
    color: #065f46;
    border-color: #d1fae5;
}

.juso-single-tags .juso-tag:nth-child(6n+4) {
    background: #fefce8;
    color: #92400e;
    border-color: #fef9c3;
}

.juso-single-tags .juso-tag:nth-child(6n+5) {
    background: #fff1f2;
    color: #9f1239;
    border-color: #ffe4e6;
}

.juso-single-tags .juso-tag:nth-child(6n+6) {
    background: #f5f3ff;
    color: #6d28d9;
    border-color: #ede9fe;
}

.juso-single-intro-hero {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--juso-fg);
    margin: 0;
    max-width: 65ch;
}

/* Content Section */
.juso-single-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.juso-single-card {
    background: var(--juso-bg);
    border: 1px solid var(--juso-border);
    border-radius: var(--juso-radius-lg);
    padding: 1.5rem;
    transition: box-shadow 0.2s;
}

.juso-single-card:hover {
    box-shadow: var(--juso-shadow-sm);
}

.juso-single-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--juso-fg);
    margin: 0 0 1rem;
    letter-spacing: -0.01em;
}

/* Grid Layout */
.juso-single-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.juso-locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.juso-location-card {
    background: var(--juso-bg);
    border: 1px solid var(--juso-border);
    border-radius: var(--juso-radius);
    padding: 1.5rem;
    box-shadow: var(--juso-shadow-sm);
}

.juso-location-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: var(--juso-fg);
}

/* List Items */
.juso-single-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.juso-single-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
}

.juso-single-list-item:not(:last-child) {
    border-bottom: 1px solid var(--juso-border);
    padding-bottom: 0.75rem;
}

.juso-single-list-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 1.5rem;
    height: 1.5rem;
    color: var(--juso-fg-muted);
    padding-top: 0.125rem;
}

.juso-single-list-icon svg {
    width: 18px;
    height: 18px;
}

.juso-single-list-content {
    flex: 1;
    min-width: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    padding-top: 0.125rem;
}

.juso-single-link {
    color: var(--juso-primary);
    text-decoration: none;
    word-break: break-word;
    transition: color 0.15s;
}

.juso-single-link:hover {
    color: var(--juso-primary-hover);
    text-decoration: underline;
}

/* Links */
.juso-single-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.juso-single-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    border-radius: var(--juso-radius);
    background: var(--juso-bg-muted);
    color: var(--juso-fg);
    text-decoration: none;
    transition: all 0.15s;
    width: fit-content;
}

.juso-single-link-btn:hover {
    background: var(--juso-bg-subtle);
    color: var(--juso-primary);
}

.juso-single-link-btn svg {
    flex-shrink: 0;
}

/* Coupons - Use same styles as shortcode */
.juso-single-coupon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

.juso-single-coupon-grid .juso-coupon-card {
    background: var(--juso-bg);
    border: 1px solid var(--juso-border);
    border-radius: var(--juso-radius-lg);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.juso-single-coupon-grid .juso-coupon-card:hover {
    border-color: var(--juso-border-hover);
    box-shadow: var(--juso-shadow-md);
}

.juso-single-coupon-grid .juso-coupon-expiry.juso-expiring {
    color: var(--juso-danger);
    font-weight: 600;
}

/* Make deals full width in single business promotions */
.juso-single-coupon-grid .juso-promotion-deals,
.juso-single-coupon-grid [data-type="deals"] {
    grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 768px) {
    .juso-single-business {
        padding: 1.5rem 1rem;
    }

    .juso-single-hero {
        margin-bottom: 2rem;
    }

    .juso-single-hero-card {
        padding: 1.25rem;
    }

    .juso-single-hero-top {
        flex-wrap: wrap;
        gap: 0.5rem;
        width: 100%;
    }

    .juso-single-hero-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .juso-single-hero-left {
        width: 100%;
        order: 2;
    }

    .juso-single-hero-right {
        width: 100%;
        order: 1;
        justify-content: center;
    }

    .juso-single-title {
        font-size: 1.5rem;
    }

    .juso-single-report-btn {
        font-size: 0.75rem !important;
        padding: 0.375rem 0.625rem !important;
        gap: 0.25rem !important;
    }

    .juso-single-report-btn svg {
        width: 11px !important;
        height: 11px !important;
    }

    .juso-single-hero-image {
        max-width: 100%;
        padding: 1rem;
    }

    .juso-single-hero-image img {
        max-height: 150px;
    }

    .juso-single-intro-hero {
        font-size: 0.9375rem;
    }

    .juso-single-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .juso-single-card {
        padding: 1.25rem;
    }

    .juso-single-coupon-grid {
        grid-template-columns: 1fr;
    }

    .juso-locations-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Google Reviews
   ======================================== */
.juso-single-google-reviews {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--juso-border);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
}

.juso-google-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.juso-google-stars {
    display: inline-flex;
    gap: 2px;
    font-size: 1.125rem;
    line-height: 1;
}

.juso-star-full {
    color: #fbbf24;
}

.juso-star-half {
    color: #fbbf24;
    opacity: 0.5;
}

.juso-star-empty {
    color: var(--juso-border);
}

.juso-google-rating-value {
    font-weight: 600;
    font-size: 1rem;
    color: var(--juso-fg);
}

.juso-google-count {
    font-size: 0.875rem;
    color: var(--juso-fg-muted);
}

.juso-google-link {
    font-size: 0.875rem;
    color: var(--juso-primary);
    text-decoration: none;
    padding: 0.375rem 0.75rem;
    border: 1px solid var(--juso-border);
    border-radius: var(--juso-radius);
    transition: all 0.2s;
}

.juso-google-link:hover {
    background: var(--juso-accent);
    border-color: var(--juso-border-hover);
}

.juso-location-google-reviews {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--juso-border);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.juso-location-google-reviews .juso-google-rating {
    font-size: 0.9375rem;
}

.juso-location-google-reviews .juso-google-stars {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .juso-location-google-reviews {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}