/*
Theme Name: Norena
Theme URI: http://norena.localhost
Author: NORENA
Description: قالب اختصاصی فروشگاه طلا و جواهر نورا
Version: 1.0.0
Text Domain: norena
*/

:root {
    --nr-bg: #f8f4ee;
    --nr-surface: #fffdf9;
    --nr-soft: #f1ebe3;
    --nr-soft-2: #ece3d8;
    --nr-text: #211b16;
    --nr-muted: #867b70;
    --nr-gold: #ae6f24;
    --nr-gold-2: #c58d49;
    --nr-line: #e7dfd6;
    --nr-dark: #211811;
    --nr-radius: 8px;
    --nr-container: 1440px;
    --nr-shadow: 0 14px 42px rgba(43, 31, 20, .06);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--nr-bg);
    color: var(--nr-text);
    direction: rtl;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.75;
}

button,
input,
select {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
}

.nr-site {
    max-width: 1536px;
    margin: 0 auto;
    background: #fffdf9;
    min-height: 100vh;
    box-shadow: 0 0 60px rgba(54, 38, 25, .07);
}

.nr-container {
    width: min(calc(100% - 68px), var(--nr-container));
    margin: 0 auto;
}

.nr-header {
    height: 88px;
    display: grid;
    grid-template-columns: 250px 1fr 250px;
    align-items: center;
    padding: 0 38px;
    border-bottom: 1px solid rgba(0, 0, 0, .025);
    background: rgba(255, 253, 249, .97);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
}

.nr-header__tools {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nr-header__tools--left {
    justify-content: flex-end;
    direction: ltr;
}

.nr-icon-btn {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: #16120f;
    position: relative;
    padding: 0;
}

.nr-icon-btn svg {
    width: 23px;
    height: 23px;
    stroke-width: 1.5;
}

.nr-cart-count {
    position: absolute;
    top: -1px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: var(--nr-dark);
    color: #fff;
    font-size: 10px;
}

.nr-header__center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
}

.nr-nav {
    display: flex;
    align-items: center;
    gap: 31px;
    font-size: 13px;
    color: #655c53;
}

.nr-nav a {
    transition: .2s ease;
}

.nr-nav a:hover,
.nr-nav a.is-active {
    color: var(--nr-gold);
}

.nr-brand {
    min-width: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    color: #18130f;
}

.nr-brand__mark {
    color: var(--nr-gold);
    font-size: 18px;
    line-height: 1;
    margin-bottom: 4px;
}

.nr-brand__name {
    letter-spacing: 5px;
    font-size: 15px;
    font-weight: 700;
}

.nr-brand__sub {
    margin-top: 5px;
    font-size: 6px;
    letter-spacing: 2.4px;
    color: #8a7969;
}

.nr-hero {
    position: relative;
    height: 350px;
    overflow: hidden;
    background: #2a1b10;
}

.nr-hero__slides,
.nr-hero__slide {
    position: absolute;
    inset: 0;
}

.nr-hero__slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity .7s ease;
}

.nr-hero__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.nr-hero__visual {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.nr-hero__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 23% 40%, rgba(220, 164, 94, .42), transparent 13%),
        radial-gradient(circle at 37% 52%, rgba(126, 72, 30, .48), transparent 21%),
        radial-gradient(circle at 16% 72%, rgba(243, 195, 130, .22), transparent 17%),
        linear-gradient(100deg, #5d341d 0%, #2a190f 48%, #130d09 100%);
    filter: saturate(.78);
}

.nr-hero__slide:nth-child(2) .nr-hero__visual::before {
    background:
        radial-gradient(circle at 26% 50%, rgba(191, 131, 66, .43), transparent 17%),
        radial-gradient(circle at 48% 42%, rgba(93, 55, 31, .58), transparent 22%),
        linear-gradient(100deg, #744a2a 0%, #2c1b12 52%, #14100d 100%);
}

.nr-hero__slide:nth-child(3) .nr-hero__visual::before {
    background:
        radial-gradient(circle at 25% 38%, rgba(228, 181, 120, .34), transparent 16%),
        radial-gradient(circle at 46% 65%, rgba(107, 71, 48, .55), transparent 23%),
        linear-gradient(100deg, #50301f 0%, #241814 54%, #100d0b 100%);
}

.nr-hero__content {
    position: relative;
    z-index: 2;
    width: 42%;
    height: 100%;
    margin-right: auto;
    padding: 72px 64px 50px;
    color: #fff;
    background: linear-gradient(90deg, rgba(16, 12, 9, .88), rgba(16, 12, 9, .25), transparent);
}

.nr-hero__content h1 {
    margin: 0 0 6px;
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 500;
    letter-spacing: -.8px;
}

.nr-hero__crumb {
    font-size: 12px;
    opacity: .82;
    margin-bottom: 8px;
}

.nr-hero__text {
    font-size: 14px;
    opacity: .86;
    max-width: 420px;
}

.nr-hero__dots {
    position: absolute;
    z-index: 4;
    bottom: 22px;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    gap: 7px;
}

.nr-hero__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .45);
    padding: 0;
}

.nr-hero__dot.is-active {
    background: #fff;
    width: 22px;
    border-radius: 20px;
}

.nr-categories {
    padding: 27px 0 25px;
    border-bottom: 1px solid var(--nr-line);
}

.nr-carousel {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    gap: 10px;
}

.nr-carousel__viewport {
    overflow: hidden;
}

.nr-carousel__track {
    display: flex;
    gap: 17px;
    transition: transform .45s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

.nr-category {
    min-width: 150px;
    text-align: center;
    color: #28211b;
}

.nr-category__visual {
    height: 128px;
    border-radius: 7px;
    background:
        radial-gradient(circle at 50% 46%, rgba(195, 130, 54, .22), transparent 24%),
        linear-gradient(145deg, #f4eee7, #ede4d9);
    position: relative;
    overflow: hidden;
}

.nr-category__visual::before,
.nr-category__visual::after {
    content: "";
    position: absolute;
    border: 3px solid rgba(174, 111, 36, .58);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.nr-category:nth-child(even) .nr-category__visual::after {
    width: 34px;
    height: 74px;
    border-radius: 50%;
}

.nr-category__name {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    font-weight: 600;
}

.nr-circle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: #f2ece5;
    color: #4b4138;
    display: grid;
    place-items: center;
}

.nr-circle-btn:hover {
    background: #e8ded3;
}

.nr-shop {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 265px;
    gap: 31px;
    padding: 28px 0 36px;
}

.nr-shop__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.nr-toolbar__group {
    display: flex;
    gap: 12px;
}

.nr-select,
.nr-square-btn {
    height: 44px;
    background: #fffdf9;
    border: 1px solid var(--nr-line);
    border-radius: 5px;
    color: #675e55;
}

.nr-select {
    padding: 0 18px 0 40px;
    min-width: 218px;
}

.nr-square-btn {
    width: 44px;
}

.nr-square-btn.is-active {
    color: var(--nr-gold);
    border-color: #d4b58e;
}

.nr-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 20px;
}

.nr-product {
    min-width: 0;
}

.nr-product__media {
    aspect-ratio: 1.55 / 1;
    border-radius: 7px;
    background:
        radial-gradient(circle at 48% 48%, rgba(191, 126, 50, .18), transparent 21%),
        linear-gradient(135deg, #f4eee7, #e9dfd4);
    position: relative;
    overflow: hidden;
}

.nr-product__media::before {
    content: "";
    width: 118px;
    height: 118px;
    border: 10px solid rgba(181, 111, 31, .67);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -42%) rotate(-22deg) scaleY(.44);
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.26);
}

.nr-product:nth-child(2) .nr-product__media::before {
    border-radius: 38% 38% 50% 50%;
    transform: translate(-50%, -45%) rotate(14deg) scaleY(.62);
}

.nr-product:nth-child(3n) .nr-product__media::before {
    width: 104px;
    height: 104px;
    border-width: 8px;
    transform: translate(-50%, -42%) rotate(30deg) scaleY(.48);
}

.nr-product__fav {
    position: absolute;
    top: 13px;
    left: 13px;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    display: grid;
    place-items: center;
}

.nr-product__fav svg {
    width: 20px;
    height: 20px;
}

.nr-product__body {
    text-align: center;
    padding: 11px 6px 0;
}

.nr-product__title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.nr-product__price {
    display: block;
    color: var(--nr-gold);
    margin-top: 3px;
    font-size: 13px;
}

.nr-sidebar {
    border-right: 1px solid var(--nr-line);
    padding-right: 28px;
}

.nr-filter {
    padding-bottom: 23px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--nr-line);
}

.nr-filter h3 {
    margin: 0 0 14px;
    font-size: 17px;
    font-weight: 700;
}

.nr-filter label {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 28px;
    color: #776d63;
}

.nr-filter input[type="radio"],
.nr-filter input[type="checkbox"] {
    accent-color: var(--nr-gold);
}

.nr-price-range {
    margin-top: 10px;
}

.nr-range-line {
    height: 2px;
    background: linear-gradient(to left, var(--nr-gold), var(--nr-gold));
    position: relative;
    margin: 15px 4px 10px;
}

.nr-range-line::before,
.nr-range-line::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 11px;
    height: 11px;
    border-radius: 2px;
    border: 2px solid var(--nr-gold);
    background: #fffdf9;
    transform: translateY(-50%);
}

.nr-range-line::before {
    right: -2px;
}

.nr-range-line::after {
    left: -2px;
}

.nr-range-values {
    display: flex;
    justify-content: space-between;
    color: #8d8175;
    font-size: 11px;
}

.nr-colors {
    display: grid;
    gap: 7px;
}

.nr-color {
    display: flex;
    align-items: center;
    gap: 9px;
}

.nr-swatch {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.08);
}

.nr-swatch--gold {
    background: #d6a04e;
}

.nr-swatch--white {
    background: #d6d0c8;
}

.nr-swatch--rose {
    background: #dcb7a2;
}

.nr-filter-btn {
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: 5px;
    color: #fff;
    background: #201810;
    font-weight: 700;
}

.nr-feature {
    margin-top: 33px;
    display: grid;
    grid-template-columns: 128px 1.3fr 1fr;
    gap: 18px;
    min-height: 465px;
}

.nr-thumbs {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.nr-thumb {
    flex: 1;
    min-height: 82px;
    border-radius: 6px;
    border: 1px solid transparent;
    background: linear-gradient(145deg, #f1e8de, #e4d7c8);
    position: relative;
}

.nr-thumb.is-active {
    border-color: #bf8c50;
}

.nr-feature__visual {
    min-height: 465px;
    border-radius: 7px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 55% 52%, rgba(184, 111, 37, .36), transparent 17%),
        radial-gradient(circle at 30% 28%, rgba(238, 199, 150, .28), transparent 20%),
        linear-gradient(135deg, #6e452b, #2a1d15 78%);
}

.nr-feature__visual::before {
    content: "";
    position: absolute;
    width: 290px;
    height: 290px;
    border: 28px solid rgba(217, 148, 62, .88);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -45%) rotate(-18deg) scaleY(.55);
    box-shadow:
        inset 0 0 0 4px rgba(255, 229, 185, .25),
        0 18px 45px rgba(0,0,0,.18);
}

.nr-feature__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255,255,255,.78);
    border-radius: 30px;
    padding: 5px 12px;
    color: #7f6345;
    font-size: 11px;
}

.nr-feature__content {
    padding: 18px 10px 0;
}

.nr-feature__eyebrow {
    display: inline-block;
    background: #f4eadc;
    color: #9e7446;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
}

.nr-feature__title {
    font-size: 28px;
    line-height: 1.45;
    margin: 12px 0 4px;
}

.nr-feature__price {
    color: var(--nr-gold);
    font-size: 24px;
    margin-bottom: 6px;
}

.nr-stars {
    color: #b26f1f;
    letter-spacing: 2px;
    font-size: 15px;
}

.nr-feature__desc {
    color: #74695f;
    margin: 14px 0 18px;
}

.nr-variants {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
    margin: 12px 0 18px;
}

.nr-variant {
    height: 43px;
    border: 1px solid var(--nr-line);
    background: #fffdf9;
    border-radius: 5px;
}

.nr-variant.is-active {
    border-color: var(--nr-gold);
    color: var(--nr-gold);
}

.nr-buy-row {
    display: grid;
    grid-template-columns: 1fr 55px;
    gap: 10px;
}

.nr-add-cart {
    height: 55px;
    border: 0;
    border-radius: 5px;
    background: #201810;
    color: #fff;
    font-weight: 700;
}

.nr-wish {
    height: 55px;
    border: 1px solid #d5b183;
    background: transparent;
    border-radius: 5px;
    color: var(--nr-gold);
    font-size: 24px;
}

.nr-benefits {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding: 27px 0;
    border-top: 1px solid var(--nr-line);
    border-bottom: 1px solid var(--nr-line);
}

.nr-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nr-benefit__icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: var(--nr-gold);
    font-size: 24px;
}

.nr-benefit strong {
    display: block;
    font-size: 12px;
}

.nr-benefit span {
    color: #9b9085;
    font-size: 10px;
}

.nr-promos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 25px 0;
}

.nr-promo {
    min-height: 174px;
    border-radius: 7px;
    overflow: hidden;
    position: relative;
    padding: 33px 40px;
}

.nr-promo--dark {
    color: #fff;
    background:
        radial-gradient(circle at 20% 50%, rgba(193, 126, 59, .32), transparent 20%),
        linear-gradient(120deg, #4c2f20, #17110d);
}

.nr-promo--light {
    background:
        radial-gradient(circle at 22% 52%, rgba(192, 125, 49, .25), transparent 22%),
        linear-gradient(120deg, #ead9c5, #f5ede3);
}

.nr-promo h3 {
    margin: 0 0 5px;
    font-size: 23px;
}

.nr-promo p {
    margin: 0 0 17px;
    opacity: .75;
}

.nr-promo button {
    border: 1px solid currentColor;
    background: rgba(255,255,255,.06);
    color: inherit;
    padding: 7px 15px;
    border-radius: 4px;
}

.nr-footer {
    border-top: 1px solid var(--nr-line);
    padding: 24px 0 35px;
    color: #8b8178;
    text-align: center;
    font-size: 12px;
}

@media (max-width: 1100px) {
    .nr-header {
        grid-template-columns: 170px 1fr 170px;
    }

    .nr-nav {
        display: none;
    }

    .nr-shop {
        grid-template-columns: 1fr;
    }

    .nr-sidebar {
        display: none;
    }

    .nr-products {
        grid-template-columns: repeat(2, 1fr);
    }

    .nr-feature {
        grid-template-columns: 90px 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .nr-container {
        width: min(calc(100% - 28px), var(--nr-container));
    }

    .nr-header {
        height: 68px;
        grid-template-columns: 1fr auto 1fr;
        padding: 0 14px;
    }

    .nr-header__tools {
        gap: 8px;
    }

    .nr-header__tools .nr-icon-btn:nth-child(n+3) {
        display: none;
    }

    .nr-brand__name {
        letter-spacing: 3px;
        font-size: 13px;
    }

    .nr-hero {
        height: 320px;
    }

    .nr-hero__content {
        width: 100%;
        padding: 80px 28px 40px;
        background: linear-gradient(90deg, rgba(20, 13, 8, .8), rgba(20, 13, 8, .25));
    }

    .nr-carousel {
        grid-template-columns: 36px minmax(0, 1fr) 36px;
    }

    .nr-category {
        min-width: 120px;
    }

    .nr-category__visual {
        height: 105px;
    }

    .nr-shop__toolbar {
        gap: 10px;
    }

    .nr-select {
        min-width: 0;
        width: 100%;
    }

    .nr-products {
        grid-template-columns: 1fr 1fr;
        gap: 18px 10px;
    }

    .nr-product__title {
        font-size: 13px;
    }

    .nr-feature {
        grid-template-columns: 1fr;
    }

    .nr-thumbs {
        display: none;
    }

    .nr-feature__visual {
        min-height: 340px;
    }

    .nr-benefits {
        grid-template-columns: 1fr 1fr;
    }

    .nr-promos {
        grid-template-columns: 1fr;
    }
}
