/* Ruby Slider Custom CSS replacing Tailwind */
.rs-slider-wrapper {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    z-index: 0;
}

.rs-slide {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background-color: transparent;
}

.rs-bg {
    position: absolute;
    inset: 0;
    background-color: var(--slide-bg-color, transparent);
}

.rs-general-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: var(--slider-bg-color, transparent);
}

.rs-general-bg img,
.rs-general-bg video,
.rs-general-bg iframe {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.rs-bg img,
.rs-bg video,
.rs-bg iframe {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.rs-content-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}
@media (min-width: 1024px) {
    .rs-content-wrapper { flex-direction: row; }
}

.rs-left-panel {
    display: flex;
    width: 100%;
    align-items: flex-end;
    padding: 1rem;
}
@media (min-width: 640px) {
    .rs-left-panel { padding: 1.5rem; }
}
@media (min-width: 1024px) {
    .rs-left-panel {
        align-items: center;
        justify-content: center;
        width: 50%;
        padding: 2rem;
    }
}

.rs-card {
    position: relative;
    width: 100%;
    border-radius: 24px;
    background-color: var(--card-bg-color, rgba(244, 236, 223, 0.95));
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 1.5rem 1.25rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
@media (min-width: 640px) {
    .rs-card { padding: 2rem 2rem; }
}
@media (min-width: 768px) {
    .rs-card { max-width: 42rem; }
}
@media (min-width: 1024px) {
    .rs-card {
        max-width: 56rem;
        background-color: var(--card-bg-color, #f4ecdf);
        padding: 3rem 2.5rem;
        min-height: 760px;
    }
}

.rs-logo-wrapper {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
@media (min-width: 640px) {
    .rs-logo-wrapper { margin-bottom: 2.5rem; }
}
@media (min-width: 1024px) {
    .rs-logo-wrapper { margin-bottom: 3.5rem; }
}

.rs-logo-icon {
    display: flex;
    height: 3.5rem;
    width: 3.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background-color: #a10b00;
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 2rem;
}
@media (min-width: 640px) {
    .rs-logo-icon {
        height: 4rem;
        width: 4rem;
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
}

.rs-brand-title {
    font-size: 1.875rem;
    font-style: italic;
    line-height: 1;
    color: #a10b00;
    margin: 0;
    font-family: serif;
}
@media (min-width: 640px) {
    .rs-brand-title { font-size: 2.25rem; }
}

.rs-brand-subtitle {
    margin-top: 0.25rem;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: #23160f;
    text-transform: uppercase;
}
@media (min-width: 640px) {
    .rs-brand-subtitle { font-size: 0.875rem; }
}

.rs-mobile-product {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}
@media (min-width: 1024px) {
    .rs-mobile-product { display: none; }
}

.rs-mobile-product img {
    width: 180px;
    filter: drop-shadow(0 25px 35px rgba(0,0,0,0.4));
}
@media (min-width: 640px) {
    .rs-mobile-product img { width: 220px; }
}

.rs-text-container {
    max-width: 42rem;
}

.rs-index {
    display: block;
    font-size: 1.25rem;
    font-style: italic;
    color: #2b1d14;
    font-family: serif;
}
@media (min-width: 640px) {
    .rs-index { font-size: 1.5rem; }
}

.rs-product-title {
    margin-top: 0.75rem;
    font-size: 2.25rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 0.95;
    color: #b10f00;
    margin-bottom: 0;
    font-family: inherit;
}
@media (min-width: 640px) {
    .rs-product-title { margin-top: 1.25rem; font-size: 3.75rem; }
}
@media (min-width: 1024px) {
    .rs-product-title { font-size: 92px; }
}

.rs-product-desc {
    margin-top: 1.25rem;
    max-width: 36rem;
    font-size: 1.125rem;
    line-height: 1.625;
    color: #1e130e;
}
@media (min-width: 640px) {
    .rs-product-desc { margin-top: 2rem; font-size: 1.5rem; }
}

.rs-btn {
    margin-top: 1.5rem;
    display: inline-block;
    border-radius: 0.75rem;
    background-color: #b10f00;
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: #ffffff;
    transition-duration: 300ms;
    text-decoration: none;
    border: none;
    cursor: pointer;
}
@media (min-width: 640px) {
    .rs-btn {
        margin-top: 2.5rem;
        padding: 1rem 2rem;
        font-size: 1.25rem;
    }
}
.rs-btn:hover {
    transform: scale(1.05);
    background-color: #930b00;
    color: #ffffff;
    text-decoration: none;
}

.rs-desktop-product {
    pointer-events: none;
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
}
@media (min-width: 1024px) {
    .rs-desktop-product { display: flex; }
}
.rs-desktop-product img {
    width: 380px;
    filter: drop-shadow(0 30px 40px rgba(0,0,0,0.45));
}

.rs-nav-container {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #ffffff;
}
@media (min-width: 640px) {
    .rs-nav-container {
        bottom: 2rem;
        right: 2rem;
    }
}

.rs-nav-btn {
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    opacity: 0.8;
    transition: opacity 0.3s;
    color: #ffffff;
    text-decoration: none;
    border: none;
    background: transparent;
    cursor: pointer;
}
@media (min-width: 640px) {
    .rs-nav-btn { font-size: 1.25rem; }
}
.rs-nav-btn:hover {
    opacity: 1;
    color: #ffffff;
    text-decoration: none;
}

.rs-nav-divider {
    height: 1.5rem;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}
@media (min-width: 640px) {
    .rs-nav-divider { height: 2rem; }
}