.pas-11246-container {
    position: relative;
    width: 100%;
    font-family: inherit;
}

.pas-11246-input-wrapper {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.pas-11246-input-wrapper:focus-within {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #cbd5e1;
}

.pas-11246-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    flex-shrink: 0;
}

.pas-11246-input {
    flex-grow: 1;
    border: none !important;
    background: transparent !important;
    padding: 0 12px !important;
    margin: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 16px;
    line-height: 1.5;
    color: #1e293b;
    width: 100%;
}

.spin {
    animation: pas11246-spin 1s linear infinite;
}

@keyframes pas11246-spin {
    100% { transform: rotate(360deg); }
}

/* Dropdown */
.pas-11246-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.15);
    border: 1px solid #e2e8f0;
    z-index: 9999;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.pas-11246-dropdown.is-open {
    opacity: 1;
    transform: translateY(0);
}

.pas-11246-layout {
    display: flex;
    flex-direction: row;
    max-height: 450px;
}

/* Left side */
.pas-11246-results-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.pas-11246-dropdown.has-featured .pas-11246-results-list {
    flex: 0 0 55%;
    border-right: 1px solid #f1f5f9;
}

.pas-11246-result-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
    cursor: pointer;
}

.pas-11246-result-item:hover,
.pas-11246-result-item.is-active {
    background: #f8fafc;
}

.pas-11246-item-img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
    margin-right: 16px;
    background: #f1f5f9;
    flex-shrink: 0;
}

.pas-11246-item-info {
    flex-grow: 1;
    overflow: hidden;
}

.pas-11246-item-title {
    font-weight: 600;
    font-size: 14px;
    color: #0f172a;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pas-11246-item-meta {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #64748b;
}

.pas-11246-item-price {
    font-weight: 500;
    color: #334155;
    margin-right: 8px;
}

/* Right side */
.pas-11246-featured {
    flex: 0 0 45%;
    background: #f8fafc;
    padding: 24px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.pas-11246-featured-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 200px;
}

.pas-11246-featured-inner {
    display: flex;
    flex-direction: column;
    animation: pas11246-fadein 0.3s ease;
}

@keyframes pas11246-fadein {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.pas-11246-feat-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
    background: #fff;
}

.pas-11246-feat-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.pas-11246-feat-cat {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 8px;
}

.pas-11246-feat-price {
    font-size: 18px;
    font-weight: 600;
    color: #2F5D3A;
    margin-bottom: 12px;
}

.pas-11246-feat-excerpt {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 20px;
}

.pas-11246-feat-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.pas-11246-btn {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pas-11246-btn-primary {
    background: #2F5D3A;
    color: #fff !important;
}

.pas-11246-btn-primary:hover {
    filter: brightness(1.1);
}

.pas-11246-btn-secondary {
    background: #e2e8f0;
    color: #334155 !important;
}

.pas-11246-btn-secondary:hover {
    background: #cbd5e1;
}

/* Footer */
.pas-11246-footer {
    padding: 12px 16px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.pas-11246-view-all {
    font-size: 13px;
    font-weight: 600;
    color: #3b82f6;
    text-decoration: none;
}

.pas-11246-view-all:hover {
    text-decoration: underline;
}

.pas-11246-empty-state {
    padding: 30px 20px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

/* Scrollbar styling */
.pas-11246-results-list::-webkit-scrollbar,
.pas-11246-featured::-webkit-scrollbar {
    width: 6px;
}
.pas-11246-results-list::-webkit-scrollbar-track,
.pas-11246-featured::-webkit-scrollbar-track {
    background: transparent;
}
.pas-11246-results-list::-webkit-scrollbar-thumb,
.pas-11246-featured::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

/* Mobile */
@media (max-width: 767px) {
    .pas-11246-layout {
        flex-direction: column;
        max-height: 70vh;
    }
    
    .pas-11246-dropdown.has-featured .pas-11246-results-list {
        flex: auto;
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
        max-height: 250px;
    }
    
    .pas-11246-featured {
        flex: auto;
        padding: 16px;
    }
    
    .pas-11246-feat-img {
        height: 120px;
    }
}