/* ==========================================================================
   LKdesign — редизайн по концепту «Atelier» (бренд-бук Linda Khadjo, 2026)
   Слой поверх темы Fleur: меняет только оформление, разметку и тексты не трогает.
   Подключается последним, после theme.css.
   ========================================================================== */

/* --- Шрифты (кириллические сборки, см. redesign/fonts) ------------------- */
/* В теме InSales url() заменяются на {{ 'LKSerif-Regular.woff2' | asset_url }} */

@font-face { font-family: "LK Serif"; src: url("LKSerif-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "LK Serif"; src: url("LKSerif-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "LK Serif"; src: url("LKSerif-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "LK Serif"; src: url("LKSerif-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "LK Display"; src: url("LKDisplay-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "LK Display"; src: url("LKDisplay-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "LK Sans"; src: url("LKSans-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "LK Sans"; src: url("LKSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "LK Sans"; src: url("LKSans-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* --- Токены ------------------------------------------------------------- */
:root {
  --lk-ivory: #F8F3E8;
  --lk-linen: #EEE5D6;
  --lk-graphite: #221E1C;
  --lk-taupe: #665C52;
  --lk-bronze: #A4763C;
  --lk-border: #DCCFBC;
  --lk-serif: "LK Serif", "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --lk-display: "LK Display", "Playfair Display", Georgia, serif;
  --lk-sans: "LK Sans", "Jost", system-ui, sans-serif;
  --lk-radius: 2px;

  --border-radius: var(--lk-radius);
  --color_bg_content: var(--lk-ivory);
  --color_bg_all: var(--lk-ivory);
}

.pallette_1 {
  --color_bg: var(--lk-ivory);
  --color_text: var(--lk-graphite);
  --color_link: var(--lk-graphite);
  --color_button_bg: var(--lk-graphite);
  --color_button_text: var(--lk-ivory);
  background-color: var(--lk-ivory);
  color: var(--lk-graphite);
}
.pallette_2 {
  --color_bg: var(--lk-linen);
  --color_text: var(--lk-graphite);
  --color_link: var(--lk-graphite);
  --color_button_bg: var(--lk-graphite);
  --color_button_text: var(--lk-ivory);
  background-color: var(--lk-linen);
  color: var(--lk-graphite);
}
.pallette_1 option, .pallette_2 option, .collection-order option { background-color: var(--lk-ivory); color: var(--lk-graphite); }
.pallette_1 .c_button, .pallette_2 .c_button, .pallette_1 .c_button_bg, .pallette_2 .c_button_bg { background-color: var(--lk-graphite); }
.pallette_1 .c_special_bg, .pallette_2 .c_special_2_bg { background-color: var(--lk-linen); }
.pallette_1 .c_special_2_color, .pallette_2 .c_special_color { color: var(--lk-bronze); }
.pallette_2 .c_special_bg, .pallette_1 .c_special_2_bg { background-color: var(--lk-bronze); }

/* --- База --------------------------------------------------------------- */
body,
body:after {
  background-color: var(--lk-ivory);
}
body {
  font-family: var(--lk-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  color: var(--lk-graphite);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
button, input, optgroup, select, textarea {
  font-family: var(--lk-sans);
  letter-spacing: 0.02em;
}
a { transition: color .2s ease, opacity .2s ease, background-color .2s ease, border-color .2s ease; }
a:hover { color: var(--lk-bronze); }
::selection { background: var(--lk-bronze); color: var(--lk-ivory); }

.fw-700, .fw-600, b, strong { font-weight: 500; }

/* Заголовки — только антиква (правило бренд-бука) */
h1, h2, h3, h4,
.h1-like, .h2-like, .h3-like, .h4-like {
  font-family: var(--lk-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.12;
  color: var(--lk-graphite);
}
h5, h6, .h5-like, .h6-like { font-family: var(--lk-display); font-weight: 400; letter-spacing: 0; }
.h1-like { font-size: 3.6em; }
.h2-like { font-size: 2.9em; }
.h3-like { font-size: 2em; }
.h4-like { font-size: 1.5em; }
@media screen and (max-width: 1024px) {
  .h1-like { font-size: 3em; }
  .h2-like { font-size: 2.4em; }
}
@media screen and (max-width: 768px) {
  .h1-like { font-size: 2.4em; }
  .h2-like { font-size: 2em; }
  .h3-like { font-size: 1.6em; }
}

/* Подписи-«бровки» (eyebrow): Jost 400, капс, трекинг .32em, бронза */
.breadcrumb-wrapper,
.collection-sort,
.product-sku, .product-article,
.lk-eyebrow {
  font-family: var(--lk-sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.breadcrumb-wrapper a, .breadcrumb-wrapper span { color: var(--lk-taupe); }
.breadcrumb-wrapper .breadcrumb-item:last-child, .breadcrumb-wrapper .breadcrumb-item:last-child * { color: var(--lk-bronze); }
.breadcrumb-wrapper ul > *:not(:last-child):after { content: '·'; opacity: 1; color: var(--lk-bronze); margin: 0 12px; }
.breadcrumb-wrapper.pallette_2, .collection-sort.pallette_2 { background-color: var(--lk-ivory); }

/* Волосяные линии */
.b-top { border-top: 1px solid var(--lk-border); }
.b-bottom { border-bottom: 1px solid var(--lk-border); }
.b-left { border-left: 1px solid var(--lk-border); }
.b-right { border-right: 1px solid var(--lk-border); }
hr { border: 0; border-top: 1px solid var(--lk-border); }

/* --- Кнопки: графит, светлые капсы, наведение — бронза ------------------- */
.bttn-reg,
button.co-button, .co-button, .picker-button,
.m-modal-button--checkout,
button[type="submit"]:not(.bttn-link):not(.bttn-underline),
input[type="submit"] {
  background-color: var(--lk-graphite) !important;
  color: var(--lk-ivory) !important;
  border: 0;
  border-radius: var(--lk-radius);
  font-family: var(--lk-sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  height: auto;
  min-height: 48px;
  line-height: 1.2;
  padding: 16px 32px;
  opacity: 1;
  transition: background-color .25s ease;
}
.bttn-reg:hover, .bttn-reg:focus,
button.co-button:hover, .co-button:hover, .picker-button:hover,
.m-modal-button--checkout:hover,
button[type="submit"]:not(.bttn-link):not(.bttn-underline):hover,
input[type="submit"]:hover {
  background-color: var(--lk-bronze) !important;
  color: var(--lk-ivory) !important;
  opacity: 1;
}
.co-button--transparent { background: transparent !important; color: var(--lk-graphite) !important; border: 1px solid var(--lk-graphite); }
.bttn-underline:after { background-color: var(--lk-bronze); height: 1px; }

/* Поля ввода */
.pallette_1 input[type="text"], .pallette_1 input[type="password"], .pallette_1 input[type="email"], .pallette_1 input[type="tel"], .pallette_1 textarea,
.pallette_2 input[type="text"], .pallette_2 input[type="password"], .pallette_2 input[type="email"], .pallette_2 input[type="tel"], .pallette_2 textarea {
  border-color: var(--lk-border);
  background-color: #FCFAF5;
  color: var(--lk-graphite);
  border-radius: var(--lk-radius);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--lk-bronze) !important; }
.slct.option-values, .quantity .quantity-input { border-color: var(--lk-border); }
.quantity button:first-child, .quantity a:first-child { border-right-color: var(--lk-border); }
.quantity button:last-child, .quantity a:last-child { border-left-color: var(--lk-border); }
button.option-value { border-color: var(--lk-border); color: var(--lk-graphite); border-radius: var(--lk-radius); font-size: 12px; letter-spacing: .12em; }
button.option-value[selected] { border-color: var(--lk-graphite); background: var(--lk-graphite); color: var(--lk-ivory); }

/* --- Шапка -------------------------------------------------------------- */
header.pallette_1 {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(248, 243, 232, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--lk-border);
  padding-top: 22px !important;
  padding-bottom: 14px !important;
}
header .inline-middle > span,
header a.inline-middle {
  font-family: var(--lk-serif);
  font-weight: 500;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: .08em;
  color: var(--lk-graphite);
}
header .header-menu {
  margin-top: 18px !important;
  padding-top: 14px !important;
  border-top: 1px solid var(--lk-border) !important;
}
header .header-menu > ul > li > a,
header .header-menu > ul > li > span,
header .header-menu > ul > li .bttn-underline {
  font-family: var(--lk-sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(34, 30, 28, .82);
}
header .header-menu > ul > li { margin: 4px 13px !important; }
header .header-menu > ul > li > a:hover, header .header-menu .bttn-underline.active { color: var(--lk-bronze); }
header .header-menu .subcol, header .header-menu-drop > ul {
  background-color: var(--lk-ivory);
  border: 1px solid var(--lk-border);
  border-radius: var(--lk-radius);
  box-shadow: 0 12px 30px -18px rgba(34, 30, 28, .35);
}
header .header-menu .subcol a { font-size: 13px; letter-spacing: .04em; text-transform: none; }
header .header-contacts a { font-family: var(--lk-sans); font-weight: 400; letter-spacing: .08em; font-size: 12px !important; }
header .header-contacts a + a { color: var(--lk-bronze); opacity: 1 !important; text-transform: uppercase; font-size: 10px !important; letter-spacing: .24em; }
header svg, header .fa, header .fas, header .far { color: var(--lk-graphite); }
.burger > div, .burger:before, .burger:after { background-color: var(--lk-graphite); height: 1px; }

/* --- Главная: секции товаров -------------------------------------------- */
.index-products .h2-like {
  font-size: 2.9em;
  font-weight: 500;
  letter-spacing: .02em;
  margin-bottom: 44px !important;
}
.index-products .h2-like:before {
  content: "LKdesign";
  display: block;
  margin-bottom: 12px;
  font-family: var(--lk-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--lk-bronze);
}
.index-products { padding-top: 64px !important; padding-bottom: 40px !important; }
.index-products + .index-products { border-top: 1px solid var(--lk-border); }

.swiper-button-prev, .swiper-button-next { color: var(--lk-graphite); }
.swiper-button-prev:hover, .swiper-button-next:hover { color: var(--lk-bronze); }
.swiper-pagination-bullet { background: var(--lk-taupe); opacity: .35; }
.swiper-pagination-bullet-active { background: var(--lk-bronze); opacity: 1; }

/* --- Карточка товара в списке ------------------------------------------- */
.product-item .product-image {
  background-color: var(--lk-linen);
  overflow: hidden;
  border-radius: 0;
  margin-bottom: 18px !important;
}
.product-item .product-image img {
  transition: transform .7s ease, opacity .5s ease !important;
}
.product-item:hover .product-image img { transform: translate(-50%, -50%) scale(1.04); }
.product-item .product-image.rel-img img, .product-item:hover .product-image.rel-img img { transform: none; }
.product-item .text-center > a,
.product-item a.fw-400 {
  display: block;
  font-family: var(--lk-serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--lk-graphite);
  margin-bottom: 6px;
}
.product-item .text-center > a:hover, .product-item a.fw-400:hover { color: var(--lk-bronze); }
.product-price, .product-item .product-price, .product-item .old-price {
  font-family: var(--lk-sans);
  font-weight: 400 !important;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--lk-taupe);
}
.old-price, .product-old-price { color: rgba(102, 92, 82, .6); }
.product-labels .label, .label-sale, .label-new { border-radius: var(--lk-radius); font-family: var(--lk-sans); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; }

/* --- Блоки «О нас» ------------------------------------------------------ */
.about-us { padding-top: 72px !important; padding-bottom: 72px !important; }
.about-us + .about-us { border-top: 1px solid var(--lk-border); }
.about-us .about-us-img:after { background-color: var(--lk-linen); }
.about-us .about-us-text .h2-like,
.about-us .about-us-text h1 {
  font-size: 2.9em;
  line-height: 1.08;
  margin-bottom: 26px !important;
}
.about-us .about-us-text .h2-like:before,
.about-us .about-us-text h1:before {
  content: "LKdesign · Москва";
  display: block;
  margin-bottom: 14px;
  font-family: var(--lk-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--lk-bronze);
}
.about-us .about-us-text, .about-us .about-us-text p, .about-us .about-us-text li, .about-us .about-us-text div {
  font-size: 16px;
  line-height: 1.7;
  color: var(--lk-taupe);
  letter-spacing: 0;
}
.about-us .about-us-text ul { padding-left: 0; list-style: none; }
.about-us .about-us-text ul li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.about-us .about-us-text ul li:before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--lk-bronze); }

/* --- Отзывы ------------------------------------------------------------- */
.index-reviews { padding-top: 80px !important; padding-bottom: 80px !important; }
.index-reviews .h2-like { margin-bottom: 40px !important; }
.index-reviews .swiper-slide, .index-reviews .review-text, .index-reviews p {
  font-family: var(--lk-serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.55;
  color: var(--lk-taupe);
}
.index-reviews .review-author, .index-reviews .review-name, .index-reviews b, .index-reviews strong {
  font-family: var(--lk-sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--lk-bronze);
}

/* --- Каталог ------------------------------------------------------------ */
.collection-sort .b-top { border-top-color: var(--lk-border); }
.collection-sort select, .collection-sort .slct { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.collection-products .row.is-grid > [class*="cell-"] .product-item { margin-bottom: 18px; }
.collection-seo_description, .collection-description {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  line-height: 1.75;
  color: var(--lk-taupe);
}
.collection-seo_description h2, .collection-seo_description h3 { color: var(--lk-graphite); margin-top: 1.4em; }
.pagination a, .pagination span { font-family: var(--lk-serif); font-size: 18px; }
.pagination .active, .pagination .current { color: var(--lk-bronze); }

/* --- Карточка товара ---------------------------------------------------- */
.product-info .product-title, .product-info h1 {
  font-size: 3em;
  line-height: 1.08;
  margin-bottom: 18px;
}
.product-info .product-price, .product-info .price {
  font-family: var(--lk-serif);
  font-weight: 500 !important;
  font-size: 30px;
  letter-spacing: 0;
  color: var(--lk-graphite);
}
.product-info .product-props label:before { background-color: var(--lk-graphite); }
.product-description, .product-content, .tab-content, .product-info .description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--lk-taupe);
}
.tabs-list a, .product-tabs a, [data-tab-anchor] {
  font-family: var(--lk-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.gallery-thumbs .swiper-slide { opacity: .55; transition: opacity .2s; }
.gallery-thumbs .swiper-slide-thumb-active, .gallery-thumbs .swiper-slide:hover { opacity: 1; }
.pallette_1 .gallery-thumbs-wrap .swiper-button-prev, .pallette_1 .gallery-thumbs-wrap .swiper-button-next { border-color: var(--lk-border); }
.pallette_1.gallery-wrapper svg use { stroke: var(--lk-graphite); }

/* --- Попапы, корзина, оформление ---------------------------------------- */
.m-modal.m-modal--checkout, .modal-color, .co-modal, .side-popup, .cart-popup, .mobile-popup {
  background-color: var(--lk-ivory);
  color: var(--lk-graphite);
  border-color: var(--lk-border) !important;
}
.popup-bg, .co-overlay, .m-overlay, .fancybox-is-open .fancybox-bg { background-color: var(--lk-graphite); }
.co-sidebar { border-left-color: var(--lk-border); }
.co-basket_subtotal-list { border-color: var(--lk-border); }
.co-table, .co-table-cell--head, .co-table-cell--body { border-color: var(--lk-border); }
.tt-dropdown-menu { background-color: var(--lk-ivory); color: var(--lk-graphite); border: 1px solid var(--lk-border); }
.tt-suggestion:hover { background-color: var(--lk-graphite); color: var(--lk-ivory); }
.mobile-popup a { font-family: var(--lk-serif); font-size: 20px; letter-spacing: 0; }
.scroll_top { background-color: var(--lk-graphite) !important; color: var(--lk-ivory) !important; border-radius: var(--lk-radius); }

/* --- Подвал ------------------------------------------------------------- */
footer.pallette_2 {
  background-color: var(--lk-linen);
  border-top: 1px solid var(--lk-border);
  padding-top: 64px !important;
}
footer .cell-12 > .m-b-20 > a,
footer .cell-12 > .m-b-20 > a span {
  font-family: var(--lk-serif);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: .08em;
  color: var(--lk-graphite);
}
footer .footer-menu a {
  font-family: var(--lk-sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(34, 30, 28, .78);
}
footer .footer-menu a:hover { color: var(--lk-bronze); }
footer .social a { color: var(--lk-graphite); }
footer .social a:hover { color: var(--lk-bronze); }
footer, footer p, footer .copyright { color: var(--lk-taupe); font-size: 13px; }

/* --- Доработки после предпросмотра -------------------------------------- */
/* Логотип-текст в шапке и подвале: у темы инлайн-стиль с Montserrat */
header a.inline-middle > span,
footer .cell-12 > .m-b-20 > a span {
  font-family: var(--lk-serif) !important;
  font-weight: 500;
  font-size: 30px !important;
  letter-spacing: .06em;
}
/* Фото в карточках: квадрат с заполнением, как плитки концепта (без полей по бокам) */
.product-item .product-image.square { padding-top: 100% !important; }
.product-item .product-image.square > img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
}
/* Артикул внутри H1 — маленькая подпись-«бровка» */
.product-title sup, .product-info .product-title sup {
  display: block;
  top: 0;
  margin-top: 14px;
  font-family: var(--lk-sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--lk-taupe);
}
/* Цена в карточке — графит, как в концепте (бронза — только для акцентов) */
.product-prices .h2-like, .product-prices .c_special_2_color {
  font-family: var(--lk-serif);
  font-weight: 500;
  color: var(--lk-graphite);
}
.quantity, .quantity .quantity-controls, .quantity button, .quantity a, .quantity input { border-color: var(--lk-border) !important; }
/* Счётчик «175 товаров» под заголовком категории */
.container .flex-center .cell-12 > h1 + div {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--lk-taupe);
  margin-top: 8px;
}

/* ==========================================================================
   Эффекты (этап 2): компактная шапка, появление, переходы, графит, фактура,
   редакционная типографика, первый экран, коллекции, товар, отзывы.
   Классы lk-* добавляют lk-effects.js и шаблоны index.liquid.
   ========================================================================== */

/* 1. Компактная шапка при прокрутке */
header.pallette_1 { transition: padding .35s ease, box-shadow .35s ease; }
header .header-menu { transition: max-height .35s ease, opacity .25s ease, margin .35s ease, padding .35s ease; max-height: 140px; }
header a.inline-middle > span { transition: font-size .35s ease; }
header.lk-compact { padding-top: 10px !important; padding-bottom: 10px !important; box-shadow: 0 10px 30px -24px rgba(34, 30, 28, .5); }
header.lk-compact a.inline-middle > span { font-size: 21px !important; white-space: nowrap; }
@media screen and (min-width: 769px) {
  header.lk-compact .header-menu { max-height: 0; opacity: 0; margin-top: 0 !important; padding-top: 0 !important; border-top-color: transparent !important; overflow: hidden; pointer-events: none; }
}

/* 2. Мягкое появление при прокрутке (только если сработал скрипт) */
.lk-js .lk-reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--lk-delay, 0s); }
.lk-js .lk-reveal.is-in { opacity: 1; transform: none; }

/* 3. Плавные переходы между страницами (Chrome / Edge) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: lk-fade-out .28s ease both; }
::view-transition-new(root) { animation: lk-fade-in .42s ease both; }
::view-transition-group(lk-product) { animation-duration: .5s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
@keyframes lk-fade-out { to { opacity: 0; } }
@keyframes lk-fade-in { from { opacity: 0; } }

/* 4. Живые карточки: смена фото уже есть в теме — добавляем медленное приближение и бронзовую линию */
.product-item .product-image.second-img img { transition: opacity .6s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1) !important; }
.product-item .text-center > a.fw-400 { position: relative; padding-bottom: 8px; }
.product-item .text-center > a.fw-400:after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 1px;
  background: var(--lk-bronze); transform: translateX(-50%); transition: width .45s ease;
}
.product-item:hover .text-center > a.fw-400:after { width: 44px; }

/* 5. Графитовая полоса (блок «Что значит LKdesign?») */
.about-us.lk-dark { background-color: var(--lk-graphite); color: var(--lk-ivory); position: relative; }
.about-us.lk-dark:before { content: ""; position: absolute; top: 18px; right: 18px; bottom: 18px; left: 18px; border: 1px solid rgba(164, 118, 60, .55); pointer-events: none; }
.about-us.lk-dark .h2-like, .about-us.lk-dark h1, .about-us.lk-dark h2, .about-us.lk-dark h3 { color: var(--lk-ivory); }
.about-us.lk-dark .about-us-text, .about-us.lk-dark .about-us-text p, .about-us.lk-dark .about-us-text li, .about-us.lk-dark .about-us-text div, .about-us.lk-dark .about-us-text span { color: rgba(248, 243, 232, .78) !important; }
.about-us.lk-dark a { color: var(--lk-ivory); }
.about-us.lk-dark .about-us-img:after { background-color: rgba(164, 118, 60, .25); }
.about-us.lk-dark + .about-us, .about-us.lk-dark + .container + .about-us { border-top: 0; }

/* 6. Фактура бумаги поверх сайта (едва заметное зерно) */
body:before {
  content: ""; position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 2147483000; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .13 0 0 0 0 .11 0 0 0 0 .1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 7. Редакционная типографика: орнамент под заголовками секций и буквица */
.index-products .h2-like:after, .index-reviews .h2-like:after, .lk-collections__title:after {
  content: "\25C6"; display: block; width: 120px; height: 10px; margin: 18px auto 0;
  font-family: var(--lk-sans); font-size: 7px; line-height: 10px; letter-spacing: 0; text-align: center; color: var(--lk-bronze);
  background: linear-gradient(var(--lk-bronze), var(--lk-bronze)) left center / 50px 1px no-repeat,
              linear-gradient(var(--lk-bronze), var(--lk-bronze)) right center / 50px 1px no-repeat;
}
.about-us:not(.lk-dark) .about-us-text > .m-t-0 > p:first-of-type::first-letter {
  float: left; margin: .06em .12em 0 0; font-family: var(--lk-serif); font-size: 3.4em; line-height: .82; color: var(--lk-bronze);
}

/* 8. Первый экран: блок с H1 из виджетов главной (index.liquid ставит его первым) */
.lk-hero { position: relative; }
.lk-hero > .about-us:first-child { padding: 0 !important; border: 0 !important; background: var(--lk-ivory); overflow: hidden; }
.lk-hero > .about-us:first-child > .container { max-width: none; width: 100%; padding: 0; }
.lk-hero > .about-us:first-child .row { margin: 0; min-height: calc(100vh - 150px); align-items: stretch; flex-wrap: nowrap; }
.lk-hero > .about-us:first-child .row > .cell-5 { flex: 0 0 52%; max-width: 52%; padding: 0; margin: 0 !important; }
.lk-hero > .about-us:first-child .row > .cell-1 { display: none; }
.lk-hero > .about-us:first-child .row > .cell-6 { flex: 1 1 auto; max-width: none; display: flex; align-items: center; padding: 64px clamp(24px, 6vw, 110px); }
/* Фото слева закреплено на высоту экрана, длинный текст справа прокручивается рядом */
.lk-hero > .about-us:first-child .about-us-img { position: sticky; top: 0; height: 100vh; min-height: 520px; overflow: hidden; }
.lk-hero > .about-us:first-child .about-us-img:after { display: none; }
.lk-hero > .about-us:first-child .about-us-img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 72%; animation: lk-hero-zoom 14s ease-out both; }
@keyframes lk-hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.lk-hero > .about-us:first-child .row > .cell-6 { align-items: flex-start; padding-top: 96px; padding-bottom: 96px; }
.lk-hero > .about-us:first-child .about-us-text { max-width: 540px; }
.lk-hero > .about-us:first-child .about-us-text h1 { font-size: clamp(34px, 3.3vw, 52px) !important; line-height: 1.06 !important; margin-bottom: 30px !important; }
.lk-hero > .about-us:first-child .about-us-text h1:before { content: "Ручная работа \00B7  Москва" !important; }
.lk-hero > .about-us:first-child .about-us-text img { max-width: 240px; margin: 6px 0 22px; }
.lk-scroll-cue {
  position: absolute; left: 26%; top: calc(100vh - 230px); transform: translateX(-50%); z-index: 2;
  font-family: var(--lk-sans); font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--lk-ivory) !important;
  text-shadow: 0 1px 12px rgba(34, 30, 28, .6);
}
.lk-scroll-cue:after { content: ""; display: block; width: 1px; height: 38px; margin: 10px auto 0; background: currentColor; animation: lk-cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes lk-cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media screen and (max-width: 768px) {
  .lk-hero > .about-us:first-child .row { flex-wrap: wrap; min-height: 0; }
  .lk-hero > .about-us:first-child .row > .cell-5, .lk-hero > .about-us:first-child .row > .cell-6 { flex: 0 0 100%; max-width: 100%; }
  .lk-hero > .about-us:first-child .about-us-img { position: relative; height: 62vh; min-height: 0; }
  .lk-hero > .about-us:first-child .row > .cell-6 { padding: 40px 16px 48px; }
  .lk-scroll-cue { display: none; }
}

/* 9. Тематические коллекции плитками I · II · III … */
.lk-collections { padding: 88px 0 72px; border-top: 1px solid var(--lk-border); }
.lk-collections__head { text-align: center; margin-bottom: 48px; }
.lk-collections__eyebrow { font-family: var(--lk-sans); font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--lk-bronze); }
.lk-collections__title { margin: 12px 0 0; font-size: 2.9em; }
.lk-collections__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--lk-border); border-left: 1px solid var(--lk-border); }
.lk-col { border-right: 1px solid var(--lk-border); border-bottom: 1px solid var(--lk-border); position: relative; display: flex; flex-direction: column; background: var(--lk-ivory); padding: 26px 26px 24px; min-height: 150px; color: var(--lk-graphite); overflow: hidden; transition: background-color .35s ease; }
.lk-col:hover { background: var(--lk-linen); color: var(--lk-graphite); }
.lk-col__num { font-family: var(--lk-serif); font-style: italic; font-size: 15px; color: var(--lk-bronze); }
.lk-col__name { margin-top: 10px; font-family: var(--lk-serif); font-weight: 500; font-size: 24px; line-height: 1.12; padding-right: 40px; }
.lk-col__more { margin-top: auto; padding-top: 18px; font-family: var(--lk-sans); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--lk-taupe); transition: color .3s ease, letter-spacing .3s ease; }
.lk-col:hover .lk-col__more { color: var(--lk-bronze); letter-spacing: .34em; }
.lk-col__img { position: absolute; right: -14px; bottom: -14px; width: 104px; height: 104px; object-fit: cover; border-radius: 50%; opacity: 0; transform: scale(.85); transition: opacity .45s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.lk-col:hover .lk-col__img { opacity: 1; transform: scale(1); }
@media screen and (max-width: 1024px) { .lk-collections__grid { grid-template-columns: repeat(3, 1fr); } }
@media screen and (max-width: 768px) {
  .lk-collections { padding: 56px 0 48px; }
  .lk-collections__title { font-size: 2em; }
  .lk-collections__grid { grid-template-columns: repeat(2, 1fr); }
  .lk-col { padding: 18px 16px; min-height: 120px; }
  .lk-col__name { font-size: 19px; padding-right: 0; }
  .lk-col__img { display: none; }
}

/* 10. Карточка товара: колонка с ценой не уезжает; на телефоне кнопка «В корзину» внизу экрана */
@media screen and (min-width: 769px) {
  .template-is-product .product-info { position: sticky; top: 110px; }
}
.template-is-product .product-buy .js-basket.in-product { min-height: 52px; }
@media screen and (max-width: 768px) {
  .template-is-product .product-buy .js-basket.in-product {
    position: fixed; left: 16px; right: 16px; bottom: 16px; width: auto !important; z-index: 900;
    box-shadow: 0 14px 34px -14px rgba(34, 30, 28, .55);
  }
  .template-is-product footer { padding-bottom: 84px; }
  .template-is-product .scroll_top { bottom: 84px !important; }
}

/* 11. Отзывы сеткой карточек в паспарту + просмотр по клику */
.lk-reviews-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: left; }
.lk-review { display: block; margin: 0; padding: 12px 12px 14px; background: var(--lk-ivory); border: 1px solid var(--lk-border); cursor: zoom-in; transition: transform .4s ease, box-shadow .4s ease; }
.lk-review:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -24px rgba(34, 30, 28, .45); }
.lk-review img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: var(--lk-linen); }
.lk-reviews-grid:not(.is-all) .lk-review:nth-child(n+9) { display: none; }
.lk-reviews-more { margin-top: 36px; background: transparent; border: 1px solid var(--lk-graphite); color: var(--lk-graphite); padding: 16px 34px; font-family: var(--lk-sans); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.lk-reviews-more:hover { background: var(--lk-graphite); color: var(--lk-ivory); }

/* Цитата Линды в графитовой полосе (абзацы после вводного текста) — крупный курсив антиквы */
.about-us.lk-dark .about-us-text .txtNew ~ p, .about-us.lk-dark .about-us-text .txtNew ~ p * {
  font-family: var(--lk-serif) !important; font-style: italic !important; font-size: 21px !important; line-height: 1.5 !important; color: rgba(248, 243, 232, .88) !important;
}
.about-us.lk-dark .about-us-text .txtNew ~ p:last-child { padding-bottom: 4px; }
.about-us.lk-dark .about-us-text .txtNew ~ p { margin: 0 !important; padding: 0 0 .7em 26px; border-left: 1px solid var(--lk-bronze); text-align: left !important; }
.about-us.lk-dark .about-us-text .txtNew ~ p * { text-align: left !important; }
.about-us.lk-dark .about-us-text .txtNew + p { margin-top: 26px !important; padding-top: 4px; }
.lk-has-grid .review-slider-wrapper { display: none; }
@media screen and (max-width: 1024px) { .lk-reviews-grid { grid-template-columns: repeat(3, 1fr); } }
@media screen and (max-width: 768px) { .lk-reviews-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.lk-lightbox { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 2147483100; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(34, 30, 28, .88); opacity: 0; transition: opacity .3s ease; cursor: zoom-out; }
.lk-lightbox.is-open { opacity: 1; }
.lk-lightbox img { max-width: min(92vw, 720px); max-height: 90vh; border: 10px solid var(--lk-ivory); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); }

@media (prefers-reduced-motion: reduce) {
  .lk-js .lk-reveal { opacity: 1; transform: none; transition: none; }
  .lk-hero > .about-us:first-child .about-us-img img, .lk-scroll-cue:after { animation: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* Счётчик количества: тонкие светлые рамки вместо графитовых (тема берёт цвет из --color_text) */
.product-buy .quantity .quantity-input, .product-buy .quantity .quantity-control, .product-buy .quantity .quantity-controls { border-color: var(--lk-border) !important; }
.product-buy .quantity .quantity-input { border-width: 1px !important; }

/* Телефон: логотип в две строки, без вылезания за экран в компактной шапке */
@media screen and (max-width: 768px) {
  header a.inline-middle > span { font-size: 19px !important; letter-spacing: .04em; line-height: 1.2; }
  header.lk-compact a.inline-middle > span { font-size: 16px !important; white-space: normal; }
  header .cell-4.cell-6-sm { min-width: 0; }
}

/* ==========================================================================
   12. Служебные страницы: тексты страниц, обратная связь, поиск, корзина,
   оформление заказа и личный кабинет (шаблоны checkout2 / client_account)
   ========================================================================== */

/* Текст страниц (доставка, контакты, оферта…): один шрифт и размер, цвета из палитры */
.page-content { max-width: 780px; margin-left: auto; margin-right: auto; font-size: 16px; line-height: 1.75; color: var(--lk-graphite); }
.page-content * { font-family: var(--lk-sans) !important; }
.page-content span, .page-content font { font-size: inherit !important; }
.page-content p { margin: 0 0 1em; }
/* в текстах, перенесённых со старого сайта, обычные абзацы размечены как h2/h3 — выравниваем под основной текст */
.page-content h2, .page-content h3, .page-content h4 { margin: 0 0 1em; font-size: 16px; font-weight: 300; line-height: 1.75; letter-spacing: 0; color: var(--lk-graphite); }
.page-content a { color: var(--lk-bronze); text-decoration: none; border-bottom: 1px solid rgba(164, 118, 60, .35); }
.page-content a:hover { border-bottom-color: var(--lk-bronze); }
/* розовые подчёркнутые подзаголовки из редактора → подзаголовки антиквой */
.page-content [style*="ff99cc"] *, .page-content [style*="FF99CC"] * { font-family: var(--lk-serif) !important; font-weight: 500; color: var(--lk-graphite) !important; }
.page-content [style*="ff99cc"], .page-content [style*="FF99CC"] {
  display: inline-block; margin-top: 1.4em; color: var(--lk-graphite) !important; text-decoration: none !important;
  font-family: var(--lk-serif) !important; font-weight: 500; font-size: 26px !important; line-height: 1.2;
}
.page-content p:first-child [style*="ff99cc"], .page-content p:first-child [style*="FF99CC"] { margin-top: 0; }
.page-content [style*="808080"] { color: var(--lk-taupe) !important; }
.page-content [style*="3366ff"], .page-content [style*="3366FF"], .page-content [style*="ff0000"], .page-content [style*="FF0000"] { color: var(--lk-bronze) !important; }
.page-content ul { padding-left: 0; list-style: none; }
.page-content ul li { position: relative; padding-left: 22px; }
.page-content ul li:before { content: ""; position: absolute; left: 2px; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--lk-bronze); }

/* Отзывы на отдельной странице — цитаты в рамке */
.page-content blockquote { margin: 0 0 22px !important; padding: 24px 30px !important; background: #FCFAF5; border: 1px solid var(--lk-border); border-left: 2px solid var(--lk-bronze); }
/* подпись под отзывом («Коллекция …», «Брошь …») — последний абзац цитаты */
.page-content blockquote p:not(:first-child):last-child, .page-content blockquote p:not(:first-child):last-child * {
  margin-top: 12px; font-family: var(--lk-sans) !important; font-style: normal; font-size: 11px !important; letter-spacing: .26em; text-transform: uppercase; color: var(--lk-bronze);
}
.page-content blockquote, .page-content blockquote * { font-family: var(--lk-serif) !important; font-style: italic; font-size: 20px !important; line-height: 1.55; color: var(--lk-graphite); }
.page-content blockquote p:last-child { margin-bottom: 0; }
.page-content blockquote + p { margin-top: -12px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--lk-bronze); }

/* Форма обратной связи и прочие формы темы */
.template-is-page form label, .feedback-modal form label { font-family: var(--lk-sans); font-size: 11px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--lk-taupe); }
textarea { border: 1px solid var(--lk-border) !important; background: #FCFAF5 !important; }

/* Окно поиска из шапки */
.search-popup { background: rgba(248, 243, 232, .97) !important; }
.search-popup .inpt.inpt-underline {
  width: min(680px, 80vw); height: auto; padding: 10px 0; background: transparent !important;
  font-family: var(--lk-serif); font-size: 38px; font-weight: 400; letter-spacing: 0; color: var(--lk-graphite);
  border: 0 !important; border-bottom: 1px solid var(--lk-graphite) !important;
}
.search-popup .inpt.inpt-underline::placeholder { color: rgba(102, 92, 82, .6); }
.search-popup .inpt.inpt-underline:focus { border-bottom-color: var(--lk-bronze) !important; }
.search-popup .search-inner:before {
  content: "Поиск по каталогу"; display: block; margin-bottom: 18px; text-align: center;
  font-family: var(--lk-sans); font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--lk-bronze);
}

/* Боковая корзина */
.cart-popup .cart-title.h2-like { font-size: 2.2em; padding-top: 6px; }
.cart-popup .cart-item .cart-title { font-family: var(--lk-serif); font-weight: 500; font-size: 19px; line-height: 1.2; letter-spacing: 0; text-transform: none !important; }
.cart-popup .cart-price, .cart-popup .cart-price * { color: var(--lk-taupe) !important; font-size: 13px; letter-spacing: .06em; }
.cart-popup .dynamic_basket-total .h4-like { font-family: var(--lk-serif); font-weight: 500 !important; font-size: 22px; letter-spacing: 0; text-transform: none !important; }
.cart-popup .basket-total-price { color: var(--lk-graphite) !important; }
.cart-popup .cart-image img { background: var(--lk-linen); }

/* Оформление заказа и личный кабинет (общие классы co-*) */
.template-is-checkout2 { background-color: var(--lk-ivory); }
.co-title, .co-checkout-title { font-family: var(--lk-serif) !important; font-weight: 500 !important; letter-spacing: -.01em; color: var(--lk-graphite); }
.co-title--h1, .co-checkout-title { font-size: 40px !important; line-height: 1.1; }
.co-title--h2 { font-size: 26px !important; }
.co-input-label { font-family: var(--lk-sans); font-size: 11px !important; letter-spacing: .22em; text-transform: uppercase; color: var(--lk-taupe); }
.co-input-field, .co-checkout-block input[type="text"], .co-checkout-block input[type="tel"], .co-checkout-block input[type="email"], .co-checkout-block textarea, .co-checkout-block select {
  border: 1px solid var(--lk-border) !important; background: #FCFAF5 !important; border-radius: var(--lk-radius) !important; color: var(--lk-graphite);
}
.co-input-field:focus, .co-checkout-block input:focus, .co-checkout-block textarea:focus { border-color: var(--lk-bronze) !important; }
.co-input-description, .co-input-description * { color: var(--lk-taupe); }
.co-delivery_method-title, .co-payment_method-title { font-family: var(--lk-serif) !important; font-weight: 500; font-size: 20px !important; color: var(--lk-graphite); }
.co-delivery_method-description, .co-payment_method-description { color: var(--lk-taupe); }
.co-basket_item-title, .co-basket_item-name { font-family: var(--lk-serif); font-size: 18px; color: var(--lk-graphite); }
.co-basket_subtotal-title, .co-basket_subtotal-value { color: var(--lk-taupe); }
.co-basket_total-title, .co-basket_total-value, .co-basket_total-price { font-family: var(--lk-serif) !important; font-weight: 500 !important; font-size: 26px !important; color: var(--lk-graphite); }
.co-sidebar, .co-section--checkout_order_sided { border-color: var(--lk-border) !important; }
.co-basket_subtotal-list, .co-basket_total { border-color: var(--lk-border) !important; }
.co-checkout-block input[type="radio"], .co-checkout-block input[type="checkbox"] { accent-color: var(--lk-bronze); }
a.co-button.co-button--link, .co-button--link {
  background: transparent !important; color: var(--lk-graphite) !important; min-height: 0; padding: 0 0 2px !important;
  border-radius: 0; border-bottom: 1px solid var(--lk-bronze) !important; font-size: 11px; letter-spacing: .22em;
}
a.co-button.co-button--link:hover, .co-button--link:hover { background: transparent !important; color: var(--lk-bronze) !important; }
.co-form-button + .co-form-button { margin-left: 22px; }
.co-modal-login_form, .co-login-form_placeholder { max-width: 460px; margin-left: auto; margin-right: auto; }
.co-notice { border-radius: var(--lk-radius); border-color: var(--lk-border); background: #FCFAF5; color: var(--lk-graphite); }
.co-table-cell--head { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--lk-taupe); }

/* Телефон: логотип в подвале и ссылки под кнопкой входа */
@media screen and (max-width: 768px) {
  footer .cell-12 > .m-b-20 > a span { font-size: 21px !important; }
  .co-form-button + .co-form-button { margin-left: 0; }
  a.co-button.co-button--link { display: inline-block; margin: 14px 18px 0 0; }
}
