/* 2026-11-11 (LOCAL): collection page (slider + header + colour squares). Look: Lia/Nasko card mockup (карточка.jpg). Old gallery/H1 stay in the HTML but are hidden (so old scripts keep working). */
.lia-col-on #main.cf, .lia-col-on #container.cf > #main, .lia-col-on #old_slider, .lia-col-on .description-titul { display: none !important; }
.lia-col-on .tab-pane#description h1#refscroll { display: none !important; }
.lia-col-wrap, .lia-col-wrap * { box-sizing: border-box; }
.lia-col-wrap { font-family: 'Manrope', 'Roboto', Arial, sans-serif; font-feature-settings: "locl" 0; color: #1b1b1f; text-align: left; text-align-last: auto; line-height: 1.3; }
/* slider */
.lia-col-slider { position: relative; overflow: hidden; border-radius: 18px; background: #efeeea; touch-action: pan-y; user-select: none; -webkit-user-select: none; margin: 0 0 16px 0; }
.lia-col-track { display: flex; transition: transform .35s ease; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .lia-col-track { transition: none; } }
.lia-col-slide { flex: 0 0 100%; aspect-ratio: 3 / 4; max-height: 78vh; background: #efeeea; display: flex; align-items: center; justify-content: center; }
.lia-col-slide img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.lia-col-nophoto span { font-size: 22px; font-weight: 700; color: #00000099; }
.lia-col-arr { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(40, 40, 44, .55); color: #fff; font-size: 26px; line-height: 36px; padding: 0 0 3px 0; cursor: pointer; }
.lia-col-arr:focus-visible, .lia-col-tile:focus-visible { outline: 3px solid #008585; outline-offset: 2px; }
.lia-col-prev { left: 10px; } .lia-col-next { right: 10px; }
.lia-col-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; pointer-events: none; }
.lia-col-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.lia-col-dots i.on { background: #fff; }
/* header */
.lia-col-head { display: flex; align-items: stretch; justify-content: space-between; gap: 14px; margin: 4px 0 18px 0; }
.lia-col-hl { min-width: 0; flex: 1 1 auto; }
.lia-col-label { display: flex; align-items: center; gap: 12px; font-size: 12.5px; letter-spacing: .06em; color: #6f6f76; text-transform: uppercase; margin-bottom: 2px; }
.lia-col-label i { flex: 1 1 24px; max-width: 110px; height: 1px; background: #cfcfd4; }
.lia-col-wrap h1.lia-col-title { font-family: 'Manrope', 'Roboto', Arial, sans-serif; font-size: 27px; line-height: 1.15; font-weight: 800; margin: 0 0 4px 0; color: #111114; text-align: left; }
.lia-col-sub { font-size: 16px; color: #55555c; }
.lia-col-hr { flex: 0 0 auto; padding-left: 16px; border-left: 1px solid #d9d9de; display: flex; flex-direction: column; justify-content: center; }
.lia-col-pl { font-size: 15px; color: #55555c; }
.lia-col-price { white-space: nowrap; }
.lia-col-price b { font-size: 26px; font-weight: 800; color: #111114; }
.lia-col-price small { font-size: 16px; font-weight: 700; color: #3b3b42; margin-left: 3px; }
/* colour squares */
.lia-col-h2 { font-size: 19px; font-weight: 800; margin: 0 0 12px 0; color: #17171b; }
.lia-col-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
.lia-col-tile { appearance: none; -webkit-appearance: none; border: 0; background: none; padding: 0; margin: 0; cursor: pointer; display: block; }
.lia-col-sq { display: block; width: 100%; aspect-ratio: 1; border-radius: 10px; border: 1px solid rgba(0, 0, 0, .14); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.lia-col-tile[aria-pressed="true"] .lia-col-sq { outline: 3px solid #2e7d4a; outline-offset: 2px; }
.lia-col-rule { height: 1px; background: #dcdce0; margin: 20px 0 14px 0; }
.lia-col-desc-h { font-family: 'Manrope', 'Roboto', Arial, sans-serif; font-size: 21px; font-weight: 800; margin: 0 0 8px 0; color: #17171b; text-align: left; }
@media (max-width: 400px) { .lia-col-wrap h1.lia-col-title { font-size: 24px; } .lia-col-price b { font-size: 23px; } .lia-col-sub { font-size: 15px; } .lia-col-head { gap: 10px; } .lia-col-hr { padding-left: 12px; } }
/* description + specifications keep the old look, only aligned with the new block */
.lia-col-on .product-text { max-width: none; }
.lia-col-on .product-text .content-text { text-align: left; text-align-last: auto; font-weight: 400; font-size: 15.5px; line-height: 1.5em; max-width: none; margin: 0; color: #2b2b30; font-family: 'Manrope', 'Roboto', Arial, sans-serif; font-feature-settings: "locl" 0; }
.lia-col-on .product-text .show-more { font-family: 'Manrope', 'Roboto', Arial, sans-serif; }
.lia-col-on .specifications_block { margin-top: 18px; margin-bottom: 24px; }
.lia-col-on .specifications_btn, .lia-col-on .specifications_content { max-width: 100%; }
@media (max-width: 767px) { .lia-col-wrap { padding-left: 14px; padding-right: 14px; } .lia-col-on .product-text, .lia-col-on .specifications_block { padding-left: 14px; padding-right: 14px; } }
.lia-col-on .product-text .lia-col-wrap { padding-left: 0; padding-right: 0; }
.lia-col-on .product-text .show-more { font-feature-settings: "locl" 0; }
/* description: left aligned, 3 lines + the old "Виж цял текст" button (toggleText() adds .expanded) */
.lia-col-on .product-text { text-align: left; }
.lia-col-on .product-text .content-text { text-align: left !important; text-align-last: left !important; font-size: 16px; line-height: 1.5em; max-height: 4.5em; overflow: hidden; margin: 0 0 4px 0 !important; max-width: none !important; }
.lia-col-on .product-text .content-text.expanded { max-height: 600px; }
.lia-col-on .product-text .show-more { display: inline-block; text-align: left; font-size: 14px; color: #55555c; cursor: pointer; margin: 2px 0 6px 0; }
/* dop mode (colours inside cards, e.g. Rossi): old colour list hidden, numbered tiles, many colours, links to the cards */
.lia-col-on .color_block.lia-cs { display: none !important; }
.lia-col-tile { position: relative; }
.lia-col-no { position: absolute; left: 0; right: 0; bottom: 3px; text-align: center; font-size: 11px; line-height: 1; font-weight: 800; color: #1b1b1f; text-shadow: 0 0 3px rgba(255, 255, 255, .9), 0 0 2px rgba(255, 255, 255, .9); pointer-events: none; }
.lia-col-grid.lia-col-grid-n { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; }
.lia-col-grid.lia-col-grid-n .lia-col-sq { border-radius: 8px; }
@media (min-width: 768px) { .lia-col-grid.lia-col-grid-n { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.lia-col-cartels { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 14px 0 0 0; font-size: 14px; color: #55555c; }
.lia-col-cartels a { display: inline-block; padding: 4px 10px; border: 1px solid #d5d5da; border-radius: 999px; color: #2b2b30; text-decoration: none; font-weight: 700; background: #fff; }
.lia-col-cartels a:hover { border-color: #008585; color: #008585; }

/* goods mode: the colour tile is a real link */
a.lia-col-tile { display: block; text-decoration: none; color: inherit; }

/* 2026-11-15 (LOCAL, Sergio): the head block (title, number, colour, price) stands UNDER the colour tiles */
.lia-col-pick + .lia-col-head { margin: 18px 0 4px 0; }
