/* Copied as-is from AK_top.one store templates (data-tpl rules). */
body[data-tpl="showcase"] .shop-hero { grid-template-areas: "head" "faces" "legal"; justify-items: stretch; }
body[data-tpl="showcase"] .shop-hero-head { text-align: center; justify-items: center; padding: 10px 0 6px; }
body[data-tpl="showcase"] .shop-hero-head h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); letter-spacing: .02em; }
body[data-tpl="showcase"] .shop-about { max-width: 62ch; color: var(--muted); }
body[data-tpl="showcase"] .shop-faces { width: 100%; max-width: 100%; margin-inline: 0; gap: 10px; }
body[data-tpl="showcase"] .shop-face-box { border-radius: 18px; }
body[data-tpl="showcase"] .shop-tiles { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
body[data-tpl="showcase"] .shop-tile { padding: 12px; border-radius: 20px; box-shadow: 0 8px 22px rgba(20, 32, 28, .08); }
body[data-tpl="showcase"] .shop-tile-title { order: -1; text-align: center; font-size: 1.02rem; min-height: 2.6em; }
body[data-tpl="showcase"] .shop-tile-price, body[data-tpl="showcase"] .shop-tile-meta { text-align: center; }
body[data-tpl="showcase"] .shop-tile-add { background: #9a7209; border-color: #9a7209; color: #fff; }
body[data-tpl="showcase"] .shop-tile .shop-tile-mark { top: calc(2.6em + 26px); }
body[data-tpl="luxe"] { --bg: #0e0c09; --bg-soft: #17130d; --card: #17130d; --text: #f5ecd7; --muted: #c9b98f; --line: #3a2f1b; --accent: #d4a84a; --header-bg: rgba(14, 12, 9, .94); background: #0e0c09; color: #f5ecd7; }
body[data-tpl="luxe"] .site-header { background: rgba(14, 12, 9, .94); border-color: #3a2f1b; }
body[data-tpl="luxe"] .shop-hero { grid-template-areas: "faces" "legal"; }
body[data-tpl="luxe"] .shop-hero.no-faces { grid-template-areas: "head" "legal"; }
body[data-tpl="luxe"] .shop-hero:not(.no-faces) > .shop-hero-head { grid-area: faces; align-self: end; z-index: 1; width: 100vw; margin-inline: calc(50% - 50vw); box-sizing: border-box; padding: 40px max(16px, 6vw) 16px; background: linear-gradient(to top, rgba(0, 0, 0, .82), rgba(0, 0, 0, 0)); pointer-events: none; }
body[data-tpl="luxe"] .shop-hero-head h1 { color: #e7c46a; text-shadow: 0 0 10px rgba(231, 196, 106, .35); }
body[data-tpl="luxe"] .shop-hero:not(.no-faces) .shop-about { color: #efe3c4; }
body[data-tpl="luxe"] .shop-tile { background: #17130d; border-color: #3a2f1b; }
body[data-tpl="luxe"] .shop-tile:hover { border-color: #b8891a; }
body[data-tpl="luxe"] .shop-tile-price { color: #e7c46a; }
body[data-tpl="luxe"] .shop-tile-add { background: transparent; border-color: #b8891a; color: #e7c46a; }
body[data-tpl="luxe"] .shop-tile-img { background: #0b0a07; }
body[data-tpl="luxe"] .store-card, body[data-tpl="luxe"] .shop-legal-box { background: #17130d; border-color: #3a2f1b; color: #f5ecd7; }
body[data-tpl="luxe"] .shop-social-btn { background: #17130d; border-color: #3a2f1b; color: #f5ecd7; }
body[data-tpl="luxe"] .shop-social-btn.is-tiktok svg { color: #f5ecd7; }
body[data-tpl="luxe"] .site-footer.book-footer { background: #0b0a07; border-color: #3a2f1b; }
body[data-tpl="luxe"] .book-footer .book-footer-brand a { color: #f5ecd7; }
body[data-tpl="luxe"] .btn-ghost { color: #f5ecd7; border-color: #3a2f1b; }
body[data-tpl="list"] .shop-hero { grid-template-areas: "faces head" "legal legal"; grid-template-columns: 96px minmax(0, 1fr); align-items: center; column-gap: 14px; }
body[data-tpl="list"] .shop-hero.no-faces { grid-template-areas: "head" "legal"; grid-template-columns: minmax(0, 1fr); }
body[data-tpl="list"] .shop-faces { width: 96px; max-width: 96px; margin: 0; display: block; }
body[data-tpl="list"] .shop-face-box { width: 96px; height: 96px; border-radius: 18px; border: 1px solid var(--line); }
body[data-tpl="list"] .shop-face-box ~ .shop-face-box { display: none; }
body[data-tpl="list"] .shop-faces .shop-face-box img { height: 100%; }
body[data-tpl="list"] .shop-hero-head h1 { font-size: clamp(1.4rem, 4vw, 1.9rem); margin: 0; }
body[data-tpl="list"] .shop-tiles { grid-template-columns: minmax(0, 1fr); gap: 10px; }
body[data-tpl="list"] .shop-tile { flex-direction: row; align-items: center; gap: 12px; padding: 10px 12px; }
body[data-tpl="list"] .shop-tile-open { display: grid; grid-template-columns: 88px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 12px; row-gap: 2px; align-items: center; }
body[data-tpl="list"] .shop-tile-img { grid-row: 1 / span 3; width: 88px; }
body[data-tpl="list"] .shop-tile-title { min-height: 0; -webkit-line-clamp: 1; }
body[data-tpl="list"] .shop-tile-meta { min-height: 0; -webkit-line-clamp: 1; }
body[data-tpl="list"] .shop-tile-add { width: auto; flex: 0 0 auto; min-width: 118px; }
body[data-tpl="list"] .shop-tile .shop-tile-mark { top: 14px; inset-inline-start: 16px; inset-inline-end: auto; width: 1.6rem; height: 1.6rem; }
body[data-tpl="list"] .shop-tile-badge { display: none; }
@media (max-width: 520px){body[data-tpl="list"] .shop-tile { flex-wrap: wrap; }body[data-tpl="list"] .shop-tile-open { flex: 1 1 100%; }body[data-tpl="list"] .shop-tile-add { flex: 1 1 100%; }}
html body[data-tpl="luxe"] { background: #0e0c09 !important; background-image: none !important; }
body[data-tpl="showcase"] .shop-tile-price { align-self: center; }
body[data-tpl="list"] .shop-tile-price { justify-self: start; align-self: center; }
@media (max-width: 520px){body[data-tpl="showcase"] .shop-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }body[data-tpl="showcase"] .shop-tile { padding: 8px; border-radius: 16px; }body[data-tpl="showcase"] .shop-tile-title { font-size: .9rem; }body[data-tpl="luxe"] .shop-hero:not(.no-faces) .shop-about { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: .85rem; }}
body[data-tpl="showcase"] .shop-hero { grid-template-areas: "head" "about" "faces" "legal"; }
body[data-tpl="showcase"] .shop-hero > .shop-about { text-align: center; justify-self: center; margin-bottom: 6px; }
body[data-tpl="luxe"] .shop-hero { grid-template-areas: "faces" "about" "legal"; }
body[data-tpl="luxe"] .shop-hero.no-faces { grid-template-areas: "head" "about" "legal"; }
body[data-tpl="luxe"] .shop-hero > .shop-about { color: #efe3c4; padding-top: 6px; }
body[data-tpl="luxe"] .shop-hero:not(.no-faces) > .shop-hero-head { padding: 28px max(16px, 6vw) 12px; }
body[data-tpl="list"] .shop-hero { grid-template-areas: "faces head" "faces about" "legal legal"; }
body[data-tpl="list"] .shop-hero.no-faces { grid-template-areas: "head" "about" "legal"; }
body[data-tpl="list"] .shop-hero > .shop-about { align-self: start; font-size: .92rem; color: var(--muted); }
body[data-tpl="list"] .shop-hero > .shop-hero-head { align-self: end; }
body[data-tpl="list"] .shop-hero > .shop-faces { align-self: start; }
@media (max-width: 520px){body[data-tpl="luxe"] .shop-hero:not(.no-faces) .shop-about { display: block; -webkit-line-clamp: unset; overflow: visible; font-size: inherit; }}
body[data-tpl="showcase"] .shop-hero > .shop-about-wrap { justify-items: center; text-align: center; margin-bottom: 6px; }
body[data-tpl="luxe"] .shop-hero > .shop-about-wrap .shop-about { color: #efe3c4; padding-top: 6px; }
body[data-tpl="list"] .shop-hero > .shop-about-wrap { align-self: start; font-size: .92rem; }
body[data-tpl="luxe"] .shop-social-btn.is-link svg { color: #e7c46a; }
body[data-tpl="luxe"] .shop-tile .shop-tile-cmp.is-on { color: #e7c46a; }
body[data-tpl="showcase"] .shop-tile .shop-tile-cmp { align-self: center; }
body[data-tpl="list"] .shop-tile .shop-tile-cmp { align-self: center; flex: 0 0 auto; }
body[data-tpl="luxe"] .shop-sheet-card { background: #17130d; border-color: #3a2f1b; }
body[data-tpl="luxe"] .shop-sheet-foot { background: #17130d; border-color: #3a2f1b; }
body[data-tpl="luxe"] .shop-specs, body[data-tpl="luxe"] .shop-specs > div + div { border-color: #3a2f1b; }
body[data-tpl="luxe"] .shop-sheet-price strong { color: #e7c46a; }
body[data-tpl="luxe"] .shop-top-name { color: #e7c46a; text-shadow: 0 0 8px rgba(231, 196, 106, .3); }
body[data-tpl="luxe"] .shop-top-avatar { border-color: #e7c46a; box-shadow: 0 0 8px rgba(231, 196, 106, .35); }
body[data-tpl="salon-elegant"] .shop-tiles { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
body[data-tpl="showroom-dark"] { background: #12110e; }
body[data-tpl="showroom-dark"] .shop-tile { background: #1c1a16; color: #f4efe4; }
body[data-tpl="phones-grid"] .shop-tiles, body[data-tpl="electronics-grid"] .shop-tiles, body[data-tpl="parts-grid"] .shop-tiles { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
body[data-tpl="pharmacy-clean"] .shop-tile { background: #fff; }
body[data-tpl="restaurant-menu"] .shop-tiles { display: block; }
body[data-tpl="restaurant-menu"] .shop-tile { display: grid; grid-template-columns: 72px 1fr auto; gap: .5rem; align-items: center; }
body[data-tpl="fashion-lookbook"] .shop-tile-img { aspect-ratio: 3/4; }
body[data-tpl="gifts-soft"] .shop-tile, body[data-tpl="home-warm"] .shop-tile { border-radius: 18px; }
body[data-tpl="showcase"] { background: #fffdf8; }
body[data-tpl="showcase"] .shop-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body[data-tpl="showcase"] .shop-hero-media { aspect-ratio: 21 / 8; }
body[data-tpl="luxe"], body[data-tpl="showroom-dark"] { background: #14120e; color: #f6f1e6; }
body[data-tpl="luxe"] .shop-tile, body[data-tpl="showroom-dark"] .shop-tile { background: #221e18; color: #f6f1e6; border-color: #8a6a32; }
body[data-tpl="luxe"] .shop-hero-media { aspect-ratio: 21 / 7; border-radius: 0; }
body[data-tpl="salon-elegant"] { background: #fbf7f5; }
body[data-tpl="salon-elegant"] .shop-menu-row { border-bottom-color: #e7cfc6; background: #fff; border-radius: 12px; padding: .45rem; }
body[data-tpl="showroom-dark"] .shop-feature { background: #1b1814; }
body[data-tpl="phones-grid"] { background: #f2f5f8; }
body[data-tpl="phones-grid"] .shop-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
body[data-tpl="pharmacy-clean"] { background: #f3faf6; }
body[data-tpl="pharmacy-clean"] .shop-tile { background: #fff; border: 1px solid #b7d7c9; }
body[data-tpl="pharmacy-clean"] .shop-cats span { background: #e7f6ee; }
body[data-tpl="restaurant-menu"] { background: #fff8ee; }
body[data-tpl="restaurant-menu"] .shop-menu-row { background: #fffdf8; border: 1px dashed #e2c48a; border-radius: 10px; }
body[data-tpl="fashion-lookbook"] { background: #f7f5f2; }
body[data-tpl="fashion-lookbook"] .shop-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body[data-tpl="fashion-lookbook"] .shop-tile-img { aspect-ratio: 3 / 4; max-height: 240px; }
body[data-tpl="gifts-soft"] { background: #fff5f7; }
body[data-tpl="gifts-soft"] .shop-tile { border-radius: 22px; }
body[data-tpl="home-warm"] { background: #f8f1e4; }
body[data-tpl="home-warm"] .shop-split { background: #fff; padding: .4rem; border-radius: 16px; }
body[data-tpl="parts-grid"] { background: #eef2f5; }
body[data-tpl="parts-grid"] .shop-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body[data-tpl="electronics-grid"] { background: #101820; color: #e7eef6; }
body[data-tpl="electronics-grid"] .shop-tile { background: #182430; color: #e7eef6; }
body[data-tpl="blank"] .shop-legal { opacity: .7; }
@media (max-width: 700px){.shop-split, body[data-tpl="fashion-lookbook"] .shop-tiles, body[data-tpl="parts-grid"] .shop-tiles { grid-template-columns: 1fr 1fr; }}
body[data-tpl="luxe"] .shop-foot-row { background: #0b0a07; border-color: #3a2f1b; }