/* Lamur — витрина в Telegram. Мобильный дизайн, бренд lamur.store */
:root{
  --bg:#FAFAF8; --ink:#2E2E2C; --muted:#8A8A82; --brand:#4B6B45;
  --line:#E7E5DF; --card:#fff; --radius:16px; --warn:#B4581F;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;padding:0}
body{
  background:var(--bg); color:var(--ink);
  font:17px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Manrope,Roboto,sans-serif;
  padding-bottom:104px;
}
a{color:inherit;text-decoration:none}
button{font-family:inherit}

/* ——— шапка ——— */
.hdr{
  position:sticky; top:0; z-index:20;
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 16px; border-bottom:1px solid var(--line);
  background:rgba(250,250,248,.94); backdrop-filter:blur(10px);
}
.hdr__logo{font-weight:700; font-size:20px; letter-spacing:.4px; color:var(--brand)}
.hdr__cart{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 14px; border:1px solid var(--line); border-radius:999px;
  background:#fff; font-size:15px; font-weight:600;
}
.badge{
  min-width:22px; height:22px; padding:0 6px; border-radius:999px;
  display:inline-flex; align-items:center; justify-content:center;
  background:var(--brand); color:#fff; font-size:13px; font-weight:700;
}
.badge--empty{background:#E2E0D9; color:#9A9A92}

/* ——— общее ——— */
.app{padding-bottom:16px}
.skeleton{padding:40px 16px; color:var(--muted)}
.sec{padding:16px 16px 8px}
.sec__title{margin:0 0 4px; font-size:21px; font-weight:700; line-height:1.2}
.sec__sub{margin:0; color:var(--muted); font-size:14.5px}
.searchwrap{padding:12px 16px 4px}
.search{
  width:100%; padding:14px 16px; font-size:16px;
  border:1px solid var(--line); border-radius:14px; background:#fff; color:var(--ink);
  appearance:none;
}
.chips{display:flex; gap:8px; overflow-x:auto; padding:10px 16px 2px; scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{
  flex:0 0 auto; padding:10px 14px; border-radius:999px; font-size:14.5px;
  border:1px solid var(--line); background:#fff; color:var(--ink);
}
.chip--on{background:var(--brand); border-color:var(--brand); color:#fff; font-weight:600}

/* ——— визуальный выбор текстуры ——— */
.sec--tiles{padding:14px 16px 6px; display:flex; align-items:baseline; gap:8px}
.sec__h2{margin:0; font-size:17px; font-weight:700}
.sec__count{font-size:13px; color:var(--muted)}
.tiles{display:grid; grid-template-columns:repeat(3,1fr); gap:10px; padding:4px 16px 2px}
.tile{
  position:relative; display:flex; flex-direction:column; overflow:hidden; padding:0;
  border:1px solid var(--line); border-radius:14px; background:#fff; cursor:pointer; text-align:left;
}
.tile--on{border-color:var(--brand); box-shadow:0 0 0 1px var(--brand) inset}
.tile__img{width:100%; aspect-ratio:4/5; object-fit:cover; background:#F2F1EC; display:block}
.tile__name{display:block; padding:8px 10px 0; font-size:14px; font-weight:600; color:var(--ink)}
.tile__count{display:block; padding:0 10px 10px; font-size:12.5px; color:var(--muted)}

/* ——— сетка расцветок ——— */
.colors{display:grid; grid-template-columns:repeat(3,1fr); gap:10px; padding:6px 16px 4px}
.color{
  display:flex; flex-direction:column; overflow:hidden; padding:0;
  border:1px solid var(--line); border-radius:14px; background:#fff; cursor:pointer; text-align:left;
}
.color .tile__img{aspect-ratio:1/1}
.color .tile__name{padding:7px 10px 10px; font-size:13px; line-height:1.2}
.colormore{padding:6px 16px 2px}
.more{
  width:100%; min-height:48px; padding:12px 14px; border:1px solid var(--brand); border-radius:14px;
  background:#fff; color:var(--brand); font-size:15px; font-weight:600; cursor:pointer;
}

/* ——— сетка товаров ——— */
.grid{display:grid; grid-template-columns:1fr 1fr; gap:12px; padding:12px 16px 8px}
.card{
  display:flex; flex-direction:column; overflow:hidden;
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
}
.card__img{width:100%; aspect-ratio:1/1; object-fit:cover; background:#F2F1EC; display:block}
.card__body{padding:10px 12px 12px; display:flex; flex-direction:column; gap:3px; flex:1}
.card__name{font-size:15px; font-weight:600; line-height:1.25}
.card__meta{font-size:12.5px; color:var(--muted)}
.card__price{margin-top:auto; padding-top:6px; font-size:16px; font-weight:700}
.card__old{font-size:13px; font-weight:400; color:var(--muted); text-decoration:line-through; margin-left:6px}
.card__stock{font-size:12.5px; color:var(--brand)}
.card__stock--out{color:var(--warn)}
.empty{padding:36px 16px; text-align:center; color:var(--muted)}

/* ——— карточка товара ——— */
.gallery{display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none}
.gallery::-webkit-scrollbar{display:none}
.gallery img{flex:0 0 100%; width:100%; aspect-ratio:1/1; object-fit:cover; scroll-snap-align:start; background:#F2F1EC}
.dots{display:flex; gap:6px; justify-content:center; padding:10px 0 0}
.dot{width:7px; height:7px; border-radius:50%; background:#D9D7CF}
.dot--on{background:var(--brand)}
.pdp{padding:14px 16px 8px}
.pdp__name{margin:0 0 6px; font-size:23px; font-weight:700; line-height:1.2}
.pdp__texture{display:inline-block; margin-bottom:10px; font-size:13px; color:var(--muted)}
.pdp__price{font-size:24px; font-weight:700}
.pdp__old{font-size:16px; color:var(--muted); text-decoration:line-through; margin-left:8px}
.pdp__stock{margin:6px 0 0; font-size:14.5px; color:var(--brand)}
.pdp__stock--out{color:var(--warn)}
.props{display:flex; flex-wrap:wrap; gap:8px; margin:14px 0 0; padding:0; list-style:none}
.prop{padding:9px 12px; border:1px solid var(--line); border-radius:12px; background:#fff; font-size:13.5px}
.prop b{font-weight:600}
.rows{margin:16px 0 0; border-top:1px solid var(--line)}
.row{display:flex; justify-content:space-between; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); font-size:15px}
.row span:first-child{color:var(--muted)}
.desc{margin:14px 0 0; font-size:15.5px; color:#3C3C39; white-space:pre-line}
.desc--cut{max-height:104px; overflow:hidden}
.linkmore{display:inline-block; margin-top:8px; padding:0; border:0; background:none; color:var(--brand); font-size:15px; font-weight:600}

/* ——— нижняя панель действия ——— */
.bar{
  position:fixed; left:0; right:0; bottom:0; z-index:30;
  display:flex; gap:10px; padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top:1px solid var(--line); background:rgba(250,250,248,.97); backdrop-filter:blur(10px);
}
.btn{
  flex:1; min-height:52px; padding:14px 16px; border:0; border-radius:14px;
  background:var(--brand); color:#fff; font-size:16px; font-weight:600; cursor:pointer;
}
.btn--ghost{background:#fff; color:var(--brand); border:1px solid var(--brand)}
.btn--wide{flex:1 1 100%}
.btn:disabled{opacity:.5}

/* ——— корзина ——— */
.cart{padding:12px 16px 8px}
.citem{display:flex; gap:12px; padding:12px 0; border-bottom:1px solid var(--line)}
.citem img{width:72px; height:72px; border-radius:12px; object-fit:cover; background:#F2F1EC; flex:0 0 auto}
.citem__body{flex:1; min-width:0}
.citem__name{font-size:15px; font-weight:600; line-height:1.25}
.citem__meta{font-size:12.5px; color:var(--muted); margin-top:2px}
.citem__row{display:flex; align-items:center; justify-content:space-between; margin-top:8px}
.qty{display:inline-flex; align-items:center; gap:2px; border:1px solid var(--line); border-radius:12px; background:#fff}
.qty button{width:40px; height:40px; border:0; background:none; font-size:20px; color:var(--brand); cursor:pointer}
.qty span{min-width:26px; text-align:center; font-size:15px; font-weight:600}
.citem__price{font-size:15.5px; font-weight:700}
.total{display:flex; justify-content:space-between; align-items:baseline; padding:16px 0 6px; font-size:18px; font-weight:700}
.note{margin:6px 0 0; font-size:13px; color:var(--muted)}
.demo{
  margin:12px 16px 0; padding:12px 14px; border:1px dashed #C9C7BE; border-radius:12px;
  background:#FFFDF7; font-size:13.5px; color:#6B6B64;
}

/* ——— лестница цен и заказ ——— */
.pdp__unit{font-size:14px; font-weight:400; color:var(--muted)}
.pdp__note{font-size:13px; color:var(--green); margin:-2px 0 10px}
.ladderbox{
  margin:12px 0 0; padding:12px 14px; border-radius:12px; background:#F3F6F1;
  font-size:14px; color:#3C4A38;
}
.stepinfo{
  margin-top:14px; padding:12px 14px; border-radius:12px; background:#F3F6F1; font-size:14.5px; color:#3C4A38;
}
.warnline{
  margin-top:10px; padding:12px 14px; border-radius:12px; background:#FFF6E8; border:1px solid #F0DCBD;
  font-size:14px; color:#7A5A22;
}
.goodline{
  margin-top:10px; padding:12px 14px; border-radius:12px; background:#EFF6EC; border:1px solid #D3E4CC;
  font-size:14px; color:#3E5C38;
}
.ladderlink{
  display:block; width:100%; margin-top:12px; padding:12px 14px; border:1px dashed var(--brand);
  border-radius:12px; background:#fff; color:var(--brand); font-size:15px; font-weight:600; cursor:pointer;
}
.ladder{margin-top:10px}
.ladder__head{font-size:14.5px; font-weight:600; margin-bottom:8px}
.ladder__t{width:100%; border-collapse:collapse; font-size:13.5px}
.ladder__t th, .ladder__t td{padding:8px 6px; text-align:left; border-bottom:1px solid var(--line)}
.ladder__t th{color:var(--muted); font-weight:500}
.ladder__row--on{background:#F3F6F1}
.ladder__note{margin-top:8px; font-size:12.5px; color:var(--muted)}
.promo{display:flex; gap:8px; margin-top:14px}
.promo__input{
  flex:1; min-height:48px; padding:12px 14px; border:1px solid var(--line); border-radius:12px;
  background:#fff; color:var(--ink); font-size:15px; text-transform:uppercase;
}
.promo__btn{
  min-height:48px; padding:12px 16px; border:1px solid var(--brand); border-radius:12px;
  background:#fff; color:var(--brand); font-size:15px; font-weight:600; cursor:pointer;
}
.promo__ok{margin-top:8px; font-size:13.5px; color:#3E5C38}
.orderform{margin:18px 16px 0; display:flex; flex-direction:column; gap:10px}
.field{
  width:100%; min-height:48px; padding:13px 14px; border:1px solid var(--line); border-radius:12px;
  background:#fff; color:var(--ink); font-size:16px; font-family:inherit;
}
textarea.field{min-height:64px; resize:vertical}
.thanks{padding:48px 24px; text-align:center}
.thanks__mark{
  width:64px; height:64px; margin:0 auto 16px; border-radius:50%; background:var(--brand); color:#fff;
  font-size:34px; line-height:64px;
}
.thanks__title{margin:0 0 10px; font-size:24px}
.thanks__text{margin:6px 0; font-size:16px; color:#3C3C39}
.thanks__warn{margin-top:12px; font-size:13.5px; color:#7A5A22}

/* Выбор пункта выдачи Ozon: список по городу из формы заказа */
.pvz { margin: 10px 0 4px; }
.pvz__pick, .pvz__change {
  display: inline-block; width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1px dashed #4b6b45; background: #f6f8f5; color: #2e2e2c;
  font: inherit; font-size: 15px; cursor: pointer; text-align: center;
}
.pvz__change { width: auto; padding: 8px 12px; border-style: solid; font-size: 14px; margin-top: 8px; }
.pvz--on { background: #f6f8f5; border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.pvz__hint { color: #7a7a76; font-size: 13px; margin-top: 8px; }
.pvz__item {
  display: block; width: 100%; text-align: left; margin: 6px 0; padding: 12px 14px;
  border: 1px solid #e2e5df; border-radius: 12px; background: #fff; color: #2e2e2c;
  font: inherit; font-size: 14px; cursor: pointer;
}
.pvz__item:active { background: #f2f5f0; }
.pvz__type { display: block; color: #7a7a76; font-size: 12px; margin-top: 4px; }
.pvz__slot { margin-top: 6px; color: #4b6b45; font-size: 14px; font-weight: 600; }

/* ——— шаг 2 (20.11.2026): характеристики и покупка в каталоге, галерея ——— */
.card__link{display:flex; flex-direction:column; flex:1; color:inherit; text-decoration:none}
.card__specs{font-size:12.5px; color:#3C3C39; font-weight:500}
.card__unit{font-size:12.5px; font-weight:400; color:var(--muted)}
.buy{display:flex; gap:8px; padding:0 12px 12px; align-items:stretch}
.qty{display:flex; align-items:stretch; border:1px solid var(--line); border-radius:10px; overflow:hidden; background:#fff}
.qty__b{width:34px; border:0; background:#F5F4EF; font-size:18px; line-height:1; cursor:pointer; color:var(--brand)}
.qty__n{width:44px; border:0; text-align:center; font-size:15px; font-weight:600; background:#fff; -moz-appearance:textfield; padding:0}
.qty__n::-webkit-outer-spin-button,.qty__n::-webkit-inner-spin-button{-webkit-appearance:none; margin:0}
.buy__btn{flex:1; min-height:42px; border:0; border-radius:10px; background:var(--brand); color:#fff; font-size:14px; font-weight:600; cursor:pointer; padding:0 8px}
.buy__btn--ok{background:#fff; color:var(--brand); border:1px solid var(--brand)}
.galwrap{position:relative}
.galnav{position:absolute; top:50%; transform:translateY(-50%); width:38px; height:38px; border:0; border-radius:50%; background:rgba(255,255,255,.88); color:#2E2E2C; font-size:24px; line-height:1; cursor:pointer; box-shadow:0 1px 6px rgba(0,0,0,.18)}
.galnav--prev{left:10px}
.galnav--next{right:10px}
.thumbs{display:flex; gap:8px; padding:10px 16px 0; overflow-x:auto; scrollbar-width:none}
.thumbs::-webkit-scrollbar{display:none}
.thumb{flex:0 0 64px; width:64px; height:64px; padding:0; border:2px solid transparent; border-radius:10px; overflow:hidden; background:#F2F1EC; cursor:pointer}
.thumb img{width:100%; height:100%; object-fit:cover; display:block}
.thumb--on{border-color:var(--brand)}

.qty--pdp{flex:0 0 auto}
.qty--pdp .qty__b{width:44px; font-size:20px}
.qty--pdp .qty__n{width:54px; font-size:17px}

/* ——— карусель фото в карточке каталога (сайт) ——— */
.cgal{position:relative}
.cgal__track{display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none}
.cgal__track::-webkit-scrollbar{display:none}
.cgal__track a{flex:0 0 100%; scroll-snap-align:start; display:block}
.cgal__nav{position:absolute; top:50%; transform:translateY(-50%); width:32px; height:32px; border:0; border-radius:50%; background:rgba(255,255,255,.9); color:#2E2E2C; font-size:20px; line-height:1; cursor:pointer; box-shadow:0 1px 5px rgba(0,0,0,.2); opacity:0; transition:opacity .15s}
.cgal:hover .cgal__nav{opacity:1}
@media (hover:none){.cgal__nav{opacity:.9; width:28px; height:28px; font-size:18px}}
.cgal__nav--prev{left:6px}
.cgal__nav--next{right:6px}
.cgal__dots{position:absolute; left:0; right:0; bottom:8px; display:flex; gap:5px; justify-content:center; pointer-events:none}
.cgal__dots span{width:6px; height:6px; border-radius:50%; background:rgba(255,255,255,.65); box-shadow:0 0 2px rgba(0,0,0,.35)}
.cgal__dots span.on{background:#fff; width:8px; height:8px; margin-top:-1px}

/* ——— галерея, правка 21.11.2026: аккуратные стрелки и мелкие точки ——— */
.cgal__nav,.galnav{display:flex; align-items:center; justify-content:center; padding:0; line-height:0; color:#2E2E2C}
.cgal__nav svg,.galnav svg{display:block}
.cgal__nav{width:30px; height:30px; box-shadow:0 1px 4px rgba(0,0,0,.22)}
.galnav{width:36px; height:36px; font-size:0}
/* на телефоне стрелок нет: листаем свайпом */
@media (hover:none){.cgal__nav,.galnav{display:none}}
/* точки поверх нижнего края фото; активная — «таблетка» */
.galwrap .dots{position:absolute; left:0; right:0; bottom:10px; padding:0; gap:5px; pointer-events:none}
.galwrap .dot{width:6px; height:6px; background:rgba(255,255,255,.7); box-shadow:0 0 2px rgba(0,0,0,.4); transition:width .18s, background .18s}
.galwrap .dot--on{width:16px; border-radius:3px; background:#fff}
.cgal__dots{bottom:8px; gap:4px}
.cgal__dots span{width:5px; height:5px; transition:width .18s}
.cgal__dots span.on{width:14px; height:5px; border-radius:3px; margin-top:0}
