/* ============================================================
   PAGE: Комерція  (.page-commerce)
   ============================================================ */

.page-commerce {
    background: #0d1b3e;
    color: #fff;
}

/* ---- Shared section styles ---- */

.page-commerce.main-page {
	padding-top: 150px;	
}

.cm-section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cm-section:last-child {
    border-bottom: none;
}

.cm-section__title {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.25;
    margin: 0 0 28px;
    color: #fff;
}

.cm-section__text {
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
}

.cm-section__text p {
    margin: 0 0 16px;
}

.cm-section__text p:last-child {
    margin-bottom: 0;
}

.cm-section__text ul {
    padding-left: 20px;
    margin: 12px 0 16px;
}

.cm-section__text ul li {
    margin-bottom: 8px;
}

/* ---- HERO ---- */
.cm-hero {
    padding: 70px 0 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cm-hero__title {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 20px;
    color: #fff;
}

.cm-hero__subtitle {
    font-size: 22px;
    color: var(--gold);
    font-weight: 400;
    margin: 0 0 28px;
}

.cm-hero__text {
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
}

.cm-hero__text p {
    margin: 0 0 16px;
}

/* ---- CHESS LAYOUT ---- */
.cm-with-img {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 60px;
}

.cm-with-img--reverse {
    flex-direction: row-reverse;
}

.cm-with-img__text {
    flex: 1 1 0;
    min-width: 0;
}

.cm-with-img__photo {
    flex: 0 0 440px;
    width: 440px;
}

.cm-with-img__photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* ---- BUSINESS CARDS ---- */
.cm-business__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 8px;
}

.cm-business__card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(188, 140, 100, 0.3);
    border-radius: 16px;
    padding: 24px;
    transition: background 0.2s, border-color 0.2s;
}

.cm-business__card:hover {
    background: rgba(188, 140, 100, 0.08);
    border-color: var(--gold);
}

.cm-business__card-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--gold);
    margin: 0 0 10px;
}

.cm-business__card-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* ---- PAYMENT HIGHLIGHTS ---- */
.cm-payment__highlights {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin: 28px 0;
    flex-wrap: wrap;
}

.cm-payment__item {
    flex: 1 1 260px;
    background: rgba(188, 140, 100, 0.12);
    border-left: 4px solid var(--gold);
    border-radius: 0 12px 12px 0;
    padding: 18px 24px;
    font-size: 17px;
    font-weight: 500;
    color: #fff;
    line-height: 1.5;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
	.page-commerce.main-page {
		padding-top: 100px;	
	}
	
    .cm-business__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cm-with-img {
        gap: 40px;
    }

    .cm-with-img__photo {
        flex: 0 0 340px;
        width: 340px;
    }
}

@media (max-width: 767px) {
	
	.cm-section .cm-with-img {
		flex-direction: column-reverse;
	}
	
	.cm-payment__item {
		flex: 1 1 auto;
	}
	
    .cm-hero__title {
        font-size: 32px;
    }

    .cm-section__title {
        font-size: 26px;
    }

    .cm-business__grid {
        grid-template-columns: 1fr;
    }

    .cm-with-img,
    .cm-with-img--reverse {
        flex-direction: column;
    }

    .cm-with-img__photo {
        flex: none;
        width: 100%;
    }

    .cm-with-img__photo img {
        border-radius: 14px;
    }

    .cm-payment__highlights {
        flex-direction: column;
    }
}
