/* STLFilesHub — responsive layout (mobile / tablet) + small accessibility helpers.
   Loaded after style.css. Desktop (> 1200px) rendering is unchanged. */

/* ---------------------------------------------------------------- helpers */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}
.skip-link:focus {
    clip: auto;
    clip-path: none;
    height: auto;
    width: auto;
    margin: 0;
    left: 12px;
    top: 12px;
    z-index: 100000;
    padding: 10px 16px;
    background: #7c3aed;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
}
.stlh-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

img { max-width: 100%; height: auto; }

/* Header search is now a real form: keep the original look. */
.header-center .stlh-search-form { display: flex; justify-content: center; margin: 0; max-width: 100%; }

/* Newsletter feedback + consent */
.stlh-newsletter-message { margin: 14px auto 0; max-width: 1100px; padding: 0 20px; font-weight: 600; text-align: center; }
.stlh-newsletter-message--success { color: #4ade80; }
.stlh-newsletter-message--error { color: #f87171; }
.stlh-newsletter-consent { margin: 10px auto 0; max-width: 1100px; padding: 0 20px; font-size: 13px; opacity: .75; text-align: center; }
.stlh-newsletter-consent a { color: #a78bfa; }

/* Shop: pagination + "no products" message in the theme's dark style */
.shop-page-wrapper .woocommerce-pagination { margin: 30px 0 10px; text-align: center; }
.shop-page-wrapper .woocommerce-pagination ul.page-numbers { display: inline-flex; flex-wrap: wrap; gap: 8px; border: 0 !important; margin: 0; padding: 0; }
.shop-page-wrapper .woocommerce-pagination ul.page-numbers li { border: 0 !important; float: none; }
.shop-page-wrapper .woocommerce-pagination .page-numbers a,
.shop-page-wrapper .woocommerce-pagination .page-numbers span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 42px; height: 42px; padding: 0 12px;
    border-radius: 10px; border: 1px solid #1e293b; background: #0f172a; color: #e2e8f0; text-decoration: none; font-weight: 600;
}
.shop-page-wrapper .woocommerce-pagination .page-numbers a:hover { border-color: #7c3aed; color: #fff; }
.shop-page-wrapper .woocommerce-pagination .page-numbers span.current { background: #7c3aed; border-color: #7c3aed; color: #fff; }
.shop-page-wrapper .woocommerce-info,
.shop-page-wrapper .woocommerce-no-products-found .woocommerce-info { background: #0f172a; color: #e2e8f0; border-top-color: #7c3aed; border-radius: 12px; }
.filter-panel a.active { color: #a78bfa; }

/* ---------------------------------------------------------------- ≤ 1200px: tablet */
@media (max-width: 1200px) {
    .top-header { padding: 0 24px; gap: 16px; }
    .logo { width: auto; }
    .header-center { min-width: 0; }
    .header-center .stlh-search-form { width: 100%; }
    .header-center input { width: 100%; max-width: 800px; }
    .bottom-header { gap: 28px; }
}

/* ---------------------------------------------------------------- ≤ 900px: phone / small tablet */
@media (max-width: 900px) {
    .top-header {
        height: auto;
        flex-wrap: wrap;
        padding: 10px 16px;
        gap: 10px;
    }
    .logo { order: 1; }
    .logo img { height: 44px; }
    .header-right { order: 2; margin-left: auto; gap: 2px; }
    .header-right a { padding: 8px 9px; }
    .header-center { order: 3; flex: 1 1 100%; }
    .header-center input { height: 44px; font-size: 16px; }   /* 16px: no zoom-on-focus on iOS */

    .bottom-header {
        justify-content: flex-start;
        gap: 22px;
        padding: 0 16px;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .bottom-header::-webkit-scrollbar { display: none; }
    .bottom-header a { flex: 0 0 auto; font-size: 14px; }
}

/* ---------------------------------------------------------------- homepage, newsletter, footer, toast */
@media (max-width: 1100px) {
    .why-choose { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 0 20px; }
    .category-grid { flex-wrap: wrap; padding: 0 20px; }
    .category-card { width: calc(50% - 10px); }
    .category-product-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-container { grid-template-columns: 1fr 1fr; gap: 36px; padding: 48px 24px; }
}

@media (max-width: 900px) {
    .newsletter-content { flex-direction: column; align-items: stretch; gap: 18px; padding: 22px; }
    .newsletter-right { width: 100%; }
    .newsletter-right input[type="email"] { flex: 1 1 auto; width: auto; min-width: 0; font-size: 16px; }
    .newsletter-right button { flex: 0 0 auto; }

    .footer-bottom { flex-direction: column; text-align: center; padding: 20px 16px; }
    .footer-bottom-right { flex-wrap: wrap; justify-content: center; }

    .stlh-toast { left: 12px; right: 12px; width: auto; padding: 16px; gap: 12px; flex-wrap: wrap; }
    .stlh-toast-button { padding: 10px 14px; }
}

@media (max-width: 600px) {
    .why-choose { gap: 12px; padding: 0 16px; margin: 36px auto; }
    .why-box { padding: 20px 12px; }
    .category-grid { gap: 12px; padding: 0 16px; }
    .category-card { width: calc(50% - 6px); }
    .category-image { height: 140px; }
    .category-product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .footer-container { grid-template-columns: 1fr; gap: 28px; padding: 40px 16px; }
    .footer-col img { max-width: 200px; }
    .newsletter-section { padding: 0 16px; }
    .newsletter-right { flex-direction: column; }
    .newsletter-right button { width: 100%; }
    .footer-social a { width: 48px; height: 48px; font-size: 26px; }
    .dm-contact-footer-box { padding: 24px 16px; }
}

/* ---------------------------------------------------------------- shop / category / search */
@media (max-width: 1200px) {
    ul.products.columns-4 { grid-template-columns: repeat(3, 1fr) !important; }
    .related-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .shop-page-wrapper { padding: 16px; margin: 16px 12px; border-radius: 16px; }
    .shop-top-bar { flex-wrap: wrap; gap: 8px; }
    .shop-filters { flex-wrap: wrap; gap: 8px; margin-top: 12px; }
    .filter-tab { min-width: 0; flex: 1 1 auto; padding: 10px 14px; font-size: 14px; }
    .woocommerce ul.products, ul.products.columns-4 { margin-left: 0 !important; margin-right: 0 !important; padding: 12px !important; border-radius: 16px; }
    ul.products.columns-4 { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
    ul.products.columns-4 li.product img { height: 200px !important; }
    .product-card img { height: 220px; }
    .products-wrapper { padding: 5px 14px 16px; border-radius: 18px; }
}
@media (max-width: 380px) {
    ul.products.columns-4 li.product img { height: 160px !important; }
}

/* ---------------------------------------------------------------- single product */
@media (max-width: 1100px) {
    .stl-product-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; margin: 20px auto; padding: 0 16px; }
    .stl-info { padding: 22px; }
}
@media (max-width: 700px) {
    .stl-product-layout { padding: 0 12px; }
    .stl-gallery { flex-direction: column; padding: 12px; }
    .gallery-slider { flex-direction: row; width: 100%; }
    .gallery-thumbs { width: 100%; height: auto; flex-direction: row; overflow-x: auto; overflow-y: hidden; }
    .gallery-thumbs img { width: 72px; min-width: 72px; height: 72px; object-fit: cover; }
    .gallery-nav { display: none; }
    .stl-info { padding: 18px; }
    .stl-title { font-size: 22px; line-height: 1.3; }
    .product-buttons { flex-direction: column; gap: 10px; }
    .product-buttons > * { flex: 0 0 auto; }
    .buy-now-btn { min-height: 52px; }
    .product-buttons form.cart { width: 100%; }
    .read-more-btn { width: 100%; box-sizing: border-box; }
    .related-products-section { padding: 18px; margin: 24px 12px 48px; }
    .related-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .related-products-grid .product-card img { height: 170px; }
    .dm-review-summary__metrics { max-width: 100%; }
}

/* ---------------------------------------------------------------- homepage product sections (Featured + categories) */
/* One grid for every row, so Featured Products matches the category rows. */
.product-grid,
.category-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    justify-content: stretch;
}
.product-grid .product-card,
.category-product-grid .product-card { width: auto; min-width: 0; }
.product-grid .product-card img,
.category-product-grid .product-card img { height: 300px; }

/* Section headings: accent bar + clean pill button */
.featured-products .products-wrapper { padding: 28px 30px 32px; }
.featured-products .section-header {
    margin: 0 0 26px;
    padding: 0 0 18px;
    border-bottom: 1px solid #243247;
    box-shadow: none;
    gap: 16px;
}
.featured-products .section-header h2 {
    position: relative;
    margin: 0;
    padding-left: 18px;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.01em;
    color: #fff;
}
.featured-products .section-header h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 5px;
    border-radius: 5px;
    background: linear-gradient(180deg, #a78bfa, #7c3aed);
    box-shadow: 0 0 14px rgba(124, 58, 237, .6);
}
.featured-products .view-all-btn {
    flex: 0 0 auto;
    padding: 10px 20px;
    border: 1px solid rgba(124, 58, 237, .65);
    background: rgba(124, 58, 237, .14);
    color: #ddd6fe;
    font-size: 13px;
    letter-spacing: .02em;
    transition: background .2s, color .2s, transform .15s;
}
.featured-products .view-all-btn:hover { background: #7c3aed; color: #fff; transform: translateY(-1px); }

@media (max-width: 1100px) {
    .product-grid, .category-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .product-grid, .category-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .product-grid .product-card img, .category-product-grid .product-card img { height: 170px; }
    .featured-products .products-wrapper { padding: 18px 14px 20px; }
    .featured-products .section-header h2 { font-size: 20px; padding-left: 14px; }
    .featured-products .view-all-btn { padding: 8px 14px; }
}

/* ---------------------------------------------------------------- single product: gallery + title block */
.stl-gallery { gap: 16px; padding: 18px; border-radius: 22px; }
.gallery-slider { position: relative; flex: 0 0 112px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.gallery-thumbs { width: 100%; height: auto; max-height: 560px; gap: 10px; padding: 2px; scroll-snap-type: y proximity; }
.gallery-thumbs .gallery-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid transparent;
    opacity: .72;
    background: #0f172a;
    scroll-snap-align: start;
    transition: opacity .2s, border-color .2s, transform .2s;
}
.gallery-thumbs .gallery-thumb:hover { opacity: 1; transform: translateY(-1px); }
.gallery-thumbs .gallery-thumb.active-thumb { opacity: 1; border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124, 58, 237, .25); }

.gallery-nav {
    width: 40px;
    height: 40px;
    padding: 0;
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid #2b3a52;
    border-radius: 50%;
    background: #0f172a;
    color: #e2e8f0;
    font-size: 0;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s, opacity .2s;
}
.gallery-slider.has-nav .gallery-nav { display: inline-flex; }
.gallery-nav:hover:not(:disabled) { background: #7c3aed; border-color: #7c3aed; color: #fff; }
.gallery-nav:disabled { opacity: .35; cursor: default; }
.gallery-nav:focus-visible { outline: 2px solid #a78bfa; outline-offset: 2px; }

.gallery-main { border-radius: 16px; overflow: hidden; background: #0f172a; }
.gallery-main img { border-radius: 0; }

.stl-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; }
.stl-kicker__pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border: 1px solid rgba(124, 58, 237, .5);
    border-radius: 999px;
    background: rgba(124, 58, 237, .14);
    color: #ddd6fe;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.stl-kicker__cat { color: #94a3b8; font-size: 13px; font-weight: 600; text-decoration: none; }
.stl-kicker__cat:hover { color: #c4b5fd; }
.stl-kicker__cat::before { content: '•'; margin-right: 10px; color: #475569; }

.stl-info .stl-title {
    margin: 0 0 8px;
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -.01em;
    color: #fff;
    text-wrap: balance;
    overflow-wrap: anywhere;
}
.stl-meta { margin: 0 0 4px; color: #64748b; font-size: 13px; }

.stl-info .price-wrapper { margin: 18px 0 22px; padding: 16px 0 18px; border-top: 1px solid #243247; border-bottom: 1px solid #243247; }
.stl-info .stl-price { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 14px; }
.stl-info .stl-price ins { display: inline; font-size: 40px; line-height: 1; font-weight: 800; color: #a78bfa; }
.stl-info .stl-price del { display: inline; margin: 0; font-size: 20px; color: #64748b; }
.stl-info .stl-price > .woocommerce-Price-amount { font-size: 40px; font-weight: 800; color: #a78bfa; }
.stl-save { align-self: center; padding: 4px 10px; border-radius: 8px; background: rgba(34, 197, 94, .15); color: #4ade80; font-size: 14px; font-weight: 800; }

@media (max-width: 700px) {
    .stl-gallery { flex-direction: column; padding: 12px; }
    .gallery-slider { flex: 0 0 auto; width: 100%; flex-direction: row; }
    .gallery-thumbs { flex: 1 1 auto; min-width: 0; max-height: none; flex-direction: row; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; }
    .gallery-thumbs .gallery-thumb { width: 64px; min-width: 64px; }
    .gallery-nav { display: none !important; }                    /* touch: swipe the thumbnails */
    .stl-info .stl-price ins, .stl-info .stl-price > .woocommerce-Price-amount { font-size: 32px; }
}

/* Product layout: columns must include the gap (previously 60% + 40% + gap overflowed the page by 30px). */
.stl-product-layout { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); padding-left: 20px; padding-right: 20px; box-sizing: border-box; }
.stl-info .stl-title { font-weight: 700; letter-spacing: 0; }
.stl-info .stl-price ins, .stl-info .stl-price > .woocommerce-Price-amount { font-weight: 700; }
@media (max-width: 1100px) { .stl-product-layout { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- product gallery: fixed square, never resizes with the photo */
.stl-gallery { align-items: stretch; width: 100%; box-sizing: border-box; }
.gallery-main {
    flex: 1 1 auto;
    min-width: 0;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b1222;
    border-radius: 16px;
    overflow: hidden;
}
.gallery-main img,
.stl-gallery .gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;                 /* the whole picture is shown, the frame stays the same size */
    object-position: center;
    border-radius: 0;
}
.gallery-slider { align-self: stretch; min-height: 0; }
.gallery-thumbs { flex: 1 1 0; min-height: 0; max-height: none; }

/* Same width as the box below it: rating summary + reviews fill the column evenly. */
.stl-left-column > * { width: 100%; box-sizing: border-box; }
.dm-review-summary__content { justify-content: space-between; gap: 24px; }
.dm-review-summary__metrics { flex: 1 1 auto; max-width: none; display: flex; justify-content: space-around; gap: 12px; }
.reviews-section .reviews-header { padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid #243247; }
.reviews-section .reviews-header h2 { padding-bottom: 0; border-bottom: 0; box-shadow: none; }

@media (max-width: 700px) {
    .gallery-main { aspect-ratio: 1 / 1; width: 100%; }
    .dm-review-summary__content { flex-direction: column; align-items: flex-start; }
    .dm-review-summary__metrics { width: 100%; }
}

/* ---------------------------------------------------------------- product card (shop, home rows, related) */
.product-card {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    background: #111827;
    border: 1px solid #243247;
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-2px); border-color: rgba(124, 58, 237, .4); box-shadow: 0 8px 20px rgba(124, 58, 237, .12); }

.product-card .product-image { position: relative; overflow: hidden; background: #0b1222; }
.product-card .product-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    border: 0;
    transition: transform .5s ease;
}
.product-card:hover .product-image img { transform: scale(1.025); }

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 999px;
    background: #16a34a;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}

.product-card .stlh-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(15, 23, 42, .62);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    cursor: pointer;
    transition: background .2s, transform .15s, color .2s;
}
.product-card .stlh-wishlist-btn:hover { background: #7c3aed; transform: scale(1.08); }
.product-card .stlh-wishlist-btn.active { color: #f472b6; }

.product-card .product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 14px 16px 0;
    min-height: 18px;
}
.product-card .product-cat {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #a78bfa;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.product-card .product-rating { flex: 0 0 auto; color: #fbbf24; font-size: 12px; font-weight: 700; }
.product-card .product-rating small { color: #94a3b8; font-weight: 500; }

.product-card h3 {
    height: auto;
    min-height: 2.7em;
    margin: 8px 16px 0;
    padding: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
}
.product-card h3 a { color: #f1f5f9; text-decoration: none; }
.product-card h3 a:hover { color: #c4b5fd; }

.product-card .price-area {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin: auto 16px 0;
    padding: 14px 0 16px;
    border-top: 1px solid #243247;
}
.product-card .price-area .sale-price { margin: 0; padding: 5px 12px; border-radius: 8px; font-size: 15px; font-weight: 800; }
.product-card .price-area .regular-price { margin: 0; font-size: 13px; }
.product-card .product-cta {
    margin-left: auto;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(124, 58, 237, .5);
    background: rgba(124, 58, 237, .14);
    color: #ddd6fe;
    text-decoration: none;
    transition: background .2s, color .2s, transform .2s;
}
.product-card .product-cta:hover { background: #7c3aed; color: #fff; }

@media (max-width: 700px) {
    .product-card .product-meta { margin: 10px 12px 0; }
    .product-card h3 { margin: 6px 12px 0; font-size: 13px; }
    .product-card .price-area { margin: auto 12px 0; padding: 10px 0 12px; gap: 6px; flex-wrap: wrap; }
    .product-card .price-area .sale-price { font-size: 13px; padding: 4px 9px; }
    .product-card .product-cta { width: 32px; height: 32px; }
    .product-card .stlh-wishlist-btn { width: 34px; height: 34px; }
}

/* ---------------------------------------------------------------- product title + add-to-cart feedback */
.stl-info .stl-title {
    margin: 0 0 6px;
    font-family: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
    font-size: clamp(20px, 1.7vw, 25px);
    font-weight: 700;
    line-height: 1.38;
    letter-spacing: -0.005em;
    color: #f1f5f9;
    text-wrap: pretty;
}
.stl-kicker { margin-bottom: 12px; }
.stl-kicker__pill { padding: 5px 11px; font-size: 11px; letter-spacing: .07em; }

/* Sepete ekleme: slower, clearly visible flight + toast + button state */
.flying-cart { transition: all 1.5s cubic-bezier(.22, .8, .24, 1) !important; filter: drop-shadow(0 6px 14px rgba(124, 58, 237, .55)); }
.cart-toast { transition: opacity .5s ease, transform .5s ease !important; }
.single_add_to_cart_button { transition: background-color .3s ease, border-color .3s ease, color .3s ease !important; }
.single_add_to_cart_button.is-adding { opacity: .7; cursor: progress; }
.single_add_to_cart_button.is-added { background: #16a34a !important; border-color: #16a34a !important; color: #fff !important; }

/* ---------------------------------------------------------------- mini cart (header hover) */
.cart-wrapper .cart-dropdown {
    display: block !important;
    position: absolute;
    top: calc(100% + 12px);
    right: -8px;
    left: auto;
    width: 360px;
    max-width: calc(100vw - 24px);
    padding: 0;
    background: #0f172a;
    border: 1px solid #243247;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(2, 6, 23, .55), 0 0 0 1px rgba(124, 58, 237, .12);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
/* invisible bridge so the panel does not close while the mouse crosses the gap */
.cart-wrapper .cart-dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.cart-wrapper .cart-dropdown::after {
    content: '';
    position: absolute;
    top: -6px;
    right: 22px;
    width: 12px;
    height: 12px;
    background: #0f172a;
    border-left: 1px solid #243247;
    border-top: 1px solid #243247;
    transform: rotate(45deg);
}
.cart-wrapper:hover .cart-dropdown,
.cart-wrapper:focus-within .cart-dropdown,
.cart-wrapper .cart-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition-delay: 0s;
}

.mini-cart { overflow: hidden; border-radius: 18px; }
.mini-cart__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 18px 12px;
    border-bottom: 1px solid #1e293b;
}
.mini-cart__head strong { font-size: 16px; color: #f8fafc; }
.mini-cart__count { font-size: 12px; font-weight: 600; color: #a78bfa; }

.cart-dropdown .cart-products { max-height: 300px; overflow-y: auto; padding: 6px 10px; scrollbar-width: thin; scrollbar-color: #334155 transparent; }
.cart-dropdown .cart-product {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 8px;
    border-radius: 12px;
    transition: background .15s;
}
.cart-dropdown .cart-product + .cart-product { border-top: 1px solid #1a2438; }
.cart-dropdown .cart-product:hover { background: rgba(148, 163, 184, .06); }
.cart-dropdown .cart-thumb { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: #0b1222; border: 1px solid #243247; }
.cart-dropdown .cart-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-dropdown .cart-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cart-dropdown .cart-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}
.cart-dropdown .cart-name:hover { color: #c4b5fd; }
.cart-dropdown .cart-price { color: #a78bfa; font-size: 13px; font-weight: 700; }
.cart-dropdown .mini-cart-remove {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #64748b;
    font-size: 13px;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.cart-dropdown .mini-cart-remove:hover { background: rgba(239, 68, 68, .14); color: #f87171; }
.mini-cart__more { display: block; margin: 4px 8px 8px; text-align: center; color: #94a3b8; font-size: 12px; text-decoration: none; }
.mini-cart__more:hover { color: #c4b5fd; }

.mini-cart__foot { padding: 14px 18px 16px; border-top: 1px solid #1e293b; background: rgba(15, 23, 42, .6); }
.mini-cart__total { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; color: #94a3b8; font-size: 14px; }
.mini-cart__total strong { color: #f8fafc; font-size: 18px; }
.cart-dropdown .mini-cart__checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 13px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(124, 58, 237, .32);
    transition: transform .15s, box-shadow .15s;
}
.cart-dropdown .mini-cart__checkout:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(124, 58, 237, .42); color: #fff; }
.mini-cart__continue { display: block; margin-top: 10px; text-align: center; color: #94a3b8; font-size: 13px; text-decoration: none; }
.mini-cart__continue:hover { color: #c4b5fd; }
.mini-cart__note { margin: 10px 0 0; text-align: center; color: #64748b; font-size: 11px; }
.mini-cart__note i { margin-right: 4px; }

.cart-dropdown .mini-cart-empty { padding: 26px 22px 28px; text-align: center; }
.cart-dropdown .empty-cart-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(124, 58, 237, .14);
    color: #a78bfa;
    font-size: 24px;
}
.cart-dropdown .mini-cart-empty h4 { margin: 0 0 6px; color: #f8fafc; font-size: 16px; }
.cart-dropdown .mini-cart-empty p { margin: 0 0 16px; color: #94a3b8; font-size: 13px; line-height: 1.5; }
.cart-dropdown .browse-products-btn { padding: 11px 22px; border-radius: 12px; font-size: 14px; }

@media (max-width: 900px) {
    /* touch devices: the cart icon opens the cart page, no hover panel */
    .cart-wrapper .cart-dropdown { display: none !important; }
}

/* header above page content so dropdowns (mini cart, wishlist panel) are never hidden behind it */
body > header { position: relative; z-index: 1000; }

/* mini cart: override the previous centred/blur layout */
.cart-dropdown .cart-product { flex-direction: row; align-items: center; text-align: left; position: relative; border-bottom: 0; padding: 10px 8px; }
.cart-dropdown .cart-thumb { display: block; justify-content: normal; width: 56px; position: static; }
.cart-dropdown .cart-thumb img { width: 100%; height: 100%; }
.cart-dropdown .cart-product:hover .cart-thumb img { opacity: 1; filter: none; }
.cart-dropdown .mini-cart-remove { position: static; transform: none; opacity: 1; width: 28px; height: 28px; background: transparent; color: #64748b; border-radius: 8px; }
.cart-dropdown .cart-product:hover .mini-cart-remove { transform: none; }
.cart-dropdown .mini-cart-empty { padding: 26px 22px 28px; }
.cart-dropdown .mini-cart-empty h4 { margin: 0 0 6px; font-size: 16px; }
.cart-dropdown .cart-info { text-align: left; align-items: flex-start; width: auto; padding: 0; }
.cart-dropdown .cart-name, .cart-dropdown .cart-price { text-align: left; }
.cart-dropdown .mini-cart-remove { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0; }
.cart-dropdown .mini-cart-remove:hover { background: rgba(239, 68, 68, .14) !important; color: #f87171; }

/* mini cart: remove button moves to the thumbnail corner so the product name gets the full row */
.cart-dropdown .cart-product { padding: 12px 12px 12px 8px; }
.cart-dropdown .mini-cart-remove {
    position: absolute !important;
    top: 4px;
    left: 52px;
    flex: none;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #cbd5e1;
    font-size: 9px;
    line-height: 1;
    z-index: 2;
    transition: background .15s, color .15s, border-color .15s;
}
.cart-dropdown .mini-cart-remove:hover { background: #ef4444 !important; border-color: #ef4444 !important; color: #fff; }
.cart-dropdown .cart-info { padding-right: 4px; }
.cart-dropdown .cart-name { font-size: 13px; line-height: 1.4; -webkit-line-clamp: 2; }
.cart-dropdown .cart-price { margin-top: 2px; }
.cart-dropdown .cart-name { display: -webkit-box !important; -webkit-box-orient: vertical !important; -webkit-line-clamp: 2 !important; line-clamp: 2; overflow: hidden !important; max-height: 2.8em; word-break: break-word; }
.cart-dropdown .cart-info a.cart-name { padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important; width: auto !important; height: auto !important; border-radius: 0 !important; box-shadow: none !important; }
.cart-dropdown a.cart-thumb { padding: 0 !important; margin: 0 !important; box-sizing: border-box; width: 56px !important; height: 56px !important; flex: 0 0 56px !important; background: #0b1222 !important; }
.cart-dropdown .mini-cart-remove { left: 53px; top: 1px; }
.cart-dropdown .mini-cart-remove { left: -2px; top: 1px; }

/* STLH-CHECKOUT-V2 */

/* ---------------------------------------------------------------- CHECKOUT (two columns) */
body.woocommerce-checkout main.site-main {
    max-width: 1240px;
    margin: 28px auto 56px;
    padding: 0 24px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* Slim trust header */
body.woocommerce-checkout .stlh-checkout-header {
    margin: 0 0 22px;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    text-align: left;
}
body.woocommerce-checkout .stlh-checkout-header h1 { margin: 0 0 6px; font-size: 30px; font-weight: 800; letter-spacing: -.01em; }
body.woocommerce-checkout .stlh-checkout-header p { margin: 0 0 14px; color: #94a3b8; font-size: 15px; }
body.woocommerce-checkout .stlh-checkout-badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
body.woocommerce-checkout .stlh-badge { padding: 6px 12px; font-size: 12px; font-weight: 700; border-radius: 999px; border: 1px solid rgba(124, 58, 237, .4); background: rgba(124, 58, 237, .1); color: #ddd6fe; }

/* Layout */
.stlh-co { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; align-items: start; }
.stlh-co__main { display: grid; gap: 20px; min-width: 0; }
.stlh-co__side { position: sticky; top: 24px; display: grid; gap: 16px; min-width: 0; }

.stlh-co__card {
    padding: 28px;
    background: #111827;
    border: 1px solid #243247;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, .25);
}
.stlh-co__title { display: flex; align-items: center; gap: 12px; margin: 0 0 4px; font-size: 20px; font-weight: 700; color: #f8fafc; }
.stlh-co__step {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}
.stlh-co__hint { margin: 0 0 22px 42px; color: #94a3b8; font-size: 13px; }
#order_review_heading { margin: 0 0 18px; padding: 0; border: 0; font-size: 20px; }

/* Customer fields */
body.woocommerce-checkout .col2-set { width: 100%; float: none; display: block; }
body.woocommerce-checkout .col2-set .col-1,
body.woocommerce-checkout .col2-set .col-2 { float: none; width: 100%; max-width: none; padding: 0; }
body.woocommerce-checkout .woocommerce-billing-fields > h3,
body.woocommerce-checkout .woocommerce-billing-fields__title { display: none; }
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
body.woocommerce-checkout .form-row { margin: 0 0 18px; padding: 0; float: none; width: 100%; }
body.woocommerce-checkout .form-row-wide { grid-column: 1 / -1; }
body.woocommerce-checkout .form-row-first, body.woocommerce-checkout .form-row-last { width: 100%; float: none; }
body.woocommerce-checkout form .form-row label { display: block; margin: 0 0 7px; color: #cbd5e1; font-size: 13px; font-weight: 600; line-height: 1.3; }
body.woocommerce-checkout form .form-row .required { color: #f87171; text-decoration: none; }
body.woocommerce-checkout form .form-row input.input-text,
body.woocommerce-checkout form .form-row textarea,
body.woocommerce-checkout form .form-row select,
body.woocommerce-checkout .select2-container--default .select2-selection--single {
    width: 100%;
    box-sizing: border-box;
    height: 48px;
    padding: 0 14px;
    background: #0b1222;
    border: 1px solid #2a3850;
    border-radius: 12px;
    color: #f1f5f9;
    font-size: 15px;
    line-height: 46px;
    box-shadow: none;
    transition: border-color .15s, box-shadow .15s;
}
body.woocommerce-checkout form .form-row textarea { height: auto; padding: 12px 14px; line-height: 1.5; }
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 46px; color: #f1f5f9; }
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; right: 8px; }
body.woocommerce-checkout form .form-row input.input-text:focus,
body.woocommerce-checkout form .form-row select:focus,
body.woocommerce-checkout .select2-container--open .select2-selection--single { border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124, 58, 237, .18); outline: 0; }
body.woocommerce-checkout form .form-row.woocommerce-invalid input.input-text { border-color: #ef4444; }
body.woocommerce-checkout form .form-row.woocommerce-validated input.input-text { border-color: #2a3850; }

/* Account card (optional) — compact */
body.woocommerce-checkout .stlh-account-card { margin: 0; padding: 22px 28px; border-radius: 20px; background: #111827; border: 1px solid #243247; box-shadow: 0 10px 30px rgba(2, 6, 23, .25); }
body.woocommerce-checkout .stlh-account-card-header h3 { margin: 0 0 12px; font-size: 18px; }
body.woocommerce-checkout .stlh-account-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
body.woocommerce-checkout .stlh-account-benefits li { margin: 0; font-size: 14px; }
body.woocommerce-checkout .stlh-account-note { margin: 14px 0 16px; font-size: 13px; max-width: none; }

/* Order summary table */
body.woocommerce-checkout table.shop_table { width: 100%; margin: 0; border: 0; border-collapse: collapse; background: none; }
body.woocommerce-checkout table.shop_table thead { display: none; }
body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td { padding: 12px 0; border: 0; border-bottom: 1px solid #1e293b; background: none; vertical-align: middle; color: #cbd5e1; font-size: 14px; text-align: left; }
body.woocommerce-checkout table.shop_table td:last-child,
body.woocommerce-checkout table.shop_table tfoot td { text-align: right; white-space: nowrap; color: #f1f5f9; font-weight: 600; }
body.woocommerce-checkout .stlh-checkout-product { display: flex; align-items: center; gap: 14px; }
body.woocommerce-checkout .stlh-checkout-thumb { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: #0b1222; border: 1px solid #243247; }
body.woocommerce-checkout .stlh-checkout-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.woocommerce-checkout .stlh-checkout-title { color: #f1f5f9; font-size: 14px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.woocommerce-checkout .stlh-checkout-qty { margin-top: 4px; color: #94a3b8; font-size: 12px; }
body.woocommerce-checkout table.shop_table tfoot tr:last-child th,
body.woocommerce-checkout table.shop_table tfoot tr:last-child td { border-bottom: 0; }
body.woocommerce-checkout table.shop_table .order-total th,
body.woocommerce-checkout table.shop_table .order-total td { padding-top: 16px; color: #f8fafc; font-size: 17px; font-weight: 700; }
body.woocommerce-checkout table.shop_table .order-total td { font-size: 22px; color: #a78bfa; }

/* Payment */
body.woocommerce-checkout #payment { margin-top: 22px; background: none; border: 0; border-radius: 0; padding: 0; }
body.woocommerce-checkout #payment h3, body.woocommerce-checkout .stlh-pay-title { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: #f1f5f9; }
body.woocommerce-checkout #payment ul.payment_methods { margin: 0; padding: 0; border: 0; list-style: none; display: grid; gap: 10px; }
body.woocommerce-checkout .wc_payment_method { margin: 0; padding: 0; list-style: none; background: #0b1222; border: 1px solid #2a3850; border-radius: 14px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
body.woocommerce-checkout .wc_payment_method:hover { border-color: #5b4b9a; }
body.woocommerce-checkout .wc_payment_method.is-open { border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124, 58, 237, .15); }
body.woocommerce-checkout .wc_payment_method > input { position: absolute; opacity: 0; pointer-events: none; }
body.woocommerce-checkout .wc_payment_method > label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 15px 16px;
    cursor: pointer;
    color: #f1f5f9;
    font-size: 15px;
    font-weight: 600;
}
body.woocommerce-checkout .wc_payment_method > label::before {
    content: '';
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #475569;
    box-sizing: border-box;
    transition: border-color .15s, background .15s, box-shadow .15s;
}
body.woocommerce-checkout .wc_payment_method.is-open > label::before { border-color: #7c3aed; background: #7c3aed; box-shadow: inset 0 0 0 3px #0b1222; }
body.woocommerce-checkout .wc_payment_method > label img { margin-left: auto; max-height: 24px; width: auto; }
body.woocommerce-checkout .payment_box { margin: 0; padding: 4px 16px 18px; background: transparent; color: #94a3b8; font-size: 13px; }
body.woocommerce-checkout .payment_box::before { display: none; }
body.woocommerce-checkout .payment_box p { margin: 0 0 12px; }
body.woocommerce-checkout .payment_box fieldset { margin: 0; padding: 0; border: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
body.woocommerce-checkout .payment_box fieldset .form-row { margin: 0 0 14px; }
body.woocommerce-checkout .payment_box fieldset .form-row-wide { grid-column: 1 / -1; }
body.woocommerce-checkout .payment_box fieldset .clear { display: none; }
body.woocommerce-checkout .payment_box input.input-text { width: 100% !important; }

/* Terms + place order */
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { margin: 16px 0 0; font-size: 13px; color: #94a3b8; }
body.woocommerce-checkout .woocommerce-privacy-policy-text p { margin: 0 0 10px; font-size: 12px; color: #94a3b8; }
body.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text { color: #cbd5e1; }
body.woocommerce-checkout #place_order {
    display: block;
    width: 100%;
    margin-top: 18px;
    padding: 17px 20px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .01em;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(124, 58, 237, .38);
    transition: transform .15s, box-shadow .15s, filter .15s;
}
body.woocommerce-checkout #place_order:hover { transform: translateY(-1px); box-shadow: 0 16px 34px rgba(124, 58, 237, .5); filter: brightness(1.05); }

/* The three trust cards before the button become one quiet line under it */
body.woocommerce-checkout .stlh-checkout-benefits { display: none; }
.stlh-co__trust { margin: 0; padding: 0 6px; list-style: none; display: grid; gap: 8px; }
.stlh-co__trust li { display: flex; align-items: center; gap: 10px; color: #94a3b8; font-size: 13px; }
.stlh-co__trust i { width: 18px; text-align: center; color: #a78bfa; }

/* Notices */
body.woocommerce-checkout .woocommerce-error, body.woocommerce-checkout .woocommerce-message, body.woocommerce-checkout .woocommerce-info { margin: 0 0 18px; padding: 14px 18px; border-radius: 12px; list-style: none; font-size: 14px; }
body.woocommerce-checkout .woocommerce-error { background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .4); color: #fecaca; }

@media (max-width: 1024px) {
    .stlh-co { grid-template-columns: minmax(0, 1fr); }
    .stlh-co__side { position: static; }
    .stlh-co__side { order: 2; }
}
@media (max-width: 640px) {
    body.woocommerce-checkout main.site-main { padding: 0 12px; margin-top: 16px; }
    .stlh-co__card { padding: 20px 16px; border-radius: 16px; }
    body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
    body.woocommerce-checkout .stlh-account-benefits { grid-template-columns: 1fr; }
    .stlh-co__hint { margin-left: 0; }
    body.woocommerce-checkout .payment_box fieldset { grid-template-columns: 1fr; }
}

/* checkout: flatten legacy nested cards */
body.woocommerce-checkout .stlh-co .woocommerce-billing-fields,
body.woocommerce-checkout .stlh-co #order_review {
    background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; margin: 0;
}
body.woocommerce-checkout .stlh-co .woocommerce-billing-fields:hover { border: 0; box-shadow: none; }
body.woocommerce-checkout .stlh-co #customer_details .woocommerce-billing-fields__field-wrapper {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px;
}
body.woocommerce-checkout .stlh-co #billing_first_name_field,
body.woocommerce-checkout .stlh-co #billing_last_name_field { margin: 0 0 18px !important; }
body.woocommerce-checkout .stlh-co #billing_email_field { grid-column: 1 / -1; margin: 0 0 18px !important; }
body.woocommerce-checkout .stlh-co #order_review_heading { font-size: 20px; margin: 0 0 18px; }
body.woocommerce-checkout .stlh-co form .form-row input.input-text,
body.woocommerce-checkout .stlh-co .form-row input.input-text {
    height: 48px; background: #0b1222; border: 1px solid #2a3850; color: #f1f5f9; padding: 0 14px;
}
body.woocommerce-checkout .stlh-co .wc_payment_method > label { white-space: nowrap; }
body.woocommerce-checkout .stlh-co .wc_payment_method > label img { flex: 0 0 auto; }
body.woocommerce-checkout .stlh-checkout-qty { display: inline-block; background: none; padding: 0; border-radius: 0; color: #94a3b8; font-size: 12px; }

body.woocommerce-checkout #payment div.payment_box,
body.woocommerce-checkout #payment .payment_box {
    background: transparent !important; color: #94a3b8; border-radius: 0; margin: 0; padding: 4px 16px 18px;
}
body.woocommerce-checkout #payment div.payment_box::before,
body.woocommerce-checkout #payment div.payment_box::after { display: none !important; content: none; }
body.woocommerce-checkout #payment .payment_box label { color: #cbd5e1; font-size: 13px; font-weight: 600; }
body.woocommerce-checkout #payment .payment_box input.input-text,
body.woocommerce-checkout #payment .payment_box input[type="tel"],
body.woocommerce-checkout #payment .payment_box input[type="text"] { background: #111a2e !important; color: #f1f5f9 !important; border: 1px solid #2a3850 !important; height: 48px; border-radius: 12px; }
body.woocommerce-checkout #payment .payment_box input::placeholder { color: #64748b; }

@media (max-width:640px){body.woocommerce-checkout .stlh-co #customer_details .woocommerce-billing-fields__field-wrapper{grid-template-columns:1fr}}

/* mini cart actions + checkout account/help card button */
.cart-dropdown .mini-cart__actions { display: flex; gap: 10px; }
.cart-dropdown .mini-cart__actions .mini-cart__checkout { flex: 1 1 auto; width: auto; padding: 13px 14px; }
.cart-dropdown .mini-cart__viewcart { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; padding: 13px 16px; border-radius: 12px; border: 1px solid #334155; background: transparent; color: #e2e8f0; font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .15s, color .15s; }
.cart-dropdown .mini-cart__viewcart:hover { border-color: #7c3aed; color: #c4b5fd; }
body.woocommerce-checkout .stlh-account-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: auto; margin: 0; padding: 12px 22px; border-radius: 12px; background: linear-gradient(135deg, #8b5cf6, #7c3aed); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; box-shadow: 0 8px 20px rgba(124, 58, 237, .3); }
body.woocommerce-checkout .stlh-account-btn:hover { filter: brightness(1.08); color: #fff; }

/* checkout trust strip: three tiles */
.stlh-co__trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0; }
.stlh-co__trust li { flex-direction: column; justify-content: flex-start; text-align: center; gap: 10px; padding: 16px 10px; background: #111827; border: 1px solid #243247; border-radius: 16px; color: #cbd5e1; font-size: 12px; font-weight: 600; line-height: 1.35; }
.stlh-co__ico { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: rgba(124, 58, 237, .16); color: #c4b5fd; font-size: 16px; }
.stlh-co__trust i { width: auto; color: inherit; }

/* checkout: refined buttons */
body.woocommerce-checkout .stlh-account-btn { padding: 10px 20px; font-size: 13px; font-weight: 600; letter-spacing: .02em; border-radius: 10px; background: transparent; border: 1px solid #7c3aed; color: #c4b5fd; box-shadow: none; }
body.woocommerce-checkout .stlh-account-btn:hover { background: rgba(124, 58, 237, .14); color: #fff; filter: none; }
body.woocommerce-checkout #payment .place-order { padding: 0; margin: 0; }
body.woocommerce-checkout #place_order { width: 100%; max-width: none; margin: 18px 0 0; padding: 13px 20px; font-size: 15px; font-weight: 700; border-radius: 12px; text-align: center; box-shadow: 0 8px 20px rgba(124, 58, 237, .3); float: none; }

/* section headings v2: modern type, soft divider, ghost "view all" */
.featured-products .section-header { border-bottom: 0; padding: 0 0 20px; margin: 0 0 22px; position: relative; align-items: center; }
.featured-products .section-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(124, 58, 237, .55), rgba(36, 50, 71, .6) 35%, rgba(36, 50, 71, 0)); }
.featured-products .section-header h2 { font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -.015em; padding-left: 16px; color: #f1f5f9; }
.featured-products .section-header h2::before { width: 4px; top: 4px; bottom: 4px; box-shadow: none; }
.featured-products .view-all-btn { font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; display: inline-flex; align-items: center; gap: 6px; padding: 8px 4px 8px 14px; border: 0; background: none; color: #a78bfa; font-size: 14px; font-weight: 600; letter-spacing: 0; border-radius: 999px; transition: color .2s, gap .2s, background .2s; }
.featured-products .view-all-btn:hover { background: rgba(124, 58, 237, .12); color: #ddd6fe; gap: 10px; transform: none; padding-right: 14px; }
@media (max-width: 700px) { .featured-products .section-header h2 { font-size: 18px; } .featured-products .view-all-btn { font-size: 13px; } }

/* header v2: uniform round icon buttons, badge overlays, hairline under bar */
.top-header .header-right { display: flex; align-items: center; gap: 10px; }
.top-header .header-right .account-btn,
.top-header .header-right .wishlist-btn,
.top-header .header-right .cart-btn,
.top-header .header-right .stlh-theme-toggle {
    position: relative; width: 42px; height: 42px; padding: 0; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid #243247; background: rgba(15, 23, 42, .7); color: #c4b5fd; font-size: 17px; text-decoration: none;
    transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.top-header .header-right .account-btn:hover,
.top-header .header-right .wishlist-btn:hover,
.top-header .header-right .cart-btn:hover,
.top-header .header-right .stlh-theme-toggle:hover { background: rgba(124, 58, 237, .18); border-color: #7c3aed; color: #fff; transform: translateY(-1px); }
.top-header .header-right .account-btn i, .top-header .header-right .wishlist-btn i, .top-header .header-right .cart-btn i { margin: 0; font-size: 17px; }
.top-header .header-right .stlh-wishlist-count,
.top-header .header-right .cart-count {
    position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; margin: 0; box-sizing: border-box;
    display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed); color: #fff; font-size: 10px; font-weight: 700; line-height: 1; border: 2px solid #0b1222;
}
.top-header .header-right .wishlist-wrapper, .top-header .header-right .cart-wrapper { display: flex; align-items: center; }
body > header { border-bottom: 0; box-shadow: 0 1px 0 rgba(124, 58, 237, .25), 0 10px 30px rgba(2, 6, 23, .35); }

.top-header .header-right .stlh-mode-btn { margin-right: 10px; }
.top-header .header-right { gap: 12px; }


/* reviews: side arrows + view-all button */
.reviews-section .reviews-stage { position: relative; }
.reviews-section .reviews-stage .reviews-arrow {
    position: absolute; top: 50%; z-index: 3; width: 40px; height: 40px; margin: 0; padding: 0;
    display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
    background: rgba(15, 23, 42, .92); border: 1px solid #334155; color: #e2e8f0; cursor: pointer;
    box-shadow: 0 8px 22px rgba(2, 6, 23, .5); transform: translateY(-50%); transition: background .2s, border-color .2s, transform .15s, opacity .2s;
}
.reviews-section .reviews-stage .reviews-arrow.prev { left: -14px; }
.reviews-section .reviews-stage .reviews-arrow.next { right: -14px; }
.reviews-section .reviews-stage .reviews-arrow:hover { background: #7c3aed; border-color: #7c3aed; color: #fff; transform: translateY(-50%) scale(1.06); }
.reviews-section .reviews-stage .reviews-arrow:disabled { opacity: 0; pointer-events: none; }
.reviews-viewall {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; cursor: pointer;
    border: 1px solid rgba(124, 58, 237, .6); background: rgba(124, 58, 237, .12); color: #ddd6fe; font-size: 13px; font-weight: 600;
    transition: background .2s, color .2s, gap .2s;
}
.reviews-viewall:hover { background: #7c3aed; color: #fff; gap: 12px; }
@media (max-width: 700px) { .reviews-section .reviews-stage .reviews-arrow { display: none; } }


/* related products: same card + heading style as the rest of the store */
.related-products-section { padding: 28px 30px 32px; }
.related-products-section .related-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 22px; padding: 0 0 20px; border: 0; position: relative; }
.related-products-section .related-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(124, 58, 237, .55), rgba(36, 50, 71, .6) 35%, rgba(36, 50, 71, 0)); }
.related-products-section .related-header h2 { position: relative; margin: 0; padding: 0 0 0 16px; border: 0; font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -.015em; color: #f1f5f9; }
.related-products-section .related-header h2::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, #a78bfa, #7c3aed); }
.related-products-section .related-load-more { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 0; background: none; color: #a78bfa; font-size: 14px; font-weight: 600; border-radius: 999px; text-decoration: none; transition: background .2s, color .2s; }
.related-products-section .related-load-more::after { content: '\2192'; }
.related-products-section .related-load-more:hover { background: rgba(124, 58, 237, .12); color: #ddd6fe; }
.related-products-grid.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 0; }
@media (max-width: 1100px) { .related-products-grid.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .related-products-section { padding: 18px 14px 20px; } .related-products-grid.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .related-products-section .related-header h2 { font-size: 18px; } }
.related-products-section .related-load-more, .related-products-section .related-load-more:hover { box-shadow: none; border: 0; transform: none; }


/* favorites strip (real members only) */
.stlh-fav { margin: 22px 0 0; padding: 18px 22px; background: #111827; border: 1px solid #243247; border-radius: 18px; }
.stlh-fav__top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.stlh-fav__count { display: flex; align-items: center; gap: 8px; color: #94a3b8; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.stlh-fav__count i { color: #f43f5e; }
.stlh-fav__count strong { color: #f1f5f9; font-size: 15px; }
.stlh-fav__btn { position: static; width: auto; height: auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 10px; border: 1px solid #f43f5e; background: transparent; color: #fb7185; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.stlh-fav__btn:hover, .stlh-fav__btn.active { background: #f43f5e; color: #fff; }
.stlh-fav__faces { display: flex; flex-wrap: wrap; margin: 14px 0 0 8px; }
.stlh-fav__faces span { width: 34px; height: 34px; margin-left: -8px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid #111827; color: #fff; font-size: 13px; font-weight: 700; }
.stlh-fav__faces .stlh-fav__more { background: #0f172a; color: #e2e8f0; font-size: 11px; }

.stlh-demo-tag { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(245, 158, 11, .15); color: #f59e0b; font-size: 10px; font-style: normal; letter-spacing: .06em; }

.review-badge--demo { color: #f59e0b; }
.review-badge--banned { color: #f87171; }


/* review cards v2 */
.reviews-section .reviews-slider { display: flex; gap: 16px; align-items: stretch; padding: 4px 2px 8px; }
.reviews-section .review-item {
    flex: 0 0 calc((100% - 32px) / 3); min-width: 250px; display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 18px;
    background: #0f172a; border: 1px solid #243247; border-radius: 16px; text-align: left; transition: border-color .2s, transform .2s;
}
.reviews-section .review-item:hover { border-color: #5b4b9a; transform: translateY(-2px); }
.review-head { display: flex; align-items: center; gap: 12px; }
.review-avatar { flex: 0 0 40px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(135deg, #8b5cf6, #7c3aed); color: #fff; font-size: 16px; font-weight: 700; }
.review-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.reviews-section .review-who .review-author { margin: 0; padding: 0; color: #f1f5f9; font-size: 15px; font-weight: 700; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reviews-section .review-badge { margin: 0; color: #10b981; font-size: 12px; font-weight: 600; }
.review-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.reviews-section .review-meta .review-stars { margin: 0; display: flex; gap: 3px; font-size: 14px; }
.reviews-section .review-meta .review-date { margin: 0; color: #64748b; font-size: 12px; white-space: nowrap; }
.reviews-section .review-item .review-text { flex: 1; margin: 0; color: #cbd5e1; font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; white-space: normal; }
.review-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid #1e293b; }
.reviews-section .review-foot .review-read-more { margin: 0 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 0; background: none; border: 0; color: #a78bfa; font-size: 13px; font-weight: 600; text-decoration: none; transition: gap .2s, color .2s; }
.reviews-section .review-foot .review-read-more:hover { gap: 10px; color: #ddd6fe; }
.review-photos { color: #94a3b8; font-size: 12px; }
.reviews-empty { padding: 28px; text-align: center; color: #94a3b8; border: 1px dashed #334155; border-radius: 14px; font-size: 14px; }
.reviews-empty i { margin-right: 8px; color: #a78bfa; }
@media (max-width: 1100px) { .reviews-section .review-item { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 640px) { .reviews-section .review-item { flex-basis: 85%; } }


/* favorites strip v2: one tight row, faces fill the width, "+N" at the end */
.stlh-fav { margin: -12px 0 18px; padding: 14px 20px 16px; }
.stlh-fav__row { display: flex; align-items: center; margin-top: 12px; min-height: 36px; }
.stlh-fav__faces { display: flex; flex-wrap: nowrap; flex: 1 1 auto; min-width: 0; margin: 0; overflow: hidden; padding-left: 8px; }
.stlh-fav__faces span { flex: 0 0 36px; width: 36px; height: 36px; margin: 0 0 0 -8px; font-size: 13px; border: 2px solid #111827; }
.stlh-fav__faces span[hidden] { display: none; }
.stlh-fav__more { flex: 0 0 auto; margin-left: 8px; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #0f172a; border: 2px solid #243247; color: #e2e8f0; font-size: 11px; font-weight: 700; }
.stlh-fav__more[hidden] { display: none; }


/* add-to-favorites: quieter, more refined */
.stlh-fav .stlh-fav__btn { padding: 8px 16px; gap: 8px; border: 1px solid rgba(244, 63, 94, .45); border-radius: 999px; background: rgba(244, 63, 94, .06); color: #fda4af; font-size: 12px; font-weight: 600; letter-spacing: .03em; text-transform: none; box-shadow: none; transition: background .2s, border-color .2s, color .2s; }
.stlh-fav .stlh-fav__btn i { font-size: 13px; transition: transform .2s; }
.stlh-fav .stlh-fav__btn:hover { background: rgba(244, 63, 94, .14); border-color: #f43f5e; color: #fff; }
.stlh-fav .stlh-fav__btn:hover i { transform: scale(1.15); }
.stlh-fav .stlh-fav__btn.active { background: #f43f5e; border-color: #f43f5e; color: #fff; }

/* tighter rhythm: summary -> favorites -> reviews */
.dm-product-reviews .dm-review-summary { margin-bottom: 0; }
.stlh-fav { margin: 12px 0 0; }
.reviews-section { margin-top: 12px; }
.stl-left-column { gap: 14px; }
.stl-left-column > .stlh-fav, .stl-left-column > .reviews-section { margin-top: 0; }

/* support block: never overflow, stack when its own container is narrow */
.reviews-section { container-type: inline-size; container-name: rv; }
.support-wrapper { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
.support-main-card, .support-side { min-width: 0; }
.support-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.support-side-card { min-width: 0; padding-left: 14px; padding-right: 14px; }
.support-side-card span { overflow-wrap: anywhere; }
@container rv (max-width: 780px) {
    .support-wrapper { grid-template-columns: minmax(0, 1fr); }
}
@container rv (max-width: 420px) {
    .support-side { grid-template-columns: minmax(0, 1fr); }
}


/* share buttons on the main product image */
.gallery-main { position: relative; }
.stlh-share { position: absolute; top: 14px; right: 14px; z-index: 4; display: flex; gap: 8px; }
.stlh-share__btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(15, 23, 42, .72); border: 1px solid rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 6px 18px rgba(2, 6, 23, .45); text-decoration: none; transition: background .2s, border-color .2s, transform .15s; }
.stlh-share__btn svg { display: block; }
.stlh-share__btn:hover { transform: translateY(-2px); color: #fff; }
.stlh-share__btn--pin:hover { background: #e60023; border-color: #e60023; }
.stlh-share__btn--fb:hover { background: #1877f2; border-color: #1877f2; }
@media (max-width: 700px) { .stlh-share { top: 10px; right: 10px; } .stlh-share__btn { width: 36px; height: 36px; } }


/* ================= Support Center page ================= */
.sup-page { max-width: 1100px; margin: 36px auto 28px; padding: 0 16px; display: grid; gap: 22px; }
.sup-page *, .support-portal-wrapper * { box-sizing: border-box; }

.sup-hero {
    position: relative; overflow: hidden; padding: 48px 32px 44px; text-align: center; border-radius: 24px;
    background: radial-gradient(900px 300px at 50% -10%, rgba(124, 58, 237, .28), transparent 70%), #111827;
    border: 1px solid #243247; box-shadow: 0 20px 50px rgba(2, 6, 23, .35);
}
.sup-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: rgba(124, 58, 237, .14); border: 1px solid rgba(124, 58, 237, .4); color: #ddd6fe; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sup-hero h1 { margin: 18px 0 12px; font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: #f8fafc; }
.sup-hero p { max-width: 620px; margin: 0 auto 26px; color: #94a3b8; font-size: 16px; line-height: 1.65; }
.sup-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.sup-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 12px; font-size: 15px; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; }
.sup-btn--primary { background: linear-gradient(135deg, #8b5cf6, #7c3aed); border: 0; color: #fff; box-shadow: 0 10px 26px rgba(124, 58, 237, .38); }
.sup-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(124, 58, 237, .5); color: #fff; }
.sup-btn--ghost { background: transparent; border: 1px solid #334155; color: #e2e8f0; }
.sup-btn--ghost:hover { border-color: #7c3aed; color: #fff; background: rgba(124, 58, 237, .1); }

.sup-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sup-cat { display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px 20px; text-align: left; background: #111827; border: 1px solid #243247; border-radius: 18px; color: inherit; cursor: pointer; font: inherit; transition: border-color .2s, transform .15s, background .2s, box-shadow .2s; }
.sup-cat:hover { border-color: #7c3aed; transform: translateY(-2px); background: #131c30; box-shadow: 0 14px 30px rgba(124, 58, 237, .14); }
.sup-cat__ico { flex: 0 0 48px; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: rgba(124, 58, 237, .16); color: #c4b5fd; font-size: 20px; }
.sup-cat__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.sup-cat__txt strong { color: #f1f5f9; font-size: 16px; font-weight: 700; }
.sup-cat__txt small { color: #94a3b8; font-size: 13px; line-height: 1.5; }
.sup-cat__go { flex: 0 0 auto; color: #64748b; font-size: 14px; transition: transform .2s, color .2s; }
.sup-cat:hover .sup-cat__go { color: #c4b5fd; transform: translateX(3px); }

.sup-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 4px 6px; }
.sup-step { display: flex; align-items: flex-start; gap: 12px; }
.sup-step > span { flex: 0 0 30px; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(124, 58, 237, .6); color: #c4b5fd; font-size: 13px; font-weight: 800; }
.sup-step strong { display: block; color: #e2e8f0; font-size: 14px; font-weight: 700; }
.sup-step small { display: block; margin-top: 2px; color: #64748b; font-size: 12.5px; line-height: 1.45; }

/* portal below the intro keeps the same width + rhythm */
.support-portal-wrapper { max-width: 1100px; margin: 0 auto 60px; padding: 0 0; }
.support-portal-wrapper .dm-sc { padding: 0 16px; margin-bottom: 0; }
.support-portal-wrapper .dm-sc-card { background: #111827; border-color: #243247; border-radius: 22px; padding: 28px 30px; box-shadow: 0 14px 36px rgba(2, 6, 23, .3); }
.support-portal-wrapper .dm-sc-card h2 { font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; font-size: 22px; letter-spacing: -.01em; }
.support-portal-wrapper .dm-sc-topics { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.support-portal-wrapper .dm-sc-topic { background: #0f172a; border-color: #243247; border-radius: 16px; min-height: 68px; }
.support-portal-wrapper .dm-sc-topic:hover { border-color: #7c3aed; }
.support-portal-wrapper .dm-sc-ticket { background: #0f172a; border-color: #243247; border-radius: 16px; }
.support-portal-wrapper .dm-sc-field select, .support-portal-wrapper .dm-sc-field textarea { background: #0b1222; border-color: #2a3850; border-radius: 12px; }
.support-portal-wrapper .dm-sc-field select:focus, .support-portal-wrapper .dm-sc-field textarea:focus { border-color: #7c3aed; }
.support-portal-wrapper .dm-sc-btn--primary { text-transform: none; letter-spacing: 0; font-size: 15px; border-radius: 12px; }
.support-portal-wrapper .dm-sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.support-portal-wrapper .dm-sc-msg { max-width: min(78%, 640px); }
.support-portal-wrapper .dm-sc-ticket-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 820px) {
    .sup-cats { grid-template-columns: minmax(0, 1fr); }
    .sup-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .sup-hero { padding: 34px 20px 30px; border-radius: 20px; }
    .support-portal-wrapper .dm-sc-grid { grid-template-columns: minmax(0, 1fr); }
    .support-portal-wrapper .dm-sc-card { padding: 20px 18px; }
    .support-portal-wrapper .dm-sc-ticket { flex-direction: column; align-items: flex-start; }
    .support-portal-wrapper .dm-sc-ticket-side { flex-direction: row; align-items: center; flex-wrap: wrap; }
    .support-portal-wrapper .dm-sc-msg { max-width: 94%; }
}
@media (max-width: 480px) { .sup-btn { width: 100%; } .sup-hero__actions { flex-direction: column; } }
.support-portal-wrapper { padding: 0 16px; } .support-portal-wrapper .dm-sc { padding: 0; max-width: none; }

/* ticket form: long product / order names must never stretch the field */
.dm-sc-grid > *, .dm-sc-field { min-width: 0; }
.dm-sc-field select { width: 100%; max-width: 100%; min-width: 0; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.dm-sc-field select option { white-space: normal; }


/* support message indicators */
.top-header .header-right .account-btn .stlh-acc-dot { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: #ef4444; color: #fff; font-size: 10px; font-weight: 700; line-height: 1; border: 2px solid #0b1222; }
.stl-stat-card--link { text-decoration: none; color: inherit; transition: border-color .2s, transform .15s; }
.stl-stat-card--link:hover { border-color: #7c3aed; transform: translateY(-2px); }
.stl-stat-card--link.has-new { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, .12); }
.stl-stat-card--link.has-new .stl-stat-number { color: #f87171; }

/* topic picker lives in the cards at the top; hide the duplicate picker card (the ticket list, form and thread stay) */
.support-portal-wrapper .dm-sc-view[data-view="home"] > .dm-sc-card:first-child { display: none; }
.sup-cats { scroll-margin-top: 90px; }
@media (min-width: 821px) { .sup-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }


/* ticket form: screenshots */
.dm-sc-upload { gap: 10px; }
.dm-sc-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 22px 16px; border: 1.5px dashed #3b4a63; border-radius: 14px; background: #0b1222; color: #94a3b8; cursor: pointer; text-align: center; transition: border-color .2s, background .2s; }
.dm-sc-drop:hover { border-color: #7c3aed; background: rgba(124, 58, 237, .08); }
.dm-sc-drop i { font-size: 24px; color: #a78bfa; }
.dm-sc-drop strong { color: #e2e8f0; font-size: 14px; }
.dm-sc-drop small { font-size: 12px; }
.dm-sc-rules { margin: 0; padding: 12px 14px; list-style: none; display: grid; gap: 6px; border-radius: 12px; background: rgba(124, 58, 237, .07); border: 1px solid rgba(124, 58, 237, .2); }
.dm-sc-rules li { color: #cbd5e1; font-size: 12.5px; line-height: 1.5; }
.dm-sc-rules i { margin-right: 8px; color: #a78bfa; font-size: 11px; }
.dm-sc-rules b { color: #fff; }
.dm-sc-upload-warn { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .4); color: #fecaca !important; font-size: 13px !important; line-height: 1.55 !important; }
.dm-sc-upload-warn i { margin-right: 6px; color: #f87171; }
.dm-sc-upload-warn[hidden], .dm-sc-hint[hidden] { display: none; }
.dm-sc-previews { display: flex; flex-wrap: wrap; gap: 12px; }
.dm-sc-preview { position: relative; width: 132px; border-radius: 12px; overflow: hidden; border: 1px solid #243247; background: #0b1222; }
.dm-sc-preview img { display: block; width: 100%; height: 92px; object-fit: cover; }
.dm-sc-preview span { display: block; padding: 6px 8px; color: #94a3b8; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-sc-preview button { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(2, 6, 23, .8); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.dm-sc-preview button:hover { background: #ef4444; }
.dm-sc-hint { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(245, 158, 11, .1); border: 1px solid rgba(245, 158, 11, .35); color: #fde68a !important; font-size: 13px !important; }
.dm-sc-hint i { margin-right: 8px; }
.dm-sc-field em[data-sc-req] { color: #f87171; font-style: normal; font-weight: 700; }
.dm-sc-msg-files { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.dm-sc-msg-files a { display: block; width: 150px; height: 104px; border-radius: 10px; overflow: hidden; border: 1px solid #243247; }
.dm-sc-msg-files img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================================
   2026-10 audit fixes
   ========================================================================== */

/* Header: logo + search + icons must never be wider than the screen (the search box had a fixed 800px width,
   which pushed the cart button 31px past the edge on 1366px laptops and caused a horizontal scrollbar). */
.top-header { box-sizing: border-box; max-width: 100%; }
.header-center { min-width: 0; }
.header-center .stlh-search-form { width: 100%; }
.header-center input { width: 100%; max-width: 800px; }
.cart-wrapper .cart-dropdown { max-width: calc(100vw - 24px); }

/* Product page on tablet / phone: gallery first, then title, price and Add to cart,
   then favourites, reviews and help. (Before, the buy box sat three screens down, below the reviews.) */
@media (max-width: 900px) {
    .stl-product-layout > .stl-left-column { display: contents; }
    .stl-product-layout > .stl-left-column > * { order: 3; }
    .stl-product-layout > .stl-left-column > .stl-gallery { order: 1; }
    .stl-product-layout > .stl-info { order: 2; }
}

/* Phones and small tablets: comfortable touch targets, no zoom-on-focus, readable small print */
@media (max-width: 900px) {
    .stlh-mode-btn { min-width: 44px; min-height: 44px; }
    .bottom-header a { display: inline-flex; align-items: center; min-height: 44px; }
    .footer-col a { display: flex; align-items: center; min-height: 42px; }
    .footer-bottom a { display: inline-block; padding: 12px 6px; }
    .view-all-btn { display: inline-flex; align-items: center; min-height: 44px; }
    .stlh-wishlist-btn, .product-cta { position: relative; }
    .stlh-wishlist-btn::after, .product-cta::after { content: ""; position: absolute; inset: -6px; }
    .stlh-toast-close { min-width: 44px; min-height: 44px; }
    .stlh-toast.show { bottom: 84px; }                  /* shown above the live-chat button (hidden state keeps the original off-screen position) */
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]):not([type="submit"]),
    select, textarea { font-size: 16px; }              /* 16px: iOS does not zoom the page when a field is focused */
    .product-cat, .product-card small { font-size: 12px; }
}

/* Category bar on phones and small tablets: tidy chips in one scrollable row, current page highlighted, edge fade */
@media (max-width: 900px) {
    .bottom-header {
        height: auto;
        min-height: 60px;
        padding: 9px 16px;
        gap: 8px;
        scroll-snap-type: x proximity;
        -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 34px), transparent 100%);
        mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 34px), transparent 100%);
    }
    .bottom-header.is-end { -webkit-mask-image: none; mask-image: none; }
    .bottom-header a {
        padding: 0 16px;
        min-height: 42px;
        border: 1px solid #243247;
        border-radius: 999px;
        background: rgba(124, 58, 237, .10);
        scroll-snap-align: start;
        font-size: 14px;
    }
    .bottom-header a::after { display: none; }
    .bottom-header a.is-active { background: #7c3aed; border-color: #7c3aed; color: #fff; }
    html[data-theme="light"] .bottom-header a { border-color: #cbd5e1; background: #f1f5f9; }
    html[data-theme="light"] .bottom-header a.is-active { background: #43298e; border-color: #43298e; color: #fff; }
}

/* Homepage category cards on phones: one full-width card each (two narrow columns looked cramped) */
@media (max-width: 600px) {
    .category-grid { flex-direction: column; gap: 14px; padding: 0 16px; }
    .category-card { width: 100%; max-width: none; box-sizing: border-box; padding-left: 20px; padding-right: 20px; }
    .category-image { height: 150px; }
    .category-card h3 { font-size: 21px; }
    .category-card p { font-size: 15px; }
}

/* Laptop-size tablets (901-1100px) keep gallery and buy box side by side; portrait tablets stack them with a sensible gallery size */
@media (min-width: 901px) and (max-width: 1100px) {
    .stl-product-layout { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}
@media (min-width: 601px) and (max-width: 900px) {
    .stl-product-layout .stl-gallery { max-width: 560px; margin-left: auto; margin-right: auto; }
}

/* Contact page: the three cards had no phone layout (three narrow columns) */
@media (max-width: 900px) {
    .dm-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 600px) {
    .dm-contact-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 24px; }
    .dm-contact-card { padding: 22px 18px; }
    .dm-contact-icon { font-size: 36px; margin-bottom: 10px; }
    .dm-contact-card h3, .dm-contact-card p, .dm-contact-card a { overflow-wrap: anywhere; }
    .dm-contact-hero h1, .dm-contact-hero h2 { font-size: 30px; }
    .dm-contact-hero p { font-size: 16px; }
}

/* Product page: neater buttons and file-format chips (were oversized, and the five fixed columns overflowed on narrow screens) */
.product-buttons { gap: 10px; margin-top: 16px; }
.buy-now-btn,
.single_add_to_cart_button {
    height: 44px !important;
    min-height: 44px !important;
    font-size: 15px !important;
    font-weight: 600;
    letter-spacing: .01em;
    border-radius: 10px !important;
    padding: 0 18px !important;
    box-sizing: border-box;
}
.included-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.included-item {
    width: auto;
    min-height: 30px;
    padding: 4px 12px;
    gap: 6px;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    border-radius: 6px;
}
.included-item i { font-size: 12px; }

.product-buttons > * { flex: 1 1 0; min-width: 0; }
@media (max-width: 380px) { .included-item { padding: 4px 10px; font-size: 11.5px; } }
.included-item { box-sizing: border-box; min-height: 28px; }

/* Included Files & Formats: the heading sits in a centered frame like the "Learn More About This Item" box; the format chips stay small and centered below it */
.details-title {
    width: 260px;
    max-width: 100%;
    margin: 0 auto 16px;
    padding: 12px 20px;
    box-sizing: border-box;
    text-align: center;
    border: 1px solid #2d3b55;
    border-radius: 12px;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 500;
    background: rgba(255, 255, 255, .02);
    transition: .3s ease;
}
.details-title:hover { border-color: #7c3aed; color: #fff; background: rgba(124, 58, 237, .15); box-shadow: 0 0 20px rgba(124, 58, 237, .20); }
.included-grid { justify-content: center; }
html[data-theme="light"] .details-title { border-color: #cbd5e1; color: #1e293b; background: transparent; }
html[data-theme="light"] .details-title:hover { color: #0f172a; border-color: #7c3aed; background: rgba(124, 58, 237, .08); box-shadow: none; }

/* Product card: "Instant download" label in the corner of the picture (shown when the product has "Instant Download" ticked under STLFilesHub Features) */
.product-image { position: relative; }
.product-instant {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(15, 23, 42, .62);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .01em;
    line-height: 1.2;
    pointer-events: none;
}
.product-instant i { color: #fbbf24; font-size: 12px; }

.product-cta { flex: 0 0 auto; min-width: 34px; min-height: 34px; display: inline-flex; align-items: center; justify-content: center; }

/* Homepage category cards: same structure in every card (picture, one-line title, count label, three-line text) */
.category-card { padding: 12px 14px 24px; text-align: center; }
.category-card .category-image { height: 200px; margin: 0 0 16px; }
.category-card .category-divider { display: none; }
.category-card h3 {
    margin: 0;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
    white-space: nowrap;
}
.category-card .category-count {
    align-self: center;
    margin: 10px 0 14px;
    padding: 3px 13px;
    border-radius: 999px;
    border: 1px solid rgba(139, 92, 246, .38);
    background: rgba(124, 58, 237, .16);
    color: #c4b5fd;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .09em;
    line-height: 1.5;
    text-transform: uppercase;
}
.category-card p {
    margin: 0;
    padding: 0 6px;
    min-height: calc(3 * 1.65em);
    font-size: 14px;
    line-height: 1.65;
    color: #94a3b8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
html[data-theme="light"] .category-card .category-count { color: #5b21b6; background: rgba(124, 58, 237, .10); border-color: rgba(124, 58, 237, .30); }
html[data-theme="light"] .category-card p { color: #475569; }
html:not([data-theme="light"]) body .category-card .category-count { color: #c4b5fd; }
@media (max-width: 1100px) { .category-card h3 { white-space: normal; } }

/* Home page hero slides: all slides share one grid cell, so the section keeps the height of the tallest slide and nothing jumps */
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.hero h2.hero-title { font-size: 44px; line-height: 1.1; margin: 0 0 25px; }
.hero-dots { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.hero-dots button { position: relative; width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: #334155; cursor: pointer; transition: width .3s ease, background .3s ease; }
.hero-dots button::after { content: ""; position: absolute; inset: -12px -6px; }
.hero-dots button.is-active { width: 28px; background: #7c3aed; }
html[data-theme="light"] .hero-dots button { background: #cbd5e1; }
html[data-theme="light"] .hero-dots button.is-active { background: #6d28d9; }
.hero.is-edit .hero-slides { display: block; }
.hero.is-edit .hero-slide { opacity: 1; visibility: visible; margin-bottom: 40px; }
@media (prefers-reduced-motion: reduce) { .hero-slide, .hero-slide.is-active { transition: none; } }

/* Category cards with a pop-out picture: the subject stands on a lit stage and leaps out of the frame on hover */
.category-grid { padding-top: 46px; }
.category-card.has-pop { position: relative; transform-style: preserve-3d; will-change: transform; }
.category-card.has-pop:hover { transform: perspective(900px) translateY(-8px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); border-color: rgba(var(--pop-rgb), .9); box-shadow: 0 0 34px rgba(var(--pop-rgb), .38), 0 24px 40px rgba(0, 0, 0, .35); }
.category-card.has-pop .category-image {
    position: relative;
    height: 210px;
    background:
        radial-gradient(ellipse 72% 62% at 50% 80%, rgba(var(--pop-rgb), .42), transparent 72%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 28px),
        linear-gradient(180deg, #131c35 0%, #0b1222 100%);
    box-shadow: inset 0 0 0 1px rgba(var(--pop-rgb), .22);
    transition: box-shadow .4s ease;
}
.category-card.has-pop:hover .category-image { transform: none; box-shadow: inset 0 0 46px rgba(var(--pop-rgb), .38), inset 0 0 0 1px rgba(var(--pop-rgb), .6); }
.category-card.has-pop .category-image::after {
    content: "";
    position: absolute;
    left: 16%; right: 16%; bottom: 8px; height: 18px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, .65), transparent 70%);
    filter: blur(3px);
}
.category-pop {
    position: absolute;
    z-index: 3;
    left: 14px; right: 14px; top: 12px;
    width: calc(100% - 28px);
    height: 210px;
    object-fit: contain;
    object-position: 50% 100%;
    pointer-events: none;
    transform-origin: 50% 90%;
    transform: translate3d(calc(var(--px, 0) * 1px), 0, 0) scale(.9);
    filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .55));
    transition: transform .5s cubic-bezier(.2, .8, .2, 1), filter .5s ease;
}
.category-card.has-pop:hover .category-pop {
    transform: translate3d(calc(var(--px, 0) * 1px), -34px, 40px) scale(1.2);
    filter: drop-shadow(0 26px 22px rgba(0, 0, 0, .6)) drop-shadow(0 0 22px rgba(var(--pop-rgb), .45));
}
@media (hover: none) { .category-pop { transform: translateY(-14px) scale(1.02); } }
@media (prefers-reduced-motion: reduce) { .category-pop, .category-card.has-pop { transition: none; } .category-card.has-pop:hover .category-pop { transform: translateY(-14px) scale(1.06); } }
@media (max-width: 600px) { .category-grid { padding-top: 40px; gap: 46px; } .category-card.has-pop .category-image, .category-pop { height: 200px; } }

/* Pop-out picture is now a small group: the picture plus an effect layer that has exactly the picture's silhouette */
.category-pop__img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
/* The picture itself is never touched: no overlay, no blur. On hover tiny sparkles twinkle IN FRONT of the card, around the picture, a few spilling a little past the card edge. Their different depth gives a 3D feel. */
.category-pop { transform-style: preserve-3d; }
.category-pop__spark {
    position: absolute;
    z-index: 5;
    width: var(--s, 6px);
    height: var(--s, 6px);
    margin: calc(var(--s, 6px) / -2) 0 0 calc(var(--s, 6px) / -2);
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0 30%, rgba(var(--pop-rgb), .95) 48%, rgba(var(--pop-rgb), 0) 74%);
    box-shadow: 0 0 9px 2px rgba(var(--pop-rgb), .8), 0 0 2px 0 #fff;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, 0, var(--z, 40px));
}
.category-card.has-pop:hover .category-pop__spark { animation: stlhTwinkle 1.7s ease-in-out var(--d, 0s) infinite; }
@keyframes stlhTwinkle {
    0%   { opacity: 0; transform: translate3d(0, 8px, var(--z, 40px)) scale(.2); }
    35%  { opacity: 1; transform: translate3d(0, -2px, var(--z, 40px)) scale(1.15); }
    70%  { opacity: .9; transform: translate3d(0, -10px, var(--z, 40px)) scale(.75); }
    100% { opacity: 0; transform: translate3d(0, -18px, var(--z, 40px)) scale(.1); }
}
@media (hover: none) { .category-pop__spark { animation: stlhTwinkle 2.4s ease-in-out var(--d, 0s) infinite; } }
@media (prefers-reduced-motion: reduce) { .category-card.has-pop:hover .category-pop__spark, .category-pop__spark { animation: none; opacity: .55; } }

/* the shadow is on the picture itself, so the sparkles can keep their own depth (a filter on the wrapper would flatten it) */
.category-pop, .category-card.has-pop:hover .category-pop { filter: none; }
.category-pop__img { filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .55)); transition: filter .5s ease; }
.category-card.has-pop:hover .category-pop__img { filter: drop-shadow(0 26px 22px rgba(0, 0, 0, .6)) drop-shadow(0 0 22px rgba(var(--pop-rgb), .45)); }

/* ============================================================================================
   Crisp picture: it is never scaled with a transform (that stretches a bitmap and looks soft).
   Instead the picture's box really grows (top / height / sides), so the browser draws the
   original file at the final size. No tilt either, which would resample the pixels.
   ============================================================================================ */
.category-card.has-pop { transform-style: flat; will-change: auto; }
.category-card.has-pop:hover { transform: translateY(-8px); }
.category-pop {
    left: 14px; right: 14px; top: 30px; width: auto; height: 192px;
    transform: none; will-change: auto;
    translate: calc(var(--px, 0) * 1px) 0;
    transition: top .5s cubic-bezier(.2, .8, .2, 1), height .5s cubic-bezier(.2, .8, .2, 1), left .5s cubic-bezier(.2, .8, .2, 1), right .5s cubic-bezier(.2, .8, .2, 1);
}
.category-card.has-pop:hover .category-pop { top: -40px; height: 262px; left: 0; right: 0; transform: none; }
@media (hover: none) { .category-pop { top: 12px; height: 214px; transform: none; } }
@media (max-width: 600px) { .category-pop { height: 182px; top: 26px; } .category-card.has-pop:hover .category-pop { height: 250px; top: -40px; } }
@media (prefers-reduced-motion: reduce) { .category-pop { transition: none; } }
.category-pop__spark { transform: none; translate: calc(var(--px, 0) * var(--zf, 1) * 1px) 0; }
.category-card.has-pop:hover .category-pop__spark { animation: stlhTwinkle2 1.7s ease-in-out var(--d, 0s) infinite; }
@media (hover: none) { .category-pop__spark { animation: stlhTwinkle2 2.4s ease-in-out var(--d, 0s) infinite; } }
@keyframes stlhTwinkle2 {
    0%   { opacity: 0; transform: translateY(8px) scale(.2); }
    35%  { opacity: 1; transform: translateY(-2px) scale(1.15); }
    70%  { opacity: .9; transform: translateY(-10px) scale(.75); }
    100% { opacity: 0; transform: translateY(-18px) scale(.1); }
}

/* bigger on hover */
.category-grid { padding-top: 72px; }
.category-card.has-pop:hover .category-pop { top: -78px; height: 316px; left: -8px; right: -8px; }
@media (max-width: 600px) { .category-grid { padding-top: 70px; } .category-card.has-pop:hover .category-pop { height: 290px; top: -76px; left: -4px; right: -4px; } }

/* The title comes forward with the picture: letters get real depth (stacked, accent coloured edges) and lift off the card */
.category-card.has-pop h3 { position: relative; z-index: 4; transition: transform .5s cubic-bezier(.2, .8, .2, 1), text-shadow .5s ease, color .3s ease; }
.category-card.has-pop:hover h3 {
    transform: translateY(-6px);
    color: #fff;
    text-shadow:
        0 1px 0 rgba(var(--pop-rgb), 1),
        0 2px 0 rgba(var(--pop-rgb), .95),
        0 3px 0 rgba(var(--pop-rgb), .9),
        0 4px 0 rgba(var(--pop-rgb), .85),
        0 5px 0 rgba(var(--pop-rgb), .75),
        0 6px 0 rgba(0, 0, 0, .55),
        0 14px 14px rgba(0, 0, 0, .55),
        0 0 22px rgba(var(--pop-rgb), .5);
}
html[data-theme="light"] .category-card.has-pop:hover h3 { color: #fff; }
@media (hover: none) { .category-card.has-pop h3 { text-shadow: 0 1px 0 rgba(var(--pop-rgb), .9), 0 2px 0 rgba(var(--pop-rgb), .7), 0 8px 10px rgba(0, 0, 0, .4); } }
@media (prefers-reduced-motion: reduce) { .category-card.has-pop h3 { transition: none; } }

/* "Why choose us": four compact rows (icon at the left, text beside it) instead of four tall cards */
.why-choose { max-width: 1180px; margin: 30px auto; padding: 0 20px; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.why-box {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 18px; border-radius: 14px; text-align: left;
    box-shadow: 0 0 0 1px rgba(124, 58, 237, .06), 0 6px 18px rgba(0, 0, 0, .18);
    transition: border-color .25s ease, transform .25s ease;
}
.why-box:hover { border-color: rgba(139, 92, 246, .5); transform: translateY(-2px); }
.why-box .why-icon {
    flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; margin: 0;
    border-radius: 12px; font-size: 18px; text-shadow: none;
    background: rgba(124, 58, 237, .16); border: 1px solid rgba(139, 92, 246, .3);
}
.why-box h3 { margin: 0 0 2px; font-size: 15px; font-weight: 600; line-height: 1.3; }
.why-box p { margin: 0; font-size: 12.5px; line-height: 1.4; color: #94a3b8; }
html[data-theme="light"] .why-box .why-icon { background: rgba(124, 58, 237, .10); border-color: rgba(124, 58, 237, .28); }
@media (max-width: 1000px) { .why-choose { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .why-choose { grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 24px auto; padding: 0 16px; } .why-box { padding: 12px 16px; } }
.why-box { display: grid; grid-template-columns: 42px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center; align-content: center; }
.why-box .why-icon { grid-column: 1; grid-row: 1 / span 2; }
.why-box h3 { grid-column: 2; grid-row: 1; align-self: end; }
.why-box p { grid-column: 2; grid-row: 2; align-self: start; }

/* "Why choose us": icon on top, centered text, upper-case titles (still compact) */
.why-box { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0; padding: 16px 16px 15px; }
.why-box .why-icon { grid-column: auto; grid-row: auto; width: 38px; height: 38px; font-size: 16px; margin: 0 0 10px; }
.why-box h3 { grid-column: auto; grid-row: auto; margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.why-box p { grid-column: auto; grid-row: auto; max-width: 28ch; text-align: center; }
@media (max-width: 560px) { .why-box { padding: 14px 14px 13px; } }
.why-box .why-icon, .why-box h3, .why-box p { align-self: center; }
.why-box h3 { width: 100%; text-align: center; }

/* Product rows: a slim heading bar (the heading used to take a lot of height) */
.featured-products { margin: 18px auto; }
.products-wrapper { padding: 14px 24px 24px; border-radius: 22px; }
.featured-products .section-header { padding: 0 0 11px; margin: 0 0 16px; min-height: 0; }
.featured-products .section-header h2 { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; padding-left: 13px; color: #f1f5f9; }
.featured-products .section-header h2::before { width: 3px; top: 1px; bottom: 1px; }
.featured-products .view-all-btn { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 4px 6px 12px; min-height: 0; }
html[data-theme="light"] .featured-products .section-header h2 { color: #0f172a; }
@media (max-width: 700px) { .products-wrapper { padding: 12px 14px 18px; } .featured-products .section-header h2 { font-size: 13px; letter-spacing: .12em; } .featured-products .view-all-btn { font-size: 11px; } }

/* tighter spacing around the product rows */
.featured-products { margin: 12px auto; }
.featured-products .products-wrapper { padding: 10px 22px 18px; }
.featured-products .section-header { padding: 0 0 8px; margin: 0 0 12px; }
@media (max-width: 700px) { .featured-products { margin: 10px auto; } .featured-products .products-wrapper { padding: 10px 12px 14px; } .featured-products .section-header { padding-bottom: 6px; margin-bottom: 10px; } }

/* space between product sections: a little more air */
.featured-products { margin: 28px auto; }
@media (max-width: 700px) { .featured-products { margin: 20px auto; } }

.stlh-toast-button { background: #7c3aed; }

/* ============================================================================================
   Shop sidebar filters (category pages): left column on desktop, slide-in drawer on phones/tablets.
   ============================================================================================ */
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 18px; }
.shop-filter-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid rgba(139, 92, 246, .5); background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.shop-filter-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #7c3aed; color: #fff; font-size: 12px; }
.shop-sort { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: 14px; }
.shop-sort select { min-height: 40px; padding: 0 34px 0 12px; border-radius: 10px; border: 1px solid rgba(139, 92, 246, .45); background-color: #0f172a; color: #e2e8f0; font: inherit; font-size: 14px; }
.shop-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.shop-main { min-width: 0; }
.shop-sidebar { position: sticky; top: 16px; padding: 16px; border-radius: 14px; border: 1px solid rgba(139, 92, 246, .28); background: rgba(15, 23, 42, .6); max-height: calc(100vh - 32px); overflow-y: auto; }
.shop-sidebar__head, .shop-sidebar-backdrop { display: none; }
.shop-filter-block { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(148, 163, 184, .2); }
.shop-filter-block:last-of-type { border-bottom: 0; margin-bottom: 8px; }
.shop-filter-block h3 { margin: 0 0 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.shop-cat-list, .shop-cat-list ul { list-style: none; margin: 0; padding: 0; }
.shop-cat-list ul { margin: 4px 0 6px 12px; padding-left: 10px; border-left: 2px solid rgba(139, 92, 246, .4); }
.shop-cat-list a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 8px; border-radius: 8px; color: inherit; text-decoration: none; font-size: 14px; }
.shop-cat-list a:hover { background: rgba(139, 92, 246, .15); }
.shop-cat-list em { font-style: normal; font-size: 12px; opacity: .75; }
.shop-cat-list li.is-current > a { background: rgba(139, 92, 246, .22); font-weight: 700; }
.shop-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-chip { position: relative; cursor: pointer; }
.shop-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.shop-chip span { display: inline-block; padding: 6px 12px; border-radius: 6px; border: 1px solid rgba(148, 163, 184, .4); font-size: 13px; font-weight: 600; }
.shop-chip input:checked + span { background: #6d28d9; border-color: #6d28d9; color: #fff; }
.shop-chip input:focus-visible + span { outline: 2px solid #a78bfa; outline-offset: 2px; }
.shop-price { display: flex; align-items: center; gap: 8px; }
.shop-price input { width: 100%; min-width: 0; min-height: 40px; padding: 0 10px; border-radius: 8px; border: 1px solid rgba(148, 163, 184, .4); background: transparent; color: inherit; font: inherit; font-size: 16px; }
.shop-filter-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.shop-apply { flex: 1 1 auto; min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: #6d28d9; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.shop-apply:hover { background: #7c3aed; }
.shop-clear { font-size: 14px; color: #a78bfa; }
html[data-theme="light"] .shop-sidebar { background: #fff; border-color: #ddd6fe; }
html[data-theme="light"] .shop-sort select { background-color: #fff; color: #1e293b; }
html[data-theme="light"] .shop-clear { color: #6d28d9; }
html[data-theme="light"] .shop-chip span { border-color: #cbd5e1; }
html[data-theme="light"] .shop-chip input:checked + span { color: #fff; }

@media (max-width: 900px) {
    .shop-layout { grid-template-columns: minmax(0, 1fr); }
    .shop-filter-toggle { display: inline-flex; }
    .shop-sidebar { position: fixed; z-index: 10001; top: 0; bottom: 0; left: 0; width: min(86vw, 340px); max-height: none; border-radius: 0 16px 16px 0; transform: translateX(-102%); transition: transform .28s ease; background: #0b1220; padding-top: 12px; }
    html[data-theme="light"] .shop-sidebar { background: #fff; }
    .shop-sidebar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
    .shop-sidebar__close { width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: inherit; font-size: 28px; line-height: 1; cursor: pointer; }
    .shop-sidebar-backdrop { display: block; position: fixed; z-index: 10000; inset: 0; background: rgba(2, 6, 23, .6); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
    body.shop-filters-open .shop-sidebar { transform: none; }
    body.shop-filters-open .shop-sidebar-backdrop { opacity: 1; pointer-events: auto; }
    body.shop-filters-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .shop-sidebar, .shop-sidebar-backdrop { transition: none; } }

/* Sort bar as plain text links (marketplace style): the active one is highlighted, the rest are quiet. */
.shop-sort { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 6px 22px; margin-left: auto; font-size: 14px; }
.shop-sort__label { opacity: .8; }
.shop-sort a { color: inherit; font-weight: 700; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.shop-sort a:hover { color: #a78bfa; }
.shop-sort a.is-active { color: #a78bfa; border-bottom-color: #8b5cf6; }
html[data-theme="light"] .shop-sort a:hover, html[data-theme="light"] .shop-sort a.is-active { color: #6d28d9; }
@media (max-width: 900px) {
    .shop-toolbar { flex-wrap: wrap; }
    .shop-sort { flex: 1 1 100%; flex-wrap: nowrap; justify-content: flex-start; gap: 18px; overflow-x: auto; white-space: nowrap; margin-left: 0; scrollbar-width: none; }
    .shop-sort::-webkit-scrollbar { display: none; }
    .shop-sort a { min-height: 44px; display: inline-flex; align-items: center; padding: 0; }
}

/* Sort bar v2: a proper toolbar panel (title + count on the left, pill buttons with icons on the right). */
.shop-toolbar { padding: 14px 18px; margin: 16px 0 22px; border-radius: 16px; border: 1px solid rgba(139, 92, 246, .3); background: linear-gradient(135deg, rgba(124, 58, 237, .16), rgba(15, 23, 42, .55) 55%); box-shadow: 0 10px 30px rgba(2, 6, 23, .25); flex-wrap: wrap; gap: 14px 24px; }
.shop-toolbar__title { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.shop-toolbar__title strong { font-size: 22px; line-height: 1.2; letter-spacing: .01em; }
.shop-toolbar__title span { font-size: 13px; opacity: .75; }
.shop-sort { gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.shop-sort__label { margin-right: 4px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.shop-sort a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(139, 92, 246, .35); background: rgba(139, 92, 246, .1); font-size: 14px; font-weight: 600; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s; }
.shop-sort a i { font-size: 13px; color: #a78bfa; }
.shop-sort a:hover { background: rgba(139, 92, 246, .22); border-color: rgba(167, 139, 250, .7); color: inherit; transform: translateY(-1px); }
.shop-sort a.is-active { background: linear-gradient(135deg, #7c3aed, #6d28d9); border-color: transparent; color: #fff; box-shadow: 0 6px 18px rgba(109, 40, 217, .45); }
.shop-sort a.is-active i { color: #fff; }
html[data-theme="light"] .shop-toolbar { background: linear-gradient(135deg, #f3edff, #fff 60%); border-color: #ddd6fe; box-shadow: 0 8px 24px rgba(109, 40, 217, .08); }
html[data-theme="light"] .shop-sort a { background: #f5f3ff; border-color: #ddd6fe; color: #1e293b; }
html[data-theme="light"] .shop-sort a i { color: #6d28d9; }
html[data-theme="light"] .shop-sort a:hover { background: #ede9fe; color: #1e293b; }
html[data-theme="light"] .shop-sort a.is-active, html[data-theme="light"] .shop-sort a.is-active i { color: #fff; }
@media (max-width: 900px) {
    .shop-toolbar { padding: 14px; gap: 12px; }
    .shop-toolbar__title { flex: 1 1 auto; }
    .shop-toolbar__title strong { font-size: 19px; }
    .shop-sort { flex: 1 1 100%; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -14px; padding: 2px 14px 4px; width: calc(100% + 28px); }
    .shop-sort__label { display: none; }
    .shop-sort a { flex: 0 0 auto; min-height: 44px; padding: 0 16px; }
}
html[data-theme="light"] .shop-sort a.is-active { background: linear-gradient(135deg, #7c3aed, #6d28d9); border-color: transparent; box-shadow: 0 6px 18px rgba(109, 40, 217, .35); }

/* Filters load in place: dim the product area while the new one is fetched. */
.shop-page-wrapper.is-loading .shop-main { opacity: .45; pointer-events: none; transition: opacity .15s ease; }
.shop-page-wrapper.is-loading .shop-sidebar { opacity: .85; }

/* Collapsible filter blocks + two-handle price slider. */
.shop-filter-block > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: pointer; user-select: none; }
.shop-filter-block > summary::-webkit-details-marker { display: none; }
.shop-filter-block > summary h3 { margin: 0; }
.shop-filter-block > summary::after { content: ""; width: 8px; height: 8px; margin-right: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; opacity: .7; }
.shop-filter-block[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.shop-filter-block > summary:focus-visible { outline: 2px solid #a78bfa; outline-offset: 3px; border-radius: 6px; }
.shop-filter-block[open] > summary { margin-bottom: 10px; }
.shop-range { padding: 2px 6px 4px; }
.shop-range__vals { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.shop-range__vals i { font-style: normal; }
.shop-range__track { position: relative; height: 28px; }
.shop-range__track::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 4px; background: rgba(148, 163, 184, .35); }
.shop-range__fill { position: absolute; top: 12px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #8b5cf6, #6d28d9); }
.shop-range__track input[type=range] { position: absolute; left: 0; top: 0; width: 100%; height: 28px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; z-index: 2; }
.shop-range__track input[type=range]::-webkit-slider-runnable-track { background: none; height: 28px; }
.shop-range__track input[type=range]::-moz-range-track { background: none; }
.shop-range__track input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: #fff; border: 3px solid #7c3aed; box-shadow: 0 2px 8px rgba(2, 6, 23, .4); cursor: grab; }
.shop-range__track input[type=range]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid #7c3aed; box-shadow: 0 2px 8px rgba(2, 6, 23, .4); cursor: grab; }
.shop-range__track input[type=range]:focus-visible::-webkit-slider-thumb { outline: 2px solid #a78bfa; outline-offset: 2px; }
.shop-range__track input[type=range]:active::-webkit-slider-thumb { cursor: grabbing; }
@media (max-width: 900px) { .shop-range__track input[type=range]::-webkit-slider-thumb { width: 26px; height: 26px; margin-top: 1px; } }

/* Price slider v2: a small bubble with the number sits above each handle; at the far end it shows the infinity sign. */
.shop-range { padding: 0 6px 4px; }
.shop-range__track { margin-top: 34px; }
.shop-range__tip { position: absolute; bottom: 100%; margin-bottom: 8px; transform: translateX(-50%); min-width: 34px; padding: 3px 8px; border-radius: 8px; background: #6d28d9; color: #fff; font-size: 13px; font-weight: 700; line-height: 1.3; text-align: center; white-space: nowrap; pointer-events: none; box-shadow: 0 4px 10px rgba(2, 6, 23, .35); }
.shop-range__tip::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -5px; border: 5px solid transparent; border-top-color: #6d28d9; }
.shop-range__tip.is-inf { font-size: 17px; line-height: 1.1; padding-top: 2px; padding-bottom: 2px; }

/* No inner scrollbar: the filter panel is as tall as its content and scrolls with the page. */
@media (min-width: 901px) { .shop-sidebar { position: static; max-height: none; overflow: visible; } }

/* Desktop: the filter panel is sticky; its top offset is set by the script so that it stops when its BOTTOM edge reaches the window bottom. */
@media (min-width: 901px) {
    .shop-sidebar { position: sticky; top: 16px; max-height: none; overflow: visible; }
}
/* Endless product list: page numbers hidden (kept for no-script), small loader at the end. */
.shop-endless .shop-main .woocommerce-pagination { display: none; }
.shop-more { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 26px 0 8px; }
.shop-more[hidden] { display: none; }
.shop-more__spin { display: none; width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgba(139, 92, 246, .3); border-top-color: #8b5cf6; animation: shopSpin .8s linear infinite; }
.shop-more.is-busy .shop-more__spin { display: block; }
.shop-more.is-busy .shop-more__btn { display: none; }
.shop-more__btn { min-height: 44px; padding: 0 24px; border-radius: 999px; border: 1px solid rgba(139, 92, 246, .5); background: rgba(139, 92, 246, .12); color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.shop-more__btn:hover { background: rgba(139, 92, 246, .25); }
@keyframes shopSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .shop-more__spin { animation-duration: 2s; } }

/* Roomier filter panel. */
@media (min-width: 901px) { .shop-layout { grid-template-columns: 285px minmax(0, 1fr); gap: 28px; } }
.shop-sidebar { padding: 20px 20px 16px; }
.shop-cat-list a { padding: 9px 10px; font-size: 15px; }
.shop-cat-list ul { margin: 4px 0 8px 14px; padding-left: 12px; }
.shop-filter-block { padding-bottom: 18px; margin-bottom: 18px; }
.shop-chips { gap: 10px; }

/* Small legal / contact block at the bottom of the filter panel. */
.shop-sidebar__foot { margin-top: 8px; padding-top: 16px; border-top: 1px solid rgba(148, 163, 184, .2); font-size: 13px; line-height: 1.5; }
.shop-sidebar__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.shop-sidebar__links li { display: inline-flex; align-items: center; }
.shop-sidebar__links li:not(:last-child)::after { content: "|"; margin: 0 10px; opacity: .35; }
.shop-sidebar__links a { color: inherit; text-decoration: none; opacity: .85; }
.shop-sidebar__links a:hover { color: #a78bfa; opacity: 1; text-decoration: underline; }
.shop-sidebar__copy { margin: 12px 0 0; opacity: .65; }
.shop-sidebar__social { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.shop-sidebar__social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: inherit; font-size: 18px; opacity: .75; transition: opacity .2s, background .2s, color .2s; }
.shop-sidebar__social a:hover { opacity: 1; color: #a78bfa; background: rgba(139, 92, 246, .15); }
html[data-theme="light"] .shop-sidebar__links a:hover, html[data-theme="light"] .shop-sidebar__social a:hover { color: #6d28d9; }

/* Panel footer, reference style: stacked link rows, copyright, large quiet icons. */
.shop-sidebar__foot { font-size: 14px; line-height: 1.55; }
.shop-sidebar__links { display: block; }
.shop-sidebar__links p { margin: 0 0 3px; }
.shop-sidebar__sep { margin: 0 10px; opacity: .45; }
.shop-sidebar__links a { opacity: .9; }
.shop-sidebar__copy { margin: 14px 0 0; font-size: 14px; opacity: .8; }
.shop-sidebar__social { gap: 22px; margin-top: 18px; padding-left: 6px; }
.shop-sidebar__social a { width: 40px; height: 40px; font-size: 30px; opacity: .55; border-radius: 8px; }
.shop-sidebar__social a:hover { opacity: 1; }
.shop-sidebar__social a[aria-disabled="true"] { cursor: default; }

/* Panel footer: quieter text and an even two-column grid, so the links line up. */
.shop-sidebar__foot { font-size: 13px; }
.shop-sidebar__links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.shop-sidebar__links p { display: contents; }
.shop-sidebar__sep { display: none; }
.shop-sidebar__links a { color: #94a3b8; opacity: 1; font-weight: 400; }
.shop-sidebar__links p:first-child a { grid-column: 1 / -1; }
.shop-sidebar__links a:hover { color: #c4b5fd; text-decoration: none; }
.shop-sidebar__copy { margin-top: 16px; font-size: 12.5px; color: #94a3b8; opacity: 1; }
.shop-sidebar__social { gap: 18px; padding-left: 0; margin-top: 14px; }
.shop-sidebar__social a { color: #94a3b8; opacity: .8; font-size: 24px; width: 36px; height: 36px; }
html[data-theme="light"] .shop-sidebar__links a, html[data-theme="light"] .shop-sidebar__copy, html[data-theme="light"] .shop-sidebar__social a { color: #64748b; }
html[data-theme="light"] .shop-sidebar__links a:hover, html[data-theme="light"] .shop-sidebar__social a:hover { color: #6d28d9; }

.shop-sidebar__links p:first-child a { grid-column: auto; }

/* Recommended For You: one row, 5 cards visible, slides sideways (max 15 products). */
.related-slider { position: relative; }
.related-products-grid.product-grid { display: flex; grid-template-columns: none; gap: 16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 8px; cursor: grab; }
.related-products-grid.product-grid::-webkit-scrollbar { display: none; }
.related-products-grid.product-grid.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.related-products-grid.product-grid .product-card { flex: 0 0 calc((100% - 64px) / 5); min-width: 0; scroll-snap-align: start; }
.related-arrow { position: absolute; z-index: 3; top: 38%; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(139, 92, 246, .55); background: rgba(15, 23, 42, .92); color: #e2e8f0; font-size: 16px; cursor: pointer; box-shadow: 0 8px 22px rgba(2, 6, 23, .45); transition: background .2s, transform .2s; }
.related-arrow:hover { background: #6d28d9; color: #fff; transform: scale(1.06); }
.related-arrow[hidden] { display: none; }
.related-arrow--prev { left: -14px; }
.related-arrow--next { right: -14px; }
html[data-theme="light"] .related-arrow { background: rgba(255, 255, 255, .95); color: #0f172a; border-color: #cbd5e1; box-shadow: 0 8px 22px rgba(2, 6, 23, .16); }
html[data-theme="light"] .related-arrow:hover { background: #6d28d9; color: #fff; }
@media (max-width: 1100px) { .related-products-grid.product-grid .product-card { flex-basis: calc((100% - 48px) / 4); } }
@media (max-width: 900px) { .related-products-grid.product-grid .product-card { flex-basis: calc((100% - 32px) / 3); } }
@media (max-width: 700px) {
    .related-products-grid.product-grid { gap: 10px; }
    .related-products-grid.product-grid .product-card { flex-basis: 44%; }
    .related-arrow { display: none; }
}

.related-products-grid.product-grid .product-card { box-sizing: border-box; }

/* Favorites faces: the overlap is set by the script (--ov) so the row fills up to the +N bubble. */
.stlh-fav__faces { padding-left: var(--ov, 8px); }
.stlh-fav__faces span { margin: 0 0 0 calc(var(--ov, 8px) * -1); }

/* Product title: fill the whole line (greedy wrapping), no balancing that leaves empty space on the right. */
.stl-info .stl-title { text-wrap: wrap; overflow-wrap: break-word; max-width: none; }

/* Product tags: plain labels under the license box (not links). */
.stl-tags { margin-top: 22px; padding: 18px 20px 20px; border-radius: 16px; border: 1px solid rgba(139, 92, 246, .28); background: rgba(15, 23, 42, .5); }
.stl-tags__title { margin: 0 0 12px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #cbd5e1; display: flex; align-items: center; gap: 8px; }
.stl-tags__title i { color: #a78bfa; }
.stl-tags__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.stl-tag { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(139, 92, 246, .35); background: rgba(139, 92, 246, .1); color: #e2e8f0; font-size: 13px; font-weight: 600; cursor: default; }
html[data-theme="light"] .stl-tags { background: #fff; border-color: #ddd6fe; }
html[data-theme="light"] .stl-tags__title { color: #334155; }
html[data-theme="light"] .stl-tags__title i { color: #6d28d9; }
html[data-theme="light"] .stl-tag { background: #f5f3ff; border-color: #ddd6fe; color: #1e293b; }

/* Tags: smaller labels, at most two rows (any further ones are cut off). */
.stl-tags { padding: 14px 16px 16px; }
.stl-tags__title { margin-bottom: 10px; font-size: 12px; }
.stl-tags__list { gap: 6px; max-height: 58px; overflow: hidden; }
.stl-tag { box-sizing: border-box; height: 26px; min-height: 0; padding: 0 10px; font-size: 11.5px; font-weight: 600; line-height: 1; white-space: nowrap; }

/* ============================================================================================
   Phone polish (<= 700px): compact header, calm breadcrumb / shop top, tidy footer.
   ============================================================================================ */
@media (max-width: 700px) {

    /* ---- header: logo + icons on ONE row, search below, slim category chips ---- */
    .top-header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px; padding: 10px 14px 12px; }
    .top-header .logo { order: 1; flex: 0 1 auto; min-width: 0; }
    .top-header .logo img { height: 38px; width: auto; max-width: 100%; }
    .top-header .header-right { order: 2; flex: 0 0 auto; margin-left: auto; gap: 8px; align-items: center; }
    .top-header .header-center { order: 3; flex: 1 1 100%; width: 100%; }
    .top-header .header-center input { height: 44px; }
    .top-header .header-right .account-btn,
    .top-header .header-right .wishlist-btn,
    .top-header .header-right .cart-btn,
    .top-header .header-right .stlh-theme-toggle { width: 40px; height: 40px; font-size: 16px; }
    .top-header .header-right .stlh-theme-toggle { width: 54px; border-radius: 999px; }
    .bottom-header { min-height: 0; padding: 8px 14px; gap: 8px; }
    .bottom-header a { min-height: 40px; padding: 0 14px; font-size: 13.5px; }

    /* ---- shop / category top: plain breadcrumb, no count pill (the panel below already shows the count) ---- */
    .shop-page-wrapper { padding: 14px 12px 18px; margin: 12px 10px; }
    .shop-top-bar { display: block; margin: 0 0 4px; }
    .shop-top-bar .woocommerce-breadcrumb { display: block; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; min-height: 0; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
    .shop-top-bar .products-found { display: none; }
    .shop-toolbar { margin: 10px 0 16px; padding: 12px; gap: 10px; flex-wrap: wrap; }
    .shop-toolbar__title { flex: 1 1 0; min-width: 0; }
    .shop-toolbar__title strong { font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .shop-filter-toggle { flex: 0 0 auto; min-height: 42px; padding: 0 14px; font-size: 14px; }

    /* ---- footer: brand on top, link columns side by side, compact rows ---- */
    .footer-container { grid-template-columns: 1fr 1fr; gap: 22px 18px; padding: 28px 16px 12px; }
    .footer-container > .footer-col:first-child { grid-column: 1 / -1; }
    .footer-container > .footer-col:nth-child(n+4) { grid-column: 1 / -1; }
    .footer-col h4 { margin: 0 0 8px; font-size: 14px; }
    .footer-col a { margin: 0; min-height: 38px; gap: 8px; font-size: 14px; line-height: 1.3; }
    .footer-col p { font-size: 14px; line-height: 1.55; }
    .footer-container > .footer-col:nth-child(n+4) { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
    .footer-container > .footer-col:nth-child(n+4) h4 { grid-column: 1 / -1; }
    .footer-bottom { padding: 16px 14px; gap: 10px; }
}
@media (max-width: 340px) {
    .top-header .logo img { height: 32px; }
    .top-header .header-right { gap: 6px; }
    .top-header .header-right .account-btn,
    .top-header .header-right .wishlist-btn,
    .top-header .header-right .cart-btn,
    .top-header .header-right .stlh-theme-toggle { width: 36px; height: 36px; font-size: 15px; }
    .top-header .header-right .stlh-theme-toggle { width: 50px; }
    .footer-container { grid-template-columns: 1fr; }
}

/* phone header: really one row (the wrappers carried their own margins) */
@media (max-width: 700px) {
    .top-header .header-right { gap: 6px; }
    .top-header .header-right .stlh-mode-btn { width: 52px; height: 40px; margin: 0; }
    .top-header .header-right .wishlist-wrapper { margin: 0; }
    .top-header .header-right .account-btn,
    .top-header .header-right .wishlist-btn,
    .top-header .header-right .cart-btn { width: 40px !important; height: 40px !important; }
}
@media (max-width: 340px) {
    .top-header .header-right { gap: 4px; }
    .top-header .header-right .stlh-mode-btn { width: 46px; height: 36px; }
    .top-header .header-right .account-btn,
    .top-header .header-right .wishlist-btn,
    .top-header .header-right .cart-btn { width: 36px !important; height: 36px !important; }
}

@media (max-width: 700px) { .footer-bottom { padding-bottom: 80px; } }  /* keeps the live-chat bubble off the copyright line */

/* ============================================================================================
   Phone / tablet menu (<= 900px): a menu button + drawer replace the sideways-scrolling category chips.
   ============================================================================================ */
.stlh-mnav-btn, .stlh-mnav, .stlh-mnav-backdrop { display: none; }
@media (max-width: 900px) {
    .bottom-header { display: none; }
    .stlh-mnav-btn { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid #243247; background: rgba(15, 23, 42, .7); color: #c4b5fd; font-size: 18px; cursor: pointer; order: 0; }
    .stlh-mnav-btn:hover { background: rgba(124, 58, 237, .18); border-color: #7c3aed; color: #fff; }
    html[data-theme="light"] .stlh-mnav-btn { background: #fff; border-color: #cbd5e1; color: #43298e; }
    .stlh-mnav { display: flex; flex-direction: column; position: fixed; z-index: 10002; top: 0; bottom: 0; left: 0; width: min(86vw, 340px); background: #0b1220; border-right: 1px solid #243247; box-shadow: 0 0 40px rgba(2, 6, 23, .6); transform: translateX(-102%); visibility: hidden; transition: transform .26s ease, visibility 0s linear .26s; overflow-y: auto; overscroll-behavior: contain; }
    .stlh-mnav-backdrop { display: block; position: fixed; z-index: 10001; inset: 0; background: rgba(2, 6, 23, .6); }
    .stlh-mnav-backdrop[hidden] { display: none; }
    body.stlh-mnav-open { overflow: hidden; }
    body.stlh-mnav-open .stlh-mnav { transform: none; visibility: visible; transition: transform .26s ease, visibility 0s; }
    .stlh-mnav__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 20px; border-bottom: 1px solid #243247; }
    .stlh-mnav__head strong { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #94a3b8; }
    .stlh-mnav__close { width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: inherit; font-size: 28px; line-height: 1; cursor: pointer; }
    .stlh-mnav__list { flex: 1 1 auto; padding: 10px 10px 6px; }
    .stlh-mnav__row { display: flex; align-items: stretch; }
    .stlh-mnav__list a, .stlh-mnav__foot a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 12px; border-radius: 10px; color: #e2e8f0; text-decoration: none; font-size: 15.5px; font-weight: 600; flex: 1 1 auto; }
    .stlh-mnav__list a:hover, .stlh-mnav__foot a:hover { background: rgba(124, 58, 237, .16); }
    .stlh-mnav__list a.is-active { background: rgba(124, 58, 237, .24); color: #fff; }
    .stlh-mnav__toggle { flex: 0 0 48px; border: 0; background: transparent; color: #a78bfa; border-radius: 10px; cursor: pointer; }
    .stlh-mnav__toggle i { transition: transform .2s ease; }
    .stlh-mnav__row.is-open .stlh-mnav__toggle i { transform: rotate(180deg); }
    .stlh-mnav__sub { margin: 0 0 6px 18px; padding-left: 10px; border-left: 2px solid rgba(139, 92, 246, .4); }
    .stlh-mnav__sub[hidden] { display: none; }
    .stlh-mnav__sub a { min-height: 42px; font-size: 14.5px; font-weight: 500; color: #cbd5e1; }
    .stlh-mnav__foot { padding: 8px 10px 18px; border-top: 1px solid #243247; }
    .stlh-mnav__foot a { font-weight: 500; font-size: 14.5px; color: #94a3b8; }
    html[data-theme="light"] .stlh-mnav { background: #fff; border-right-color: #e2e8f0; }
    html[data-theme="light"] .stlh-mnav__head, html[data-theme="light"] .stlh-mnav__foot { border-color: #e2e8f0; }
    html[data-theme="light"] .stlh-mnav__head strong { color: #64748b; }
    html[data-theme="light"] .stlh-mnav__list a, html[data-theme="light"] .stlh-mnav__sub a { color: #1e293b; }
    html[data-theme="light"] .stlh-mnav__foot a { color: #475569; }
    html[data-theme="light"] .stlh-mnav__list a:hover, html[data-theme="light"] .stlh-mnav__foot a:hover { background: #f1f5f9; }
    html[data-theme="light"] .stlh-mnav__list a.is-active { background: #ede9fe; color: #43298e; }
    html[data-theme="light"] .stlh-mnav__toggle { color: #6d28d9; }
}
/* phone: the menu button sits on the search row (left of the field); tablet: first in the top row */
@media (max-width: 700px) {
    .top-header .stlh-mnav-btn { order: 3; }
    .top-header .header-center { order: 4; flex: 1 1 0; width: auto; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .stlh-mnav { transition: none; } }

/* ============================================================================================
   Sticky header (switched on by header-scroll.js): the top bar stays, the category bar hides on the way down.
   The <header> element stays in the page as an empty placeholder so the page never jumps.
   ============================================================================================ */
html.stlh-fixed-hdr { scroll-padding-top: calc(var(--stlh-sticky-off, 0px) + 12px); }
html.stlh-fixed-hdr body > header { height: var(--stlh-hdr-h, auto); box-shadow: none; }
html.stlh-fixed-hdr .top-header { position: fixed; top: var(--stlh-ab, 0px); left: 0; right: 0; z-index: 1002; box-shadow: 0 1px 0 rgba(124, 58, 237, .25); transition: transform .3s ease, box-shadow .3s ease; will-change: transform; }
html.stlh-fixed-hdr .bottom-header { position: fixed; top: calc(var(--stlh-ab, 0px) + var(--stlh-top-h, 90px)); left: 0; right: 0; z-index: 1001; box-shadow: 0 12px 28px rgba(2, 6, 23, .32); transition: transform .3s ease, opacity .25s ease; }
html.stlh-fixed-hdr.stlh-nav-hidden .bottom-header { transform: translateY(calc(-100% - 6px)); opacity: 0; pointer-events: none; visibility: hidden; transition: transform .3s ease, opacity .25s ease, visibility 0s linear .3s; }
html.stlh-fixed-hdr.stlh-nav-hidden .top-header { box-shadow: 0 1px 0 rgba(124, 58, 237, .25), 0 10px 26px rgba(2, 6, 23, .32); }
html.stlh-fixed-hdr.stlh-hdr-hidden .top-header { transform: translateY(calc(-100% - 8px)); box-shadow: none; }
html[data-theme="light"].stlh-fixed-hdr .bottom-header { box-shadow: 0 12px 28px rgba(2, 6, 23, .1); }
html[data-theme="light"].stlh-fixed-hdr.stlh-nav-hidden .top-header { box-shadow: 0 1px 0 rgba(124, 58, 237, .25), 0 10px 26px rgba(2, 6, 23, .1); }
/* things that were sticky on their own stay clear of the fixed bar */
html.stlh-fixed-hdr .stlh-co__side { top: calc(var(--stlh-sticky-off, 0px) + 24px); }
@media (prefers-reduced-motion: reduce) {
    html.stlh-fixed-hdr .top-header, html.stlh-fixed-hdr .bottom-header { transition: none; }
}

/* ============================================================================================
   Home page product rows: five cards per row (Featured + category rows).
   Only the home grids: the "Recommended For You" slider and the shop pages use their own layout.
   ============================================================================================ */
.product-grid:not(.related-products-grid),
.category-product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.product-grid:not(.related-products-grid) .product-card img,
.category-product-grid .product-card img { height: 220px; }
@media (max-width: 1280px) {
    .product-grid:not(.related-products-grid), .category-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
    .product-grid:not(.related-products-grid) .product-card img, .category-product-grid .product-card img { height: 250px; }
}
@media (max-width: 960px) {
    .product-grid:not(.related-products-grid), .category-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
    .product-grid:not(.related-products-grid) .product-card img, .category-product-grid .product-card img { height: 240px; }
}
@media (max-width: 700px) {
    .product-grid:not(.related-products-grid), .category-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .product-grid:not(.related-products-grid) .product-card img, .category-product-grid .product-card img { height: 170px; }
}

/* ============================================================================================
   "View all" button on the home product rows: a framed pill with a soft purple glow.
   On hover a purple light runs around the frame, so it is clear this leads to the rest of the products.
   ============================================================================================ */
@property --va-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.featured-products .view-all-btn {
    position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 8px;
    min-height: 40px; padding: 0 20px; border: 1px solid rgba(167, 139, 250, .5); border-radius: 999px;
    background: linear-gradient(135deg, rgba(124, 58, 237, .16), rgba(109, 40, 217, .06));
    color: #ede9fe; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
    box-shadow: 0 0 0 1px rgba(139, 92, 246, .12), 0 0 16px rgba(139, 92, 246, .28), inset 0 0 14px rgba(139, 92, 246, .12);
    transition: color .25s, background .25s, box-shadow .25s, transform .2s, border-color .25s;
}
.featured-products .view-all-btn::before {
    content: ""; position: absolute; inset: -2px; z-index: -1; padding: 2px; border-radius: inherit; pointer-events: none;
    background: conic-gradient(from var(--va-angle), rgba(139, 92, 246, 0) 0 55%, rgba(167, 139, 250, .9) 74%, #ddd6fe 86%, rgba(139, 92, 246, 0) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask-composite: exclude;
    opacity: 0; transition: opacity .3s; animation: vaSpin 2s linear infinite paused;
}
.featured-products .view-all-btn:hover, .featured-products .view-all-btn:focus-visible {
    color: #fff; gap: 12px; padding: 0 20px; transform: translateY(-1px); border-color: rgba(196, 181, 253, .85);
    background: linear-gradient(135deg, rgba(124, 58, 237, .38), rgba(109, 40, 217, .2));
    box-shadow: 0 0 0 1px rgba(167, 139, 250, .35), 0 0 26px rgba(139, 92, 246, .55), inset 0 0 18px rgba(139, 92, 246, .22);
}
.featured-products .view-all-btn:hover::before, .featured-products .view-all-btn:focus-visible::before { opacity: 1; animation-play-state: running; }
.featured-products .view-all-btn:focus-visible { outline: 2px solid #c4b5fd; outline-offset: 3px; }
@keyframes vaSpin { to { --va-angle: 360deg; } }
html[data-theme="light"] .featured-products .view-all-btn {
    color: #43298e; border-color: rgba(109, 40, 217, .45); background: linear-gradient(135deg, rgba(124, 58, 237, .1), rgba(255, 255, 255, .6));
    box-shadow: 0 0 0 1px rgba(124, 58, 237, .08), 0 0 14px rgba(124, 58, 237, .2), inset 0 0 10px rgba(124, 58, 237, .06);
}
html[data-theme="light"] .featured-products .view-all-btn:hover, html[data-theme="light"] .featured-products .view-all-btn:focus-visible {
    color: #fff; background: linear-gradient(135deg, #7c3aed, #6d28d9); border-color: #6d28d9; box-shadow: 0 0 22px rgba(124, 58, 237, .5);
}
@media (max-width: 700px) { .featured-products .view-all-btn { min-height: 38px; padding: 0 14px; font-size: 11px; letter-spacing: .08em; } }
@media (prefers-reduced-motion: reduce) { .featured-products .view-all-btn::before { animation: none; } }

.featured-products .view-all-btn { margin-right: 3px; } /* room for the light that runs around the frame */

/* ============================================================================================
   Product cards: a little smaller text, price and cart button (all cards: home rows, shop, related).
   ============================================================================================ */
.product-card .product-cat { font-size: 10px; letter-spacing: .07em; }
.product-card h3 { margin: 7px 14px 0; font-size: 13.5px; line-height: 1.35; }
.product-card .price-area { margin: auto 14px 0; padding: 12px 0 14px; gap: 8px; }
.product-card .price-area .sale-price { padding: 4px 10px; font-size: 13.5px; border-radius: 7px; }
.product-card .price-area .regular-price { font-size: 11.5px; }
.product-card .product-cta { width: 32px; height: 32px; border-radius: 10px; font-size: 14px; }
.product-card .product-cta i, .product-card .product-cta svg { font-size: 14px; width: 14px; height: 14px; }
.product-card .product-instant { font-size: 11px; padding: 4px 10px; }
@media (max-width: 700px) {
    .product-card h3 { margin: 6px 12px 0; font-size: 12.5px; }
    .product-card .price-area { margin: auto 12px 0; padding: 10px 0 12px; }
    .product-card .price-area .sale-price { font-size: 12.5px; padding: 3px 8px; }
    .product-card .price-area .regular-price { font-size: 11px; }
    .product-card .product-cta { width: 30px; height: 30px; }
    .product-card .product-instant { font-size: 10.5px; padding: 3px 8px; }
}
.product-card .product-cta { box-sizing: border-box; min-width: 0; min-height: 0; padding: 0; }
/* thinner product titles */
.product-card h3, .product-card h3 a { font-weight: 500; letter-spacing: 0; }
/* titles always show at most two full lines, then "..." (never a half-cut third line) */
.product-card h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; height: auto; min-height: 2.7em; max-height: 2.7em; flex: 0 0 auto; }

/* Product card pictures are square (1:1) everywhere: same as the 300x300 thumbnail, so square uploads fit exactly. */
.product-card .product-image { aspect-ratio: 1 / 1; height: auto; overflow: hidden; }
.product-card .product-image img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center; display: block; }

/* Gap between the four small info cards and the category cards: just enough that the picture, when it grows on hover
   (it rises 77px above its card, and the card lifts 8px), touches the info cards above and no more. */
.category-grid { padding-top: 25px; }

/* Builder "Columns": equal columns that stack on phones; each column is a container of its own. */
.miorre-el-columns > .miorre-el-container { flex-direction: column; align-items: flex-start; min-width: 0; }
@media (max-width: 767px) { .miorre-el-columns { grid-template-columns: minmax(0, 1fr) !important; } }

/* Product cards: the photo stays still on hover (the card itself still lifts). */
.product-card:hover .product-image img, .product-card:hover img { transform: none !important; }
.product-card .product-image img { transition: none !important; }

/* Live logo: theme icon + the site name as text (a logo uploaded in the theme settings replaces it). */
.stlh-logo { display: inline-flex; align-items: center; gap: 10px; line-height: 1; text-decoration: none; }
.logo .stlh-logo__icon, .footer-col .stlh-logo__icon { height: 58px; width: auto; max-width: none; flex: 0 0 auto; }
.stlh-logo__text {
    font-weight: 800; font-style: italic; font-size: 26px; letter-spacing: -.02em; white-space: nowrap;
    background: linear-gradient(90deg, #e3d9ff 0%, #a78bfa 55%, #8b5cf6 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, .35));
}
html[data-theme="light"] .stlh-logo__text { background-image: linear-gradient(90deg, #5b21b6 0%, #7c3aed 55%, #9333ea 100%); filter: none; }
.footer-col .stlh-logo__icon { height: 52px; }
.footer-col .stlh-logo__text { font-size: 24px; }
.stlh-auth__brand .stlh-logo__icon { height: 38px; width: auto; }
.stlh-auth__brand .stlh-logo__text { font-size: 22px; }
@media (max-width: 1200px) { .logo .stlh-logo__icon { height: 48px; } .stlh-logo__text { font-size: 23px; } }
@media (max-width: 767px) { .top-header .logo .stlh-logo__icon { height: 38px; } .top-header .stlh-logo { gap: 8px; } .top-header .stlh-logo__text { font-size: 19px; } }
@media (max-width: 480px) { .top-header .logo .stlh-logo__icon { height: 32px; } .top-header .stlh-logo { gap: 6px; } .top-header .stlh-logo__text { font-size: 15px; letter-spacing: -.03em; } }
@media (max-width: 360px) { .top-header .logo .stlh-logo__icon { height: 28px; } .top-header .stlh-logo__text { font-size: 13px; } }

/* Legal line under the footer copyright (company name / number / address, set in the theme settings). */
.footer-legal { display: block; margin-top: 6px; font-size: 12px; line-height: 1.5; opacity: .7; }
