:root {
    --txt:       #241318;
    --dark-rose: #3e1227;
    --wine:      #57152e;
    --cream:     #f4ede2;
    --sand:      #e9ddca;
    --gold:      #a5824a;
    --rose:      #c96a6f;
    --rose-soft: #e8c9c2;
    --line:      rgba(63, 24, 40, 0.18);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Almarai', sans-serif;
    background: var(--cream);
    color: var(--txt);
    overflow-x: hidden;
}

/* الكيرسر المخصص مش موجود افتراضيًا — JS هو اللي بيضيف الكلاس ده
   بعد ما يتأكد إنه شغال، ولو وقع الموقع بيرجع للماوس الطبيعي */
body.has-custom-cursor { cursor: none; }
body.has-custom-cursor a,
body.has-custom-cursor button { cursor: none; }

@media (hover: none) {
    body { cursor: auto !important; }
    .cursor-dot, .cursor-ring { display: none; }
}

::selection { background: var(--dark-rose); color: var(--cream); }

img, svg, button, a { -webkit-user-drag: none; }

/* grain */
.noise {
    position: fixed;
    inset: -50%;
    width: 200%;
    height: 200%;
    z-index: 120;
    pointer-events: none;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain 8s steps(10) infinite;
    will-change: transform;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    20% { transform: translate(-3%, 2%); }
    40% { transform: translate(2%, -3%); }
    60% { transform: translate(-4%, -2%); }
    80% { transform: translate(3%, 3%); }
}

.cursor-dot, .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 200;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 6px; height: 6px;
    background: var(--cream);
    display: none;
}

.cursor-ring {
    width: 36px; height: 36px;
    border: 1px solid var(--cream);
    transition: width .25s ease, height .25s ease, border-color .25s ease;
    display: none;
}

/* العناصر دي بتظهر بس مع الكلاس اللي JS بيثبّته */
body.has-custom-cursor .cursor-dot,
body.has-custom-cursor .cursor-ring {
    display: block;
}

body.is-link .cursor-ring {
    width: 56px; height: 56px;
    border-color: transparent;
    background: rgba(200, 106, 111, 0.15);
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    font-weight: 300;
    color: var(--wine);
    text-transform: uppercase;
}

.kicker i {
    width: 34px; height: 1px;
    background: var(--gold);
}

.sec-label {
    display: inline-block;
    font-family: 'Aref Ruqaa', serif;
    font-size: 1.25rem;
    color: var(--wine);
    border: 1px solid var(--gold);
    padding: 6px 22px;
    border-radius: 40px;
}

em { font-family: 'Playfair Display', serif; font-style: italic; }

/* fixed — يضيق مع السكرول */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 5vw;
    mix-blend-mode: luminosity;
    transition: padding .35s ease, background .35s ease;
}

.site-header.scrolled {
    padding: 14px 5vw;
    background: rgba(244, 237, 226, 0.86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    mix-blend-mode: normal;
}

.brand {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--wine);
    text-decoration: none;
}

.brand em {
    font-size: 0.9em;
    color: var(--gold);
    margin-right: 2px;
}

.header-nav {
    display: flex;
    gap: clamp(18px, 3vw, 42px);
}

.header-nav a {
    position: relative;
    text-decoration: none;
    color: var(--txt);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    padding: 4px 0;
    transition: color .25s ease;
}

.header-nav a::after {
    content: '';
    position: absolute;
    right: 0; bottom: 0;
    width: 0; height: 1px;
    background: var(--rose);
    transition: width .35s ease;
}

.header-nav a:hover { color: var(--rose); }
.header-nav a:hover::after { width: 100%; }

.header-cart {
    display: flex;
    align-items: baseline;
    gap: 8px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--txt);
}

.header-cart b {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--rose);
    border: 1px solid var(--gold);
    border-radius: 40px;
    padding: 2px 10px;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.header-cart.bump b {
    transform: scale(1.25);
    background: var(--wine);
    color: var(--cream);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4vw;
    padding: 14vh 5vw 8vh;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 55% at 78% 30%, rgba(200, 106, 111, 0.10), transparent 70%),
        radial-gradient(45% 45% at 20% 85%, rgba(197, 158, 90, 0.10), transparent 70%);
    pointer-events: none;
}

.hero-copy { position: relative; z-index: 2; }

.hero-title {
    font-size: clamp(3.2rem, 8vw, 6.6rem);
    font-weight: 800;
    line-height: 1.02;
    color: var(--wine);
    margin: 26px 0 28px;
}

.hero-title .line { display: block; }

.hero-title .outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--wine);
}

.hero-title .outline em {
    -webkit-text-stroke: 0;
    color: transparent;
    background: linear-gradient(120deg, var(--gold), var(--rose));
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-desc {
    max-width: 44ch;
    color: var(--dark-rose);
    opacity: 0.75;
    font-size: 1.02rem;
    line-height: 2;
    font-weight: 300;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--cream);
    background: var(--wine);
    padding: 16px 34px;
    border-radius: 2px;
    font-size: 0.95rem;
    font-weight: 700;
    transition: background .3s ease, gap .3s ease;
    position: relative;
    overflow: hidden;
}

.cta-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, var(--gold), var(--rose));
    transform: translateX(-101%);
    transition: transform .35s ease;
}

.cta-link:hover::after { transform: translateX(0); }

.cta-link span,
.cta-link { position: relative; z-index: 1; }

.cta-link:hover { gap: 22px; }

.hero-price {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--gold);
}

.hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 34px;
}

.scent-rings {
    position: absolute;
    width: min(34vw, 420px);
    height: min(34vw, 420px);
    border: 1px solid var(--gold);
    border-radius: 50%;
    opacity: 0.5;
    animation: ringPulse 5s ease-in-out infinite;
}

.scent-rings::before,
.scent-rings::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--rose);
}

.scent-rings::before {
    inset: 12%;
    border-style: dashed;
    opacity: 0.6;
    animation: ringSpin 24s linear infinite;
}

.scent-rings::after {
    inset: 28%;
    border: 0;
    background: radial-gradient(circle at 35% 65%, rgba(213, 169, 74, 0.18), transparent 60%);
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.04); opacity: 0.8; }
}

@keyframes ringSpin { to { transform: rotate(360deg); } }

@keyframes bottlePop {
    0% { transform: scale(1); }
    40% { transform: scale(1.06); }
    100% { transform: scale(1); }
}

.bottle {
    position: relative;
    width: min(30vw, 220px);
    aspect-ratio: 3 / 4.6;
    filter: drop-shadow(18px 26px 40px rgba(63, 24, 40, 0.25));
    transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.bottle:hover { transform: translateY(-8px) rotate(-2deg); }

.cap {
    width: 62%;
    height: 7%;
    margin: 0 auto;
    background: linear-gradient(180deg, #2a1520, #170a10);
    border-radius: 10px 10px 3px 3px;
    position: relative;
    z-index: 3;
}

.neck {
    width: 30%;
    height: 4%;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 0 0 6px 6px;
    position: relative;
    z-index: 2;
}

.glass {
    position: relative;
    height: 76%;
    background: linear-gradient(165deg, rgba(255,255,255,0.92), rgba(255,255,255,0.55) 45%, rgba(231, 214, 196, 0.75));
    border: 1px solid rgba(63, 24, 40, 0.16);
    border-radius: 8px 8px 26px 26px;
    overflow: hidden;
    backdrop-filter: blur(2px);
}

.liquid {
    position: absolute;
    left: 6%; right: 6%;
    bottom: 4%;
    height: 68%;
    background:
        radial-gradient(120% 90% at 20% 10%, rgba(255,255,255,0.35), transparent 45%),
        var(--liquid);
    border-radius: 4px 4px 22px 22px;
    transition: background .5s ease;
}

.shine {
    position: absolute;
    top: 4%; left: 12%;
    width: 9%;
    height: 62%;
    background: linear-gradient(180deg, rgba(255,255,255,0.9), transparent);
    opacity: 0.65;
    transform: rotate(8deg);
    border-radius: 10px;
}

.label {
    position: absolute;
    top: 26%; left: 50%;
    transform: translateX(-50%);
    width: 66%;
    background: #f9f2e4;
    border-radius: 2px;
    padding: 12px 8px;
    text-align: center;
    box-shadow: 0 1px 8px rgba(63, 24, 40, 0.18);
    transition: transform .4s ease;
}

.bottle:hover .label { transform: translateX(-50%) translateY(-3px); }

.label-brand {
    display: block;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--rose);
    letter-spacing: 1px;
}

.label-name {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--wine);
    margin: 3px 0;
    min-height: 1.1em;
}

.label-no {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 0.62rem;
    color: var(--gold);
}

.beam {
    position: absolute;
    top: 22%; left: -14%;
    width: 34%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--gold));
    opacity: 0;
    transition: opacity .5s ease, left .5s ease;
}

.bottle:hover .beam-a { opacity: 0.8; left: -18%; }
.beam-b { left: auto; right: -14%; transform: translateY(60px);
          background: linear-gradient(270deg, transparent, var(--rose)); }
.bottle:hover .beam-b { opacity: 0.8; right: -18%; }

.scent-switcher {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(249, 242, 228, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: 60px;
    box-shadow: 0 10px 30px rgba(63, 24, 40, 0.10);
    position: relative;
    z-index: 4;
}

.sw-title {
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: var(--dark-rose);
    opacity: 0.6;
    margin-left: 6px;
}

.scent-switcher button {
    font-family: 'Aref Ruqaa', serif;
    font-size: 1rem;
    color: var(--dark-rose);
    background: none;
    border: none;
    padding: 6px 12px;
    border-radius: 30px;
    opacity: 0.55;
    transition: all .25s ease;
}

.scent-switcher button:hover { opacity: 1; color: var(--rose); }

.scent-switcher button.active {
    opacity: 1;
    background: var(--wine);
    color: var(--cream);
}

/* stamp */
.stamp-circle {
    position: absolute;
    bottom: 9vh; left: 6vw;
    width: 92px; height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Aref Ruqaa', serif;
    font-size: 1rem;
    color: var(--wine);
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    transform: rotate(-14deg);
    opacity: 0.85;
    animation: stampBob 4s ease-in-out infinite;
    z-index: 2;
}

@keyframes stampBob {
    0%, 100% { transform: rotate(-14deg) translateY(0); }
    50% { transform: rotate(-14deg) translateY(-10px); }
}

/* marquee */
.marquee {
    width: 100%;
    overflow: hidden;
    background: var(--wine);
    color: var(--cream);
    padding: 16px 0;
    direction: ltr;
}

.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee 28s linear infinite;
    will-change: transform;
}

.marquee-track span {
    font-family: 'Aref Ruqaa', serif;
    font-size: 1.4rem;
    padding: 0 18px;
    white-space: nowrap;
}

.marquee-track b {
    font-size: 0.9rem;
    color: var(--gold);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.collection {
    padding: 12vh 5vw 16vh;
    background: var(--cream);
}

.collection-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 6vh;
}

.collection-head h2 {
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 800;
    color: var(--wine);
}

.collection-head h2 em {
    color: var(--gold);
    font-weight: 500;
}

.product-row {
    position: relative;
    display: grid;
    grid-template-columns: 90px 170px 1fr auto;
    align-items: center;
    gap: 3vw;
    padding: 34px 0;
    border-top: 1px solid var(--line);
    transition: background .3s ease;
}

.product-row:last-child { border-bottom: 1px solid var(--line); }

.product-row:hover { background: linear-gradient(90deg, transparent, rgba(232, 201, 194, 0.25), transparent); }

.p-index {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.6rem;
    color: var(--gold);
    opacity: 0.6;
    transition: opacity .3s ease, transform .3s ease;
}

.product-row:hover .p-index { opacity: 1; transform: translateX(-6px); }

.p-bottle {
    width: 82px;
    aspect-ratio: 3 / 4.4;
    filter: drop-shadow(10px 14px 18px rgba(63,24,40,0.22));
    transition: transform .45s cubic-bezier(.2,.8,.2,1);
}

.p-bottle .glass { border-radius: 6px 6px 16px 16px; }
.p-bottle .label { padding: 8px 5px; }
.p-bottle .label-name { font-size: 0.56rem; min-height: 1em; }
.p-bottle .label-brand { font-size: 0.66rem; }

.product-row:hover .p-bottle { transform: translateY(-10px) rotate(-3deg); }

.p-info h3 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    font-weight: 500;
    color: var(--wine);
}

.p-ar {
    display: block;
    font-family: 'Aref Ruqaa', serif;
    font-size: 1.15rem;
    color: var(--rose);
    margin: 4px 0 8px;
}

.p-info p {
    font-size: 0.92rem;
    color: var(--dark-rose);
    opacity: 0.65;
    max-width: 34ch;
    line-height: 1.7;
}

.p-buy {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.p-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--txt);
}

.p-old {
    font-size: 0.85rem;
    color: var(--dark-rose);
    opacity: 0.45;
    text-decoration: line-through;
}

.add-btn {
    margin-top: 10px;
    background: none;
    border: 1px solid var(--wine);
    color: var(--wine);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 10px 26px;
    border-radius: 2px;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}

.add-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--wine);
    transform: translateY(101%);
    transition: transform .3s ease;
}

.add-btn:hover { color: var(--cream); }
.add-btn:hover::after { transform: translateY(0); }
.add-btn span { position: relative; z-index: 1; }
.add-btn.added { border-color: var(--gold); color: var(--gold); }

.voices {
    padding: 16vh 5vw;
    background: var(--sand);
    position: relative;
    overflow: hidden;
}

.voices::before,
.voices::after {
    content: '❝';
    position: absolute;
    font-family: 'Playfair Display', serif;
    font-size: 13rem;
    color: var(--rose);
    opacity: 0.08;
}

.voices::before { top: -4%; right: 4%; }
.voices::after { bottom: -18%; left: 4%; transform: rotate(180deg); }

.voices-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.quote-mark {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: var(--gold);
    line-height: 0.4;
    margin-top: 36px;
}

.voices blockquote {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    line-height: 1.9;
    font-weight: 400;
    color: var(--dark-rose);
    margin: 40px auto 36px;
    max-width: 22ch;
}

.voices cite {
    font-style: normal;
    font-family: 'Aref Ruqaa', serif;
    font-size: 1.2rem;
    color: var(--rose);
    letter-spacing: 0.5px;
}

.newsletter {
    padding: 14vh 5vw;
    background: var(--cream);
    position: relative;
}

.newsletter-inner {
    max-width: 640px;
}

.newsletter-inner h2 {
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.4;
    font-weight: 800;
    color: var(--wine);
    margin: 24px 0 40px;
}

.newsletter-form {
    display: flex;
    border-bottom: 2px solid var(--wine);
    padding-bottom: 8px;
    max-width: 520px;
}

.newsletter-form input {
     flex: 1;
    background: none;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 1.05rem;
    color: var(--txt);
    padding: 10px 0;
}

.newsletter-form input::placeholder {
    color: var(--dark-rose);
    opacity: 0.4;
}

.newsletter-form button {
    background: none;
    border: none;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--gold);
    font-weight: 600;
    transition: gap .25s ease;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.newsletter-form button::after { content: '←'; }
.newsletter-form button:hover { gap: 16px; }

.newsletter-note {
    display: block;
    margin-top: 18px;
    font-size: 0.8rem;
    color: var(--dark-rose);
    opacity: 0.5;
}

/* footer */
.site-footer {
    background: var(--dark-rose);
    color: var(--cream);
    padding: 9vh 5vw 4vh;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 7vh;
}

.footer-brand { max-width: 340px; }

.footer-brand .brand { color: var(--cream); font-size: 1.8rem; }
.footer-brand .brand em { color: var(--gold); }
.footer-brand p {
    margin-top: 18px;
    line-height: 2;
    font-weight: 300;
    font-size: 0.92rem;
    color: rgba(244, 237, 226, 0.65);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-links div { display: flex; flex-direction: column; gap: 10px; }

.foot-title {
    font-family: 'Aref Ruqaa', serif;
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 8px;
}

.footer-links a {
    text-decoration: none;
    color: rgba(244, 237, 226, 0.7);
    font-size: 0.92rem;
    transition: color .25s ease, padding-right .25s ease;
}

.footer-links a:hover {
    color: var(--cream);
    padding-right: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(244, 237, 226, 0.15);
    padding-top: 26px;
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: rgba(244, 237, 226, 0.45);
    flex-wrap: wrap;
    gap: 10px;
}

.footer-tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--gold);
    opacity: 0.8;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1);
}

[data-reveal].in-view {
    opacity: 1;
    transform: translateY(0);
}

/* responsive */
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; text-align: center; padding-top: 20vh; }
    .hero-copy { display: flex; flex-direction: column; align-items: center; }
    .hero-desc { margin-inline: auto; }
    .hero-actions { justify-content: center; flex-wrap: wrap; }
    .stamp-circle { display: none; }
    .scent-rings { width: 60vw; height: 60vw; max-width: 380px; }
    .bottle { width: 44vw; max-width: 210px; }
    .header-nav { display: none; }
    .collection-head { flex-direction: column; align-items: flex-start; gap: 18px; }
    .product-row {
        grid-template-columns: 40px 70px 1fr;
        gap: 16px;
        padding: 26px 0;
    }
    .p-info h3 { font-size: 1.15rem; }
    .p-ar { font-size: 0.95rem; }
    .p-info p { display: none; }
    .p-buy {
        grid-column: 3;
        flex-direction: row;
        align-items: baseline;
        gap: 10px;
        justify-content: flex-start;
    }
    .add-btn { padding: 8px 18px; margin-top: 0; }
    .footer-top { flex-direction: column; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 3rem; }
    .hero-actions { gap: 16px; }
    .product-row { grid-template-columns: 30px 60px 1fr; }
    .p-bottle { width: 64px; }
}

/* حشيشة الـ noise فلتر SVG بتاعة رفَعة — بتثقل الرسم على الموبايلات
   الضعيفة، فبنشيلها خالص تحت 900px */
@media (max-width: 900px) {
    .noise { display: none; }
}

/* لو المستخدم جهز device بيفضل أقل حركة — نهدّي الحركة كلها */
@media (prefers-reduced-motion: reduce) {
    .noise, .marquee-track { animation: none !important; }
    [data-reveal] { transition: none !important; transform: none !important; opacity: 1 !important; }
}