@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,400;6..96,500;6..96,600;6..96,700&family=DM+Sans:wght@400;500;600;700&display=swap");

/* RR ORNAMENTS - PHASE 2 */

:root {
    --ivory:#f5f0e7;
    --cream:#eee5d6;
    --dark:#171513;
    --dark-soft:#25211d;
    --gold:#b58a3d;
    --gold-light:#d1ad68;
    --gold-dark:#8f6728;
    --text:#25221e;
    --muted:#70685d;
    --border:#d8cebe;
    --white:#fff;
}

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

html { scroll-behavior:smooth; }

body {
    background:var(--ivory);
    color:var(--text);
    font-family:"DM Sans",sans-serif;
    overflow-x:hidden;
}

body.locked { overflow:hidden; }

img { display:block; max-width:100%; }

a { color:inherit; text-decoration:none; }

button,input { font-family:inherit; }

.container {
    width:min(1280px,calc(100% - 72px));
    margin:0 auto;
}

/* TOP BAR */
.top-bar {
    height:32px;
    display:flex;
    align-items:center;
    background:var(--dark);
    color:#d8cfc2;
}

.top-bar-inner {
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.top-bar-inner > div {
    font-size:7px;
    letter-spacing:2.4px;
}

.gold-star { margin-right:6px; color:var(--gold-light); }
.top-message { opacity:.6; }

/* HEADER */
.site-header {
    position:sticky;
    top:0;
    z-index:1000;
    background:rgba(245,240,231,.97);
    backdrop-filter:blur(16px);
    border-bottom:1px solid var(--border);
}

.navbar {
    min-height:76px;
    display:flex;
    align-items:center;
    gap:25px;
}

/* BRAND */
/* =========================================================
   RR ORNAMENTS OFFICIAL LOGO
   Use the supplied brand artwork exactly as provided.
   ========================================================= */

.brand {
    width:190px;
    min-width:190px;
    height:56px;
    display:flex;
    align-items:center;
}

.brand-logo {
    display:block;
    width:190px;
    height:auto;
    max-height:56px;
    object-fit:contain;
    object-position:left center;
}

.footer-logo {
    display:block;
    width:235px;
    max-width:100%;
    height:auto;
    object-fit:contain;
}

@media (max-width:820px) {
    .brand {
        width:145px;
        min-width:145px;
        height:48px;
    }

    .brand-logo {
        width:145px;
        max-height:48px;
    }

    .footer-logo {
        width:210px;
    }
}

@media (max-width:400px) {
    .brand {
        width:125px;
        min-width:125px;
        height:44px;
    }

    .brand-logo {
        width:125px;
        max-height:44px;
    }
}

/* DESKTOP NAV */
.desktop-nav {
    position:relative;
    display:flex;
    align-items:center;
    gap:21px;
    margin-left:auto;
}

.desktop-nav > a,.more-button {
    position:relative;
    color:var(--text);
    border:0;
    background:transparent;
    font-size:8px;
    letter-spacing:.7px;
    white-space:nowrap;
}

.desktop-nav > a::after {
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:-7px;
    height:1px;
    background:var(--gold);
    transform:scaleX(0);
    transition:transform .25s ease;
}

.desktop-nav > a:hover::after { transform:scaleX(1); }

.more-button {
    display:flex;
    align-items:center;
    gap:5px;
    cursor:pointer;
}

.more-button span { transition:transform .25s ease; }
.more-button.active span { transform:rotate(180deg); }

/* MORE MENU */
.more-menu {
    position:absolute;
    top:calc(100% + 22px);
    right:-10px;
    width:190px;
    padding:9px 0;
    background:var(--ivory);
    border:1px solid var(--border);
    box-shadow:0 25px 60px rgba(0,0,0,.13);
    opacity:0;
    visibility:hidden;
    transform:translateY(-8px);
    transition:opacity .2s ease,visibility .2s ease,transform .2s ease;
}

.more-menu.active {
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.more-menu a {
    display:block;
    padding:11px 18px;
    font-size:8px;
    letter-spacing:.8px;
}

.more-menu a:hover {
    background:var(--cream);
    color:var(--gold-dark);
}

/* NAV ACTIONS */
.nav-actions {
    display:flex;
    align-items:center;
    gap:16px;
    margin-left:20px;
}

.icon-button {
    width:29px;
    height:29px;
    display:grid;
    place-items:center;
    border:0;
    background:transparent;
    cursor:pointer;
}

.icon-button svg {
    width:16px;
    height:16px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.4;
}

.store-link {
    display:flex;
    align-items:center;
    gap:6px;
    font-size:8px;
    letter-spacing:.6px;
    white-space:nowrap;
}

.store-link svg {
    width:16px;
    height:16px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.3;
}

.nav-enquire {
    min-height:41px;
    padding:0 18px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:var(--dark);
    color:white;
    font-size:8px;
    letter-spacing:.8px;
    transition:background .25s ease;
}

.nav-enquire:hover { background:var(--gold-dark); }

/* CATEGORY BAR */
.category-bar {
    border-top:1px solid rgba(216,206,190,.6);
    background:rgba(238,229,214,.45);
}

.category-bar-inner {
    min-height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:34px;
    overflow-x:auto;
    scrollbar-width:none;
}

.category-bar-inner::-webkit-scrollbar { display:none; }

.category-bar-inner a {
    flex-shrink:0;
    position:relative;
    color:#544d43;
    font-size:7px;
    letter-spacing:1.1px;
}

.category-bar-inner a::after {
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:-6px;
    height:1px;
    background:var(--gold);
    transform:scaleX(0);
    transition:transform .2s ease;
}

.category-bar-inner a:hover::after { transform:scaleX(1); }

/* MOBILE BUTTON */
.menu-button {
    display:none;
    width:41px;
    height:41px;
    margin-left:auto;
    border:1px solid var(--border);
    background:transparent;
    cursor:pointer;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
}

.menu-button span {
    width:18px;
    height:1px;
    background:var(--dark);
    transition:.25s ease;
}

.menu-button.active span:nth-child(1) {
    transform:translateY(6px) rotate(45deg);
}

.menu-button.active span:nth-child(2) { opacity:0; }

.menu-button.active span:nth-child(3) {
    transform:translateY(-6px) rotate(-45deg);
}

/* MOBILE NAV */
.mobile-nav { display:none; }

/* SEARCH */
.search-overlay {
    position:fixed;
    inset:0;
    z-index:3000;
    display:flex;
    justify-content:center;
    align-items:flex-start;
    padding-top:100px;
    background:rgba(23,21,19,.55);
    opacity:0;
    visibility:hidden;
    transition:.25s ease;
}

.search-overlay.active {
    opacity:1;
    visibility:visible;
}

.search-panel {
    width:min(720px,calc(100% - 30px));
    padding:28px;
    background:var(--ivory);
    box-shadow:0 30px 80px rgba(0,0,0,.25);
}

.search-panel-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:20px;
}

.search-panel-heading span {
    color:var(--gold-dark);
    font-size:8px;
    letter-spacing:2.5px;
}

.search-panel-heading button {
    border:0;
    background:transparent;
    font-size:28px;
    cursor:pointer;
}

.search-box {
    height:57px;
    display:flex;
    align-items:center;
    gap:12px;
    padding:0 17px;
    background:white;
    border:1px solid var(--border);
}

.search-box svg {
    width:18px;
    height:18px;
    fill:none;
    stroke:var(--muted);
    stroke-width:1.4;
}

.search-box input {
    width:100%;
    border:0;
    outline:0;
    background:transparent;
    font-size:12px;
}

.popular-searches {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:9px;
    margin-top:17px;
}

.popular-searches span {
    color:var(--muted);
    font-size:8px;
}

.popular-searches a {
    padding:7px 11px;
    border:1px solid var(--border);
    font-size:8px;
}

/* HERO CAROUSEL */
.hero-carousel {
    position:relative;
    width:100%;
    height:min(calc(100vh - 148px),720px);
    min-height:560px;
    overflow:hidden;
    background:var(--dark);
}

.hero-slide {
    position:absolute;
    inset:0;
    opacity:0;
    visibility:hidden;
    transition:opacity .8s ease,visibility .8s ease;
}

.hero-slide.active {
    opacity:1;
    visibility:visible;
}

.hero-slide > img {
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero-overlay {
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(10,8,6,.62) 0%,rgba(10,8,6,.16) 48%,rgba(10,8,6,.05) 100%);
}

.hero-slide-content {
    position:absolute;
    left:max(36px,calc((100% - 1280px)/2));
    bottom:100px;
    width:min(470px,40%);
    color:white;
}

.hero-slide-eyebrow {
    margin-bottom:20px;
    color:var(--gold-light);
    font-size:8px;
    font-weight:600;
    letter-spacing:3px;
}

.hero-slide-content h1 {
    font-family:"Bodoni Moda",serif;
    font-size:clamp(55px,6vw,90px);
    font-weight:500;
    line-height:.98;
    letter-spacing:-2px;
    margin:0;
}

.hero-slide-content h1 span,
.hero-slide-content h1 em {
    display:block;
}

.hero-slide-content h1 span {
    color:white;
    font-style:normal;
}

.hero-slide-content h1 em {
    margin-top:4px;
    color:var(--gold-light);
    font-weight:400;
    font-style:italic;
}

.hero-slide-content h1 em {
    color:var(--gold-light);
    font-weight:400;
}

.hero-slide-content > p:not(.hero-slide-eyebrow) {
    max-width:410px;
    margin-top:25px;
    color:rgba(255,255,255,.78);
    font-size:12px;
    line-height:1.8;
}

.hero-slide-button {
    margin-top:30px;
    min-height:49px;
    display:inline-flex;
    align-items:center;
    gap:20px;
    padding:0 22px;
    background:var(--gold);
    color:white;
    font-size:8px;
    font-weight:600;
    letter-spacing:1px;
    transition:background .25s ease,transform .25s ease;
}

.hero-slide-button:hover {
    background:var(--gold-dark);
    transform:translateY(-2px);
}

.hero-slide-button span { font-size:15px; }

.hero-slide-number {
    position:absolute;
    right:45px;
    bottom:95px;
    color:rgba(255,255,255,.8);
    font-family:"Bodoni Moda",serif;
    font-size:30px;
}

/* HERO CONTROLS */
.hero-controls {
    position:absolute;
    right:45px;
    bottom:38px;
    z-index:10;
    display:flex;
    align-items:center;
    gap:18px;
}

.hero-arrow {
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border:1px solid rgba(255,255,255,.5);
    background:transparent;
    color:white;
    cursor:pointer;
    transition:background .2s ease,color .2s ease;
}

.hero-arrow:hover {
    background:white;
    color:var(--dark);
}

.hero-dots {
    display:flex;
    align-items:center;
    gap:8px;
}

.hero-dot {
    width:25px;
    height:1px;
    padding:0;
    border:0;
    background:rgba(255,255,255,.4);
    cursor:pointer;
    transition:.25s ease;
}

.hero-dot.active {
    width:42px;
    background:var(--gold-light);
}

/* CATEGORY DISCOVERY */
.category-discovery {
    padding:125px 0;
    background:var(--ivory);
}

.section-heading.centered { text-align:center; }

.eyebrow {
    color:var(--gold-dark);
    font-size:8px;
    font-weight:600;
    letter-spacing:3px;
}

.section-heading h2 {
    max-width:760px;
    margin:18px auto 0;
    font-family:"Bodoni Moda",serif;
    font-size:clamp(50px,5vw,72px);
    font-weight:500;
    line-height:1.02;
    letter-spacing:-0.35px;
    font-kerning:normal;
    text-rendering:optimizeLegibility;
}

.section-heading h2 em {
    color:var(--gold-dark);
    font-weight:400;
    letter-spacing:-0.2px;
}

.category-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    margin-top:60px;
}

.category-card {
    display:block;
    background:var(--cream);
    transition:transform .3s ease,box-shadow .3s ease;
}

.category-card:hover {
    transform:translateY(-6px);
    box-shadow:0 20px 40px rgba(37,34,30,.09);
}

.category-card-image {
    height:280px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-family:"Bodoni Moda",serif;
    font-size:34px;
    letter-spacing:3px;
    color:rgba(255,255,255,.8);
}

.gold-category { background:linear-gradient(135deg,#9b702d,#d0aa61,#76511d); }
.silver-category {
    background: linear-gradient(135deg,#5c5a56,#d7d3cb,#494743);
}
.bridal-category { background:linear-gradient(135deg,#6b2e27,#a86d5d,#4a211c); }
.everyday-category { background:linear-gradient(135deg,#8d8172,#c5b9a8,#62594d); }

.category-card-content { padding:23px; }

.category-card-content > span {
    color:var(--gold-dark);
    font-size:7px;
    letter-spacing:2px;
}

.category-card-content h3 {
    margin-top:9px;
    font-family:"Bodoni Moda",serif;
    font-size:25px;
    font-weight:600;
}

.category-card-content p {
    margin-top:7px;
    color:var(--muted);
    font-size:9px;
    line-height:1.6;
}

.category-card-content strong {
    display:inline-block;
    margin-top:18px;
    font-size:8px;
    letter-spacing:.8px;
}

/* COLLECTION INTRO */
.collection-intro {
    padding:105px 0;
    background:var(--cream);
}

.collection-intro-inner {
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:40px;
}

.collection-intro h2 {
    max-width:680px;
    margin-top:18px;
    font-family:"Bodoni Moda",serif;
    font-size:clamp(48px,5vw,70px);
    font-weight:500;
    line-height:.9;
}

.collection-intro h2 em {
    color:var(--gold-dark);
    font-weight:400;
}

.text-button {
    display:inline-flex;
    align-items:center;
    gap:13px;
    padding-bottom:6px;
    border-bottom:1px solid var(--gold);
    font-size:8px;
    font-weight:600;
    letter-spacing:1px;
    white-space:nowrap;
}

/* STORY */
.story-preview {
    padding:130px 0;
    background:var(--dark);
    color:white;
}

.story-preview-inner {
    display:grid;
    grid-template-columns:1.2fr .8fr;
    align-items:center;
    gap:100px;
}

.story-preview-copy h2 {
    max-width:650px;
    margin-top:18px;
    font-family:"Bodoni Moda",serif;
    font-size:clamp(48px,5vw,70px);
    font-weight:500;
    line-height:.9;
}

.story-preview-copy h2 em {
    color:var(--gold-light);
    font-weight:400;
}

.story-preview-copy > p:not(.eyebrow) {
    max-width:510px;
    margin-top:25px;
    color:#b5aea4;
    font-size:12px;
    line-height:1.9;
}

.dark-button {
    margin-top:30px;
    color:white;
}

.story-preview-mark {
    min-height:360px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    border:1px solid rgba(209,173,104,.3);
}

.story-preview-mark span {
    color:var(--gold-light);
    font-family:"Bodoni Moda",serif;
    font-size:110px;
    line-height:1;
}

.story-preview-mark small {
    color:#aaa096;
    font-size:7px;
    letter-spacing:4px;
}

/* SHOWROOM */
.showroom-cta {
    padding:135px 0;
    text-align:center;
    background:var(--ivory);
}

.showroom-cta-inner {
    display:flex;
    align-items:center;
    flex-direction:column;
}

.showroom-cta h2 {
    margin-top:18px;
    font-family:"Bodoni Moda",serif;
    font-size:clamp(50px,5vw,72px);
    font-weight:500;
    line-height:.9;
}

.showroom-cta h2 em {
    color:var(--gold-dark);
    font-weight:400;
}

.showroom-cta p:not(.eyebrow) {
    max-width:480px;
    margin-top:20px;
    color:var(--muted);
    font-size:11px;
    line-height:1.8;
}

.showroom-cta .button { margin-top:30px; }

.button-gold {
    min-height:50px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:18px;
    padding:0 23px;
    background:var(--gold);
    color:white;
    font-size:8px;
    font-weight:600;
    letter-spacing:1px;
}

.button-gold:hover { background:var(--gold-dark); }

/* FOOTER */
.site-footer {
    padding-top:70px;
    background:var(--dark);
    color:#aaa198;
}

.footer-grid {
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:50px;
    padding-bottom:60px;
}

.footer-brand {
    display:flex;
    flex-direction:column;
}



.footer-column {
    display:flex;
    flex-direction:column;
    gap:11px;
}

.footer-column h4 {
    margin-bottom:7px;
    color:var(--gold-light);
    font-size:7px;
    letter-spacing:2px;
}

.footer-column a {
    font-size:8px;
    transition:color .2s ease;
}

.footer-column a:hover { color:white; }

.footer-bottom {
    min-height:55px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border-top:1px solid rgba(255,255,255,.08);
    font-size:7px;
    letter-spacing:1px;
}

/* TABLET */
@media (max-width:1100px) {
    .container { width:min(calc(100% - 48px),1160px); }
    .desktop-nav { gap:13px; }
    .nav-actions { gap:9px; margin-left:8px; }
    .store-link span { display:none; }
    .category-bar-inner { gap:25px; }
    .category-grid { grid-template-columns:repeat(2,1fr); }
    .hero-slide-content { width:50%; }
}

/* MOBILE */
@media (max-width:820px) {
    .container { width:min(calc(100% - 30px),620px); }
    .top-message { display:none; }
    .top-bar-inner { justify-content:center; }
    .navbar { min-height:70px; }

    .desktop-nav,.nav-actions,.category-bar { display:none; }
    .menu-button { display:flex; }

    .mobile-nav {
        display:flex;
        flex-direction:column;
        max-height:0;
        overflow:hidden;
        background:var(--ivory);
        transition:max-height .35s ease;
    }

    .mobile-nav.active {
        max-height:600px;
        border-top:1px solid var(--border);
    }

    .mobile-nav a {
        padding:15px 20px;
        border-bottom:1px solid var(--border);
        font-size:9px;
        letter-spacing:1px;
    }

    .hero-carousel {
        height:72vh;
        min-height:560px;
    }

    .hero-slide > img { object-position:center; }

    .hero-overlay {
        background:linear-gradient(0deg,rgba(10,8,6,.78),rgba(10,8,6,.12) 75%);
    }

    .hero-slide-content {
        left:22px;
        right:22px;
        bottom:105px;
        width:auto;
    }

    .hero-slide-content h1 {
        font-size:clamp(50px,15vw,72px);
        line-height:.98;
        letter-spacing:-1.5px;
    }

    .hero-slide-content > p:not(.hero-slide-eyebrow) { font-size:11px; }

    .hero-controls {
        right:20px;
        bottom:28px;
    }

    .hero-slide-number { display:none; }

    .category-discovery { padding:90px 0; }

    .category-grid {
        grid-template-columns:1fr;
        margin-top:45px;
    }

    .category-card-image { height:250px; }

    .collection-intro { padding:85px 0; }

    .collection-intro-inner {
        align-items:flex-start;
        flex-direction:column;
    }

    .story-preview { padding:90px 0; }

    .story-preview-inner {
        grid-template-columns:1fr;
        gap:50px;
    }

    .story-preview-mark { min-height:280px; }

    .showroom-cta { padding:90px 0; }

    .home-showroom-card {
        min-height:230px;
    }

    .home-showroom-card h3 {
        width:90%;
        font-size:29px;
    }

    .footer-grid {
        grid-template-columns:1fr 1fr;
        gap:45px;
    }

    .footer-brand { grid-column:1 / -1; }

    .footer-bottom {
        flex-direction:column;
        align-items:flex-start;
        justify-content:center;
        gap:6px;
        padding:17px 0;
    }
}

/* SMALL PHONES */
@media (max-width:400px) {
    .brand-text strong { font-size:14px; }
    .hero-carousel { min-height:530px; }
    .hero-slide-content h1 { font-size:50px; }
    .hero-slide-button { min-height:46px; }

    .home-showroom-card h3 {
        font-size:27px;
    }
}

/* =========================================================
   HERO PICTURE FIX
   Fixes black/empty space after using <picture>
   ========================================================= */

.hero-slide > picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.hero-slide > picture > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================================
   MOBILE HERO
   ========================================================= */

@media (max-width: 820px) {

    .hero-carousel {
        height: 115vw;
        min-height: 0;
        max-height: 850px;
    }

    .hero-slide > picture {
        width: 100%;
        height: 100%;
    }

    .hero-slide > picture > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    /* Raj Verma slide */
    .hero-slide[data-slide="0"] > picture > img {
        object-position: 50% center;
    }

    /* Timeless Beauty slide */
    .hero-slide[data-slide="1"] > picture > img {
        object-position: 58% center;
    }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .hero-carousel {
        height: 120vw;
    }

    .hero-slide[data-slide="0"] > picture > img {
        object-position: 50% center;
    }

    .hero-slide[data-slide="1"] > picture > img {
        object-position: 60% center;
    }
}


/* ACCESSIBILITY */
.sr-only {
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
}

/* =========================================================
   RR ORNAMENTS
   MOBILE SEARCH BUTTON - FINAL
   ========================================================= */

@media (max-width:820px) {

    .navbar {
        position:relative !important;
        overflow:visible !important;
    }

    .mobile-search-button {
        display:flex !important;
        position:absolute !important;

        top:50% !important;
        right:62px !important;

        width:42px !important;
        height:42px !important;

        transform:translateY(-50%) !important;

        margin:0 !important;
        padding:0 !important;

        align-items:center !important;
        justify-content:center !important;

        border:1px solid var(--border) !important;
        background:transparent !important;
        color:var(--dark) !important;

        opacity:1 !important;
        visibility:visible !important;

        z-index:9999 !important;
        cursor:pointer;
    }

    .mobile-search-button svg {
        display:block !important;
        width:19px !important;
        height:19px !important;

        fill:none !important;
        stroke:currentColor !important;
        stroke-width:1.6 !important;
    }

    .mobile-search-button:active {
        background:rgba(181,138,61,.10);
    }
}

/* Stories: real image visuals */
.story-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.story-visual::before,
.story-visual::after {
    display: none;
}


/* =========================
   GOLD PAGE MOBILE HERO
========================= */

@media (max-width: 700px) {
    .gold-hero h1 {
        font-size: clamp(58px, 15vw, 88px);
        line-height: 0.92;
    }
}

html {
    scroll-behavior: smooth;
}