/* --- Hero Banner --- */
.dp-ritual-hero {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.dp-ritual-hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.dp-ritual-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    color: #fff;
}

.dp-ritual-hero-box {
    max-width: 600px;
    background: transparent; /* Или rgba(0,0,0,0.3) если нужно затемнение */
}

.dp-ritual-hero-title {
    font-size: 3rem; /* h1 */
    margin-bottom: 20px;
    line-height: 1.1;
    color: #fff;
}

.dp-ritual-hero-desc {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #fff;
}

/* --- Section Heading --- */
.dp-section-heading {
    text-align: center;
    padding: 60px 20px 40px;
}
.dp-section-heading h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin: 0;
}

/* --- Alternating Image Text Blocks (Rituals) --- */
.dp-image-text-section {
    padding: 40px 0;
}

.dp-it-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.dp-it-reverse {
    flex-direction: row-reverse;
}

.dp-it-image {
    flex: 1;
}

.dp-it-image img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    display: block;
}

.dp-it-content {
    flex: 1;
    padding: 20px;
}

.dp-it-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.dp-it-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #333;
}

.dp-it-desc p {
    margin-bottom: 15px;
}

/* --- Micro Moves Grid --- */
.dp-card-grid-section {
    margin-top: 60px;
    padding: 60px 20px;
    background: linear-gradient(0deg, rgba(245,245,245,0) 0%, rgba(245,245,245,1) 100%);
}

.dp-grid-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 300;
}

.dp-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.dp-card {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0px 10px 20px 0px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.dp-card:hover {
    transform: translateY(-5px);
}

.dp-card-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.dp-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.dp-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.dp-card-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #666;
    flex-grow: 1;
}

.dp-card-link {
    display: inline-block;
    text-align: center;
    color: #000;
    text-decoration: underline;
    font-weight: 600;
    margin-top: auto;
}

/* --- Sticky Product Bar --- */
.dp-sticky-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #242424;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    width: 90%;
    max-width: 500px;
}

.dp-sb-thumb {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
}

.dp-sb-info {
    flex-grow: 1;
    margin-right: 15px;
}

.dp-sb-title {
    font-size: 0.9rem;
    display: block;
    font-weight: 600;
}

.dp-sb-price {
    font-size: 0.9rem;
    color: #ccc;
}

.dp-sb-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .dp-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dp-it-container {
        flex-direction: column;
        gap: 30px;
    }
    .dp-it-reverse {
        flex-direction: column; /* На мобилке всегда картинка сверху */
    }
    .dp-card-grid {
        grid-template-columns: 1fr;
    }
    .dp-ritual-hero-title {
        font-size: 2rem;
    }
}