/* =========================================================
   RANSARA
   LUXURY EDITORIAL NAVIGATION — NEW DESIGN
========================================================= */

:root {
    --cream: #f7f2e9;
    --cream-light: #fcfaf6;
    --cream-dark: #e9dfd1;

    --brown: #2b211c;
    --brown-soft: #6f5d51;
    --brown-light: #99877a;

    --gold: #a77b43;
    --gold-light: #c8a56d;

    --white: #fffdf9;

    --border: rgba(43, 33, 28, 0.13);
    --border-light: rgba(43, 33, 28, 0.07);

    --serif: "Cormorant Garamond", serif;
    --sans: "DM Sans", sans-serif;

    --announcement-height: 30px;
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream-light);
    color: var(--brown);
    font-family: var(--sans);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font-family: inherit;
}

img {
    max-width: 100%;
}


/* =========================================================
   ANNOUNCEMENT
========================================================= */

.announcement-bar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: var(--announcement-height);

    z-index: 10000;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 13px;

    background: var(--brown);
    color: rgba(255,255,255,.78);

    font-size: 8px;
    letter-spacing: .22em;

    white-space: nowrap;
}

.announcement-bar i {
    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: var(--gold-light);
}


/* =========================================================
   FLOATING LOGO
========================================================= */

.floating-logo {
    position: fixed;

    top: 49px;
    left: 34px;

    width: 126px;
    height: 126px;

    z-index: 9000;

    transition:
        opacity .4s ease,
        transform .5s cubic-bezier(.2,.8,.2,1);
}

.floating-logo a {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-logo img {
    width: 100%;
    height: 100%;
    border-radius: 10%;

    object-fit: contain;

    filter:
        drop-shadow(
            0 12px 22px rgba(43,33,28,.12)
        );

    transition:
        transform .45s ease,
        filter .45s ease;
}

.floating-logo:hover img {
    transform: scale(1.06) rotate(-2deg);

    filter:
        drop-shadow(
            0 16px 28px rgba(43,33,28,.17)
        );
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;

    top: var(--announcement-height);
    left: 0;

    width: 100%;

    z-index: 8000;

    padding: 20px 35px 0;

    transition:
        transform .4s ease,
        padding .4s ease;
}

.header-inner {
    min-height: 62px;

    display: flex;
    align-items: center;

    border-bottom: 1px solid var(--border);

    pointer-events: auto;
}


/* =========================================================
   HEADER LEFT
========================================================= */

.header-left {
    width: 150px;

    flex-shrink: 0;

    margin-left: 165px;
}

.brand-code {
    font-size: 8px;
    letter-spacing: .2em;

    color: var(--brown-light);
}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.desktop-navigation {
    height: 62px;

    display: flex;
    align-items: stretch;

    margin-left: auto;
}

.desktop-link {
    position: relative;

    min-width: 94px;

    height: 62px;

    padding: 0 17px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    border: 0;
    border-left: 1px solid var(--border);

    background: transparent;

    color: var(--brown);

    text-decoration: none;

    font-family: var(--sans);
    font-size: 9px;
    font-weight: 500;

    letter-spacing: .13em;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        color .3s ease,
        background .3s ease;
}

.desktop-link > span {
    position: absolute;

    top: 7px;
    left: 9px;

    font-size: 6px;
    letter-spacing: .08em;

    color: var(--brown-light);
}

.desktop-link::after {
    content: "";

    position: absolute;

    left: 15px;
    right: 15px;
    bottom: -1px;

    height: 2px;

    background: var(--gold);

    transform: scaleX(0);
    transform-origin: left;

    transition:
        transform .35s cubic-bezier(.2,.8,.2,1);
}

.desktop-link:hover,
.desktop-link.active {
    color: var(--gold);
}

.desktop-link:hover::after,
.desktop-link.active::after {
    transform: scaleX(1);
}


/* =========================================================
   FABRIC TRIGGER
========================================================= */

.fabric-trigger {
    padding-right: 30px;
}

.fabric-trigger b {
    position: absolute;

    right: 11px;

    width: 6px;
    height: 6px;

    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;

    transform: rotate(45deg);

    transition: transform .3s ease;
}

.fabric-trigger.open b {
    transform: rotate(225deg);
}


/* =========================================================
   HEADER RIGHT
========================================================= */

.header-right {
    height: 62px;

    display: flex;
    align-items: center;

    gap: 14px;

    margin-left: 15px;
}

.header-year {
    padding-left: 14px;

    border-left: 1px solid var(--border);

    font-size: 8px;
    letter-spacing: .15em;

    color: var(--brown-light);
}

.wishlist-button {
    width: 38px;
    height: 38px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: transparent;

    color: var(--brown);

    cursor: pointer;

    transition:
        color .3s ease,
        border-color .3s ease,
        transform .3s ease;
}

.wishlist-button svg {
    width: 15px;
    height: 15px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
}

.wishlist-button:hover {
    color: var(--gold);
    border-color: var(--gold);

    transform: translateY(-2px);
}


/* =========================================================
   FABRIC PANEL
========================================================= */

.fabric-panel {
    position: fixed;

    top: 114px;
    right: 35px;

    width: min(900px, calc(100vw - 70px));

    z-index: 8500;

    visibility: hidden;
    opacity: 0;
    pointer-events: none;

    transform:
        translateY(-20px)
        scale(.98);

    transform-origin: top right;

    background: rgba(252,250,246,.98);

    border: 1px solid var(--border);

    box-shadow:
        0 35px 90px rgba(43,33,28,.16);

    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .4s cubic-bezier(.2,.8,.2,1);
}

.fabric-panel.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;

    transform:
        translateY(0)
        scale(1);
}

.fabric-panel-inner {
    padding: 32px;
}


/* =========================================================
   FABRIC HEADING
========================================================= */

.fabric-heading {
    display: grid;

    grid-template-columns: 1fr 240px;

    gap: 40px;

    align-items: end;

    padding-bottom: 27px;

    border-bottom: 1px solid var(--border);
}

.fabric-heading .eyebrow {
    display: block;

    margin-bottom: 8px;

    color: var(--gold);

    font-size: 8px;
    letter-spacing: .22em;
}

.fabric-heading h2 {
    margin: 0;

    font-family: var(--serif);

    font-size: 52px;
    font-weight: 400;

    line-height: .78;

    color: var(--brown);
}

.fabric-heading h2 em {
    color: var(--gold);
}

.fabric-heading p {
    margin: 0;

    color: var(--brown-soft);

    font-size: 10px;
    line-height: 1.7;
}


/* =========================================================
   FABRIC LIST
========================================================= */

.fabric-list {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-left: 1px solid var(--border);
}

.fabric-list a {
    position: relative;

    min-height: 112px;

    padding: 18px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    text-decoration: none;

    color: var(--brown);

    overflow: hidden;

    transition:
        background .3s ease,
        padding .3s ease;
}

.fabric-list a::before {
    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    right: -45px;
    top: -45px;

    border-radius: 50%;

    background: rgba(167,123,67,.09);

    transition: transform .45s ease;
}

.fabric-list a:hover {
    background: #f0e6d9;

    padding-left: 22px;
}

.fabric-list a:hover::before {
    transform: scale(2.3);
}

.fabric-list a > span {
    position: absolute;

    top: 12px;
    left: 17px;

    font-size: 7px;

    color: var(--brown-light);
}

.fabric-list strong {
    position: relative;
    z-index: 1;

    font-family: var(--serif);

    font-size: 21px;
    font-weight: 500;

    line-height: 1;
}

.fabric-list small {
    position: relative;
    z-index: 1;

    margin-top: 5px;

    font-size: 7px;

    letter-spacing: .1em;
    text-transform: uppercase;

    color: var(--brown-light);
}

.fabric-list b {
    position: absolute;

    right: 15px;
    bottom: 14px;

    color: var(--gold);

    font-size: 14px;

    opacity: 0;

    transform: translate(-4px,4px);

    transition:
        opacity .3s ease,
        transform .3s ease;
}

.fabric-list a:hover b {
    opacity: 1;

    transform: translate(0,0);
}


/* =========================================================
   FABRIC FOOTER
========================================================= */

.fabric-panel-footer {
    display: flex;
    justify-content: space-between;

    padding-top: 16px;

    color: var(--brown-light);

    font-size: 7px;

    letter-spacing: .17em;
}


/* =========================================================
   HAMBURGER
========================================================= */

.hamburger {
    display: none;

    width: 42px;
    height: 42px;

    padding: 0;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: rgba(252,250,246,.92);

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    cursor: pointer;
}

.hamburger span {
    width: 17px;
    height: 1px;

    background: var(--brown);

    transition:
        transform .3s ease,
        width .3s ease;
}

.hamburger span:last-child {
    width: 12px;
    margin-left: 5px;
}

.hamburger.open span:first-child {
    transform: translateY(3px) rotate(45deg);
}

.hamburger.open span:last-child {
    width: 17px;
    margin-left: 0;

    transform: translateY(-3px) rotate(-45deg);
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu {
    position: fixed;

    top: var(--announcement-height);
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 9500;

    background: var(--cream);

    visibility: hidden;
    opacity: 0;

    pointer-events: none;

    overflow-y: auto;
    overflow-x: hidden;

    transform: translateY(-100%);

    transition:
        transform .75s cubic-bezier(.76,0,.24,1),
        opacity .2s ease;
}

.mobile-menu.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;

    transform: translateY(0);
}

.mobile-menu-inner {
    min-height: 100%;

    padding:
        18px
        20px
        30px;

    display: flex;
    flex-direction: column;
}


/* =========================================================
   MOBILE MENU HEADER
========================================================= */

.mobile-menu-header {
    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--border);
}

.mobile-menu-header > span {
    font-size: 8px;
    letter-spacing: .2em;

    color: var(--brown-soft);
}

.close-menu {
    position: relative;

    width: 40px;
    height: 40px;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: transparent;

    cursor: pointer;
}

.close-menu span {
    position: absolute;

    width: 15px;
    height: 1px;

    left: 50%;
    top: 50%;

    background: var(--brown);
}

.close-menu span:first-child {
    transform: translate(-50%,-50%) rotate(45deg);
}

.close-menu span:last-child {
    transform: translate(-50%,-50%) rotate(-45deg);
}

.close-menu:hover {
    background: var(--brown);
}

.close-menu:hover span {
    background: var(--white);
}


/* =========================================================
   MOBILE INTRO
========================================================= */

.mobile-intro {
    padding: 38px 0 30px;
}

.mobile-intro > span {
    color: var(--gold);

    font-size: 8px;
    letter-spacing: .22em;
}

.mobile-intro h2 {
    margin: 9px 0 0;

    font-family: var(--serif);

    font-size: clamp(55px, 17vw, 90px);

    font-weight: 400;

    line-height: .78;

    letter-spacing: -.045em;
}

.mobile-intro h2 em {
    color: var(--gold);
}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

.mobile-navigation {
    width: 100%;
}

.mobile-link,
.mobile-fabric-trigger {
    width: 100%;
    min-height: 72px;

    display: grid;

    grid-template-columns: 38px 1fr 30px;

    align-items: center;

    border-top: 1px solid var(--border);

    color: var(--brown);

    text-decoration: none;

    background: transparent;
}

.mobile-link:last-child {
    border-bottom: 1px solid var(--border);
}

.mobile-number {
    font-size: 8px;

    color: var(--gold);

    letter-spacing: .1em;
}

.mobile-link strong,
.mobile-fabric-trigger strong {
    font-family: var(--serif);

    font-size: 31px;
    font-weight: 500;

    line-height: 1;

    transition:
        color .3s ease,
        transform .3s ease;
}

.mobile-link > b {
    justify-self: end;

    font-size: 15px;

    color: var(--gold);

    transition:
        transform .3s ease;
}

.mobile-link:hover strong {
    color: var(--gold);

    transform: translateX(5px);
}

.mobile-link:hover > b {
    transform: translate(3px,-3px);
}


/* =========================================================
   MOBILE FABRIC
========================================================= */

.mobile-fabric {
    border-top: 1px solid var(--border);
}

.mobile-fabric-trigger {
    border: 0;

    padding: 0;

    cursor: pointer;

    text-align: left;
}

.mobile-fabric-trigger > b {
    justify-self: end;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    color: var(--gold);

    font-size: 16px;
    font-weight: 300;
}

.mobile-fabric-list {
    max-height: 0;

    overflow: hidden;

    opacity: 0;

    transition:
        max-height .5s cubic-bezier(.2,.8,.2,1),
        opacity .3s ease;
}

.mobile-fabric-list.open {
    max-height: 600px;

    opacity: 1;
}

.mobile-fabric-list a {
    min-height: 46px;

    margin-left: 38px;

    padding-right: 5px;

    display: grid;

    grid-template-columns: 25px 1fr 20px;

    align-items: center;

    border-top: 1px solid var(--border-light);

    color: var(--brown-soft);

    text-decoration: none;

    font-size: 11px;

    transition:
        color .25s ease,
        padding-left .25s ease;
}

.mobile-fabric-list a span {
    font-size: 7px;
    color: var(--gold);
}

.mobile-fabric-list a b {
    justify-self: end;

    color: var(--gold);

    font-size: 13px;
}

.mobile-fabric-list a:hover {
    padding-left: 5px;
    color: var(--gold);
}


/* =========================================================
   MOBILE FOOTER
========================================================= */

.mobile-menu-footer {
    margin-top: 50px;
    padding-top: 20px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    border-top: 1px solid var(--border);
}

.mobile-menu-footer span {
    display: block;

    margin-bottom: 7px;

    color: var(--gold);

    font-size: 7px;
    letter-spacing: .18em;
}

.mobile-menu-footer p {
    margin: 0;

    color: var(--brown-soft);

    font-family: var(--serif);

    font-size: 17px;
    line-height: 1;
}

.footer-mark {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    font-family: var(--serif);
    font-size: 21px;
}


/* =========================================================
   MOBILE OPEN STATE
========================================================= */

body.menu-open .floating-logo,
body.menu-open .site-header {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body.menu-open .announcement-bar {
    z-index: 11000;
}


/* =========================================================
   SCROLLED HEADER
========================================================= */

.site-header.scrolled {
    padding-top: 10px;
}

.site-header.scrolled .header-inner {
    background: rgba(252,250,246,.88);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 10px 35px rgba(43,33,28,.05);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) and (min-width: 701px) {

    .floating-logo {
        left: 22px;

        width: 100px;
        height: 100px;
    }

    .header-left {
        width: 100px;
        margin-left: 115px;
    }

    .desktop-link {
        min-width: auto;

        padding-left: 12px;
        padding-right: 12px;

        font-size: 8px;
    }

    .header-right {
        margin-left: 8px;
    }

    .fabric-panel {
        right: 20px;

        width:
            calc(100vw - 40px);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    :root {
        --announcement-height: 27px;
    }

    .announcement-bar {
        gap: 7px;

        font-size: 6px;
        letter-spacing: .12em;
    }

    .announcement-bar i {
        width: 2px;
        height: 2px;
    }


    /* Logo */

    .floating-logo {
        top: 38px;
        left: 10px;

        width: 78px;
        height: 78px;
    }


    /* Header */

    .site-header {
        top: var(--announcement-height);

        padding:
            11px
            10px
            0;
    }

    .header-inner {
        min-height: 52px;

        justify-content: flex-end;

        border-bottom: 0;
    }

    .header-left,
    .desktop-navigation,
    .header-year {
        display: none;
    }

    .header-right {
        height: auto;

        margin: 0;

        gap: 7px;
    }

    .wishlist-button {
        width: 43px;
        height: 43px;
    }

    .hamburger {
        display: flex;
    }


    /* Mobile menu */

    .mobile-menu {
        top: var(--announcement-height);
    }

    .mobile-menu-inner {
        padding:
            16px
            17px
            35px;
    }

    .mobile-intro {
        padding-top: 32px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .announcement-bar {
        font-size: 5.5px;
        letter-spacing: .09em;
    }

    .floating-logo {
        top: 35px;
        left: 8px;

        width: 70px;
        height: 70px;
    }

    .site-header {
        padding:
            9px
            8px
            0;
    }

    .wishlist-button,
    .hamburger {
        width: 41px;
        height: 41px;
    }

    .mobile-menu-inner {
        padding:
            14px
            14px
            30px;
    }

    .mobile-menu-header {
        min-height: 45px;
    }

    .mobile-intro {
        padding-top: 27px;
        padding-bottom: 24px;
    }

    .mobile-intro h2 {
        font-size: 52px;
    }

    .mobile-link,
    .mobile-fabric-trigger {
        min-height: 64px;
    }

    .mobile-link strong,
    .mobile-fabric-trigger strong {
        font-size: 27px;
    }

    .mobile-menu-footer {
        margin-top: 38px;
    }
}


/* =========================================================
   VERY SMALL
========================================================= */

@media (max-width: 360px) {

    .floating-logo {
        width: 63px;
        height: 63px;
        left: 6px;
    }

    .mobile-intro h2 {
        font-size: 46px;
    }

    .mobile-link strong,
    .mobile-fabric-trigger strong {
        font-size: 24px;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* =====================================================
RANSARA — COMPACT LUXURY PAGINATION
===================================================== */

.rs-pagination {
width: 100%;
box-sizing: border-box;


display: flex;
align-items: center;
justify-content: center;

gap: 12px;

margin: 28px auto 15px;
padding: 10px 15px;

border-top: 1px solid rgba(30, 30, 30, 0.10);
border-bottom: 1px solid rgba(30, 30, 30, 0.10);

font-family: "DM Sans", sans-serif;


}

/* =====================================================
PAGE NUMBER
===================================================== */

.rs-page {
width: 34px;
height: 34px;


display: inline-flex;
align-items: center;
justify-content: center;

box-sizing: border-box;

text-decoration: none;

color: #555;

font-size: 12px;
font-weight: 500;
letter-spacing: 1px;

border-radius: 50%;

transition:
    color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease;


}

/* =====================================================
HOVER
===================================================== */

.rs-page:hover {
color: #111;


background-color: rgba(190, 160, 100, 0.12);

transform: translateY(-2px);


}

/* =====================================================
ACTIVE
===================================================== */

.rs-page.active {
color: #fff;


background-color: #1d1d1b;

box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.12);


}

/* =====================================================
SEPARATOR
===================================================== */

.rs-page-separator {
color: #b6a27a;


font-size: 11px;
line-height: 1;

opacity: 0.8;


}

/* =====================================================
MOBILE
===================================================== */

@media (max-width: 600px) {


.rs-pagination {
    gap: 5px;

    margin: 20px auto 12px;

    padding: 8px 10px;
}

.rs-page {
    width: 30px;
    height: 30px;

    font-size: 10px;
}

.rs-page-separator {
    font-size: 9px;
}


}