.gpsad-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 24px;
}

.gpsad-header {
    margin-bottom: 20px;
}

.gpsad-header h2,
.gpsad-header h1 {
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1.2;
}

.gpsad-header p {
    margin: 0;
    color: #666;
    font-size: 15px;
}

.gpsad-search-form {
    display: flex;
    gap: 12px;
    margin: 20px 0 32px;
    align-items: flex-start;
}

.gpsad-search-field-wrap {
    position: relative;
    flex: 1;
}

.gpsad-search-form input[type="text"] {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 1px solid #d8d8d8;
    border-radius: 12px;
    font-size: 15px;
    background: #fff;
    box-sizing: border-box;
}

.gpsad-search-form input[type="text"]:focus {
    outline: none;
    border-color: #111;
}

.gpsad-search-form button {
    height: 50px;
    padding: 0 24px;
    border: 0;
    background: #111;
    color: #fff;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

.gpsad-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    z-index: 999;
    display: none;
    max-height: 320px;
    overflow-y: auto;
}

.gpsad-suggestion-item {
    padding: 13px 15px;
    border-bottom: 1px solid #f1f1f1;
    cursor: pointer;
}

.gpsad-suggestion-item:last-child {
    border-bottom: none;
}

.gpsad-suggestion-item:hover {
    background: #f8f8f8;
}

.gpsad-suggestion-item-active {
    background: #f0f0f0;
}

.gpsad-suggestion-text {
    font-size: 14px;
    color: #111;
}

.gpsad-suggestion-type {
    font-size: 12px;
    color: #777;
    text-transform: capitalize;
    white-space: nowrap;
}

.gpsad-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 12px;
}

.gpsad-results-head h3 {
    margin: 0;
}

.gpsad-results-head span {
    color: #666;
    font-size: 14px;
}

.gpsad-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0 0 30px;
}

.gpsad-card {
    border: 1px solid #e8e8e8;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gpsad-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.gpsad-card-gallery {
    background: #f3f3f3;
}

.gpsad-card-main-image-wrap {
    height: 220px;
    overflow: hidden;
    background: #f3f3f3;
}

.gpsad-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gpsad-card-thumb-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
    background: #fff;
}

.gpsad-card-thumb {
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f3f3;
}

.gpsad-card-thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gpsad-card-image-placeholder {
    width: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 14px;
    background: #f3f3f3;
}

.gpsad-card-body {
    padding: 18px;
}

.gpsad-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.gpsad-card-top h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
}

.gpsad-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    background: #f5f5f5;
    border-radius: 999px;
    font-size: 12px;
    white-space: nowrap;
}

.gpsad-meta {
    margin: 0 0 10px;
    color: #444;
    font-size: 14px;
    line-height: 1.6;
}

.gpsad-link-line a {
    word-break: break-word;
}

.gpsad-card-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0;
}

.gpsad-card-mini-grid div {
    background: #fafafa;
    border: 1px solid #efefef;
    border-radius: 12px;
    padding: 10px 12px;
}

.gpsad-card-mini-grid strong {
    display: block;
    font-size: 12px;
    color: #777;
    margin-bottom: 4px;
}

.gpsad-card-mini-grid span {
    font-size: 14px;
    color: #111;
    word-break: break-word;
}

.gpsad-open {
    color: #0a7a35;
    font-weight: 600;
}

.gpsad-closed {
    color: #b42318;
    font-weight: 600;
}

.gpsad-hours {
    margin: 14px 0;
    padding: 12px 14px;
    background: #fafafa;
    border: 1px solid #efefef;
    border-radius: 12px;
}

.gpsad-hours strong {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.gpsad-hours ul {
    margin: 0;
    padding-left: 18px;
}

.gpsad-hours li {
    margin-bottom: 4px;
    font-size: 13px;
    color: #444;
}

.gpsad-summary {
    margin: 12px 0 0;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.gpsad-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.gpsad-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.gpsad-suggestion-head {
    padding: 10px 15px;
    font-size: 12px;
    font-weight: 600;
    color: #777;
    background: #fafafa;
    border-bottom: 1px solid #f1f1f1;
}

.gpsad-suggestion-item-active {
    background: #f0f0f0;
}

.gpsad-btn-primary {
    background: #111;
    color: #fff;
}

.gpsad-btn-light {
    background: #f5f5f5;
    color: #111;
}

.gpsad-details-hero {
    height: 360px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 24px;
}

.gpsad-raw-block {
    margin-top: 16px;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.gpsad-raw-block summary {
    padding: 14px 16px;
    cursor: pointer;
    font-weight: 600;
    background: #fafafa;
}

.gpsad-json {
    margin: 0;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 16px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 13px;
    line-height: 1.6;
}

.gpsad-error {
    color: #b42318;
    font-weight: 600;
}

.gpsad-card-gallery {
    background: #f3f3f3;
}

.gpsad-gallery-main-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #f3f3f3;
}

.gpsad-gallery-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gpsad-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.72);
    color: #fff;
    cursor: pointer;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
}

.gpsad-gallery-prev {
    left: 10px;
}

.gpsad-gallery-next {
    right: 10px;
}

.gpsad-gallery-counter {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.72);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.gpsad-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    background: #fff;
}

.gpsad-gallery-thumb {
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    background: #f3f3f3;
    cursor: pointer;
    height: 58px;
}

.gpsad-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gpsad-gallery-thumb.is-active {
    border-color: #111;
}

.gpsad-gallery-thumb:hover {
    opacity: 0.9;
}

@media (max-width: 767px) {
    .gpsad-gallery-main-wrap {
        height: 200px;
    }

    .gpsad-gallery-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .gpsad-gallery-thumb {
        height: 52px;
    }
}

@media (max-width: 991px) {
    .gpsad-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .gpsad-search-form {
        flex-direction: column;
    }

    .gpsad-search-form button {
        width: 100%;
    }

    .gpsad-cards {
        grid-template-columns: 1fr;
    }

    .gpsad-card-main-image-wrap,
    .gpsad-details-hero {
        height: 200px;
    }

    .gpsad-results-head {
        flex-direction: column;
        align-items: flex-start;
    }
}