/* ──────────────────────────────────────────────────
   Product-page styling (shared across all product,
   about and consultation pages).
   ────────────────────────────────────────────────── */

/* === Container === */
.prod-page {
    max-width: 1140px;
    margin: 0 auto;
    padding: 50px 20px 60px;
}

/* === Section block (category group) === */
.prod-section {
    margin-bottom: 56px;
}

.prod-section:last-child {
    margin-bottom: 0;
}

.prod-section__header {
    text-align: center;
    margin-bottom: 40px;
}

.prod-section__title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.25;
}

.prod-section__sub {
    font-size: 16px;
    color: #666;
    margin: 0;
    font-weight: 400;
}

/* === Card grid (3-up) === */
.prod-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 991px) {
    .prod-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .prod-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* === Individual card === */
.prod-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.prod-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.prod-card__img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f5f5f0;
}

.prod-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.prod-card:hover .prod-card__img-wrap img {
    transform: scale(1.05);
}

.prod-card__body {
    padding: 22px 24px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.prod-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.3;
}

.prod-card__desc {
    font-size: 14px;
    line-height: 1.65;
    color: #555;
    margin: 0;
    flex: 1;
}

/* === Feature layout (image + text side-by-side) === */
.prod-feature {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 32px;
}

.prod-feature:last-child {
    margin-bottom: 0;
}

.prod-feature__img {
    flex: 0 0 42%;
    max-width: 42%;
    overflow: hidden;
    background: #f5f5f0;
}

.prod-feature__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 320px;
}

.prod-feature__body {
    flex: 1;
    padding: 36px 32px 36px 0;
}

[dir="rtl"] .prod-feature__body {
    padding: 36px 0 36px 32px;
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .prod-feature__title,
[dir="rtl"] .prod-feature__subtitle,
[dir="rtl"] .prod-feature__desc {
    direction: rtl;
    text-align: right;
}

.prod-feature__title {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px;
    line-height: 1.3;
}

.prod-feature__desc {
    font-size: 15px;
    line-height: 1.75;
    color: #444;
    margin: 0 0 16px;
}

.prod-feature__desc:last-child {
    margin-bottom: 0;
}

.prod-feature__list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.prod-feature__list li {
    background: #f0ebe0;
    color: #6b5d3e;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

/* Subsection heading inside a feature block */
.prod-feature__subtitle {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    color: #1a1a1a;
    margin: 32px 0 12px;
    line-height: 1.3;
}

/* === About page: centered content with image === */
.prod-about {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    padding: 42px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.prod-about__heading {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px;
    text-align: center;
    line-height: 1.3;
}

.prod-about__text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin: 0 0 14px;
    text-align: center;
}

.prod-about__text:last-of-type {
    margin-bottom: 0;
}

.prod-about__img {
    display: block;
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    margin-top: 32px;
}

.prod-about__subheading {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    color: #1a1a1a;
    margin: 28px 0 12px;
    text-align: center;
    line-height: 1.35;
}

/* Long-form intro / body copy under section headers (product pages) */
.prod-prose {
    max-width: 820px;
    margin: 0 auto 32px;
    padding: 0 8px;
}

.prod-prose p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin: 0 0 14px;
}

.prod-prose p:last-child {
    margin-bottom: 0;
}

.prod-prose ul {
    margin: 0 0 14px;
    padding-inline-start: 1.25em;
    font-size: 16px;
    line-height: 1.75;
    color: #444;
}

.prod-prose li {
    margin-bottom: 6px;
}

[dir="rtl"] .prod-prose,
[dir="rtl"] .prod-prose p,
[dir="rtl"] .prod-prose ul {
    text-align: start;
}

[dir="rtl"] .prod-section__header {
    text-align: center;
}

[dir="rtl"] .prod-card__body {
    text-align: start;
}

/* === Accent divider between sections === */
.prod-divider {
    width: 60px;
    height: 3px;
    background: #d6a146;
    border: none;
    margin: 0 auto 48px;
    border-radius: 2px;
}

/* === Responsive: stack feature blocks on mobile === */
@media (max-width: 767px) {
    .prod-feature {
        flex-direction: column;
        gap: 0;
    }

    .prod-feature__img {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .prod-feature__img img {
        min-height: 220px;
    }

    .prod-feature__body {
        padding: 24px 20px;
    }

    [dir="rtl"] .prod-feature__body {
        padding: 24px 20px;
    }

    .prod-about {
        padding: 28px 20px;
    }

    .prod-page {
        padding: 30px 16px 40px;
    }
}
