/*
Theme Name:  Rahimi Jewelry
Theme URI:   https://rjcreative505.com
Author:      Diamond ICT Group
Author URI:  https://diamondictgroup.com
Description: A luxury jewelry & gold business theme built for Elementor Pro. WooCommerce ready. Commissioned by Creative 505.
Version:     1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License:     GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rahimi-jewelry
Tags:        elementor, jewelry, luxury, gold, woocommerce, business
*/

/* ═══════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════ */
:root {
    --gold:       #B59B6E;
    --gold-light: #D4BA90;
    --black:      #0D0D0D;
    --dark:       #1A1A1A;
    --gray:       #888;
    --border:     #E8E8E8;
    --cream:      #F8F5F0;
    --white:      #fff;

    --f-head:  'Playfair Display', Georgia, serif;
    --f-body:  'Montserrat', sans-serif;
    --f-script:'Cormorant Garamond', Georgia, serif;

    --ease:    cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out:cubic-bezier(0.16, 1, 0.3, 1);

    --header-h: 112px;
    --container: 1280px;
}

/* ═══════════════════════════════════════
   RESET
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--f-body);
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ═══════════════════════════════════════
   BASE TYPOGRAPHY
═══════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-head);
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
}
p { margin: 0 0 1em; }

/* ═══════════════════════════════════════
   LAYOUT HELPERS
═══════════════════════════════════════ */
.rj-container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

/* Fixed-header offset for main content */
#rj-main { padding-top: var(--header-h); }
body.elementor-page #rj-main { padding-top: var(--header-h); }

/* Skip link (a11y) */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1000;
    padding: 12px 20px;
    background: var(--dark);
    color: var(--white);
}
.skip-link:focus { left: 8px; top: 8px; }

/* ═══════════════════════════════════════
   COMPONENT STYLES
   (Added step by step as we build sections)
═══════════════════════════════════════ */

/* ───────────────────────────────────────
   STEP 1 — GLOBAL SHELL (Header / Footer)
─────────────────────────────────────── */

/* ── HEADER ── */
#rj-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
#rj-header.is-scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

/* Row 1: logo centered, actions on the sides */
.rj-header__logo-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 76px;
    padding-inline: 32px;
}
.rj-header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.rj-header__actions--left  { justify-content: flex-start; }
.rj-header__actions--right { justify-content: flex-end; }

/* Logo */
.rj-logo { display: inline-flex; align-items: center; justify-content: center; }
.rj-logo__svg { width: 64px; height: 56px; }
.rj-logo__img,
.rj-logo img { height: 60px; width: auto; display: block; }
/* On inner pages the header is white, so show the logo in black.
   On the front page (transparent header over the hero) it stays white. */
body:not(.rj-transparent-header) .rj-logo__img { filter: brightness(0); }

/* Header icon buttons */
.rj-header-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    color: var(--dark);
    border-radius: 50%;
    transition: background .25s var(--ease), color .25s var(--ease);
}
.rj-header-icon:hover { background: var(--cream); color: var(--gold); }
.rj-cart-badge {
    position: absolute;
    top: 2px; right: 2px;
    min-width: 16px; height: 16px;
    padding: 0 4px;
    font-size: 10px; font-weight: 600;
    line-height: 16px; text-align: center;
    color: var(--white); background: var(--gold);
    border-radius: 8px;
}

/* Hamburger (mobile) */
.rj-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px; height: 38px;
}
.rj-menu-toggle span {
    display: block;
    width: 22px; height: 1.5px;
    background: var(--dark);
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.rj-menu-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.rj-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.rj-menu-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Row 2: navigation */
.rj-header__nav { display: flex; align-items: center; justify-content: center; }
.rj-header__nav .rj-menu {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    align-items: center;
    gap: 34px;
}
.rj-header__nav .rj-menu > li { position: relative; }
.rj-header__nav .rj-menu > li > a,
.rj-header__nav .rj-menu .sub-menu a {
    display: inline-block;
    font-family: var(--f-script);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--dark);
    position: relative;
    padding: 2px 0;
}
/* gold underline on top-level links (skip the parent that has a caret) */
.rj-header__nav .rj-menu > li:not(.menu-item-has-children) > a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width .3s var(--ease);
}
.rj-header__nav .rj-menu > li > a:hover { color: var(--gold); }
.rj-header__nav .rj-menu > li:not(.menu-item-has-children) > a:hover::after { width: 100%; }

/* caret on items that have a submenu — sits AFTER the text */
.rj-header__nav .rj-menu > li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    margin-left: 12px;
    vertical-align: middle;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    opacity: .65;
    transition: transform .3s var(--ease);
}
.rj-header__nav .rj-menu > li.menu-item-has-children:hover > a::after {
    transform: rotate(-135deg) translateY(0);
}

/* ── Submenu — FULL-WIDTH horizontal bar with motion ── */
.rj-header__nav .rj-menu .sub-menu {
    list-style: none;
    margin: 0; padding: 22px 24px;
    position: fixed;                  /* span the whole viewport width */
    top: var(--header-h);
    left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: center;          /* items centered in the bar */
    gap: 0;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(0,0,0,.10);
    border-top: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity .35s var(--ease), transform .4s var(--ease-out), visibility .4s;
    z-index: 890;
}
.rj-header__nav .rj-menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* items — staggered reveal (motion) */
.rj-header__nav .rj-menu .sub-menu li {
    display: block;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .4s var(--ease), transform .45s var(--ease-out);
}
.rj-header__nav .rj-menu > li:hover > .sub-menu li { opacity: 1; transform: translateY(0); }
.rj-header__nav .rj-menu .sub-menu li:nth-child(1) { transition-delay: .06s; }
.rj-header__nav .rj-menu .sub-menu li:nth-child(2) { transition-delay: .12s; }
.rj-header__nav .rj-menu .sub-menu li:nth-child(3) { transition-delay: .18s; }
.rj-header__nav .rj-menu .sub-menu li:nth-child(4) { transition-delay: .24s; }
/* thin divider between items */
.rj-header__nav .rj-menu .sub-menu li + li { border-left: 1px solid var(--border); }
.rj-header__nav .rj-menu .sub-menu a {
    display: block;
    font-size: 15px;
    padding: 4px 34px;
    white-space: nowrap;
    transition: color .25s var(--ease);
}
.rj-header__nav .rj-menu .sub-menu a:hover { color: var(--gold); }

/* ── MOBILE MENU ── */
.rj-mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-h); left: 0; right: 0; bottom: 0;
    z-index: 850;
    background: var(--white);
    padding: 24px 32px;
    overflow-y: auto;
    border-top: 1px solid var(--border);
}
.rj-mobile-menu.is-open { display: block; }
.rj-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.rj-mobile-menu a {
    display: block;
    padding: 16px 0;
    font-size: 14px;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border);
}
.rj-mobile-menu a:hover { color: var(--gold); }
/* sub-menu indented under its parent */
.rj-mobile-menu .sub-menu a {
    padding-left: 20px;
    font-size: 13px;
    color: var(--gray);
    text-transform: none;
    letter-spacing: .04em;
}
.rj-mobile-menu .sub-menu a:hover { color: var(--gold); }

/* ── SEARCH OVERLAY ── */
.rj-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13,13,13,.92);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.rj-search-overlay.is-open { opacity: 1; visibility: visible; }
.rj-search-overlay__box {
    width: min(640px, 90vw);
    text-align: center;
}
.rj-search-overlay form {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.4);
}
.rj-search-overlay input {
    flex: 1;
    padding: 16px 0;
    font-family: var(--f-head);
    font-size: 28px;
    color: var(--white);
    background: transparent;
    border: none;
    outline: none;
}
.rj-search-overlay input::placeholder { color: rgba(255,255,255,.4); }
.rj-search-overlay form button { color: var(--white); padding: 8px; }
.rj-search-overlay__close {
    margin-top: 24px;
    color: rgba(255,255,255,.6);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.rj-search-overlay__close:hover { color: var(--white); }

/* ── INNER-PAGE HERO (page.php) ── */
.rj-page-hero {
    background: var(--cream);
    padding: 56px 0;
    text-align: center;
}
/* contact hero: taller, with a big faint script watermark */
.rj-page-hero--contact {
    position: relative;
    overflow: hidden;
    padding: 74px 0 96px;
}
.rj-page-hero__wm {
    position: absolute;
    left: 50%; top: 56%;
    transform: translate(-50%, -50%);
    font-family: var(--f-script);
    font-size: clamp(80px, 12vw, 180px);
    line-height: 1;
    color: var(--gold);
    opacity: .06;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}
.rj-page-hero--contact .rj-container { position: relative; z-index: 2; }
.rj-page-hero h1 {
    font-size: clamp(23px, 2.4vw, 33px);
    margin-bottom: 10px;
}
.rj-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: .08em;
    color: var(--gray);
    text-transform: uppercase;
}
.rj-breadcrumb a:hover { color: var(--gold); }

/* ───────────────────────────────────────
   FOOTER SERVICES (info tooltip + modal)
─────────────────────────────────────── */
.rj-services { list-style: none; margin: 0; padding: 0; }
.rj-services__item { position: relative; }
.rj-service {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 9px 0;
    background: none;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    cursor: pointer;
    text-align: left;
    color: rgba(255,255,255,.62);
    font-family: var(--f-body);
    font-size: 13px;
    line-height: 1.6;
    transition: color .3s var(--ease);
}
.rj-services__item:last-child .rj-service { border-bottom: 0; }
.rj-service:hover { color: var(--gold-light); }
.rj-service__title { flex: 1 1 auto; }
.rj-service__i {
    flex: 0 0 18px;
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(212,186,144,.45);
    color: var(--gold-light);
    font-family: var(--f-head);
    font-size: 11px;
    font-style: italic;
    line-height: 16px;
    text-align: center;
    transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.rj-service:hover .rj-service__i {
    background: var(--gold);
    color: #0d0d0d;
    border-color: var(--gold);
    transform: scale(1.12);
}

/* hover tooltip */
.rj-service__tip {
    position: absolute;
    left: 0; bottom: calc(100% + 10px);
    z-index: 60;
    width: 280px;
    max-width: 80vw;
    padding: 14px 16px;
    background: #171717;
    border: 1px solid rgba(212,186,144,.28);
    border-radius: 4px;
    color: rgba(255,255,255,.78);
    font-size: 12px;
    line-height: 1.75;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
    pointer-events: none;
    box-shadow: 0 18px 40px rgba(0,0,0,.5);
}
/* little arrow */
.rj-service__tip::after {
    content: '';
    position: absolute;
    left: 22px; top: 100%;
    border: 7px solid transparent;
    border-top-color: #171717;
}
.rj-services__item:hover .rj-service__tip { opacity: 1; visibility: visible; transform: translateY(0); }

/* ── Modal ── */
.rj-modal {
    position: fixed;
    inset: 0;
    z-index: 100001;
    background: rgba(8,8,8,.82);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.rj-modal.is-open { opacity: 1; }
.rj-modal[hidden] { display: none; }
.rj-modal__box {
    position: relative;
    width: min(600px, 100%);
    max-height: 86vh;
    overflow-y: auto;
    background: var(--white);
    padding: 44px 46px 40px;
    text-align: center;
    box-shadow: 0 40px 90px rgba(0,0,0,.45);
    transform: translateY(18px) scale(.97);
    transition: transform .4s var(--ease-out);
}
.rj-modal.is-open .rj-modal__box { transform: none; }
.rj-modal__close {
    position: absolute;
    top: 14px; right: 18px;
    width: 34px; height: 34px;
    border: 0; background: none;
    font-size: 30px; line-height: 1;
    color: var(--gray);
    cursor: pointer;
    z-index: 2;
    transition: color .3s var(--ease), transform .3s var(--ease);
}
.rj-modal__close:hover { color: var(--gold); transform: rotate(90deg); }
.rj-modal__media { margin: -44px -46px 28px; }
.rj-modal__media img { width: 100%; height: auto; display: block; }
.rj-modal__title {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: clamp(22px, 2.4vw, 30px);
    color: var(--dark);
    margin: 0 0 6px;
}
/* gold flourish under the title */
.rj-modal__title::after {
    content: '';
    display: block;
    width: 54px; height: 1px;
    margin: 16px auto 18px;
    background: var(--gold);
    position: relative;
}
.rj-modal__body {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.95;
    max-width: 460px;
    margin: 0 auto;
}
.rj-modal__body p { margin: 0 0 14px; }
.rj-modal__body p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
    .rj-service__tip { display: none; }   /* tap opens the modal instead */
    .rj-modal { padding: 16px; }
    .rj-modal__box { padding: 32px 24px 28px; }
    .rj-modal__media { margin: -32px -24px 22px; }
}

/* newsletter feedback notes */
.rj-footer__note {
    font-size: 12.5px;
    line-height: 1.7;
    margin: 0 0 12px;
    padding: 9px 12px;
    border-left: 2px solid;
}
.rj-footer__note--ok  { color: #cfe6cf; background: rgba(63,143,79,.14); border-color: #4f9f5f; }
.rj-footer__note--err { color: #f0c9c8; background: rgba(192,80,77,.14); border-color: #c0504d; }

/* footer widget output inherits the column styles */
.rj-footer__widget { margin: 0; }
.rj-footer__widget .menu,
.rj-footer__widget ul { list-style: none; margin: 0; padding: 0; }

/* ── SECTION base ── */
.rj-section { padding-block: clamp(44px, 4.5vw, 60px); }

/* ───────────────────────────────────────
   STEP 2 — HERO SLIDER + TRANSPARENT HEADER
─────────────────────────────────────── */

/* When the page has a full-screen hero, the header floats over it */
body.rj-transparent-header #rj-main { padding-top: 0; }
body.rj-transparent-header #rj-header {
    background: transparent;
    border-bottom-color: transparent;
}
/* White top-level nav + icons over the dark hero image
   (submenu links stay dark — they sit on a white dropdown) */
body.rj-transparent-header #rj-header .rj-header__nav .rj-menu > li > a,
body.rj-transparent-header #rj-header .rj-header-icon,
body.rj-transparent-header #rj-header .rj-menu-toggle span { color: #fff; }
body.rj-transparent-header #rj-header .rj-menu-toggle span { background: #fff; }
body.rj-transparent-header #rj-header .rj-header__nav .rj-menu > li > a::after { background: #fff; }
body.rj-transparent-header #rj-header .rj-header__nav .rj-menu > li > a:hover { color: var(--gold-light); }

/* On scroll the header gains a solid dark bg so the white logo stays visible */
body.rj-transparent-header #rj-header.is-scrolled {
    background: var(--black);
    box-shadow: 0 4px 24px rgba(0,0,0,.25);
}

/* Hero */
.rj-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
}
.rj-hero__slides,
.rj-hero__slide { position: absolute; inset: 0; }
.rj-hero__slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s var(--ease);
}
.rj-hero__slide.is-active { opacity: 1; }
.rj-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.45) 100%);
}
.rj-hero__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: #fff;
    text-align: left;
}
.rj-hero__eyebrow {
    font-family: var(--f-script);
    font-size: 22px;
    letter-spacing: .18em;
    color: var(--gold-light);
    margin-bottom: 14px;
}
.rj-hero__title {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: clamp(38px, 5.5vw, 72px);
    line-height: 1.08;
    margin: 0 0 20px;
    color: #fff;
}
.rj-hero__sub {
    font-size: 16px;
    letter-spacing: .03em;
    max-width: 460px;
    margin: 0 0 32px;
    color: rgba(255,255,255,.9);
}
.rj-hero__btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gold);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    transition: background .3s var(--ease), transform .3s var(--ease);
}
.rj-hero__btn:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ───────────────────────────────────────
   CUSTOM CURSOR (motion follow)
─────────────────────────────────────── */
@media (pointer: fine) {
    body { cursor: none; }
    body a, body button, body input, body textarea, body select,
    body .rj-menu-toggle { cursor: none; }

    .rj-cursor,
    .rj-cursor-ring {
        position: fixed;
        top: 0; left: 0;
        pointer-events: none;
        z-index: 9999;
        border-radius: 50%;
    }
    /* small solid dot — moves instantly */
    .rj-cursor {
        width: 7px; height: 7px;
        background: var(--gold);
    }
    /* outer ring — lags behind with easing (motion) */
    .rj-cursor-ring {
        width: 30px; height: 30px;
        border: 1.5px solid var(--gold);
        transition: width .3s var(--ease), height .3s var(--ease),
                    background .3s var(--ease), border-color .3s var(--ease);
    }
    /* grows + fills slightly when hovering interactive elements */
    .rj-cursor-ring.is-hover {
        width: 48px; height: 48px;
        background: rgba(181,155,110,.12);
        border-color: var(--gold-light);
    }
}

/* ── FOOTER ── */
#rj-footer {
    background: var(--black);
    color: rgba(255,255,255,.7);
    position: relative;
    overflow: hidden;
}
/* large faded HR monogram watermark — left side, behind all content */
.rj-footer__watermark {
    position: absolute;
    left: -4%;
    top: 50%;
    transform: translateY(-50%);
    width: 640px;
    max-width: 52%;
    height: auto;
    opacity: .05;
    filter: grayscale(1);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
.rj-footer__inner,
.rj-footer__bottom { position: relative; z-index: 1; }
.rj-footer__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    max-width: var(--container);
    margin-inline: auto;
    padding: 72px 32px 56px;
}
.rj-footer__logo { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.rj-footer__logo-img { height: 64px; width: auto; display: block; filter: brightness(0) invert(1); }
.rj-footer__logo-sub {
    font-size: 9px;
    letter-spacing: .5em;
    color: rgba(255,255,255,.5);
    padding-left: 4px;
}
.rj-footer__desc {
    margin-top: 18px;
    font-size: 12.5px;
    line-height: 1.9;
    color: rgba(255,255,255,.45);
}
/* contact block under the brand description */
.rj-footer__contact {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.14);
}
.rj-footer__contact p {
    margin: 0 0 6px;
    font-size: 12.5px;
    line-height: 1.7;
    color: rgba(255,255,255,.55);
}
.rj-footer__col h4 {
    color: var(--white);
    font-family: var(--f-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.rj-footer__col ul li { margin-bottom: 11px; }
.rj-footer__col ul a {
    font-size: 12.5px;
    color: rgba(255,255,255,.55);
}
.rj-footer__col ul a:hover { color: var(--gold-light); }

/* Newsletter form */
.rj-footer__form { display: flex; flex-direction: column; gap: 12px; }
.rj-footer__form input {
    padding: 11px 14px;
    font-size: 12.5px;
    color: var(--white);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.15);
    outline: none;
    transition: border-color .25s var(--ease);
}
.rj-footer__form input::placeholder { color: rgba(255,255,255,.4); }
.rj-footer__form input:focus { border-color: var(--gold); }
.rj-footer__form button {
    padding: 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--black);
    background: var(--gold);
    transition: background .25s var(--ease);
}
.rj-footer__form button:hover { background: var(--gold-light); }

/* Bottom bar */
.rj-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: var(--container);
    margin-inline: auto;
    padding: 24px 32px;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: 11.5px;
    color: rgba(255,255,255,.4);
}
.rj-footer__bottom-right { text-align: right; }
.rj-footer__bottom a { color: var(--gold-light); }
.rj-footer__bottom a:hover { color: var(--white); }

/* ───────────────────────────────────────
   STEP 3 — SHOP BY CATEGORY
─────────────────────────────────────── */

/* Reusable section heading (centered eyebrow + title) */
.rj-sec-head { text-align: center; margin-bottom: 40px; }
.rj-sec-head__eyebrow {
    display: block;
    font-family: var(--f-script);
    font-size: 17px;
    letter-spacing: .14em;
    color: var(--gold);
    margin-bottom: 6px;
}
.rj-sec-head__title {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: clamp(24px, 2.3vw, 34px);
    color: var(--dark);
    margin: 0;
}

/* Category grid */
.rj-cats__slider { position: relative; }
.rj-cats__nav { display: none; }   /* arrows only on mobile */
.rj-cats__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}
/* rounded, framed card with name + arrow overlay */
.rj-cat {
    display: block;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease);
}
.rj-cat:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(0,0,0,.14); }
.rj-cat__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 5 / 7;
    background: var(--cream);
}
.rj-cat__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .8s var(--ease-out);
}
.rj-cat:hover .rj-cat__media img { transform: scale(1.05); }

/* ───────────────────────────────────────
   STEP 4 — NEW PRODUCTS
─────────────────────────────────────── */
.rj-products { background: #ffffff; }

/* horizontal slider */
.rj-slider { position: relative; }
.rj-slider__track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 6px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.rj-slider__track::-webkit-scrollbar { display: none; }
.rj-slider__track > .rj-prod {
    flex: 0 0 calc((100% - 4 * 24px) / 5);  /* 5 cards visible */
    scroll-snap-align: start;
}
.rj-slider__nav {
    position: absolute;
    top: 36%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--dark);
    font-size: 24px; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,.10);
    transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.rj-slider__nav:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.rj-slider__nav--prev { left: -12px; }
.rj-slider__nav--next { right: -12px; }
.rj-slider__nav[disabled] { opacity: .35; cursor: default; }

.rj-prod { display: block; text-align: center; }
.rj-prod__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--white);
    margin-bottom: 16px;
}
.rj-prod__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s var(--ease-out);
}
.rj-prod:hover .rj-prod__media img { transform: scale(1.07); }
/* "New" badge */
.rj-prod__badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--gold);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 5px 11px;
}
/* Add-to-cart bar slides up on hover */
.rj-prod__cart {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: rgba(13,13,13,.88);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: 14px 0;
    transform: translateY(100%);
    transition: transform .4s var(--ease-out);
}
.rj-prod:hover .rj-prod__cart { transform: translateY(0); }
.rj-prod__title {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 17px;
    color: var(--dark);
    margin: 0 0 5px;
    transition: color .3s var(--ease);
}
.rj-prod:hover .rj-prod__title { color: var(--gold); }
.rj-prod__price {
    display: block;
    font-size: 15px;
    letter-spacing: .03em;
    color: var(--gold);
    font-weight: 600;
}

/* ───────────────────────────────────────
   STEP 7 — SOCIAL ROW
─────────────────────────────────────── */
.rj-social { text-align: center; }
.rj-social .rj-sec-head { margin-bottom: 26px; }
.rj-social__sub {
    max-width: 520px;
    margin: 14px auto 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray);
}
/* delicate gold divider between the text and the icon row */
.rj-social__sub::after {
    content: '';
    display: block;
    width: 60px; height: 1px;
    margin: 30px auto 0;
    background: var(--gold);
    opacity: .5;
}
.rj-social__row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
/* circular outlined icon buttons */
.rj-social__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px; height: 54px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    transition: transform .35s var(--ease), border-color .35s var(--ease),
                background .35s var(--ease), box-shadow .35s var(--ease);
}
.rj-social__item img {
    width: 24px; height: 24px;
    display: block;
    transition: transform .35s var(--ease);
}
.rj-social__item:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    background: var(--cream);
    box-shadow: 0 10px 24px rgba(181,155,110,.20);
}
.rj-social__item:hover img { transform: scale(1.08); }
.rj-social__row { margin-top: 30px; }
/* compact (no heading) — used in the footer on every page */
.rj-social--compact .rj-social__row { margin-top: 0; }

/* ───────────────────────────────────────
   STEP 6 — GIFTS FOR YOUR VALENTINE
─────────────────────────────────────── */
.rj-valentine__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.rj-valentine__banner { margin: 0 0 34px; border-radius: 14px; overflow: hidden; }
.rj-valentine__banner img { width: 100%; height: auto; display: block; }
.rj-valentine__cta { text-align: center; margin-top: 40px; }
/* overlay card: image full, text + button over the bottom */
.rj-vcard {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease);
}
.rj-vcard:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(0,0,0,.14); }
.rj-vcard__media,
.rj-vcard__media img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
}
.rj-vcard__media img {
    object-fit: cover;
    transition: transform .8s var(--ease-out);
}
.rj-vcard:hover .rj-vcard__media img { transform: scale(1.05); }
.rj-vcard__overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 28px 22px 30px;
    text-align: center;
    color: #fff;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.78) 100%);
}
.rj-vcard__title {
    font-family: var(--f-head);
    font-weight: 500;
    font-size: 22px;
    margin: 0 0 8px;
    color: #fff;
}
.rj-vcard__desc {
    font-family: var(--f-script);
    font-size: 17px;
    color: rgba(255,255,255,.9);
    margin: 0 0 18px;
}
.rj-vcard__btn {
    display: inline-block;
    padding: 11px 30px;
    border: 1px solid rgba(212,186,144,.8);
    color: #fff;
    font-family: var(--f-head);
    font-size: 14px;
    letter-spacing: .04em;
    transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.rj-vcard:hover .rj-vcard__btn { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ───────────────────────────────────────
   STEP 5 — THE ART OF GIFTING (banner)
─────────────────────────────────────── */
.rj-gifting {
    position: relative;
    width: 100%;
    aspect-ratio: 1440 / 530;     /* show the full banner, edge to edge */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.rj-gifting .rj-container { width: 100%; }
.rj-gifting__content {
    max-width: 430px;
    margin-left: auto;            /* push the text to the right side */
    text-align: left;
    color: #fff;
    transform: translate(80px, 130px);  /* nudge further right + lower */
}
.rj-gifting__title {
    font-family: var(--f-head);
    font-weight: 500;
    font-size: clamp(26px, 2.6vw, 40px);
    line-height: 1.1;
    margin: 0 0 14px;
    color: #fff;
}
.rj-gifting__sub {
    font-family: var(--f-script);
    font-size: clamp(15px, 1.5vw, 20px);
    letter-spacing: .02em;
    color: rgba(255,255,255,.88);
    margin: 0 0 30px;
}
.rj-gifting__btn {
    display: inline-block;
    padding: 15px 42px;
    border: 1px solid var(--gold);
    color: #fff;
    font-family: var(--f-head);
    font-size: 15px;
    letter-spacing: .06em;
    transition: background .35s var(--ease), color .35s var(--ease);
}
.rj-gifting__btn:hover { background: var(--gold); color: #fff; }

/* ───────────────────────────────────────
   STEP 8 — CONTACT PAGE
─────────────────────────────────────── */
/* hero eyebrow (script) */
.rj-page-hero__eyebrow {
    display: block;
    font-family: var(--f-script);
    font-size: 22px;
    letter-spacing: .1em;
    color: var(--gold);
    margin-bottom: 4px;
}

/* couture two-panel card */
/* pull the card up so it overlaps the hero (editorial layering) */
.rj-contact2 {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: -56px;
    position: relative;
    z-index: 3;
}
.rj-contact2__card {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    background: var(--white);
    box-shadow: 0 40px 90px rgba(0,0,0,.14);
}

/* ── Scroll reveal motion system ── */
[data-rj-reveal] {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .9s var(--ease-out), transform 1s var(--ease-out);
    transition-delay: var(--rj-delay, 0s);
    will-change: opacity, transform;
}
[data-rj-reveal="fade"]  { transform: none; }
[data-rj-reveal="left"]  { transform: translateX(-44px); }
[data-rj-reveal="right"] { transform: translateX(44px); }
[data-rj-reveal="zoom"]  { transform: scale(.93); }
[data-rj-reveal="up-lg"] { transform: translateY(64px); }
[data-rj-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    [data-rj-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── dark info panel ── */
.rj-contact2__aside {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #1c1c1c 0%, #0d0d0d 100%);
    color: rgba(255,255,255,.72);
    padding: 60px 50px;
}
/* thin gold frame, inset */
.rj-contact2__aside::before {
    content: '';
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(212,186,144,.28);
    pointer-events: none;
    z-index: 1;
}
.rj-contact2__wm {
    position: absolute;
    right: -40px; bottom: -30px;
    width: 360px; height: auto;
    opacity: .06;
    filter: grayscale(1);
    pointer-events: none;
}
.rj-contact2__aside-inner { position: relative; z-index: 2; }
.rj-contact2__eyebrow {
    display: block;
    font-family: var(--f-script);
    font-size: 16px;
    letter-spacing: .08em;
    color: var(--gold-light);
    margin-bottom: 8px;
}
.rj-contact2__h2 {
    font-family: var(--f-head);
    font-weight: 500;
    font-size: clamp(26px, 2.6vw, 36px);
    color: #fff;
    margin: 0 0 16px;
}
.rj-contact2__lead {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,.62);
    margin: 0 0 34px;
    max-width: 360px;
}
.rj-contact2__list { list-style: none; margin: 0; padding: 0; }
.rj-contact2__list li {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.rj-contact2__list li:last-child { border-bottom: 0; }
.rj-contact2__ico {
    flex: 0 0 42px;
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(212,186,144,.45);
    color: var(--gold-light);
    display: inline-flex; align-items: center; justify-content: center;
}
.rj-contact2__ico svg { width: 19px; height: 19px; }
.rj-contact2__list h4 {
    font-family: var(--f-head);
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin: 4px 0 5px;
    font-weight: 600;
}
.rj-contact2__list p { margin: 0; color: rgba(255,255,255,.8); line-height: 1.6; font-size: 15px; }
.rj-contact2__list a { color: rgba(255,255,255,.8); }
.rj-contact2__list a:hover { color: var(--gold-light); }
/* faint serif index number on each row */
.rj-contact2__list { counter-reset: ci; }
.rj-contact2__list li { position: relative; transition: border-color .35s var(--ease); }
.rj-contact2__list li::after {
    counter-increment: ci;
    content: '0' counter(ci);
    position: absolute;
    right: 2px; top: 16px;
    font-family: var(--f-head);
    font-size: 28px;
    color: rgba(212,186,144,.16);
    transition: color .35s var(--ease);
}
.rj-contact2__list li:hover::after { color: rgba(212,186,144,.42); }
.rj-contact2__ico { transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease); }
.rj-contact2__list li:hover .rj-contact2__ico {
    background: rgba(212,186,144,.14);
    border-color: var(--gold-light);
    color: #fff;
}

/* gold flourish (line + diamond) under the form title */
.rj-flourish {
    display: inline-block;
    width: 64px; height: 1px;
    background: var(--gold);
    position: relative;
    margin: -14px 0 30px;
}
.rj-flourish::before {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    width: 7px; height: 7px;
    background: var(--gold);
    transform: translate(-50%, -50%) rotate(45deg);
}

/* ── form panel ── */
.rj-contact2__form-col { padding: 60px 52px; }
.rj-contact2__eyebrow--dark { color: var(--gold); }
.rj-contact2__form-title {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: clamp(24px, 2.4vw, 32px);
    color: var(--dark);
    margin: 0 0 30px;
}

/* minimal underline form */
.rj-cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.rj-cform__field { position: relative; margin-bottom: 30px; }
.rj-cform__field input,
.rj-cform__field textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--border);
    background: transparent;
    padding: 10px 2px;
    font-family: var(--f-body);
    font-size: 15px;
    color: var(--dark);
    transition: border-color .3s var(--ease);
}
.rj-cform__field textarea { resize: vertical; }
.rj-cform__field label {
    position: absolute;
    left: 2px; top: 10px;
    font-size: 15px;
    color: var(--gray);
    pointer-events: none;
    transition: all .25s var(--ease);
}
/* float label up on focus / when filled */
.rj-cform__field input:focus + label,
.rj-cform__field input:not(:placeholder-shown) + label,
.rj-cform__field textarea:focus + label,
.rj-cform__field textarea:not(:placeholder-shown) + label {
    top: -12px;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold);
}
.rj-cform__field input:focus,
.rj-cform__field textarea:focus { outline: none; border-color: var(--gold); }

.rj-cform__submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
    padding: 15px 38px;
    background: var(--dark);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid var(--dark);
    transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.rj-cform__submit svg { transition: transform .35s var(--ease); }
.rj-cform__submit:hover { background: var(--gold); border-color: var(--gold); }
.rj-cform__submit:hover svg { transform: translateX(4px); }

/* notices */
.rj-contact__notice {
    padding: 14px 18px;
    margin-bottom: 22px;
    font-size: 14px;
    border-left: 3px solid;
}
.rj-contact__notice--ok  { background: #f1f7f1; border-color: #3f8f4f; color: #2f6f3a; }
.rj-contact__notice--err { background: #fdf2f2; border-color: #c0504d; color: #9a3b39; }

/* map */
.rj-contact2__map { margin-top: 70px; line-height: 0; }
.rj-contact2__map iframe { display: block; width: 100%; filter: grayscale(.45); }

/* ───────────────────────────────────────
   STEP 9 — ABOUT PAGE
─────────────────────────────────────── */
.rj-about-intro { padding-top: 80px; }
.rj-about-intro__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: stretch;
}
.rj-about-intro__media img { width: 100%; height: auto; display: block; }

.rj-about-intro__text {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}
.rj-about-intro__title {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: clamp(23px, 2.2vw, 31px);
    color: var(--dark);
    margin: 0 0 18px;
}
.rj-about-intro__p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--gray);
    margin: 0;
    max-width: 360px;
}
.rj-about-intro__divider {
    width: 1px;
    height: 120px;
    background: var(--gold);
    opacity: .55;
    margin: 34px 0;
}
.rj-about-intro__p--lower { margin-top: auto; }

/* brand statement */
.rj-about-story { text-align: center; }
.rj-about-story__title {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: clamp(26px, 2.6vw, 38px);
    color: var(--dark);
    margin: 0 0 24px;
    letter-spacing: .01em;
}
.rj-about-story__text {
    max-width: 760px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 2;
    color: var(--gray);
}

/* full-width banner with CONTACT US overlay link */
.rj-about-banner {
    position: relative;
    width: 100%;
    line-height: 0;
}
.rj-about-banner img { width: 100%; height: auto; display: block; }
/* invisible clickable area over the baked-in "CONTACT US" text */
.rj-about-banner__cta {
    position: absolute;
    left: 11%;
    bottom: 18%;
    width: 13%;
    height: 12%;
}

/* ───────────────────────────────────────
   STEP 10 — PRODUCTS ARCHIVE + SINGLE
─────────────────────────────────────── */

/* reusable hero with big faint script watermark */
.rj-page-hero--wm { position: relative; overflow: hidden; padding: 74px 0 86px; }
.rj-page-hero--wm .rj-container { position: relative; z-index: 2; }
.rj-page-hero--slim { padding: 58px 0 40px; }

/* ── Category banner hero ── */
.rj-cat-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.rj-cat-hero img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1920 / 520;
    object-fit: cover;
}
.rj-cat-hero__label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}
.rj-cat-hero__label h1 {
    font-family: var(--f-head);
    font-weight: 500;
    color: #fff;
    font-size: clamp(36px, 6vw, 88px);
    letter-spacing: .02em;
    margin: 0;
    text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
@media (max-width: 768px) {
    .rj-cat-hero img { aspect-ratio: 800 / 600; }
    .rj-cat-hero__label h1 { font-size: clamp(30px, 11vw, 54px); }
}

/* ── Shop / Archive ── */
.rj-shop__filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 30px;
    margin-bottom: 50px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--border);
}
.rj-shop__filter-item {
    font-family: var(--f-script);
    font-size: 17px;
    color: var(--gray);
    position: relative;
    padding: 4px 2px;
    transition: color .3s var(--ease);
}
.rj-shop__filter-item::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width .3s var(--ease);
}
.rj-shop__filter-item:hover,
.rj-shop__filter-item.is-active { color: var(--gold); }
.rj-shop__filter-item.is-active::after,
.rj-shop__filter-item:hover::after { width: 100%; }

.rj-shop__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 28px;
}
.rj-shop__empty { text-align: center; color: var(--gray); padding: 40px 0; }

.rj-shop__pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 56px;
}
.rj-shop__pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px; height: 42px;
    padding: 0 6px;
    border: 1px solid var(--border);
    color: var(--dark);
    font-size: 14px;
    transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.rj-shop__pagination .page-numbers.current,
.rj-shop__pagination .page-numbers:hover {
    background: var(--gold); color: #fff; border-color: var(--gold);
}

/* ── Single product ── */
.rj-single__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: start;
}
/* info on the LEFT (sticky), image on the RIGHT */
.rj-single__info  { order: 1; }
.rj-single__media { order: 2; }

.rj-single__media { background: transparent; }
.rj-single__media img { width: 100%; height: auto; display: block; }
.rj-single__noimg { aspect-ratio: 1/1; background: #ffffff; }

/* vertical photo stack — each reveals on scroll */
.rj-pstack { display: flex; flex-direction: column; gap: 20px; }
.rj-pstack__img {
    margin: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #ffffff;
    cursor: pointer;
}
.rj-pstack__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .9s var(--ease-out);
}
.rj-pstack__img:hover img { transform: scale(1.03); }

/* sticky info column */
.rj-single__info {
    padding-top: 8px;
    position: sticky;
    top: calc(var(--header-h) + 24px);
    align-self: start;
}
.rj-single__eyebrow {
    display: block;
    font-family: var(--f-script);
    font-size: 16px;
    color: var(--gold);
    margin-bottom: 8px;
}
.rj-single__title {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: clamp(25px, 2.6vw, 36px);
    line-height: 1.12;
    color: var(--dark);
    margin: 0 0 14px;
}
.rj-single__price {
    font-size: 20px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: .02em;
}
.rj-single .rj-flourish { margin: 22px 0 24px; }
.rj-single__desc { color: var(--gray); line-height: 1.9; font-size: 15px; }
.rj-single__desc p { margin: 0 0 16px; }

.rj-single__meta {
    list-style: none;
    margin: 28px 0;
    padding: 22px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: grid;
    gap: 12px;
}
.rj-single__meta li { display: flex; gap: 14px; font-size: 14px; }
.rj-single__meta span {
    flex: 0 0 120px;
    color: var(--gray);
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 12px;
    padding-top: 1px;
}
.rj-single__meta strong { color: var(--dark); font-weight: 600; }

/* ── Set contents (single product) ── */
.rj-setlist {
    margin: 0 0 28px;
    padding: 22px 0 0;
    border-top: 1px solid var(--border);
}
.rj-setlist__title {
    font-family: var(--f-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gray);
    margin: 0 0 16px;
}
.rj-setlist__items { display: grid; gap: 10px; }
.rj-setitem {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
    border: 1px solid var(--border);
    background: #fff;
    transition: border-color .3s var(--ease), transform .3s var(--ease-out);
}
.rj-setitem:hover { border-color: var(--gold); transform: translateX(4px); }
.rj-setitem__media {
    flex: 0 0 56px;
    width: 56px; height: 56px;
    background: #fff;
    overflow: hidden;
}
.rj-setitem__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rj-setitem__text { display: flex; flex-direction: column; gap: 3px; }
.rj-setitem__text strong {
    font-family: var(--f-head);
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
}
.rj-setitem__text em {
    font-style: normal;
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--gray);
}

/* "SET" badge on product cards */
.rj-prod__badge--set { background: var(--dark); }

.rj-single__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
    padding: 16px 40px;
    background: #d4ba90cc;
    color: #0d0d0d;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    border: 1px solid #d4ba90cc;
    transition: background .35s var(--ease), border-color .35s var(--ease);
}
.rj-single__btn svg { transition: transform .35s var(--ease); }
.rj-single__btn:hover { background: var(--gold-light); border-color: var(--gold-light); }
.rj-single__btn:hover svg { transform: translateX(4px); }
.rj-single__note {
    margin-top: 22px;
    font-size: 13px;
    font-style: italic;
    color: var(--gray);
    font-family: var(--f-script);
    font-size: 17px;
}
.rj-single__related { margin-top: 90px; }

/* ───────────────────────────────────────
   STEP 11 — PRELOADER + PAGE TRANSITIONS
─────────────────────────────────────── */

/* Intro preloader (first visit) */
.rj-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #0d0d0d;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .8s var(--ease), visibility .8s var(--ease);
}
html.rj-loaded .rj-preloader { display: none; } /* skip on later pages this session */
.rj-preloader.is-hidden { opacity: 0; visibility: hidden; }
.rj-preloader__inner { text-align: center; }
/* static logo — no entrance effects */
.rj-preloader__logo {
    width: 160px; height: auto;
    display: block;
    margin: 0 auto;
}

/* Page enter (every page load) — smooth, no jump */
@keyframes rjPageIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}
#rj-main {
    animation: rjPageIn .85s var(--ease-out) backwards;
    transition: opacity .42s var(--ease), transform .42s var(--ease);
}
/* Page leave (fade out before navigating) */
body.rj-leaving #rj-main { opacity: 0; transform: translateY(-12px); }

@media (prefers-reduced-motion: reduce) {
    #rj-main { animation: none; }
    body.rj-leaving #rj-main { opacity: 1; transform: none; }
}

/* ───────────────────────────────────────
   STEP 12 — LUXURY FEATURE SUITE
─────────────────────────────────────── */

/* Magnetic + tilt base */
.rj-magnetic { transition: transform .35s var(--ease-out); will-change: transform; }
.rj-tilt { transition: transform .3s var(--ease-out); transform-style: preserve-3d; }

/* Parallax */
.rj-hero__slide { transform: translateY(var(--rj-py, 0)); }
.rj-hero__slide { inset: -7% 0; }          /* extra room for parallax movement */
.rj-about-intro__media { overflow: hidden; }
.rj-about-intro__media img {
    transform: translateY(var(--rj-py, 0)) scale(1.05);
    will-change: transform;
}

/* ── Marquee announcement bar ── */
.rj-marquee {
    background: var(--black);
    color: var(--gold-light);
    overflow: hidden;
    white-space: nowrap;
    padding: 14px 0;
    border-block: 1px solid rgba(212,186,144,.18);
}
.rj-marquee__track {
    display: inline-flex;
    align-items: center;
    gap: 0;
    animation: rjMarquee 38s linear infinite;
    will-change: transform;
}
.rj-marquee:hover .rj-marquee__track { animation-play-state: paused; }
.rj-marquee__item {
    font-family: var(--f-script);
    font-size: 16px;
    letter-spacing: .04em;
    padding: 0 26px;
}
.rj-marquee__sep { color: var(--gold); opacity: .6; font-size: 12px; }
@keyframes rjMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Wishlist heart ── */
.rj-wish {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 4;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.9);
    color: var(--gray);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
    transition: transform .3s var(--ease), color .3s var(--ease), background .3s var(--ease);
}
.rj-wish svg { fill: none; stroke: currentColor; stroke-width: 1.7; transition: fill .3s var(--ease); }
.rj-wish:hover { color: var(--gold); transform: scale(1.08); }
.rj-wish.is-active { color: var(--gold); }
.rj-wish.is-active svg { fill: var(--gold); stroke: var(--gold); }
.rj-wish.is-pop { animation: rjPop .32s var(--ease-out); }
@keyframes rjPop { 0%{transform:scale(1);} 45%{transform:scale(1.35);} 100%{transform:scale(1);} }

/* ── Back to top ── */
.rj-backtop {
    position: fixed;
    right: 28px; bottom: 28px;
    z-index: 800;
    width: 52px; height: 52px;
    border: 0;
    border-radius: 50%;
    background: var(--black);
    color: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(16px);
    transition: opacity .4s var(--ease), visibility .4s var(--ease), transform .4s var(--ease), background .3s var(--ease);
}
.rj-backtop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.rj-backtop:hover { background: var(--gold); }
.rj-backtop__icon { position: relative; z-index: 2; }
.rj-backtop__ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.rj-backtop__ring-fill { stroke: var(--gold); stroke-width: 2; fill: none; transition: stroke-dashoffset .1s linear; }

/* ── Single-product gallery ── */
.rj-gallery__main {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    cursor: pointer;
    aspect-ratio: 1 / 1;          /* square product image */
}
/* no zoom/scale — keep the image perfectly sharp */
.rj-gallery__main img {
    width: 100%; height: 100%; display: block;
    object-fit: cover;
}
.rj-gallery__thumbs {
    display: flex;
    gap: 14px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.rj-gallery__thumb {
    width: 110px; height: 110px;   /* larger, matching the product square */
    object-fit: cover;
    cursor: pointer;
    border: 1px solid var(--border);
    background: #ffffff;
    opacity: .75;
    transition: opacity .3s var(--ease), border-color .3s var(--ease);
}
.rj-gallery__thumb:hover,
.rj-gallery__thumb.is-active { opacity: 1; border-color: var(--gold); }

/* ───────────────────────────────────────
   STEP 13 — SEARCH / WISHLIST / 360 / LIGHTBOX / PWA
─────────────────────────────────────── */

/* Hero video */
.rj-hero__video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}
.rj-hero__video--mobile { display: none; }
@media (max-width: 768px) {
    .rj-hero__video--desktop { display: none; }
    .rj-hero__video--mobile  { display: block; }
}
.rj-hero__overlay, .rj-hero__content { z-index: 3; }
/* subtle gradient over the video so the logo + menu stay readable */
.rj-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,.40) 0%, rgba(0,0,0,.10) 28%, rgba(0,0,0,0) 55%, rgba(0,0,0,.20) 100%);
}

/* Wishlist badge tweak */
.rj-wish-badge { background: var(--gold); }

/* ── Live search results ── */
.rj-search-results {
    margin-top: 26px;
    max-height: 52vh;
    overflow-y: auto;
    text-align: left;
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.rj-search-results.is-open { opacity: 1; }
.rj-search-results__empty { color: rgba(255,255,255,.6); text-align: center; }
.rj-sresult {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    color: #fff;
}
.rj-sresult img, .rj-sresult__ph {
    width: 54px; height: 54px;
    object-fit: cover;
    background: rgba(255,255,255,.06);
    flex: 0 0 54px;
}
.rj-sresult__t { font-family: var(--f-head); font-size: 17px; }
.rj-sresult__t em { display: block; font-family: var(--f-body); font-style: normal; font-size: 13px; color: var(--gold-light); margin-top: 3px; }
.rj-sresult__code { display: block; font-family: var(--f-body); font-style: normal; font-size: 11px; letter-spacing: .06em; color: rgba(255,255,255,.5); margin-top: 2px; }
.rj-sresult:hover { color: var(--gold-light); }

/* ── 360 viewer ── */
.rj-360 {
    position: relative;
    background: #ffffff;
    overflow: hidden;
    cursor: grab;
    user-select: none;
}
.rj-360.is-dragging { cursor: grabbing; }
.rj-360__img { width: 100%; height: auto; display: block; pointer-events: none; }
.rj-360__hint {
    position: absolute;
    bottom: 14px; left: 50%;
    transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(13,13,13,.7);
    color: #fff;
    font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
    padding: 8px 16px;
    pointer-events: none;
}

/* ── Lightbox ── */
.rj-lightbox {
    position: fixed; inset: 0;
    z-index: 100000;
    background: rgba(8,8,8,.94);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
.rj-lightbox.is-open { opacity: 1; visibility: visible; }
.rj-lightbox__stage { max-width: 86vw; max-height: 86vh; overflow: hidden; cursor: zoom-in; }
.rj-lightbox__stage img { max-width: 86vw; max-height: 86vh; display: block; transition: transform .3s var(--ease); }
.rj-lightbox__stage img.is-zoom { transform: scale(2); cursor: zoom-out; }
.rj-lightbox__close {
    position: absolute; top: 22px; right: 28px;
    width: 46px; height: 46px;
    background: transparent; border: 0;
    color: #fff; font-size: 32px; line-height: 1; cursor: pointer;
    transition: color .3s var(--ease);
}
.rj-lightbox__close:hover { color: var(--gold); }
.rj-lightbox__nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 54px; height: 54px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
    color: #fff; font-size: 26px; cursor: pointer;
    transition: background .3s var(--ease);
}
.rj-lightbox__nav:hover { background: var(--gold); border-color: var(--gold); }
.rj-lightbox__prev { left: 26px; }
.rj-lightbox__next { right: 26px; }

/* ── Registration nav button ── */
.rj-nav-btn {
    display: inline-block;
    margin-left: 12px;
    padding: 9px 22px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--f-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background .3s var(--ease), color .3s var(--ease);
}
.rj-nav-btn:hover { background: var(--gold); color: #fff; }
/* header (top-left) variant — nudged a little lower */
.rj-nav-btn--header { margin-left: 0; transform: translateY(14px); }
/* white outline when the header floats over the hero */
body.rj-transparent-header #rj-header .rj-nav-btn { border-color: rgba(255,255,255,.8); color: #fff; }
body.rj-transparent-header #rj-header .rj-nav-btn:hover { background: var(--gold); border-color: var(--gold); }
/* mobile button — full width at the bottom of the menu */
.rj-nav-btn--mobile {
    display: block;
    margin: 22px 0 0;
    text-align: center;
    padding: 16px;
    color: #fff;
    background: var(--gold);
    border-color: var(--gold);
}
.rj-nav-btn--mobile:hover { background: var(--gold-light); }

/* ── Registration page ── */
.rj-register__card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--cream);
    padding: 54px 56px;
}
.rj-register__intro { text-align: center; margin-bottom: 30px; }
.rj-register__intro .rj-flourish { margin: -8px auto 18px; }
.rj-register__note { color: var(--gray); max-width: 440px; margin: 0 auto; line-height: 1.7; }
/* keep the date field's label floated (date inputs are never "empty") */
.rj-cform__field--filled label {
    top: -12px; font-size: 11px; letter-spacing: .1em;
    text-transform: uppercase; color: var(--gold);
}

/* ── Wishlist page / Recently viewed ── */
.rj-wishpage__empty { text-align: center; padding: 30px 0 10px; }
.rj-wishpage__empty p { color: var(--gray); font-size: 18px; margin-bottom: 22px; font-family: var(--f-head); }
.rj-recent { margin-top: 90px; }

/* ───────────────────────────────────────
   PRODUCT BOX INFO + ACCORDION
─────────────────────────────────────── */
.rj-boxinfo__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.rj-boxinfo__media img { width: 100%; height: auto; display: block; aspect-ratio: 1/1; object-fit: cover; }
.rj-boxinfo__placeholder {
    aspect-ratio: 1/1;
    background: var(--cream);
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    color: var(--gray);
    font-size: 13px; line-height: 1.7;
    padding: 20px;
}

/* accordion */
.rj-acc__item { border-bottom: 1px solid var(--border); }
.rj-acc__head {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    padding: 22px 2px;
    background: none; border: 0;
    font-family: var(--f-head);
    font-size: 19px;
    color: var(--dark);
    text-align: left;
    cursor: pointer;
    transition: color .3s var(--ease);
}
.rj-acc__head:hover { color: var(--gold); }
.rj-acc__chev { flex: 0 0 auto; color: var(--gray); transition: transform .35s var(--ease); }
.rj-acc__item.is-open .rj-acc__chev { transform: rotate(180deg); color: var(--gold); }
.rj-acc__body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.rj-acc__inner { padding: 0 2px 24px; color: var(--gray); line-height: 1.8; font-size: 15px; }
.rj-acc__inner p { margin: 0 0 10px; }
.rj-acc__inner :last-child { margin-bottom: 0; }

/* ── RESPONSIVE (global shell) ── */
@media (max-width: 1024px) {
    .rj-footer__inner { grid-template-columns: 1fr 1fr 1fr; }
    .rj-footer__brand { grid-column: 1 / -1; }
    .rj-contact2__card { grid-template-columns: 1fr; }
    .rj-boxinfo__grid { grid-template-columns: 1fr; gap: 36px; }
    .rj-about-intro__grid { grid-template-columns: 1fr; gap: 36px; }
    .rj-shop__grid { grid-template-columns: repeat(3, 1fr); }
    .rj-single__grid { grid-template-columns: 1fr; gap: 36px; }
    .rj-single__info { position: static; order: 2; }   /* image first, then info */
    .rj-single__media { order: 1; }
    .rj-about-intro__p { max-width: none; }
    .rj-about-intro__divider { display: none; }
    .rj-about-intro__p--lower { margin-top: 24px; }
    .rj-cats__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .rj-slider__track > .rj-prod { flex-basis: calc((100% - 2 * 24px) / 3); }
    .rj-valentine__grid { grid-template-columns: repeat(3, 1fr); }
    .rj-shop__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .rj-menu-toggle  { display: flex; }
    .rj-header__nav  { display: none; }
    .rj-nav-btn--header { display: none; }
    .rj-header__logo-row { padding-inline: 20px; }
    :root { --header-h: 60px; }
    /* Category as a paged 2×2 slider with ‹ › arrows */
    .rj-cats__grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-template-rows: repeat(2, auto);
        grid-auto-columns: calc((100% - 14px) / 2);
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -ms-overflow-style: none;
        scrollbar-width: none;
        padding-bottom: 2px;
    }
    .rj-cats__grid::-webkit-scrollbar { display: none; }
    .rj-cat { scroll-snap-align: start; }
    /* arrows centered BELOW the cards (don't cover the images) */
    .rj-cats__slider { padding-bottom: 62px; }
    .rj-cats__nav {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: auto;
        bottom: 0;
        transform: none;
        z-index: 5;
        width: 42px; height: 42px;
        border-radius: 50%;
        border: 1px solid var(--border);
        background: var(--white);
        color: var(--dark);
        font-size: 22px; line-height: 1;
        box-shadow: 0 6px 18px rgba(0,0,0,.12);
    }
    .rj-cats__nav--prev { left: calc(50% - 52px); right: auto; }
    .rj-cats__nav--next { right: calc(50% - 52px); left: auto; }
    /* ── Footer (mobile): 2 link columns, newsletter full-width at the bottom ── */
    #rj-footer { display: block; overflow: hidden; padding: 44px 22px 30px; }
    .rj-footer__inner  { display: contents; }
    .rj-footer__bottom { display: contents; }

    /* LEFT column: brand (+contact), then Categories */
    .rj-footer__brand,
    .rj-footer__col--categories {
        float: left; clear: left; width: 47%; margin: 0 0 26px;
    }
    /* RIGHT column: Services, then Legal */
    .rj-footer__col--services,
    .rj-footer__col--legal {
        float: right; clear: right; width: 47%; margin: 0 0 26px;
    }

    /* Newsletter + copyright: full width, below both columns */
    .rj-footer__col.rj-footer__col--news,
    .rj-footer__bottom-right {
        float: none; clear: both; width: 100%;
    }
    .rj-footer__col.rj-footer__col--news { margin-top: 14px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
    .rj-footer__bottom-right { text-align: left; margin-top: 26px; }
    .rj-footer__form input,
    .rj-footer__form button { width: 100%; }
}
@media (max-width: 768px) {
    .rj-slider__track > .rj-prod { flex-basis: calc((100% - 24px) / 2); }
    /* Valentine → horizontal snap slider (one card per view, with a peek) */
    .rj-valentine__grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 82%;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .rj-valentine__grid::-webkit-scrollbar { display: none; }
    .rj-vcard { scroll-snap-align: start; }
    /* banner: drop the wide ratio, give it height + dark overlay for text */
    .rj-gifting {
        aspect-ratio: auto;
        min-height: 420px;
        background-position: 28% center;
    }
    .rj-gifting::before {
        content: '';
        position: absolute; inset: 0;
        background: linear-gradient(90deg, rgba(13,13,13,.25) 0%, rgba(13,13,13,.75) 100%);
    }
    .rj-gifting .rj-container { position: relative; z-index: 2; }
    .rj-gifting__content { max-width: 340px; transform: none; }
}
@media (max-width: 480px) {
    .rj-footer__inner { grid-template-columns: 1fr; }
    .rj-shop__grid { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
    .rj-slider__track > .rj-prod { flex-basis: 80%; }
    .rj-slider__nav { display: none; }
    .rj-cform__row { grid-template-columns: 1fr; gap: 0; }
    .rj-contact2__aside,
    .rj-contact2__form-col { padding: 40px 26px; }
}
