/* Свои блоки зеркала nastasiarose.com: витрина, карточка товара, корзина, мобильное меню, юр. страницы.
   Стиль повторяет Тильду: Raleway, золотая кнопка #EAB65E, скругления 15/30 px. */
.nr-prod *, .nr-cart *, .nr-catalog *, .nr-top *, .nr-doc *, .nr-btn { box-sizing: border-box; }
:root { --nr-gold: #eab65e; --nr-gold-d: #d9a24a; --nr-ink: #111; --nr-mute: #6b6b6b; --nr-line: #e6e2dc; --nr-bg: #fbfaf8; }
.nr-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 28px; border: 0; border-radius: 15px;
  background: var(--nr-gold); color: #fff; font: 600 15px/1.3 Raleway, Arial, sans-serif; cursor: pointer; text-decoration: none; transition: background .2s; }
.nr-btn:hover { background: var(--nr-gold-d); }
.nr-btn[disabled] { background: #ccc; cursor: default; }

/* витрина */
.nr-catalog { padding: 30px 20px 60px; }
.nr-catalog__grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 30px; }
.nr-card { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--nr-ink); text-decoration: none; font-family: Raleway, Arial, sans-serif; }
.nr-card__img { width: 100%; aspect-ratio: 4/3; border-radius: 30px; overflow: hidden; background: #f3f1ee; }
.nr-card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.nr-card:hover .nr-card__img img { transform: scale(1.03); }
.nr-card__t { margin-top: 18px; font-size: 20px; font-weight: 700; line-height: 1.3; }
.nr-card__f { margin-top: 4px; font-size: 14px; color: var(--nr-mute); }
.nr-card__p { margin: 10px 0 14px; font-size: 18px; font-weight: 600; }
@media (max-width: 960px) { .nr-catalog__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .nr-catalog__grid { grid-template-columns: 1fr; gap: 36px; } }

/* карточка товара */
.nr-prod { padding: 140px 20px 80px; font-family: Raleway, Arial, sans-serif; color: var(--nr-ink); }
.nr-prod__in { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: start; }
.nr-prod__img { border-radius: 30px; overflow: hidden; background: #f3f1ee; }
.nr-prod__img img { display: block; width: 100%; height: auto; }
.nr-prod__t { margin: 0; font-size: 34px; font-weight: 400; line-height: 1.3; }
.nr-prod__f { margin-top: 6px; font-size: 16px; color: var(--nr-mute); }
.nr-prod__p { margin: 20px 0; font-size: 26px; font-weight: 600; }
.nr-prod__opt { display: block; margin-bottom: 20px; font-size: 14px; }
.nr-prod__opt span { display: block; margin-bottom: 6px; color: var(--nr-mute); }
.nr-prod__opt select { min-width: 220px; padding: 9px 34px 9px 12px; border: 1px solid var(--nr-line); border-radius: 8px; background: #f8f8f8; font: 15px Raleway, Arial, sans-serif; }
.nr-btn--buy { width: 100%; max-width: 360px; }
.nr-prod__note { margin-top: 12px; font-size: 13px; color: var(--nr-mute); }
.nr-prod__text { margin-top: 28px; font-size: 16px; font-weight: 300; line-height: 1.65; }
.nr-prod__text p { margin: 0 0 14px; }
@media (max-width: 860px) { .nr-prod { padding-top: 110px; } .nr-prod__in { grid-template-columns: 1fr; gap: 28px; } .nr-prod__t { font-size: 28px; } .nr-btn--buy { max-width: none; } }

/* корзина */
.nr-cart-ico { position: fixed; right: 24px; bottom: 24px; z-index: 9990; width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--nr-gold);
  color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.18); cursor: pointer; display: none; align-items: center; justify-content: center; }
.nr-cart-ico.on { display: flex; }
.nr-cart-ico svg { width: 28px; height: 28px; }
.nr-cart-ico b { position: absolute; top: 4px; right: 4px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--nr-ink); font: 600 12px/22px Raleway, Arial, sans-serif; }
.nr-cart { position: fixed; inset: 0; z-index: 9999; display: none; }
.nr-cart.on { display: block; }
.nr-cart__bg { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.nr-cart__win { position: absolute; top: 0; right: 0; bottom: 0; width: min(480px, 100%); background: #fff; overflow-y: auto; padding: 32px 28px 40px;
  font-family: Raleway, Arial, sans-serif; color: var(--nr-ink); }
[dir=rtl] .nr-cart__win { right: auto; left: 0; }
.nr-cart__x { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border: 0; background: none; font-size: 28px; cursor: pointer; }
[dir=rtl] .nr-cart__x { right: auto; left: 16px; }
.nr-cart h2 { margin: 0 0 20px; font-size: 24px; font-weight: 600; }
.nr-cart__item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--nr-line); font-size: 14px; }
.nr-cart__item img { width: 64px; height: 64px; object-fit: contain; border-radius: 10px; background: #f3f1ee; }
.nr-cart__item small { display: block; color: var(--nr-mute); }
.nr-cart__qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.nr-cart__qty button { width: 26px; height: 26px; border: 1px solid var(--nr-line); border-radius: 50%; background: #fff; cursor: pointer; }
.nr-cart__rm { border: 0; background: none; color: var(--nr-mute); cursor: pointer; font-size: 12px; text-decoration: underline; }
.nr-cart__sum { display: flex; justify-content: space-between; margin: 18px 0; font-size: 17px; font-weight: 600; }
.nr-cart__ship { margin: -8px 0 18px; font-size: 13px; color: var(--nr-mute); }
.nr-cart label { display: block; margin-bottom: 14px; font-size: 13px; color: var(--nr-mute); }
.nr-cart input[type=text], .nr-cart input[type=email], .nr-cart input[type=tel], .nr-cart textarea {
  display: block; width: 100%; margin-top: 5px; padding: 12px; border: 1px solid #cfcac3; border-radius: 8px; font: 16px Raleway, Arial, sans-serif; color: var(--nr-ink); box-sizing: border-box; }
.nr-cart textarea { min-height: 80px; resize: vertical; }
.nr-cart .nr-chk { display: flex; gap: 10px; align-items: flex-start; color: var(--nr-ink); line-height: 1.45; }
.nr-cart .nr-chk input { margin-top: 3px; flex: none; width: 18px; height: 18px; }
.nr-cart .nr-chk a { color: inherit; }
.nr-cart .nr-err input, .nr-cart .nr-err textarea { border-color: #d33; }
.nr-cart .nr-err::after { content: attr(data-err); display: block; margin-top: 4px; color: #d33; }
.nr-cart .nr-btn { width: 100%; margin-top: 8px; }
.nr-cart__msg { margin-top: 16px; padding: 14px; border-radius: 10px; background: #fff7e6; font-size: 14px; line-height: 1.5; }

/* мобильная панель главной RU */
.nr-top { display: none; }
.nr-top__langs { position: absolute; top: 74px; right: 20px; z-index: 50; display: flex; gap: 10px; font: 500 11px Raleway, Arial, sans-serif; letter-spacing: .06em; }
.nr-top__langs a { color: #999; text-decoration: none; }
.nr-top__langs a.on, .nr-top__langs a:hover { color: #000; }
.nr-top { display: block; }
.nr-top__burger, .nr-top__menu, .nr-top__buy { display: none; }
@media (max-width: 960px) {
  .nr-top { position: sticky; top: 0; z-index: 9000; display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 16px;
    background: rgba(255,255,255,.96); border-bottom: 1px solid #eee; backdrop-filter: blur(6px); }
  .nr-top__burger { display: block; width: 32px; height: 32px; border: 0; background: none; position: relative; cursor: pointer; }
  .nr-top__burger span, .nr-top__burger span::before, .nr-top__burger span::after { position: absolute; left: 5px; width: 22px; height: 2px; background: #000; content: ''; }
  .nr-top__burger span { top: 15px; } .nr-top__burger span::before { top: -7px; left: 0; } .nr-top__burger span::after { top: 7px; left: 0; }
  .nr-top__menu { position: absolute; top: 56px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid #eee; padding: 8px 16px 16px; }
  .nr-top.open .nr-top__menu { display: flex; }
  .nr-top__menu a { padding: 12px 0; font: 500 16px Raleway, Arial, sans-serif; color: #000; text-decoration: none; border-bottom: 1px solid #f0f0f0; }
  .nr-top__langs { position: static; margin-left: auto; gap: 8px; font-size: 12px; }
  .nr-top__buy { display: inline-flex; padding: 8px 14px; border-radius: 12px; background: var(--nr-gold); color: #fff; font: 600 13px Raleway, Arial, sans-serif; text-decoration: none; }
}

/* юр. и служебные страницы */
.nr-doc { max-width: 820px; margin: 0 auto; padding: 140px 20px 80px; font: 300 16px/1.7 Raleway, Arial, sans-serif; color: var(--nr-ink); }
.nr-doc h1 { font-size: 32px; font-weight: 500; line-height: 1.25; margin: 0 0 24px; }
.nr-doc h2 { font-size: 21px; font-weight: 600; margin: 34px 0 12px; }
.nr-doc h3 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; }
.nr-doc a { color: #9a6a1c; }
.nr-doc ul, .nr-doc ol { padding-inline-start: 22px; }
.nr-doc table { border-collapse: collapse; width: 100%; } .nr-doc td, .nr-doc th { border: 1px solid var(--nr-line); padding: 8px; text-align: start; }

/* полоса с реквизитами и документами под подвалом */
.nr-legal { background: #1b1b1b; color: #9a9a9a; font: 400 12px/1.6 Raleway, Arial, sans-serif; }
.nr-legal__in { max-width: 1160px; margin: 0 auto; padding: 14px 20px 22px; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.nr-legal a { color: #d9b77a; text-decoration: none; }
.nr-legal a:hover { text-decoration: underline; }

/* мелкий текст Тильды на телефоне — не меньше 12 px */
@media (max-width: 640px) { .t-descr_xxs, .t-text_xxs, .t-name_xs { font-size: 13px !important; } }

/* арабская версия: направление текста */
html[dir=rtl] .t-title, html[dir=rtl] .t-descr, html[dir=rtl] .t-text, html[dir=rtl] .t-name, html[dir=rtl] .tn-atom,
html[dir=rtl] .t-section__title, html[dir=rtl] .t-section__descr { direction: rtl; unicode-bidi: plaintext; }
html[dir=rtl] .t396, html[dir=rtl] .t-container, html[dir=rtl] .t-slds, html[dir=rtl] .t-store { direction: ltr; }
html[dir=rtl] .nr-prod__info, html[dir=rtl] .nr-doc, html[dir=rtl] .nr-cart__win, html[dir=rtl] .nr-legal__in { direction: rtl; text-align: right; }

/* бывшие div-заголовки Тильды, ставшие h1 */
h1.nr-h1 { margin: 0; font-weight: inherit; }
.nr-todo { background: #ffe58a; padding: 0 3px; border-radius: 3px; }
.nr-cart .nr-chk { flex-wrap: wrap; } .nr-cart .nr-chk span { flex: 1; } .nr-cart .nr-chk.nr-err::after { flex-basis: 100%; margin-left: 28px; }

/* SEO-блоки: хлебные крошки, тексты, FAQ */
.nr-crumbs { max-width: 1080px; margin: 0 auto; padding: 100px 20px 0; font: 400 13px Raleway, Arial, sans-serif; color: #555; }
.nr-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nr-crumbs li + li::before { content: '›'; margin-inline-end: 6px; color: #999; }
.nr-crumbs a { color: #555; text-decoration: none; } .nr-crumbs a:hover { text-decoration: underline; }
.nr-crumbs + .nr-prod { padding-top: 24px; }
.nr-seo { padding: 50px 20px 70px; font: 300 17px/1.7 Raleway, Arial, sans-serif; color: #111; }
.nr-seo__in { max-width: 820px; margin: 0 auto; }
.nr-seo h2 { font-size: 28px; font-weight: 500; line-height: 1.3; margin: 0 0 18px; }
.nr-seo p { margin: 0 0 14px; }
.nr-faq__t { margin-top: 36px !important; }
.nr-faq__i { border-bottom: 1px solid var(--nr-line); padding: 14px 0; }
.nr-faq__i summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-inline-end: 28px; }
.nr-faq__i summary::-webkit-details-marker { display: none; }
.nr-faq__i summary::after { content: '+'; position: absolute; inset-inline-end: 4px; top: -2px; font-size: 22px; font-weight: 300; }
.nr-faq__i[open] summary::after { content: '−'; }
.nr-faq__i p { margin: 10px 0 0; }
.nr-prod__h2 { font-size: 20px; font-weight: 600; margin: 28px 0 10px; }
.nr-prod__others { padding-inline-start: 18px; } .nr-prod__others a { color: #8a5a12; }
.nr-ul { margin: 0; padding-inline-start: 18px; }
@media (max-width: 640px) { .nr-seo { font-size: 16px; } .nr-seo h2 { font-size: 23px; } .nr-crumbs { padding-top: 80px; } }

/* контраст (Lighthouse): */
.nr-btn { color: #1a1a1a; }
.nr-top__langs a { color: #666; }
.t464 .t-descr, .t464 .t-name, .t463 .t-descr, .t463 .t-name { color: #c9c9c9 !important; }
.nr-crumbs--over { position: absolute; left: 0; right: 0; top: 92px; z-index: 5; padding-top: 0; }
@media (max-width: 640px) { .nr-crumbs--over { top: 74px; } }
/* Lighthouse: контраст и размер нажимаемых элементов */
.nr-top__buy { color: #1a1a1a !important; }
.t605__title, .t605__text, .t605__descr { color: #333 !important; }
.t43 a[href*="instagram"], .t-descr a[href*="instagram"] { color: #8a5a12 !important; }
.t-slds__bullet { padding: 10px 6px !important; }
.t-slds__bullet { padding: 0 !important; }
.t-slds__bullet_body { box-sizing: content-box !important; border: 7px solid transparent !important; background-clip: padding-box !important; }

/* плашка смены языка — на всех страницах, внизу слева (корзина — внизу справа) */
.nr-lang-fab { position: fixed; left: 20px; bottom: 24px; z-index: 9980; font: 600 14px Raleway, Arial, sans-serif; direction: ltr; }
.nr-lang-fab summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px;
  border-radius: 22px; background: #fff; color: #1a1a1a; box-shadow: 0 4px 18px rgba(0,0,0,.16); letter-spacing: .04em; user-select: none; }
.nr-lang-fab summary::-webkit-details-marker { display: none; }
.nr-lang-fab summary::after { content: ''; width: 7px; height: 7px; border-right: 2px solid #1a1a1a; border-bottom: 2px solid #1a1a1a; transform: rotate(-135deg); margin: 4px 0 0 4px; }
.nr-lang-fab[open] summary::after { transform: rotate(45deg); margin: -4px 0 0 4px; }
.nr-lang-fab nav { position: absolute; left: 0; bottom: 52px; min-width: 170px; background: #fff; border-radius: 14px; box-shadow: 0 6px 24px rgba(0,0,0,.18); padding: 6px; display: flex; flex-direction: column; }
.nr-lang-fab nav a { padding: 10px 14px; border-radius: 10px; color: #1a1a1a; text-decoration: none; font-weight: 500; }
.nr-lang-fab nav a:hover { background: #f4efe8; }
.nr-lang-fab nav a.on { background: var(--nr-gold); color: #1a1a1a; font-weight: 600; }
@media (min-width: 961px) { .nr-top__langs { display: none; } }
@media (max-width: 960px) { .nr-top ~ .nr-lang-fab { display: none; } .nr-lang-fab { left: 16px; bottom: 16px; } }
