/* only-one-product/assets/css/style.css */
:root {
    --oop-primary: #d4a373;
    --oop-text: #333;
    --oop-text-light: #666;
}

.oop-widget-container {
    width: 100%;
}

.oop-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
}

.oop-grid-reverse {
    flex-direction: row-reverse;
}

/* Base column shared settings */
.oop-col-image,
.oop-col-content {
    flex: 0 0 50%;
    height: 600px;
    /* Fixed height for consistent parallax on desktop */
    overflow: hidden;
}

@media (max-width: 992px) {
    .oop-col-image,
    .oop-col-content {
        flex: 0 0 100%;
        height: auto;
    }

    .oop-col-image {
        aspect-ratio: 1 / 1;
        min-height: auto;
    }

    .oop-col-content {
        min-height: 400px;
    }

    .oop-parallax-bg {
        top: 0 !important;
        height: 100% !important;
        background-size: cover;
        transform: none !important;
    }
}

/* Col 1: Parallax Image Column */
.oop-col-image {
    position: relative;
    padding: 0;
    margin: 0;
}

.oop-parallax-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #111;
}

.oop-parallax-bg {
    position: absolute;
    top: -50%;
    /* Large buffer */
    left: 0;
    width: 100%;
    height: 200%;
    /* Double height for smooth movement */
    background-size: 85%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    will-change: transform;
}

.oop-parallax-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #eee 25%, #f9f9f9 25%, #f9f9f9 50%, #eee 50%, #eee 75%, #f9f9f9 75%, #f9f9f9 100%);
    background-size: 40px 40px;
}

/* Col 2: Content Column */
.oop-col-content {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8;
    box-sizing: border-box;
}

.oop-content-inner {
    max-width: 500px;
    width: 100%;
}

.oop-subtitle {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--oop-primary);
}

.oop-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 1.5rem 0;
    color: var(--oop-text);
}

.oop-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--oop-text-light);
    margin-bottom: 2.5rem;
}

.oop-cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--oop-primary);
    color: #1a1a1a !important;
    text-decoration: none !important;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    box-shadow: 0 4px 0px 0px #b08253;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.oop-cta-btn:hover {
    background-color: #111;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 0px 0px #000;
}