/* ====================================================
   SECTION: OPTICAL SHOP (TWO-COLUMN REVERSED)
   ==================================================== */

.section-two-column,
.two-column-container.reversed {
    padding: 0;
    margin: 0;
    width: 100%;
}

.two-column-container.reversed {
    background-color: #496879;
    position: relative;
    padding: 95px 0;
    width: 100%;
    overflow: hidden;
}

@media (min-width: 1440px) {
    .two-column-container.reversed .ry-container {
        max-width: 1360px;
        margin: 0 auto;
        padding: 0 30px;
        width: 100%;
        float: none;
        box-sizing: border-box;
    }
}

.two-column-container.reversed .ry-content {
    padding: 0;
    margin: 0;
    width: 100%;
    float: none;
}

/* Reversed flex layout (Image on the Left, Text on the Right) */
.two-column-container.reversed .ry-flex {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
    float: none;
}

/* --- Text Column (Right side) --- */
.two-column-container.reversed .ry-each:not(.image-wrapper) {
    width: 48%;
    max-width: 560px;
    padding: 0;
    margin: 0;
    float: none;
}

.two-column-container.reversed .text-wrapper {
    max-width: 540px;
    padding: 0;
    margin: 0;
}

.two-column-container.reversed .ry-headline {
    margin: 0;
    padding: 0;
}

.two-column-container.reversed .ry-headline h2 {
    margin: 0 0 24px 0;
    padding: 0;
    color: #ffffff !important;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: none;
}

/* Eyebrow / Subtitle "VISIT OUR" */
.two-column-container.reversed .ry-headline h2 .span-1 {
    display: block;
    font-family: var(--font-heading, sans-serif) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    margin-bottom: 12px;
    line-height: 1.2;
}

.two-column-container.reversed .ry-text {
    margin: 0;
    padding: 0;
}

.two-column-container.reversed .ry-text p {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 16px;
    line-height: 1.65;
    max-width: 530px;
    margin: 0 0 34px 0;
    padding: 0;
}

/* --- Button --- */
.two-column-container.reversed .button-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.two-column-container.reversed .button-wrapper .ry-btn,
.two-column-container.reversed .ry-btn-tertiary {
    min-width: 200px;
    height: 48px;
    padding: 0 32px;
    border-radius: 50px;
    background-color: #304C5B !important;
    color: #ffffff !important;
    font-family: var(--font-heading, sans-serif);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: all 0.3s ease;
    margin: 0;
}

.two-column-container.reversed .button-wrapper .ry-btn:hover,
.two-column-container.reversed .ry-btn-tertiary:hover {
    background-color: #233843 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* --- Image Column (Left side) --- */
.two-column-container.reversed .ry-each.image-wrapper {
    width: 52%;
    max-width: 660px;
    padding: 0;
    margin: 0;
    position: relative;
    float: none;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
}

.two-column-container.reversed .ry-each.image-wrapper::before,
.two-column-container.reversed .ry-each.image-wrapper::after {
    display: none !important;
    content: none !important;
}

.two-column-container.reversed .ry-each.image-wrapper .photo {
    position: relative;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    border: none !important;
    height: auto;
    padding: 0 !important;
    margin: 0;
    width: 100%;
}

.two-column-container.reversed .ry-each.image-wrapper .photo img {
    width: 100%;
    max-width: 660px;
    height: auto;
    display: block;
    position: static;
    object-fit: contain;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* ====================================================
   RESPONSIVE MEDIA QUERIES
   ==================================================== */

@media (max-width: 1199px) {
    .two-column-container.reversed .ry-headline h2 {
        font-size: 42px;
    }
    .two-column-container.reversed .ry-flex {
        gap: 30px;
    }
}

@media (max-width: 991px) {
    .two-column-container.reversed {
        padding: 80px 0;
    }
    .two-column-container.reversed .ry-flex {
        flex-direction: column-reverse;
        align-items: center;
        gap: 40px;
    }
    .two-column-container.reversed .ry-each:not(.image-wrapper),
    .two-column-container.reversed .text-wrapper {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    .two-column-container.reversed .ry-headline h2 {
        max-width: 100%;
        margin: 0 auto 20px;
        text-align: center;
    }
    .two-column-container.reversed .ry-text p {
        max-width: 100%;
        margin: 0 auto 30px;
    }
    .two-column-container.reversed .button-wrapper {
        justify-content: center;
    }
    .two-column-container.reversed .ry-each.image-wrapper {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .two-column-container.reversed .button-wrapper .ry-btn {
        width: 100%;
        min-width: 100%;
    }
}


/* ====================================================
   SECTION: DRY EYE (ONE-CONTENT BACKGROUND BANNER)
   ==================================================== */

.section-two-column,
.two-column-container.one-content {
    padding: 0;
    margin: 0;
    width: 100%;
}

.two-column-container.one-content {
    background-color: #FAF9F6;
    position: relative;
    padding: 130px 0;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 480px;
}

/* Full Background Image positioned to the right */
.two-column-container.one-content .section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    padding: 0;
    margin: 0;
    pointer-events: none;
}

.two-column-container.one-content .section-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}

@media (min-width: 1440px) {
    .two-column-container.one-content .ry-container {
        max-width: 1360px;
        margin: 0 auto;
        padding: 0 30px;
        width: 100%;
        float: none;
        box-sizing: border-box;
        position: relative;
        z-index: 2;
    }
}

.two-column-container.one-content .ry-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.two-column-container.one-content .ry-content {
    padding: 0;
    margin: 0;
    width: 100%;
    float: none;
}

.two-column-container.one-content .ry-flex {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    float: none;
}

/* Text Column */
.two-column-container.one-content .ry-each:not(.image-wrapper) {
    width: 50%;
    max-width: 500px;
    padding: 0;
    margin: 0;
    float: none;
}

.two-column-container.one-content .text-wrapper {
    max-width: 480px;
    padding: 0;
    margin: 0;
}

.two-column-container.one-content .ry-headline {
    margin: 0;
    padding: 0;
}

.two-column-container.one-content .ry-headline h2 {
    margin: 0 0 20px 0;
    padding: 0;
    text-transform: none;
}

.two-column-container.one-content .ry-text {
    margin: 0;
    padding: 0;
}

.two-column-container.one-content .ry-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
    max-width: 460px;
    margin: 0 0 30px 0;
    padding: 0;
}

/* Button */
.two-column-container.one-content .button-wrapper {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.two-column-container.one-content .button-wrapper .ry-btn,
.two-column-container.one-content .ry-btn-primary {
    min-width: 190px;
    height: 48px;
    padding: 0 30px;
    border-radius: 50px;
    background-color: #496879;
    color: #ffffff !important;
    font-family: var(--font-heading, sans-serif);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: all 0.3s ease;
    margin: 0;
}

.two-column-container.one-content .button-wrapper .ry-btn:hover,
.two-column-container.one-content .ry-btn-primary:hover {
    background-color: #304C5B;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(48, 76, 91, 0.2);
}

/* Hide empty image-wrapper */
.two-column-container.one-content .ry-each.image-wrapper {
    display: none;
}

/* ====================================================
   RESPONSIVE MEDIA QUERIES
   ==================================================== */

@media (max-width: 1199px) {
    .two-column-container.one-content {
        padding: 100px 0;
    }
    .two-column-container.one-content .ry-headline h2 {
        font-size: 44px;
    }
}

@media (max-width: 991px) {
    .two-column-container.one-content {
        padding: 80px 20px;
        min-height: auto;
    }
    .two-column-container.one-content .section-bg {
        opacity: 0.25; /* Softens background image on mobile so text is crystal clear */
    }
    .two-column-container.one-content .section-bg img {
        object-position: center;
    }
    .two-column-container.one-content .ry-each:not(.image-wrapper),
    .two-column-container.one-content .text-wrapper {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    .two-column-container.one-content .ry-headline h2 {
        margin: 0 auto 16px;
    }
    .two-column-container.one-content .ry-text p {
        margin: 0 auto 24px;
    }
    .two-column-container.one-content .button-wrapper {
        justify-content: center;
    }
	.two-column-container.one-content .ry-headline h2 {
		text-align:center;
}
}

@media (max-width: 520px) {
    .two-column-container.one-content .button-wrapper .ry-btn {
        width: 100%;
        min-width: 100%;
    }
}


/* ====================================================
   SECTION: TESTIMONIALS (WITH SIDE-BY-SIDE BUTTON & STARS)
   ==================================================== */

.section-testimonial,
.section-testimonial .two-column-container {
    padding: 0;
    margin: 0;
    width: 100%;
}

.section-testimonial .two-column-container {
    background-color: var(--bg-tint, #EAF1F4);
    position: relative;
    padding: 100px 0 110px 0;
    width: 100%;
    overflow: hidden;
}

@media (min-width: 1440px) {
    .section-testimonial .ry-container {
        max-width: 1360px;
        margin: 0 auto;
        padding: 0 30px;
        width: 100%;
        float: none;
        box-sizing: border-box;
    }
}

.section-testimonial .ry-container {
    position: relative;
    z-index: 2;
    width: 100%;
    float: none;
}

.section-testimonial .ry-content {
    padding: 0;
    margin: 0;
    width: 100%;
    float: none;
}

/* Two-Column Flex Layout */
.section-testimonial .ry-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
    float: none;
}

/* --- Left Column: Text Wrapper --- */
.section-testimonial .ry-each:not(.image-wrapper) {
    width: 48%;
    max-width: 580px;
    padding: 0;
    margin: 0;
    float: none;
}

.section-testimonial .text-wrapper {
    max-width: 540px;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
}

/* Eyebrow & Headline */
.section-testimonial .ry-headline {
    width: 100%;
    margin: 0 0 24px 0;
    padding: 0;
}

.section-testimonial .ry-headline h2 {
    font-family: var(--font-heading, sans-serif);
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-heading, #304C5B);
    margin: 0;
    padding: 0;
    text-transform: none;
}

.section-testimonial .ry-headline h2 .span-1 {
    display: block;
    font-family: var(--font-heading, sans-serif);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-eyebrow, #496879);
    margin-bottom: 12px;
    line-height: 1.2;
}

/* Quote Body */
.section-testimonial .ry-text {
    width: 100%;
    margin: 0 0 30px 0;
    padding: 0;
}

.section-testimonial .ry-text p {
    color: var(--text-body, #555555);
    max-width: 530px;
    margin: 0;
    padding: 0;
}

/* --- Bottom Left: Stars & Reviewer Name --- */
.section-testimonial .testimony-info {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.section-testimonial .testimony-info > .col-xs-12 {
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
}

/* Stars */
.section-testimonial .testimony-info .SVG_Star {
    width: 18px !important;
    height: 18px !important;
    fill: var(--btn-dark, #333333);
    margin-right: 3px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.section-testimonial .testimony-info .name {
    font-family: var(--font-heading, sans-serif);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-heading, #304C5B);
    margin-top: 8px;
    line-height: 1.2;
}

/* --- Bottom Right: Action Button --- */
.section-testimonial .button-wrapper {
    width: auto !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    float: none !important;
}

/* --- Right Column: Image Wrapper --- */
.section-testimonial .ry-each.image-wrapper {
    width: 52%;
    max-width: 660px;
    padding: 0;
    margin: 0;
    position: relative;
    float: none;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-end;
}

.section-testimonial .ry-each.image-wrapper::before,
.section-testimonial .ry-each.image-wrapper::after {
    display: none !important;
    content: none !important;
}

.section-testimonial .ry-each.image-wrapper .photo {
    position: relative;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    border: none !important;
    height: auto;
    padding: 0 !important;
    margin: 0;
    width: 100%;
}

.section-testimonial .ry-each.image-wrapper .photo img {
    width: 100%;
    max-width: 660px;
    height: auto;
    display: block;
    position: static;
    object-fit: contain;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* ====================================================
   RESPONSIVE MEDIA QUERIES (OPTIMIZED FOR MOBILE)
   ==================================================== */

@media (max-width: 1199px) {
    .section-testimonial .ry-headline h2 {
        font-size: 42px;
    }
    .section-testimonial .ry-flex {
        gap: 30px;
    }
}

@media (max-width: 991px) {
    .section-testimonial .two-column-container {
        padding: 80px 0;
    }
    .section-testimonial .ry-flex {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .section-testimonial .ry-each:not(.image-wrapper),
    .section-testimonial .text-wrapper {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        text-align: center;
    }
    .section-testimonial .ry-headline h2 {
        margin: 0 auto 20px;
        text-align: center;
    }
    .section-testimonial .ry-text p {
        max-width: 100%;
        margin: 0 auto 24px;
        text-align: center;
    }

    /* Stack testimony info & button cleanly on mobile */
    .section-testimonial .testimony-info {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 auto 24px auto !important;
    }
    .section-testimonial .testimony-info > .col-xs-12 {
        width: 100% !important;
        text-align: center !important;
    }
    .section-testimonial .testimony-info > .col-xs-12 > div:first-child {
        white-space: nowrap !important; /* Prevents 5th star from breaking */
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .section-testimonial .testimony-info .name {
        text-align: center !important;
        white-space: nowrap !important;
        margin-top: 6px !important;
    }
    .section-testimonial .button-wrapper {
        width: 100% !important;
        justify-content: center !important;
        margin: 0 auto !important;
    }
    .section-testimonial .ry-each.image-wrapper {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .section-testimonial .button-wrapper .ry-btn {
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
    }
}