/**
 * 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
   ======================================== */
.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;
}

.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;
    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;
}

.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;
}

/* Custom Glass Morphism Dropdown */
.juso-custom-dropdown {
    position: relative;
    width: 100%;
}

.juso-custom-dropdown-trigger {
    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: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 2.5rem;
}

.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: 0;
    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);
}

.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;
}

.juso-select-wrapper .juso-select {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Tags */
.juso-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.juso-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    border: 1px solid var(--juso-border);
    border-radius: 9999px;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s;
    background: var(--juso-bg);
}

.juso-tag-chip:hover {
    border-color: var(--juso-border-hover);
    background: var(--juso-bg-subtle);
}

.juso-tag-chip input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--juso-primary);
    margin: 0;
}

.juso-tag-chip input:checked + span {
    font-weight: 500;
}

.juso-tag-chip:has(input:checked) {
    background: var(--juso-primary);
    border-color: var(--juso-primary);
    color: var(--juso-primary-fg);
}

.juso-tag-chip:has(input:checked) input {
    accent-color: var(--juso-primary-fg);
}

/* ========================================
   Results Grid
   ======================================== */
.juso-results {
    min-height: 300px;
}

.juso-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    align-items: stretch;
}

@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 2px 8px rgba(34, 197, 94, 0.15);
}

.juso-card-featured:hover {
    border-color: var(--juso-success);
    box-shadow: 0 4px 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: var(--juso-bg-muted);
    overflow: hidden;
    flex-shrink: 0;
}

.juso-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.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: 2.5rem;
}

/* Featured card body - subtle green accent */
.juso-card-featured .juso-card-body {
    border-top: 3px solid var(--juso-success);
    background: linear-gradient(to bottom, rgba(34, 197, 94, 0.02) 0%, transparent 100%);
}

.juso-card-title {
    font-size: 1.0625rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    line-height: 1.4;
}

.juso-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}

.juso-card-title a:hover {
    color: var(--juso-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.juso-card-korean-name {
    font-size: 0.875rem;
    color: var(--juso-fg-muted);
    margin: 0 0 0.5rem;
}

.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;
}

.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;
    -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;
}

.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-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-deals-section .juso-section-title svg {
    color: #f59e0b;
}

.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;
    -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: 700px;
    aspect-ratio: 16 / 9;
    border-radius: var(--juso-radius-lg);
    overflow: hidden;
    background: var(--juso-bg-muted);
    margin-bottom: 1.5rem;
    border: 1px solid var(--juso-border);
}

.juso-single-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.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;
}

.juso-single-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--juso-warning);
    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: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--juso-fg);
    margin: 0;
    line-height: 1.2;
}

.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: 1.125rem;
    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;
    }
    
    .juso-single-title {
        font-size: 1.75rem;
    }
    
    .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%;
    }
    
    .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;
    }
}

