/* ==========================================================================
   Royal Manufacture — Page-Specific Styles (Home02 Hero, Banners, Catalog, Single)
   ========================================================================== */

/* Home-02 Hero Slider (Exact RevSlider home02 recreation) */
.rm-hero-slider {
    position: relative;
    width: 100%;
    min-height: 760px;
    height: 100vh;
    max-height: 1080px;
    background-color: #E7E7E7;
    background-size: cover;
    background-position: center center;
    overflow: hidden;
}

.rm-hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.rm-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.65s ease, visibility 0.65s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rm-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.rm-hero-watermark {
    position: absolute;
    top: 42%;
    left: 52%;
    transform: translate(-50%, -50%);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(72px, 12vw, 200px);
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: 1;
}

.rm-hero-stage {
    position: relative;
    width: 100%;
    max-width: 1600px;
    height: 100%;
    padding: 90px 100px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rm-hero-center-media {
    position: relative;
    z-index: 3;
    max-width: 68%;
    max-height: 76vh;
    transform: translateX(-6%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rm-hero-main-img {
    max-height: 68vh;
    width: auto;
    object-fit: contain;
}

/* Left Controls: Vertical Catalog + Transparent Thumbnail Switchers */
.rm-hero-left-rail {
    position: absolute;
    left: 85px;
    top: 44%;
    bottom: 48px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.rm-hero-catalog-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    color: #000000;
    text-decoration: none;
    writing-mode: vertical-lr;
    transition: color 0.25s ease, transform 0.25s ease;
}

.rm-hero-catalog-btn:hover {
    color: var(--rm-accent);
    transform: translateY(-2px);
}

.rm-hero-thumbs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rm-hero-thumb-btn {
    position: relative;
    width: 82px;
    height: 54px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.rm-hero-thumb-btn img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.rm-hero-thumb-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(242, 108, 79, 0.7);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.rm-hero-thumb-btn.is-active::after {
    opacity: 1;
}

/* Right Info Overlay */
.rm-hero-right-info {
    position: absolute;
    left: 52.5%;
    bottom: 24%;
    z-index: 10;
    text-align: left;
    max-width: 560px;
}

.rm-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 3.8vw, 56px);
    font-weight: 700;
    line-height: 1.05;
    color: #000000;
    margin: 0 0 18px;
}

.rm-hero-sub-row {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 36px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.rm-hero-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 22px;
    color: #000000;
}

.rm-hero-cta {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #f26c4f;
    text-decoration: underline;
    text-underline-offset: 6px;
    transition: color 0.25s ease, transform 0.25s ease;
}

.rm-hero-cta:hover {
    color: #000000;
    transform: translateX(4px);
}

/* Top-Right TRENDING Vertical Badge + Bottom-Right Counter 01/03 */
.rm-hero-trending {
    position: absolute;
    right: 85px;
    top: 150px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.rm-hero-trending-line {
    width: 1px;
    height: 30px;
    background: #000000;
}

.rm-hero-trending-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 8px;
    color: #000000;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.rm-hero-counter {
    position: absolute;
    right: 100px;
    bottom: 50px;
    z-index: 10;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.rm-hero-counter-curr {
    font-family: 'Montserrat', sans-serif;
    font-size: 73px;
    font-weight: 700;
    line-height: 1;
    color: #000000;
}

.rm-hero-counter-total {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    letter-spacing: 5px;
    color: #a1a1a1;
}

/* Home Sections */
.rm-section-pad {
    padding-left: 85px;
    padding-right: 85px;
}

.rm-space-welcome {
    padding-top: 120px;
}

.rm-heading-title-lg {
    font-size: 48px;
    line-height: 1.05;
    color: #000000;
    font-weight: 700;
    margin-top: 10px;
}

.rm-heading-subtitle {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: #707070;
    text-transform: uppercase;
    display: block;
}

/* Home Asymmetric Banners (Preserve exact banner.min.css offsets) */
.gf-banner .gf-banner-inner {
    padding: 0;
    pointer-events: none;
}

.gf-banner .gf-banner-content,
.gf-banner .gf-banner-content a {
    pointer-events: auto;
}

.gf-banner .banner-title {
    font-size: 30px;
    font-weight: 700;
    color: #000000;
}

.gf-banner .banner-sub-title {
    display: block;
    font-size: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #707070;
    margin-top: 7px;
    font-weight: 700;
}

.gf-banner .banner-action a {
    color: #000000;
    text-decoration: underline;
    text-underline-offset: 6px;
    padding: 0;
}

.gf-banner .banner-featured-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5em;
    text-transform: uppercase;
}

/* Exact Home-02 Asymmetric Spacers & Column Padding */
.rm-space-65 {
    padding-top: 65px;
}

.rm-space-75 {
    padding-top: 75px;
}

.rm-space-210 {
    padding-top: 210px;
}

.rm-space-245 {
    padding-top: 245px;
}

.rm-col-pad-right-100 {
    padding-right: 100px !important;
}

.rm-col-pad-left-100 {
    padding-left: 100px !important;
}

.rm-row2-pad {
    padding-left: 85px;
    padding-right: 85px;
    margin-bottom: 40px;
}

.gf-banner-pd-left-200.gf-banner.gf-banner-style-04 {
    padding-left: 200px;
}

/* Page Title Banner (Shop, About, Contact, Policy) */
.rm-page-title-banner {
    position: relative;
    background-color: #f6f6f6;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 130px 0 110px;
    text-align: center;
}

.rm-page-title-banner > .container {
    position: relative;
    z-index: 2;
}

.rm-page-title-simple {
    padding: 65px 0 36px;
    text-align: center;
    border-bottom: 1px solid var(--rm-border);
    margin-bottom: 50px;
}

.rm-page-title-heading {
    font-size: 48px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 14px;
}

.rm-breadcrumbs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    color: #888888;
}

.rm-breadcrumbs a {
    color: #000000;
    text-decoration: none;
}

.rm-breadcrumbs a:hover {
    color: var(--rm-accent);
}

/* Catalog Filter Bar */
.gsf-catalog-filter {
    border-top: 1px solid var(--rm-border);
    border-bottom: 1px solid var(--rm-border);
    padding: 18px 0;
    margin-bottom: 40px;
    background: #ffffff;
}

.rm-filter-drawer {
    display: none;
    background: #fafafa;
    border-top: 1px solid var(--rm-border);
    padding: 28px 0 12px;
    margin-top: 18px;
}

.rm-filter-drawer.is-open {
    display: block;
}

.rm-filter-group-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #000000;
    margin-bottom: 14px;
}

.rm-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 220px;
    overflow-y: auto;
}

.rm-filter-list li {
    margin-bottom: 6px;
}

.rm-filter-list a {
    font-size: 14px;
    color: #666666;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
}

.rm-filter-list a:hover,
.rm-filter-list a.active {
    color: var(--rm-accent);
    font-weight: 700;
}

.gf-shop-switch-layout {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    gap: 12px;
}

.gf-shop-switch-layout a {
    color: #a1a1a1;
    font-size: 18px;
}

.gf-shop-switch-layout li.active a,
.gf-shop-switch-layout a:hover {
    color: #000000;
}

/* Single Product Detail */
.rm-single-gallery-main {
    background: #f9f9f9;
    padding: 24px;
    text-align: center;
    margin-bottom: 16px;
}

.rm-single-gallery-main img {
    max-height: 520px;
    object-fit: contain;
}

.rm-single-gallery-thumbs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.rm-single-thumb {
    width: 84px;
    height: 84px;
    border: 2px solid transparent;
    padding: 4px;
    background: #f9f9f9;
    cursor: pointer;
}

.rm-single-thumb.is-active {
    border-color: var(--rm-accent);
}

.rm-single-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rm-spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.rm-spec-table th,
.rm-spec-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--rm-border);
    font-size: 15px;
}

.rm-spec-table th {
    width: 34%;
    color: #000000;
    font-weight: 700;
}

/* Contact Page */
.rm-contact-icon-box {
    padding: 32px 24px;
    border: 1px solid var(--rm-border);
    height: 100%;
    background: #ffffff;
}

.rm-contact-icon-letter {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #000000;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.rm-form-control {
    width: 100%;
    border: none;
    border-bottom: 1px solid #d9d9d9;
    padding: 12px 4px;
    font-size: 15px;
    margin-bottom: 22px;
    outline: none;
    transition: border-color 0.2s ease;
}

.rm-form-control:focus {
    border-bottom-color: #000000;
}