/*
Theme Name: RH Interiors
Theme URI: https://example.com/rh-interiors
Author: RH Interiors
Author URI: https://example.com
Description: A simple multilingual WordPress theme for RH Interiors. Homepage hero images are managed from the homepage editor, services are pulled from the Services post type, menus use native WordPress menus, and demo content supports Polylang languages.
Version: 2.7.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rhinteriors
Tags: custom-design, e-commerce, blog, interior-design, responsive
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg: #e9e1d4;
    --paper: #f6f0e7;
    --ink: #171511;
    --muted: #61594d;
    --line: rgba(23, 21, 17, 0.12);
    --dark: #15130f;
    --cream: #f6f0e7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--ink);
}


/* ------------------------------------------------------------
   Subtle page and scroll animations
------------------------------------------------------------ */
body {
    animation: rh-page-enter 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-header {
    animation: rh-header-enter 680ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rh-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--rh-delay, 0ms);
    will-change: opacity, transform;
}

.rh-reveal.rh-reveal-fast {
    transform: translateY(14px);
}

.rh-reveal.rh-reveal-soft {
    transform: translateY(18px) scale(0.985);
}

.rh-reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.hero-image.rh-reveal,
.gallery-photo.rh-reveal,
.rh-card-image.rh-reveal,
.rh-single-featured.rh-reveal {
    transform: translateY(20px) scale(0.985);
}

.hero-image.rh-reveal.is-visible,
.gallery-photo.rh-reveal.is-visible,
.rh-card-image.rh-reveal.is-visible,
.rh-single-featured.rh-reveal.is-visible {
    transform: translateY(0) scale(1);
}

@keyframes rh-page-enter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rh-header-enter {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    body,
    .site-header,
    .rh-reveal {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

a,
button {
    color: inherit;
    font-family: inherit;
}

a {
    text-decoration: none;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: 72px;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    background: rgba(233, 225, 212, 0.82);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
}

.brand {
    font-size: 14px;
    letter-spacing: 4.5px;
    font-weight: 500;
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    font-size: 11px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    opacity: 0.62;
}

.language-switch {
    justify-self: end;
    display: flex;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 2px;
}

.language-switch a,
.language-switch span {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.52;
}

.language-switch a {
    transition: opacity 0.2s ease;
}

.language-switch a:hover,
.language-switch .is-active {
    opacity: 1;
}

.hero {
    min-height: 100vh;
    padding: 118px 48px 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-top {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    opacity: 0.48;
}

.hero-center {
    max-width: 940px;
    margin: 70px auto 50px;
    text-align: center;
}

h1,
h2,
.dark-card p,
.eta-page-title h1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
}

.hero h1 {
    font-size: clamp(34px, 4.4vw, 66px);
    line-height: 1;
}

.hero-center p {
    max-width: 640px;
    margin: 24px auto 0;
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--muted);
    font-weight: 300;
}

.hero-gallery {
    display: grid;
    grid-template-columns: 0.75fr 1.5fr 0.75fr;
    gap: 18px;
    align-items: end;
}

.hero-image {
    background-size: cover;
    background-position: center;
    filter: saturate(0.82) contrast(0.94);
}

.hero-image-left {
    height: 340px;
    background-image: url("https://images.unsplash.com/photo-1618220179428-22790b461013?auto=format&fit=crop&w=900&q=80");
}

.hero-image-main {
    height: 500px;
    background-image: url("https://images.unsplash.com/photo-1600210492493-0946911123ea?auto=format&fit=crop&w=1500&q=80");
}

.hero-image-right {
    height: 280px;
    background-image: url("https://images.unsplash.com/photo-1616046229478-9901c5536a45?auto=format&fit=crop&w=900&q=80");
}

.atelier-section,
.gallery-section,
.stores-section,
.services-section,
.contact-section {
    padding: 96px 48px;
    border-top: 1px solid var(--line);
}

.atelier-section {
    background: var(--paper);
}

.section-header {
    margin-bottom: 0;
}

.section-header-content p {
    max-width: 740px;
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.85;
    color: var(--muted);
    font-weight: 300;
}

.section-number,
.section-heading span,
.services-content > span,
.contact-section > span,
.chapter {
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    opacity: 0.5;
}

.chapter {
    display: inline-block;
    margin-bottom: 22px;
}

.section-content h2,
.section-heading h2,
.services-content h2,
.contact-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(28px, 3.2vw, 48px);
    line-height: 1.02;
    font-weight: 400;
}

.section-content p {
    max-width: 740px;
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.85;
    color: var(--muted);
    font-weight: 300;
}

.section-heading {
    display: grid;
    grid-template-columns: 0.55fr 1.45fr;
    gap: 80px;
    margin-bottom: 52px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 0.75fr 0.75fr;
    grid-auto-rows: 250px;
    gap: 18px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-photo {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.gallery-one {
    background-image: url("https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?auto=format&fit=crop&w=1000&q=80");
}

.gallery-two {
    background-image: url("https://images.unsplash.com/photo-1615874694520-474822394e73?auto=format&fit=crop&w=900&q=80");
}

.gallery-three {
    background-image: url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1400&q=80");
}

.gallery-item > span {
    position: absolute;
    left: 22px;
    bottom: 20px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cream);
}

.dark-card {
    padding: 28px;
    background: var(--dark);
    color: var(--cream);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dark-card span {
    position: static;
    opacity: 0.48;
}

.dark-card p {
    font-size: clamp(24px, 2.6vw, 38px);
    line-height: 1.02;
}

.store-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.store-card {
    min-height: 300px;
    background: rgba(246, 240, 231, 0.55);
    border: 1px solid var(--line);
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
    transition: 0.35s;
}

button.store-card {
    border: 1px solid var(--line);
}

.store-card:hover {
    background: var(--dark);
    color: var(--cream);
    transform: translateY(-4px);
}

.store-card span {
    font-size: 12px;
    opacity: 0.42;
}

.store-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 400;
}

.store-card p {
    max-width: 520px;
    font-size: 15.5px;
    line-height: 1.8;
    color: inherit;
    opacity: 0.75;
    font-weight: 300;
}

.store-card small {
    margin-top: 24px;
    font-size: 12px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    opacity: 0.7;
}

.services-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 58px;
    align-items: center;
    background: var(--paper);
}

.services-image {
    height: 580px;
    background-size: cover;
    background-position: center;
    background-image: url("https://images.unsplash.com/photo-1600566753086-00f18fb6b3ea?auto=format&fit=crop&w=1200&q=80");
}

.services-content h2 {
    margin-top: 22px;
}

.service-rows {
    margin-top: 48px;
    border-top: 1px solid var(--line);
}

.service-rows div {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.service-rows strong {
    display: block;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 8px;
}

.service-rows p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 300;
}

.contact-section {
    text-align: center;
    background: var(--bg);
}

.contact-section p {
    max-width: 600px;
    margin: 22px auto 0;
    color: var(--muted);
    line-height: 1.8;
    font-size: 15.5px;
}

.contact-grid {
    margin: 46px auto 0;
    max-width: 980px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.contact-grid a {
    display: block;
    color: inherit;
    text-decoration: none;
    background: rgba(246, 240, 231, 0.46);
    border: 1px solid var(--line);
    padding: 28px;
    text-align: left;
    min-height: 138px;
    transition: 0.3s;
}

.contact-grid a:hover {
    background: var(--dark);
    color: var(--cream);
}

.contact-grid span {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.55;
    margin-bottom: 14px;
}

.contact-grid strong {
    display: block;
    font-size: 17px;
    font-weight: 400;
}

.contact-grid p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.7;
    color: inherit;
    opacity: 0.72;
}

.location-card {
    grid-column: span 2;
}

.location-card strong {
    margin-top: 18px;
}

.contact-grid a p + strong {
    margin-top: 18px;
}


/* ETA PAGE */

.eta-page {
    display: none;
    min-height: 100vh;
    padding: 118px 48px 96px;
    background: var(--paper);
}

.eta-page-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    opacity: 0.65;
}

.eta-page-top button {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 11px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.eta-page-title {
    max-width: 900px;
    margin: 72px auto 58px;
    text-align: center;
}

.eta-page-title h1 {
    font-size: clamp(38px, 4.4vw, 68px);
    line-height: 1;
}

.eta-page-title p {
    max-width: 620px;
    margin: 22px auto 0;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.8;
}

.eta-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.eta-product-card {
    background: rgba(233, 225, 212, 0.42);
    border: 1px solid var(--line);
    display: block;
    overflow: hidden;
    transition: 0.35s;
}

.eta-product-card:hover {
    transform: translateY(-4px);
    background: rgba(233, 225, 212, 0.72);
}

.eta-product-image {
    height: 260px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--line);
}

.eta-product-card span {
    display: block;
    margin: 18px 20px 10px;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.48;
}

.eta-product-card h3 {
    padding: 0 20px 22px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 27px;
    line-height: 1;
}

/* Gerçek Eta Concept ürün görselleri */
.eta-img-one {
    background-image: url("https://www.etaconcept.com/images/urunler/buyuk_resim/16a1ff6f95160c_thump.webp");
}

.eta-img-marcado {
    background-image: url("https://www.etaconcept.com/images/urunler/buyuk_resim/16a1ff95a5b37e_thump.webp");
}

.eta-img-espacio {
    background-image: url("https://www.etaconcept.com/images/urunler/buyuk_resim/16a1ffa5149139_thump.webp");
}

.eta-img-picante {
    background-image: url("https://www.etaconcept.com/images/urunler/buyuk_resim/16a1ffc0f3d842_thump.webp");
}

.eta-img-smoked {
    background-image: url("https://www.etaconcept.com/images/urunler/buyuk_resim/16a1ffd357649a_thump.webp");
}

.eta-img-pedazo {
    background-image: url("https://www.etaconcept.com/images/urunler/buyuk_resim/16a1ffdebb6895_thump.webp");
}

.eta-img-gredo {
    background-image: url("https://www.etaconcept.com/images/urunler/buyuk_resim/16a1fff06431e5_thump.webp");
}

.eta-img-loseta {
    background-image: url("https://www.etaconcept.com/images/urunler/buyuk_resim/16a2004deda2d2_thump.webp");
}

.eta-img-viento {
    background-image: url("https://www.etaconcept.com/images/urunler/buyuk_resim/16a200f2c7ce7c_thump.webp");
}

.eta-img-tufo {
    background-image: url("https://www.etaconcept.com/images/urunler/buyuk_resim/16679a7772c01a_800.webp");
}

.eta-img-rio {
    background-image: url("https://www.etaconcept.com/images/urunler/buyuk_resim/16a201027cfd4f_thump.webp");
}

.eta-img-seroza {
    background-image: url("https://www.etaconcept.com/images/urunler/buyuk_resim/16a201536ac947_thump.webp");
}

/* Valle için direkt görsel linki eksik; şimdilik diğerlerinden biriyle geçici gösteriliyor */
.eta-img-valle {
    background-image: url("https://www.etaconcept.com/images/urunler/buyuk_resim/16a201536ac947_thump.webp");
}

footer {
    padding: 34px 48px;
    display: flex;
    justify-content: space-between;
    background: var(--dark);
    color: var(--cream);
}

footer strong {
    letter-spacing: 4px;
    font-weight: 500;
}

footer span {
    opacity: 0.55;
    font-weight: 300;
}

@media (max-width: 950px) {
    .site-header {
        height: 68px;
        padding: 0 22px;
        grid-template-columns: 1fr auto;
    }

    nav {
        display: none;
    }

    .hero,
    .eta-page {
        padding: 104px 22px 34px;
    }

    .hero-top,
    .eta-page-top {
        gap: 14px;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-center {
        margin: 52px auto 42px;
        text-align: left;
    }

    .hero-gallery,
    .atelier-section,
    .section-heading,
    .services-section,
    .store-grid,
    .contact-grid,
    .eta-product-grid {
        grid-template-columns: 1fr;
    }

    .hero-image-left,
    .hero-image-right {
        display: none;
    }

    .hero-image-main {
        height: 420px;
    }

    .atelier-section,
    .gallery-section,
    .stores-section,
    .services-section,
    .contact-section {
        padding: 74px 22px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 310px;
    }

    .gallery-item.tall,
    .gallery-item.wide,
    .location-card {
        grid-row: auto;
        grid-column: auto;
    }

    .services-image {
        height: 410px;
    }

    .eta-product-image {
        height: 330px;
    }

    footer {
        padding: 30px 22px;
        flex-direction: column;
        gap: 16px;
    }
}

/* WordPress integration */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.site-header nav ul,
.primary-nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.site-header nav li,
.primary-nav li { margin: 0; }

.current-menu-item > a,
.current_page_item > a { opacity: 1; }

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.rh-page-shell,
.rh-blog-shell,
.rh-single-shell {
    min-height: 100vh;
    padding: 118px 48px 96px;
    background: var(--paper);
}

.rh-page-head,
.rh-archive-head {
    max-width: 940px;
    margin: 0 auto 58px;
    text-align: center;
}

.rh-kicker,
.rh-page-head span,
.rh-archive-head span {
    display: block;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 20px;
}

.rh-page-head h1,
.rh-archive-head h1,
.rh-single-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(38px, 4.4vw, 68px);
    line-height: 1;
    font-weight: 400;
}

.rh-page-head p,
.rh-archive-head p {
    max-width: 640px;
    margin: 22px auto 0;
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--muted);
    font-weight: 300;
}

.rh-content,
.rh-single-content {
    max-width: 860px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.9;
    color: var(--muted);
}

.rh-content p,
.rh-single-content p { margin-bottom: 1.2em; }

.rh-content a,
.rh-single-content a { text-decoration: underline; text-underline-offset: 4px; }

.rh-blog-grid,
.rh-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 1180px;
    margin: 0 auto;
}

.rh-post-card,
.rh-portfolio-card {
    background: rgba(246, 240, 231, 0.55);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    min-height: 320px;
    overflow: hidden;
    transition: 0.35s;
}

.rh-post-card:hover,
.rh-portfolio-card:hover {
    transform: translateY(-4px);
    background: var(--dark);
    color: var(--cream);
}

.rh-card-image {
    min-height: 220px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--line);
    filter: saturate(0.82) contrast(0.94);
}

.rh-card-body { padding: 28px; }

.rh-card-meta {
    display: block;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.55;
    margin-bottom: 16px;
}

.rh-card-body h2,
.rh-card-body h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(26px, 2.5vw, 38px);
    line-height: 1;
    font-weight: 400;
    margin-bottom: 16px;
}

.rh-card-body p {
    color: inherit;
    opacity: 0.74;
    font-size: 15px;
    line-height: 1.75;
    font-weight: 300;
}

.rh-read-more {
    display: inline-block;
    margin-top: 20px;
    font-size: 11px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    opacity: 0.68;
}

.rh-pagination {
    max-width: 1180px;
    margin: 46px auto 0;
    display: flex;
    gap: 12px;
    justify-content: center;
    font-size: 13px;
}

.rh-pagination .page-numbers {
    border: 1px solid var(--line);
    padding: 10px 14px;
    background: rgba(246, 240, 231, 0.52);
}

.rh-pagination .current {
    background: var(--dark);
    color: var(--cream);
}

.rh-single-meta {
    text-align: center;
    margin: 18px 0 48px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.5;
}

.rh-featured-image {
    max-width: 1180px;
    margin: 0 auto 54px;
}

.rh-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: saturate(0.82) contrast(0.94);
}

.rh-portfolio-page {
    display: block !important;
}

.rh-portfolio-intro {
    max-width: 980px;
    margin: 0 auto 58px;
    text-align: center;
}

.rh-portfolio-intro h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(38px, 4.4vw, 68px);
    line-height: 1;
    font-weight: 400;
}

.rh-portfolio-intro p {
    max-width: 660px;
    margin: 22px auto 0;
    color: var(--muted);
    line-height: 1.8;
    font-weight: 300;
}

.rh-product-strip {
    max-width: 1180px;
    margin: 74px auto 0;
    border-top: 1px solid var(--line);
    padding-top: 48px;
}

.rh-product-strip h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 3vw, 52px);
    line-height: 1;
    font-weight: 400;
    margin-bottom: 26px;
}

.rh-product-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.rh-product-list a {
    min-height: 150px;
    padding: 22px;
    border: 1px solid var(--line);
    background: rgba(233, 225, 212, 0.42);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s;
}

.rh-product-list a:hover {
    background: var(--dark);
    color: var(--cream);
    transform: translateY(-3px);
}

.rh-product-list span {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.48;
}

.rh-product-list strong {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 28px;
    line-height: 1;
}

.rh-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(21, 19, 15, 0.42);
    z-index: 900;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.rh-popup-overlay.is-visible { display: flex; }

.rh-popup {
    width: min(520px, 100%);
    background: var(--paper);
    border: 1px solid rgba(23, 21, 17, 0.18);
    padding: 36px;
    position: relative;
    box-shadow: 0 28px 90px rgba(0,0,0,0.18);
}

.rh-popup-close {
    position: absolute;
    right: 18px;
    top: 14px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    opacity: 0.55;
}

.rh-popup span {
    display: block;
    font-size: 10px;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 18px;
}

.rh-popup h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1;
    font-weight: 400;
    margin-bottom: 18px;
}

.rh-popup p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--muted);
    font-weight: 300;
}

.rh-popup-cta {
    margin-top: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    background: var(--dark);
    color: var(--cream);
    font-size: 11px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.rh-whatsapp-fixed {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 850;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: #15130f;
    color: #f6f0e7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 40px rgba(0,0,0,0.22);
    border: 1px solid rgba(246, 240, 231, 0.24);
    transition: 0.3s;
}

.rh-whatsapp-fixed:hover {
    transform: translateY(-4px);
}

.rh-whatsapp-fixed svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.rh-empty-state {
    max-width: 760px;
    margin: 0 auto;
    padding: 42px;
    border: 1px solid var(--line);
    background: rgba(246, 240, 231, 0.55);
    text-align: center;
    color: var(--muted);
    line-height: 1.8;
}



/* Manageable WordPress menus */
.language-switch .language-menu,
.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.language-switch .language-menu a {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.52;
}

.site-footer {
    align-items: center;
    gap: 28px;
}

.site-footer-branding {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-nav {
    margin-left: auto;
}

.footer-nav ul {
    gap: 22px;
}

.footer-nav a {
    color: var(--cream);
    opacity: 0.62;
    font-size: 11px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.footer-nav a:hover { opacity: 1; }

.rh-contact-form-panel {
    max-width: 980px;
    margin: 46px auto 0;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 18px;
    text-align: left;
}

.rh-contact-form-copy,
.rh-contact-form-wrap {
    background: rgba(246, 240, 231, 0.52);
    border: 1px solid var(--line);
    padding: 34px;
}

.rh-contact-form-copy span {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 18px;
}

.rh-contact-form-copy h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1;
    font-weight: 400;
    margin-bottom: 16px;
}

.rh-contact-form-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.rh-contact-page-content {
    margin-top: 42px;
}

/* Contact Form 7 design */

.rh-contact-form-wrap .rh-cf7-grid,
.contact-section .rh-content .rh-cf7-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.rh-contact-form-wrap .wpcf7,
.contact-section .rh-content .wpcf7 {
    width: 100%;
}

.rh-contact-form-wrap .wpcf7 form,
.contact-section .rh-content .wpcf7 form {
    display: grid;
    gap: 16px;
}

.rh-contact-form-wrap .wpcf7 p,
.contact-section .rh-content .wpcf7 p {
    margin: 0;
    max-width: none;
}

.rh-contact-form-wrap .wpcf7 label,
.contact-section .rh-content .wpcf7 label {
    display: grid;
    gap: 9px;
    font-size: 11px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(23, 21, 17, 0.62);
}

.rh-contact-form-wrap .wpcf7 input:not([type="submit"]),
.rh-contact-form-wrap .wpcf7 textarea,
.rh-contact-form-wrap .wpcf7 select,
.contact-section .rh-content .wpcf7 input:not([type="submit"]),
.contact-section .rh-content .wpcf7 textarea,
.contact-section .rh-content .wpcf7 select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 0;
    background: rgba(233, 225, 212, 0.44);
    min-height: 48px;
    padding: 14px 16px;
    color: var(--ink);
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.rh-contact-form-wrap .wpcf7 textarea,
.contact-section .rh-content .wpcf7 textarea {
    min-height: 132px;
    resize: vertical;
}

.rh-contact-form-wrap .wpcf7 input:focus,
.rh-contact-form-wrap .wpcf7 textarea:focus,
.rh-contact-form-wrap .wpcf7 select:focus,
.contact-section .rh-content .wpcf7 input:focus,
.contact-section .rh-content .wpcf7 textarea:focus,
.contact-section .rh-content .wpcf7 select:focus {
    border-color: rgba(23, 21, 17, 0.38);
    background: rgba(246, 240, 231, 0.75);
}

.rh-contact-form-wrap .wpcf7-submit,
.contact-section .rh-content .wpcf7-submit {
    min-height: 50px;
    border: 1px solid var(--dark);
    background: var(--dark);
    color: var(--cream);
    padding: 0 26px;
    font-size: 11px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.rh-contact-form-wrap .wpcf7-submit:hover,
.contact-section .rh-content .wpcf7-submit:hover {
    transform: translateY(-2px);
}

.rh-contact-form-wrap .wpcf7-spinner,
.contact-section .rh-content .wpcf7-spinner {
    margin-left: 12px;
}

.rh-contact-form-wrap .wpcf7-not-valid-tip,
.contact-section .rh-content .wpcf7-not-valid-tip {
    margin-top: 8px;
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
    color: #8c3329;
}

.rh-contact-form-wrap .wpcf7 form .wpcf7-response-output,
.contact-section .rh-content .wpcf7 form .wpcf7-response-output {
    margin: 6px 0 0;
    padding: 14px 16px;
    border: 1px solid var(--line);
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 950px) {
    .site-header nav ul,
    .primary-nav ul { display: none; }

    .rh-page-shell,
    .rh-blog-shell,
    .rh-single-shell {
        padding: 104px 22px 74px;
    }

    .rh-blog-grid,
    .rh-portfolio-grid,
    .rh-product-list {
        grid-template-columns: 1fr;
    }

    .rh-card-image { min-height: 280px; }
    .rh-popup { padding: 32px 24px; }
    .rh-whatsapp-fixed { right: 16px; bottom: 16px; }
}


@media (max-width: 950px) {
    .site-footer {
        align-items: flex-start;
    }

    .footer-nav {
        margin-left: 0;
        width: 100%;
    }

    .footer-nav ul {
        flex-wrap: wrap;
    }

    .rh-contact-form-panel {
        grid-template-columns: 1fr;
    }

    .rh-contact-form-copy,
    .rh-contact-form-wrap {
        padding: 28px 22px;
    }
}

.rh-home-editor-content {
    padding: 96px 48px;
    border-top: 1px solid var(--line);
    background: var(--paper);
}

@media (max-width: 950px) {
    .rh-home-editor-content {
        padding: 74px 22px;
    }
}

/* RH managed services module */
.rh-service-row-link {
    display: block;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.rh-service-row-link:hover {
    opacity: 0.72;
    transform: translateX(6px);
}

.rh-inline-cta {
    display: inline-flex;
    margin-top: 32px;
    padding: 14px 22px;
    border: 1px solid var(--dark);
    color: var(--dark);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.rh-services-page {
    display: block;
}

.rh-services-page-content {
    margin-top: 24px;
}

.rh-service-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.rh-service-card {
    min-height: 360px;
    border: 1px solid var(--line);
    background: rgba(233, 225, 212, 0.42);
    display: flex;
    flex-direction: column;
}

.rh-service-card-image {
    display: block;
    height: 260px;
    overflow: hidden;
}

.rh-service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.82) contrast(0.94);
    transition: transform 0.4s ease;
}

.rh-service-card:hover .rh-service-card-image img {
    transform: scale(1.04);
}

.rh-service-card-copy {
    padding: 30px;
}

.rh-service-card-copy span {
    display: block;
    margin-bottom: 18px;
    font-size: 12px;
    opacity: 0.45;
}

.rh-service-card-copy h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 18px;
}

.rh-service-card-copy h2 a,
.rh-card-link,
.rh-back-link a {
    color: inherit;
    text-decoration: none;
}

.rh-service-card-copy p {
    color: var(--muted);
    line-height: 1.75;
    font-weight: 300;
}

.rh-card-link,
.rh-back-link a {
    display: inline-block;
    margin-top: 24px;
    font-size: 11px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    border-bottom: 1px solid currentColor;
    padding-bottom: 5px;
}

.rh-empty-state,
.rh-back-link {
    max-width: 900px;
    margin: 36px auto 0;
    text-align: center;
    color: var(--muted);
}

@media (max-width: 760px) {
    .rh-service-grid {
        grid-template-columns: 1fr;
    }
}

/* Simplified v2 refinements */
.language-switch ul {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.language-switch li { margin: 0; }
.language-switch .current-lang a { opacity: 1; }

.rh-blog-card {
    background: rgba(246, 240, 231, 0.55);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    min-height: 320px;
    overflow: hidden;
    transition: 0.35s;
}

.rh-blog-card:hover {
    transform: translateY(-4px);
    background: var(--dark);
    color: var(--cream);
}

.rh-blog-card > div,
.rh-portfolio-card > div {
    padding: 28px;
}

.rh-blog-card-image,
.rh-portfolio-card-image {
    display: block;
    overflow: hidden;
    min-height: 220px;
    border-bottom: 1px solid var(--line);
}

.rh-blog-card-image img,
.rh-portfolio-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    filter: saturate(0.82) contrast(0.94);
}

.rh-portfolio-card-placeholder {
    background-image: url("https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?auto=format&fit=crop&w=1000&q=80");
    background-size: cover;
    background-position: center;
}


.rh-single-page,
.rh-service-single,
.rh-contact-page {
    padding: 132px 48px 80px;
}

.rh-single-article,
.rh-service-single .rh-portfolio-intro {
    max-width: 860px;
    margin: 0 auto;
}

.rh-single-featured img {
    width: 100%;
    height: auto;
    display: block;
    margin: 32px 0;
}

.rh-social-nav ul {
    list-style: none;
    display: flex;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.rtl .site-header,
.rtl .hero-top,
.rtl .contact-grid,
.rtl .site-footer {
    direction: rtl;
}

@media (max-width: 900px) {
    .rh-blog-grid,
    .rh-portfolio-grid {
        grid-template-columns: 1fr;
    }

    .rh-single-page,
    .rh-service-single,
    .rh-contact-page {
        padding: 116px 22px 64px;
    }
}

/* RH v2.0.3 listing, detail, homepage blog and gallery refinements */
.rh-listing-page,
.rh-portfolio-page.rh-listing-page,
.rh-blog-page.rh-listing-page,
.rh-gallery-archive-page {
    padding: 138px 48px 118px;
    min-height: 100vh;
    background: var(--paper);
}

.rh-listing-page .rh-portfolio-intro {
    margin-bottom: 72px;
}

.rh-listing-page .rh-portfolio-grid,
.rh-listing-page .rh-blog-grid {
    margin-bottom: 18px;
}

.rh-blog-page .rh-blog-grid,
.rh-home-blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rh-blog-page .rh-blog-card h2 a,
.rh-portfolio-card h2 a,
.rh-gallery-card h2 a {
    color: inherit;
    text-decoration: none;
}

.rh-home-blog-section {
    padding: 110px 48px 118px;
    background: var(--paper);
    border-top: 1px solid rgba(23, 21, 17, 0.08);
}

.rh-home-blog-section .section-heading {
    margin-bottom: 54px;
}

.rh-home-blog-section .section-heading p {
    max-width: 620px;
    margin: 18px auto 0;
    color: var(--muted);
    line-height: 1.8;
    font-weight: 300;
}

.rh-dynamic-gallery-section .gallery-photo-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.rh-gallery-entry .gallery-photo {
    background-size: cover;
    background-position: center;
}

.rh-gallery-entry .gallery-photo:not([style]) {
    background-image: url("https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?auto=format&fit=crop&w=1200&q=80");
}

.rh-portfolio-single-page {
    padding: 138px 48px 118px;
    background: var(--paper);
    min-height: 100vh;
}

.rh-portfolio-detail {
    max-width: 1240px;
    margin: 0 auto;
}

.rh-portfolio-detail-head {
    max-width: 980px;
    margin: 0 auto 62px;
    text-align: center;
}

.rh-portfolio-detail-head h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(42px, 5.4vw, 86px);
    font-weight: 400;
    line-height: 0.98;
    margin: 0;
}

.rh-portfolio-detail-head p {
    max-width: 660px;
    margin: 24px auto 0;
    color: var(--muted);
    line-height: 1.8;
    font-weight: 300;
}

.rh-portfolio-detail-hero {
    width: 100%;
    min-height: 560px;
    margin: 0 0 62px;
    background-image: url("https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?auto=format&fit=crop&w=1800&q=80");
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.rh-portfolio-detail-hero img {
    display: block;
    width: 100%;
    height: 640px;
    object-fit: cover;
    filter: saturate(0.82) contrast(0.94);
}

.rh-portfolio-detail-body {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 72px;
    align-items: start;
}

.rh-portfolio-detail-meta {
    border: 1px solid var(--line);
    background: rgba(246, 240, 231, 0.52);
    padding: 30px;
    position: sticky;
    top: 104px;
}

.rh-portfolio-detail-meta > span {
    display: block;
    margin-bottom: 24px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.55;
}

.rh-portfolio-detail-meta dl {
    margin: 0;
}

.rh-portfolio-detail-meta dt {
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    opacity: 0.55;
}

.rh-portfolio-detail-meta dd {
    margin: 0 0 22px;
    color: var(--muted);
    line-height: 1.6;
}

.rh-portfolio-detail-meta a {
    color: inherit;
}

.rh-portfolio-detail-content {
    max-width: none;
    font-size: 17px;
}

.rh-gallery-detail-body {
    display: block;
    max-width: 860px;
    margin: 0 auto;
}

@media (max-width: 950px) {
    .rh-listing-page,
    .rh-portfolio-page.rh-listing-page,
    .rh-blog-page.rh-listing-page,
    .rh-gallery-archive-page,
    .rh-portfolio-single-page {
        padding: 112px 22px 78px;
    }

    .rh-blog-page .rh-blog-grid,
    .rh-home-blog-grid,
    .rh-listing-page .rh-portfolio-grid {
        grid-template-columns: 1fr;
    }

    .rh-home-blog-section {
        padding: 78px 22px 84px;
    }

    .rh-portfolio-detail-hero,
    .rh-portfolio-detail-hero img {
        min-height: 360px;
        height: 360px;
    }

    .rh-portfolio-detail-body {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .rh-portfolio-detail-meta {
        position: static;
    }
}


/* RH v2.0.4 page headers, blog sidebar and static gallery refinements */
.rh-portfolio-page.rh-listing-page,
.rh-services-page.rh-listing-page,
.rh-contact-page.rh-listing-page,
.rh-blog-page.rh-listing-page,
.rh-portfolio-term-page.rh-listing-page,
.rh-single-page.rh-blog-single-page {
    padding: 138px 48px 118px;
    min-height: 100vh;
    background: var(--paper);
}

.rh-listing-page .rh-portfolio-intro,
.rh-blog-single-page .rh-portfolio-intro {
    max-width: 980px;
    margin: 0 auto 72px;
    text-align: center;
}

.rh-contact-content-section {
    max-width: 1180px;
    margin: 0 auto;
}

.rh-contact-content-section .contact-grid {
    margin-bottom: 28px;
}

.rh-blog-layout,
.rh-blog-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 48px;
    max-width: 1180px;
    margin: 0 auto;
    align-items: start;
}

.rh-blog-layout .rh-blog-grid {
    max-width: none;
    margin: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rh-blog-main .rh-pagination {
    max-width: none;
}

.rh-blog-sidebar {
    position: sticky;
    top: 104px;
}

.rh-sidebar-card {
    border: 1px solid var(--line);
    background: rgba(233, 225, 212, 0.46);
    padding: 30px;
}

.rh-sidebar-card h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(30px, 2.6vw, 42px);
    font-weight: 400;
    line-height: 1;
    margin: 0 0 24px;
}

.rh-recent-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rh-recent-posts li + li {
    border-top: 1px solid var(--line);
}

.rh-recent-posts a {
    display: block;
    padding: 18px 0;
    color: inherit;
    text-decoration: none;
}

.rh-recent-posts span {
    display: block;
    margin-bottom: 8px;
    font-size: 10px;
    letter-spacing: 1.7px;
    text-transform: uppercase;
    color: var(--muted);
}

.rh-recent-posts strong {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    line-height: 1.08;
    font-weight: 400;
}

.rh-blog-detail-layout .rh-single-article {
    max-width: none;
    margin: 0;
}

.rh-single-featured {
    width: 100%;
    margin: 0 0 42px;
    background: var(--bg);
    overflow: hidden;
}

.rh-single-featured img {
    width: 100%;
    height: min(58vw, 620px);
    min-height: 380px;
    object-fit: cover;
    display: block;
    filter: saturate(0.82) contrast(0.94);
    margin: 0;
}

.rh-single-featured-placeholder {
    height: min(58vw, 620px);
    min-height: 380px;
    background-image: url("https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?auto=format&fit=crop&w=1800&q=80");
    background-size: cover;
    background-position: center;
    filter: saturate(0.82) contrast(0.94);
}

.rh-blog-single-page .rh-content {
    max-width: none;
    font-size: 17px;
}

.rh-blog-single-page .rh-content h2 {
    margin: 1.8em 0 0.65em;
    font-size: clamp(30px, 3vw, 46px);
}

.gallery-section .gallery-item:not(.dark-card) .gallery-photo {
    background-size: cover;
    background-position: center;
}

@media (max-width: 950px) {
    .rh-portfolio-page.rh-listing-page,
    .rh-services-page.rh-listing-page,
    .rh-contact-page.rh-listing-page,
    .rh-blog-page.rh-listing-page,
    .rh-portfolio-term-page.rh-listing-page,
    .rh-single-page.rh-blog-single-page {
        padding: 112px 22px 78px;
    }

    .rh-blog-layout,
    .rh-blog-detail-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .rh-blog-layout .rh-blog-grid {
        grid-template-columns: 1fr;
    }

    .rh-blog-sidebar {
        position: static;
    }

    .rh-single-featured img,
    .rh-single-featured-placeholder {
        min-height: 320px;
        height: 360px;
    }
}


/* RH v2.0.6 mobile navigation, hero carousel and mobile blog carousel */
.mobile-menu-toggle,
.mobile-menu,
.mobile-menu-backdrop,
.hero-carousel-dots {
    display: none;
}

.site-header > .brand {
    grid-column: 1;
}

.site-header > .primary-nav {
    grid-column: 2;
    justify-self: center;
}

.site-header > .language-switch {
    grid-column: 3;
}

.mobile-menu-toggle {
    appearance: none;
    border: 0;
    background: transparent;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0;
    color: inherit;
    cursor: pointer;
}

.mobile-menu-toggle-lines {
    display: grid;
    gap: 6px;
    width: 26px;
}

.mobile-menu-toggle-lines span {
    display: block;
    height: 1px;
    background: currentColor;
    transform-origin: center;
}

.mobile-menu-toggle-text {
    font-size: 10px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    opacity: 0.68;
}

.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 140;
    background: rgba(18, 16, 12, 0.38);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.32s ease;
}

.mobile-menu {
    position: fixed;
    z-index: 150;
    inset: 0 auto 0 0;
    width: min(88vw, 390px);
    background: var(--paper);
    color: var(--ink);
    border-right: 1px solid var(--line);
    transform: translateX(-104%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 24px 0 80px rgba(23, 21, 17, 0.18);
}

.mobile-menu-inner {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding: 28px 26px 34px;
}

.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line);
}

.mobile-menu-head span {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.mobile-menu-close {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: rgba(233, 225, 212, 0.36);
    color: inherit;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.mobile-nav {
    display: block;
    padding: 34px 0;
}

.mobile-nav ul {
    list-style: none;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
}

.mobile-nav li {
    margin: 0;
    border-bottom: 1px solid var(--line);
}

.mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    opacity: 1;
}

.mobile-nav a::after {
    content: '→';
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    opacity: 0.42;
}

.mobile-menu-language {
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.mobile-menu-language > span {
    display: block;
    margin-bottom: 16px;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
}

.language-switch--mobile,
.mobile-menu .language-switch {
    justify-self: start;
    gap: 12px;
    font-size: 12px;
}

.mobile-menu .language-switch ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mobile-menu .language-switch a,
.mobile-menu .language-switch span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    background: rgba(233, 225, 212, 0.34);
    opacity: 0.74;
}

.mobile-menu .language-switch .current-lang a,
.mobile-menu .language-switch .is-active {
    background: var(--dark);
    color: var(--cream);
    opacity: 1;
}

body.rh-mobile-menu-open {
    overflow: hidden;
}

body.rh-mobile-menu-open .mobile-menu-backdrop {
    opacity: 1;
    pointer-events: auto;
}

body.rh-mobile-menu-open .mobile-menu {
    transform: translateX(0);
}

@media (max-width: 950px) {
    .site-header {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 16px;
        height: 68px;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        grid-column: 1;
        justify-self: start;
    }

    .site-header > .brand {
        grid-column: 2;
        justify-self: start;
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        letter-spacing: 3px;
    }

    .site-header > .primary-nav,
    .site-header > .language-switch--desktop {
        display: none !important;
    }

    .mobile-menu,
    .mobile-menu-backdrop {
        display: block;
    }

    .admin-bar .mobile-menu {
        top: 46px;
    }

    .hero-gallery[data-rh-hero-carousel="true"] {
        display: block;
        position: relative;
        height: min(72vh, 460px);
        min-height: 360px;
        overflow: hidden;
        border: 1px solid rgba(23, 21, 17, 0.08);
        background: var(--paper);
    }

    .hero-gallery[data-rh-hero-carousel="true"] .hero-image {
        display: block !important;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100% !important;
        opacity: 0;
        transform: scale(1.025);
        transition: opacity 0.72s ease, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
        pointer-events: none;
    }

    .hero-gallery[data-rh-hero-carousel="true"] .hero-image.is-active {
        opacity: 1;
        transform: scale(1);
        pointer-events: auto;
        z-index: 1;
    }

    .hero-carousel-dots {
        position: absolute;
        z-index: 3;
        left: 50%;
        bottom: 18px;
        transform: translateX(-50%);
        display: flex;
        gap: 9px;
        align-items: center;
        justify-content: center;
        padding: 8px 10px;
        border: 1px solid rgba(246, 240, 231, 0.35);
        background: rgba(21, 19, 15, 0.22);
        backdrop-filter: blur(12px);
    }

    .hero-carousel-dots button {
        width: 7px;
        height: 7px;
        border: 0;
        border-radius: 999px;
        background: rgba(246, 240, 231, 0.54);
        padding: 0;
        cursor: pointer;
    }

    .hero-carousel-dots button.is-active {
        width: 22px;
        background: var(--cream);
    }
}

@media (max-width: 760px) {
    .rh-home-blog-grid {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 22px 18px 0;
        margin-right: -22px;
        scrollbar-width: thin;
    }

    .rh-home-blog-grid > * {
        flex: 0 0 84%;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .rh-home-blog-grid .rh-blog-card {
        min-height: 100%;
    }

    .rh-home-blog-section .section-heading {
        margin-bottom: 34px;
    }
}

@media (max-width: 480px) {
    .mobile-menu {
        width: 90vw;
    }

    .mobile-nav a {
        font-size: 30px;
    }

    .rh-home-blog-grid > * {
        flex-basis: 88%;
    }
}

@media (min-width: 783px) and (max-width: 950px) {
    .admin-bar .mobile-menu {
        top: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-menu,
    .mobile-menu-backdrop,
    .hero-gallery[data-rh-hero-carousel="true"] .hero-image {
        transition: none !important;
    }
}


/* RH v2.0.7 mobile menu label removal and homepage heading alignment */
.mobile-menu-toggle {
    gap: 0;
    width: 44px;
    height: 44px;
    justify-content: center;
}

.mobile-menu-toggle-text {
    display: none !important;
}

.home .section-heading {
    align-items: start;
}

.home .section-heading > span {
    grid-column: 1;
    grid-row: 1;
    display: block;
}

.home .section-heading > h2 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
}

.home .section-heading > p {
    grid-column: 2;
    margin: 18px 0 0;
    max-width: 620px;
    color: var(--muted);
    line-height: 1.8;
    font-weight: 300;
    text-align: left;
}

.rh-home-blog-section .section-heading {
    margin-bottom: 52px;
}

.rh-home-blog-section .section-heading p {
    margin: 18px 0 0;
    max-width: 620px;
}

.rh-home-blog-section .rh-blog-grid {
    align-items: stretch;
}

.rh-home-blog-section .rh-blog-card {
    height: 100%;
}

.contact-section {
    text-align: left;
}

.contact-section > span,
.contact-section > h2,
.contact-section > p {
    display: block;
    max-width: 760px;
    margin-left: 0;
    margin-right: 0;
}

.contact-section > h2 {
    margin-top: 0;
}

.contact-section > p {
    max-width: 620px;
}

.contact-grid {
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 950px) {
    .mobile-menu-toggle {
        width: 42px;
        height: 42px;
    }

    .home .section-heading {
        display: block;
        margin-bottom: 38px;
    }

    .home .section-heading > span,
    .home .section-heading > h2,
    .home .section-heading > p {
        grid-column: auto;
        grid-row: auto;
    }

    .home .section-heading > h2 {
        margin-top: 16px;
    }

    .home .section-heading > p,
    .rh-home-blog-section .section-heading p {
        margin-top: 16px;
        max-width: 100%;
    }
}

@media (max-width: 760px) {
    .rh-home-blog-section .section-heading {
        margin-bottom: 30px;
    }

    .rh-home-blog-grid {
        padding-left: 0;
    }
}


/* RH v2.0.8 mobile footer/language and centered homepage contact refinements */
.home .contact-section {
    text-align: center;
}

.home .contact-section > span,
.home .contact-section > h2,
.home .contact-section > p {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.home .contact-section > h2 {
    max-width: 760px;
}

.home .contact-section > p {
    max-width: 620px;
}

.home .contact-section .contact-grid {
    margin-left: auto;
    margin-right: auto;
}

.mobile-menu-language {
    display: block !important;
}

.mobile-menu .language-switch,
.mobile-menu .language-switch--mobile {
    display: flex !important;
    width: 100%;
}

.mobile-menu .language-switch .language-menu {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu .language-switch .language-menu li {
    margin: 0;
}

@media (max-width: 950px) {
    .site-footer {
        display: flex !important;
        flex-direction: column;
        align-items: center !important;
        justify-content: center;
        gap: 18px;
        padding: 34px 22px 92px;
        text-align: center;
    }

    .site-footer-branding {
        width: 100%;
        align-items: center;
        color: var(--cream);
    }

    .site-footer-branding strong,
    .site-footer-branding span,
    footer strong,
    footer span {
        display: block !important;
        visibility: visible !important;
        color: var(--cream);
    }

    .site-footer-branding span,
    footer span {
        opacity: 0.82;
        font-size: 13px;
        line-height: 1.7;
        max-width: 320px;
        margin: 0 auto;
    }

    .footer-nav,
    .rh-social-nav {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }

    .footer-nav ul,
    .rh-social-nav ul {
        display: flex !important;
        justify-content: center;
        text-align: center;
    }
}


/* RH v2.0.9 guaranteed mobile language switch visibility */
.mobile-menu-inner {
    height: 100%;
    max-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-language {
    display: block !important;
    flex: 0 0 auto;
    margin-top: 24px !important;
    padding-top: 24px;
    padding-bottom: max(26px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    visibility: visible !important;
    opacity: 1 !important;
}

.mobile-menu-language > span {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.mobile-menu-language .language-switch,
.mobile-menu-language .language-switch--mobile,
.mobile-menu-language .language-menu {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.mobile-menu-language .language-switch {
    width: 100%;
}

.mobile-menu-language .language-menu {
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-menu-language .language-menu li {
    display: block !important;
    margin: 0;
}

.mobile-menu-language .language-menu a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    background: rgba(233, 225, 212, 0.38);
    color: var(--ink) !important;
    opacity: 1 !important;
    text-decoration: none;
}

.mobile-menu-language .language-menu .current-lang a {
    background: var(--dark);
    color: var(--cream) !important;
}

@media (max-width: 950px) {
    .mobile-menu-inner {
        min-height: 100dvh;
        max-height: 100dvh;
    }

    .mobile-nav {
        padding-bottom: 10px;
        flex: 0 0 auto;
    }
}

/* v11 popup viewport centering and settings-driven social footer */
body.rh-popup-open {
    overflow: hidden;
}

.rh-popup-overlay {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw;
    min-height: 100vh;
    min-height: 100svh;
    height: 100dvh;
    z-index: 99999;
    align-items: center !important;
    justify-content: center !important;
    place-items: center;
    padding: clamp(18px, 4vw, 48px);
    box-sizing: border-box;
}

.rh-popup-overlay.is-visible {
    display: grid !important;
}

.rh-popup {
    margin: auto;
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    transform: translateZ(0);
}

.rh-settings-social-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 720px) {
    .rh-popup-overlay {
        padding: 18px;
    }

    .rh-popup {
        width: min(100%, 520px);
        max-height: calc(100dvh - 36px);
    }
}

/* RH v2.2.1 portfolio category filter */
.rh-portfolio-filter {
    max-width: 1180px;
    margin: -34px auto 44px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.rh-portfolio-filter-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 12px 18px 10px;
    border: 1px solid rgba(23, 21, 17, 0.18);
    border-radius: 999px;
    color: var(--dark);
    text-decoration: none;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    background: rgba(246, 240, 231, 0.52);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.rh-portfolio-filter-link:hover,
.rh-portfolio-filter-link.is-active {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--cream);
    transform: translateY(-1px);
}

@media (max-width: 720px) {
    .rh-portfolio-filter {
        margin: -28px -4px 34px;
        padding: 0 4px 4px;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .rh-portfolio-filter-link {
        flex: 0 0 auto;
        min-height: 40px;
        padding: 12px 15px 10px;
        font-size: 10px;
        scroll-snap-align: start;
    }
}


/* RH v2.4.0 multilingual product catalogue, sidebar, carousel and related products */
.rh-product-listing {
    min-height: 100vh;
    padding: 138px 48px 110px;
    background: var(--paper);
}

.rh-product-listing-intro {
    max-width: 1180px;
    margin: 0 auto 58px;
}

.rh-product-listing-intro h1 {
    max-width: 920px;
    margin: 16px 0 22px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(48px, 7vw, 94px);
    font-weight: 400;
    line-height: .94;
}

.rh-product-listing-intro .rh-content {
    max-width: 720px;
    margin: 0;
}

.rh-product-catalog-layout {
    display: grid;
    grid-template-columns: minmax(210px, 270px) minmax(0, 1fr);
    gap: clamp(34px, 5vw, 74px);
    max-width: 1380px;
    margin: 0 auto;
    align-items: start;
}

.rh-product-sidebar {
    position: relative;
}

.rh-product-sidebar-inner {
    position: sticky;
    top: 118px;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.rh-product-sidebar h2 {
    margin: 13px 0 26px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    font-weight: 400;
}

.rh-product-category-nav {
    display: flex;
    flex-direction: column;
}

.rh-product-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 50px;
    padding: 14px 2px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    text-decoration: none;
    font-size: 12px;
    line-height: 1.35;
    transition: color .2s ease, padding .2s ease;
}

.rh-product-category-link:first-child {
    border-top: 0;
}

.rh-product-category-link small {
    opacity: .55;
    font-size: 10px;
}

.rh-product-category-link:hover,
.rh-product-category-link.is-active {
    color: var(--ink);
    padding-inline-start: 10px;
}

.rh-product-category-link.is-active span {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.rh-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 42px) 22px;
}

.rh-product-card {
    min-width: 0;
}

.rh-product-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
}

.rh-product-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    padding: clamp(12px, 2vw, 24px);
    object-fit: contain;
}

.rh-product-card-copy {
    padding-top: 19px;
}

.rh-product-card-copy > span,
.rh-related-product-card > div > span {
    display: block;
    margin-bottom: 11px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.rh-product-card h2,
.rh-related-product-card h3 {
    margin: 0 0 12px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(25px, 2.2vw, 34px);
    font-weight: 400;
    line-height: 1.05;
}

.rh-product-card h2 a,
.rh-related-product-card h3 a {
    color: inherit;
    text-decoration: none;
}

.rh-product-card p {
    display: -webkit-box;
    margin: 0 0 15px;
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.rh-product-single-page {
    min-height: 100vh;
    padding: 138px 48px 110px;
    background: var(--paper);
}

.rh-product-detail {
    max-width: 1280px;
    margin: 0 auto;
}

.rh-product-detail-head {
    max-width: 860px;
    margin: 0 auto 60px;
    text-align: center;
}

.rh-product-breadcrumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
}

.rh-product-breadcrumb a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, opacity .2s ease;
}

.rh-product-breadcrumb a:hover,
.rh-product-breadcrumb a:focus-visible {
    border-bottom-color: currentColor;
    opacity: .68;
}

.rh-product-detail-head h1 {
    margin: 16px 0 18px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(44px, 6vw, 86px);
    line-height: .96;
    font-weight: 400;
}

.rh-product-category {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.rh-product-main {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .75fr);
    gap: 18px;
    align-items: stretch;
}

.rh-product-media,
.rh-product-copy {
    border: 1px solid var(--line);
}

.rh-product-media {
    min-width: 0;
    padding: clamp(14px, 2vw, 24px);
    background: #fff;
}

.rh-product-main-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: clamp(430px, 44vw, 650px);
    overflow: hidden;
    background: #fff;
}

.rh-product-main-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.rh-product-media-carousel {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 10px;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.rh-product-carousel-viewport {
    min-width: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.rh-product-carousel-viewport::-webkit-scrollbar {
    display: none;
}

.rh-product-carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 20px) / 3);
    gap: 10px;
}

.rh-product-thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 7px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
    scroll-snap-align: start;
    transition: border-color .2s ease, opacity .2s ease;
}

.rh-product-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rh-product-thumbnail:hover,
.rh-product-thumbnail.is-active {
    border-color: var(--ink);
}

.rh-product-thumbnail:not(.is-active) {
    opacity: .7;
}

.rh-product-carousel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 46px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    cursor: pointer;
    font-size: 17px;
    transition: background .2s ease, color .2s ease;
}

.rh-product-carousel-button:hover {
    background: var(--dark);
    color: var(--cream);
}

.rh-product-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(34px, 5vw, 68px);
    background: rgba(246,240,231,.55);
}

.rh-product-copy > span {
    display: block;
    margin-bottom: 20px;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: .52;
}

.rh-product-copy .rh-content {
    max-width: none;
    margin: 0;
}

.rh-product-quote-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 50px;
    margin-top: 26px;
    padding: 0 28px;
    border: 1px solid var(--dark);
    background: var(--dark);
    color: var(--cream);
    text-decoration: none !important;
    font-size: 11px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.rh-related-products {
    margin-top: clamp(70px, 9vw, 118px);
    padding-top: 34px;
    border-top: 1px solid var(--line);
}

.rh-related-products-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.rh-related-products-head h2 {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 400;
    line-height: 1;
}

.rh-related-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.rh-related-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
}

.rh-related-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rh-related-product-card > div {
    padding-top: 16px;
}

.rh-product-quote {
    margin-top: 82px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.rh-product-quote .rh-contact-form-panel {
    max-width: 1280px;
}


html[dir="rtl"] .rh-product-category-link:hover,
html[dir="rtl"] .rh-product-category-link.is-active {
    padding-inline-start: 10px;
}

html[dir="rtl"] .rh-product-carousel-button,
html[dir="rtl"] .rh-card-link {
    direction: rtl;
}

@media (max-width: 1100px) {
    .rh-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rh-product-main {
        grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
    }
}

@media (max-width: 900px) {
    .rh-product-listing,
    .rh-product-single-page {
        padding: 116px 22px 72px;
    }

    .rh-product-catalog-layout,
    .rh-product-main {
        grid-template-columns: 1fr;
    }

    .rh-product-sidebar-inner {
        position: static;
    }

    .rh-product-category-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
    }

    .rh-product-main-image {
        height: min(74vw, 560px);
        min-height: 360px;
    }

    .rh-related-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rh-product-quote .rh-contact-form-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .rh-product-grid,
    .rh-related-products-grid,
    .rh-product-category-nav {
        grid-template-columns: 1fr;
    }

    .rh-product-carousel-track {
        grid-auto-columns: calc((100% - 10px) / 2);
    }

    .rh-product-media-carousel {
        grid-template-columns: 34px minmax(0, 1fr) 34px;
        gap: 7px;
    }

    .rh-product-carousel-button {
        width: 34px;
    }

    .rh-related-products-head {
        display: block;
    }

    .rh-related-products-head .chapter {
        display: block;
        margin-bottom: 12px;
    }
}



/* RH v2.7.0 Font Awesome contact icons and centered contact layout */
.contact-grid .rh-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-grid .rh-contact-card-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.contact-grid .rh-contact-card-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: 0.82;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.contact-grid .rh-contact-card-icon i {
    display: block;
    font-size: 21px;
    line-height: 1;
}

.contact-grid .rh-contact-card:hover .rh-contact-card-icon {
    transform: translateY(-2px);
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
}

.contact-grid .rh-contact-card-location {
    align-items: flex-start;
}

/* Keep the account cards and form panel on the same centered axis. */
.rh-contact-page .rh-contact-content-section {
    width: 100%;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.rh-contact-page .contact-grid {
    width: 100%;
    max-width: 980px;
    margin: 0 auto 28px;
}

.rh-contact-page .rh-contact-form-panel {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.rh-contact-page .rh-contact-form-copy,
.rh-contact-page .rh-contact-form-wrap {
    min-width: 0;
    height: 100%;
}

.rh-contact-page .rh-contact-form-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rh-contact-page .rh-contact-form-wrap {
    display: flex;
    align-items: center;
}

.rh-contact-page .rh-contact-form-wrap > * {
    width: 100%;
}

@media (max-width: 950px) {
    .rh-contact-page .rh-contact-form-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .contact-grid .rh-contact-card {
        gap: 15px;
    }

    .contact-grid .rh-contact-card-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .contact-grid .rh-contact-card-icon i {
        font-size: 18px;
    }
}
