/* Platform shortcodes — tema CSS değişkenlerini / buton sınıflarını kullanır */

.ws-sc-products {
    padding: 60px 0;
}

.ws-sc-products__head .title {
    font-family: var(--tg-heading-font-family, inherit);
    color: var(--tg-heading-font-color, inherit);
}

.ws-sc-product-card {
    margin-bottom: 24px;
}

.ws-sc-product-card__media {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: var(--tg-gray-two, #f5f5f5);
}

.ws-sc-product-card__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.ws-sc-product-card__body {
    padding-top: 14px;
}

.ws-sc-product-card__title {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-family: var(--tg-heading-font-family, inherit);
    font-weight: var(--tg-heading-font-weight, 600);
    line-height: 1.3;
}

.ws-sc-product-card__title a {
    color: var(--tg-heading-font-color, inherit);
    text-decoration: none;
}

.ws-sc-product-card__title a:hover {
    color: var(--tg-primary-color, #487fff);
}

.ws-sc-product-card__price {
    font-family: var(--tg-body-font-family, inherit);
    color: var(--tg-primary-color, #487fff);
    font-weight: 600;
}

.ws-sc-product-card__price del {
    margin-inline-start: 0.35rem;
    opacity: 0.65;
    font-size: 0.9em;
    font-weight: 400;
    color: var(--tg-body-font-color, #777);
}

/* About block */
.ws-sc-about {
    padding: 80px 0;
}

.ws-sc-about__thumbs {
    position: relative;
    min-height: 360px;
    margin-bottom: 32px;
}

.ws-sc-about__thumb img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.ws-sc-about__thumb--main {
    width: 78%;
}

.ws-sc-about__thumb--secondary {
    position: absolute;
    right: 0;
    bottom: 24px;
    width: 48%;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.ws-sc-about__content {
    padding-inline-start: clamp(0px, 4vw, 48px);
}

.ws-sc-about__subtitle {
    display: inline-block;
    margin-bottom: 12px;
    font-family: var(--tg-body-font-family, inherit);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tg-primary-color, #487fff);
}

.ws-sc-about__title {
    margin: 0 0 20px;
    font-family: var(--tg-heading-font-family, inherit);
    font-weight: var(--tg-heading-font-weight, 600);
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    line-height: 1.2;
    color: var(--tg-heading-font-color, inherit);
}

.ws-sc-about__desc {
    margin: 0 0 28px;
    font-family: var(--tg-body-font-family, inherit);
    color: var(--tg-body-font-color, #777);
    line-height: 1.7;
}

.ws-sc-about__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ws-sc-about__btn svg {
    flex: 0 0 auto;
}

@media (max-width: 991px) {
    .ws-sc-about {
        padding: 56px 0;
    }

    .ws-sc-about__content {
        padding-inline-start: 0;
        margin-top: 16px;
    }
}

@media (max-width: 575px) {
    .ws-sc-about__thumbs {
        min-height: 0;
    }

    .ws-sc-about__thumb--main,
    .ws-sc-about__thumb--secondary {
        position: relative;
        width: 100%;
        right: auto;
        bottom: auto;
        margin-bottom: 12px;
        box-shadow: none;
    }
}

/* Contact block (demo contact.html) */
.ws-sc-contact {
    width: 100%;
}

.ws-sc-contact__inner {
    padding: 2.5rem 0;
}

@media (min-width: 768px) {
    .ws-sc-contact__inner {
        padding: 5rem 0;
    }
}

.ws-sc-contact__row {
    display: flex;
    justify-content: space-between;
    gap: 2.5rem;
}

.ws-sc-contact__form-col {
    flex: 1 1 66%;
    max-width: 66%;
    padding-inline-end: 1rem;
}

.ws-sc-contact__info-col {
    flex: 1 1 25%;
    max-width: 28%;
    padding-inline-start: 1rem;
}

.ws-sc-contact__title {
    margin: 0;
}

.ws-sc-contact__intro {
    margin: 0.75rem 0 0;
    color: var(--secondary2, #888);
    font-size: 1rem;
    line-height: 1.6;
}

.ws-sc-contact__form {
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .ws-sc-contact__form {
        margin-top: 1.5rem;
    }
}

.ws-sc-contact__fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem 1rem;
}

@media (min-width: 640px) {
    .ws-sc-contact__fields {
        grid-template-columns: 1fr 1fr;
    }

    .ws-sc-contact__field--full {
        grid-column: 1 / -1;
    }
}

.ws-sc-contact__input {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--line, #e5e5e5);
    background: var(--white, #fff);
    color: inherit;
    font: inherit;
}

.ws-sc-contact__textarea {
    min-height: 6rem;
    resize: vertical;
}

.ws-sc-contact__actions {
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .ws-sc-contact__actions {
        margin-top: 1.5rem;
    }
}

.ws-sc-contact__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Temadan bağımsız fallback button */
.ws-sc-contact .button-main.ws-sc-contact__submit {
    appearance: none;
    border: 0;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.8rem;
}

.ws-sc-contact .button-main.ws-sc-contact__submit:hover {
    opacity: 0.9;
}

.ws-sc-contact__item--hours {
    margin-top: 2.5rem;
}

.ws-sc-contact__info-title {
    margin: 0;
}

.ws-sc-contact__info-line {
    margin: 0.75rem 0 0;
    line-height: 1.6;
}

.ws-sc-contact__info-line + .ws-sc-contact__info-line {
    margin-top: 0.35rem;
}

.ws-sc-contact__link {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.ws-sc-contact__link:hover {
    text-decoration: underline;
}

.ws-sc-contact__map {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

@media (min-width: 640px) {
    .ws-sc-contact__map {
        height: 500px;
    }
}

@media (min-width: 1280px) {
    .ws-sc-contact__map {
        height: 600px;
    }
}

.ws-sc-contact__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.ws-sc-contact__alert {
    margin: 1rem 0;
    padding: 0.85rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.ws-sc-contact__alert--success {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.ws-sc-contact__alert--error {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
}

.ws-sc-contact__error-list {
    margin: 0;
    padding-inline-start: 1.1rem;
}

.ws-sc-contact__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 1023px) {
    .ws-sc-contact__row {
        flex-direction: column;
    }

    .ws-sc-contact__form-col,
    .ws-sc-contact__info-col {
        max-width: 100%;
        padding: 0;
    }
}
