/**
 * GBP Contact Details Widget Styles
 */

/* Container */
.gbp-contact-details {
    display: flex;
    gap: 0;
    background-color: #f7f7f7;
    border-radius: 16px;
    overflow: hidden;
}

.gbp-contact-details--no-map {
    display: block;
}

/* Columns */
.gbp-contact-details__info {
    flex: 1 1 50%;
    padding: 40px;
    min-width: 0;
}

.gbp-contact-details--no-map .gbp-contact-details__info {
    flex: 1 1 100%;
}

.gbp-contact-details__map {
    flex: 1 1 50%;
    min-width: 0;
    min-height: 400px;
}

/* Location badges */
.gbp-contact-details__labels {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.gbp-contact-details__label {
    display: inline-block;
    padding: 4px 16px;
    border: 0 solid #2cb5a0;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #2cb5a0;
    background: transparent;
    line-height: 1.4;
}

/* Title */
.gbp-contact-details__title {
    margin: 0 0 24px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

/* Contact items */
.gbp-contact-details__items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.gbp-contact-details__item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gbp-contact-details__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #e8f6f4;
    color: #2cb5a0;
}

.gbp-contact-details__icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gbp-contact-details__icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.gbp-contact-details__text {
    color: #333;
    line-height: 1.5;
}

.gbp-contact-details__text a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.gbp-contact-details__text a:hover,
.gbp-contact-details__text a:focus-visible {
    color: #2cb5a0;
}

/* CTA Button */
.gbp-contact-details__cta {
    margin-bottom: 20px;
}

.gbp-contact-details__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border: 0 solid #1a1a1a;
    border-radius: 30px;
    background: transparent;
    color: #1a1a1a;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1.4;
    cursor: pointer;
}

.gbp-contact-details__btn:hover,
.gbp-contact-details__btn:focus-visible {
    background-color: #1a1a1a;
    color: #ffffff;
}

.gbp-contact-details__btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease;
}

.gbp-contact-details__btn:hover svg,
.gbp-contact-details__btn:focus-visible svg {
    transform: translateX(3px);
}

/* Social icons */
.gbp-contact-details__social {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.gbp-contact-details__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #2cb5a0;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.gbp-contact-details__social-link:hover,
.gbp-contact-details__social-link:focus-visible {
    background-color: #239488;
    color: #ffffff;
    transform: translateY(-2px);
}

.gbp-contact-details__social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.gbp-contact-details__social-link img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* Trading hours */
.gbp-contact-details__hours {
    color: #333;
    line-height: 1.5;
}

.gbp-contact-details__hours strong {
    font-weight: 700;
}

/* Map */
.gbp-contact-details__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    min-height: 400px;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .gbp-contact-details {
        flex-direction: column;
    }

    .gbp-contact-details__info {
        flex: 1 1 100%;
        padding: 32px;
    }

    .gbp-contact-details__map {
        flex: 1 1 100%;
        min-height: 350px;
    }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
    .gbp-contact-details__info {
        padding: 24px;
    }

    .gbp-contact-details__title {
        margin-bottom: 20px;
    }

    .gbp-contact-details__map {
        min-height: 300px;
    }

    .gbp-contact-details__btn {
        padding: 10px 24px;
    }
}
