* { box-sizing: border-box; margin: 0; padding: 0 }

:root {
    --bg-page: #ffffff;
    --bg-surface: #ffffff;
    --bg-surface-alt: #f6f6f5;

    /* FONAI / CHIPAI / MENU */


    --bg-submenu: #f3f4f6;
    --bg-hover:   #f1f2f3;
    --bg-active:  #e9eaec;
    --bg-chip:    #f2f2f2;


    /* Text / icons */
    --text-primary: #141414;     /* ne #000 */
    --text-secondary: #2f2f2f;
    --text-soft: #5f5f5f;
    --text-subtle: #8a8a8a;


    /* Accent (Fashion vibe: gali būti “teal/blue” arba “pink”, čia palieku tavo) */
    --accent-main: #141414;          /* CTA, bet ramus */
    --accent-main-hover: #2a2a2a;
    --accent-secondary: #6a6a6a;     /* prices, labels */
    --accent-link: #3a4a5e;
    --accent-link-hover: #141414;
    --accent-link-underline: rgba(20,20,20,0.35);

    /* On-accent (kontrastas ant accent fono) */
    --on-accent: #ffffff;

    /* Borders */
    --border-default: #e3e3e3;
    --border-soft: #ededed;

    --border-subtle: #d9d9d9;
    --border-neutral: #eeeeee;

    --border-input: #d2d2d2;
    --border-chip: #dcdcdc;


    /* Controls */
    --btn-primary-bg: var(--accent-main);
    --btn-primary-text: var(--on-accent);
    --btn-secondary-bg: var(--bg-chip);
    --btn-secondary-text: var(--text-primary);



    --btn-ghost-text: var(--text-secondary);


    /* STATUSO SPALVOS (sėkmė / įspėjimas) */
    --badge-success-bg: #e8f9f1;
    --badge-success-border: #bbdec5;
    --badge-success-text: #2e7d32;

    --badge-warn-bg: #fffde7;
    --badge-warn-border: #ffe082;
    --badge-warn-text: #f57f17;

    --card-bg: var(--bg-surface);

    /* Shadows */
    --shadow-sm: 0 2px 6px rgba(0,0,0,0.04);
    --shadow-md: 0 12px 24px rgba(0,0,0,0.12);

    /* Promo gradient */
    --promo-grad-a: var(--accent-secondary);
    --promo-grad-b: var(--accent-main);

    --focus-ring: rgba(20, 20, 20, 0.22);


    /* Brand */
    --accent-stroke: #1f2326; /* champagne */
    --brand-secondary:  #6f757b;


    --accent : var(--accent-main);
    --gray-text-muted: var(--text-soft);


    --radius-sm: 6px;   /* inputs, small chips */
    --radius-md: 8px;   /* buttons */
    --radius-lg: 10px;  /* product cards */
    --radius-xl: 14px;  /* modals / hero blocks */

}

/* Body kaip flex containeris: header viršuje, footer apačioje */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 320px
}
body.no-scroll {
    overflow: hidden
}


.primary-intro {
    background: var(--accent);
    font-size: 13px;
    color: var(--bg-surface);
    overflow: hidden;
    max-width: 100%;
    line-height: 1.4;
    font-weight: 400;
    padding: 4px 0;
    z-index: 100;
    height: 26px
}

.scroll-intro {
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none
}

.scroll-intro::-webkit-scrollbar {
    display: none
}

/* Visi puslapio main blokai (index, category ir t.t.) eis čia */
main {
    flex: 1 0 auto
}
form {position: relative}
.hide {display: none}
a { text-decoration: none; color: inherit }
img { max-width: 100%; display: block }
[data-url] {cursor: pointer }
.hide { display: none }
.visually-hidden {
    position:absolute;
    width:1px;
    height:1px;
    margin:-1px;
    padding:0;
    overflow:hidden;
    clip:rect(0 0 0 0);
    border:0;
    white-space:nowrap;
}
.container {
    width: 95%;
    max-width: 1180px;
    margin: 0 auto;
}
.cursor-default {
    cursor: default;
}


/* HEADER */
.header-wrap {
    position: sticky;
    top: 0;
    z-index: 100;
    /*background: rgba(255, 247, 251, 0.98);*/
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

.header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px 0;
}



/* =========================
   BRAND LOGO – EDITORIAL
   ========================= */
.brand-logo{
    position: relative;
    display: inline-flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-primary);
    line-height: 1.1;
}

/* tekstas */
.logo-main{
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .04em;
}

.logo-sub{
    font-size: 13px;
    font-weight: 500;
    color: var(--brand-secondary);
    white-space: nowrap;
}

.logo-hub{
    font-weight: 600;
    color: var(--text-primary);
}

/* EDITORIAL STROKE – SUTVARKYTAS */
.brand-logo::after{
    content: "";
    position: absolute;
    left: 0.4em;
    bottom: -4px;

    width: 70px;
    height: 1px;

    background: linear-gradient(
            90deg,
            var(--accent-stroke),
            transparent
    );

    opacity: .9;
    border-radius: 999px;

    transform: rotate(-5deg);
    transform-origin: left center;

    pointer-events: none;
}



/* SEARCH */
.search-box {
    min-width: 160px;
}
.search-input {
    width: 100%;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid var(--border-input);
    font-size: 13px;
}
.search-input:focus {
    outline: none;
    border-color: var(--border-neutral);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.18);
}




/* SEARCH TOGGLE (mobile icon) */
.search-toggle {
    display: none;              /* desktop – nerodome */
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.search-toggle-icon {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid var(--accent-main);
    position: relative;
}

/* “kotukas” – kad būtų lupa */
.search-toggle-icon::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent-main);
    right: -4px;
    bottom: -6px;
    transform: rotate(-45deg);
}

.search-btn {
    position: absolute;
    right: 18px;
    margin-top: -2px;
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid var(--text-soft);
    top:50%;
    transform: translateY(-50%);
    background:transparent;
}

.search-btn::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 8px;
    border-radius: 999px;
    background: var(--text-soft);
    right: -4px;
    bottom: -6px;
    transform: rotate(-45deg);
}

/* MOBILE SEARCH PANEL – po header (~56px nuo viršaus) */
.mobile-search-panel {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 56px; /* jei norėsi – pasisiuksi 51px ar kitą reikšmę */
    transform: translateY(-120%); /* paslėpta viršuje */
    background: var(--bg-surface);
    padding:  12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    z-index: 90; /* header-wrap yra su z-index:100, tai panelė bus po juo, bet virš turinio */
    transition: transform 0.22s ease;
}

@media (max-width: 900px) {
    .home .mobile-search-panel {
        top: 83px;
    }
    .mobile-search-panel.open {
        transform: translateY(0); /* išvažiuoja žemyn iš po headerio */
        position: sticky;
        display: block;
    }
}
.mobile-search-input {
    width: 100%;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid var(--border-input);
    font-size: 14px;
    padding-right: 42px;
}

.mobile-search-input:focus {
    outline: none;
    border-color: var(--bg-surface);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}




/* BURGER & MOBILE MENU */
.burger {
    display: none;
    width: 26px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    border: 0;
    background: transparent;
    margin: 0 8px;
    position: relative;
}

.burger span {
    height: 3px;
    border-radius: 999px;
    background: var(--accent-main);
    display: block;
    transition: transform 0.22s ease, opacity 0.18s ease;
}

/* Kai burgeris atidarytas – virsta X */
.burger.open span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}


/* page-header */
.page-header {
    padding: 0 0 10px;
}

.page-header .page-title {
    font-size: 24px;
    margin: 0 0 4px;
    color: var(--text-primary);
}
.page-header .page-meta {
    margin-top: 4px;
    font-size: 11px;
    color: var(--accent-secondary);
}

/* HERO */
.hero { padding: 22px 0 22px; position: relative}
.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 2.5fr) minmax(0, 3fr);
    gap: 24px;
    align-items: center;
    position: relative;
}
.hero-inner p span {
    color: var(--text-soft);
   font-weight: 500;
}
.hero.empty-hero-inner {
    padding-bottom: 0;
}

.hero h1 span, .hero h1 strong  { color: var(--text-primary); }
.hero h1 strong  {     font-weight: 700; }
.hero h1 {
    font-size: 26px;
    line-height: 32px;
    margin-bottom: 8px;
    color: var(--brand-secondary);
}
.hero p {
    font-size: 14px;
    color: var(--text-soft);
    margin-bottom: 14px;
}
.hero p:last-child {
    margin-bottom: 0;
}
.hero p strong { font-weight: 500 }
.hero .text-code {
    color: var(--accent-link);
    font-weight: 500;
}
.btn-primary {
    display: inline-block;
    padding: 10px 22px;
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    line-height: 22px;
}
.btn-primary:hover { background: var(--accent-main-hover); }
.hero-img-wrap {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-soft);
}
.hero-img-wrap > a {
    display: block;
    position: relative;
}
.hero-img-wrap .btn-primary {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 30px;
    pointer-events: none;

    transition: all 0.18s ease;
    background: color-mix(in srgb, var(--accent-main) 85%, transparent);
}
.hero-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.hero-label {
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: rgba(0,0,0,0.65);
    color: var(--bg-surface);
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    pointer-events: none;
}


/* Breadcrumb */

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 12px;
    color: var(--text-soft);
    margin: 12px 0 10px;
    padding: 0;
    list-style: none
}
ol.breadcrumb li {
    list-style: none;
    margin: 0;
    padding: 0
}
ol.breadcrumb li:after {
    content: " › ";
    padding-left: 1px
}
ol.breadcrumb li:last-child:after {
    content: none;
    padding-left: 0
}
.breadcrumb a {
    color: var(--text-soft);
}
.breadcrumb a:hover{
    color: var(--text-primary);
}
.breadcrumb .current {
    color: var(--text-primary);
    font-weight: 500;
}

.text-link {
    text-decoration: underline;
    color: var(--accent-link);
    text-decoration-color: var(--accent-link-underline);
    text-underline-offset: 2px;
}
.link {
    color: var(--accent-link);
    cursor: pointer
}

/*  static-page */
.static-page-wrap {  margin-bottom: 34px; }
.static-page h1 { margin: 0 0 14px; font-size: 24px; font-weight: 700; }
.static-page h2 { margin: 18px 0 10px; font-size: 18px; }
.static-page p, .static-page li { font-size: 15px; line-height: 1.75; }
.static-page ul { margin: 10px 0 10px 18px; }
.static-page a { text-decoration: underline; text-underline-offset: 2px; color: var(--accent-link) }
.static-page a.guide-card { text-decoration: none; color: var(--text-secondary)  }
.static-page a.guide-card:hover {  color: var(--text-primary)  }
.static-page .nav a { text-decoration: none; color: var(--accent-link); }
.static-page .nav a:hover { text-decoration: none; color: var(--text-primary) }
.static-page .page-intro {font-size: 14px; color: #555; line-height: 1.55; margin: 0 0 10px}
.page-intro p {margin:0 0 14px; line-height: 1.3;font-size: 14px;}
.page-intro p:last-child {margin:0}
.page-intro strong {font-weight: 500 }

.btn-toggle {
    background: none;
    border: none;
    color: var(--accent-link);
    cursor: pointer
}

@media (min-width: 901px) {
    .page-intro.intro-toggle p {display: inline; margin:0;padding-right: 2px}
    .page-intro.intro-toggle p:last-child {padding-right: 0}
    .intro-action { display: none; }
}
@media (max-width: 900px) {
    .page-intro p {margin: 0;}
    .page-intro p:not(:first-of-type) {visibility: hidden;height: 0;margin: 0;overflow: hidden}
    .page-intro.intro-toggle p:last-child {margin:0;}

    .page-intro.expanded p {margin:0 0 4px;visibility: visible;height: auto}
    .page-intro.expanded p:last-child {margin:0;}

    .page-intro.expanded p{
        margin: 0 0 4px;
        visibility: visible;
        height: auto;
    }

    .page-intro.expanded p:last-child {margin:0}
    .intro-action {
        margin-top: -10px;
    }

}

/* assets/css/style.css ar pan. */
.notranslate {
    unicode-bidi: isolate;
}

/* SECTIONS */
.section { margin: 14px 0 20px; }
.section-header, .section-footer {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}
.section-header {
    flex-wrap: wrap;
}
.section-header h1 {
    font-size: 24px;
    color: var(--text-primary);
}
.section-header h2 {
    font-size: 20px;
    color: var(--text-primary);
}
.section-header a, .section-footer a {
    font-size: 15px;
    color: var(--accent-link);
    text-decoration: underline;
    text-decoration-color: var(--accent-link-underline);
    text-underline-offset: 2px;
}
.section-footer {
    margin: 10px 0 0;
}
.section-footer a {
    margin-left: auto;
}
.section-intro {
    flex-basis: 100%;
    font-size: 14px;
    color: var(--text-soft);
}
/* POPULAR CATEGORIES (round) */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.category-card {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: transparent;
    transition: transform .18s ease;
}
.category-img-wrap {
    position: relative;
    width: 260px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.category-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    text-align: center;
    font-size: 17px;
    font-weight: 400;
    color: var(--bg-surface);
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
    background: radial-gradient(circle at center, rgba(0,0,0,0.18), rgba(0,0,0,0.6));
}
.category-card:hover .category-img-wrap {
    border-color: var(--bg-surface);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

/* PRODUCTS GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.product-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 0;
    display: flex;
    flex-direction: column;

    background: var(--card-bg);
    border: 1px solid var(--border-neutral);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: box-shadow .15s ease, border-color .15s ease;
    overflow: hidden;
    cursor: pointer;
}
.product-card:hover {
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    border-color: var(--border-chip);
}

/* PRODUCT IMAGE */
.product-image-wrap {

    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 5;
}
.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* PRODUCT TITLE */

.product-title{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* clamp ir ellipsis ant teksto elemento */
.product-title.title-wrap {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.3;
    text-align: center;
    text-decoration: none; /* jei reikia */
    padding: 0 10px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: auto;
    width: 100%;
}


/* PRICE */
.price-wrap {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;

}
.price-main {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
}
.price-currency {
    padding-right: 1px;
}
.price-main .price-currency {
    font-weight: 500;
    font-size: 15px;
}
.price-old {
    font-size: 15px;
    font-weight: 500;
    text-decoration: line-through;
    color: var(--text-soft);
}
.price-old .price-currency {
    font-weight: 400;
}

/* BUTTONS */
.product-actions {
    display: flex;
    gap: 6px;
    padding: 8px 10px 10px;
}
.btn-secondary,
.btn-visit,
a.btn-visit {
    flex: 1;
    padding: 8px 0;
    font-size: 14px;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    line-height: 20px;
    text-decoration: none;
}
.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-default);
}

.btn-secondary:hover {
    background: var(--bg-hover);
}
.btn-visit,
a.btn-visit {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: 1px solid var(--btn-primary-bg);
}
.btn-visit:hover,
a.btn-visit:hover {
    background: var(--accent-main-hover);
}

/* HOVER OVERLAY */
.product-hover {
    position: absolute;
    inset: 0;
    padding: 32px 10px 10px;
    background: rgba(255, 247, 251, 0.98);
    display: none;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}



.product-card:hover .product-hover {
    display: flex;
}
.hover-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 auto;
}
.hover-price-wrap {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
}
.hover-price-wrap .price-main {
    font-size: 22px;
}
.hover-price-wrap .price-old {
    font-size: 17px;
}
.hover-text {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 auto;
}
.hover-actions {
    display: flex;
    gap: 6px;
    margin-top: auto;
}


/* More from this seller */

.seller-more {
    margin: 26px 0 8px;
}

.seller-more-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 14px;

    background: var(--bg-surface-alt);
    border: 1px solid var(--border-soft);
}

.seller-more-text {
    max-width: 600px;
}

.seller-more-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-soft);
    opacity: 0.85;
    margin-bottom: 2px;
}

.seller-more-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.seller-more-text p {
    font-size: 13px;
    color: var(--text-soft);
    margin-top: 4px;
}

.seller-more-btn {
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid var(--border-neutral);
    background: var(--bg-surface);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: all 0.18s ease;
}

.seller-more-btn:hover{
    background: var(--bg-hover);
    border-color: var(--border-subtle);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);

}

@media (max-width: 600px) {
    .seller-more-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .seller-more-btn {
        width: 100%;
        text-align: center;
    }
}

/* BRAND ENTITIES NAVIGATION */

.utility-section {
    margin: 34px 0 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-soft);
}

.utility-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-main);
}

.utility-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

a.utility-link {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    background: var(--bg-chip-pink);
    border: 1px solid var(--border-chip);
    transition: all .18s ease;
    text-decoration: none;
}

a.utility-link:hover {
    background: var(--bg-hover);
    color: var(--accent-hover);
}

/* media panel */
.media-panel {
    margin: 22px 0 18px;
}
.media-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background:var(--bg-surface-alt);
    color: var(--text-soft);
    border: 1px solid var(--border-soft);
}
.media-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.9;
}
.media-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
}
.media-desc {
    font-size: 13px;
    opacity: 0.95;
    color: var(--text-soft);
}
.media-btn,
a.media-btn {
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
.media-btn:hover {
    background: var(--accent-main-hover);
}

/* FOOTER – seo */
.home-seo {
    padding: 20px 0;
    border-top: 1px solid var(--border-soft);
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.6;
}
.home-seo a {
    text-decoration: underline;
    text-decoration-color: var(--accent-link-underline);
    text-underline-offset: 2px;
}
.home-seo h2 {
    font-size: 15px;
    margin-bottom: 12px;
}
.home-seo strong {font-weight: 500}

/* FOOTER  */
.footer {
    margin-top: auto;
    flex-shrink: 0;
    padding: 14px 0 18px;
    border-top: 1px solid var(--border-subtle);
    font-size: 13px;
    color: var(--gray-text-muted);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "nav project"
        "copy icons";
    align-items: start;
    row-gap: 6px;
}
/*
 grid-template-areas:
        "nav social"
        "copy icons";
*/

.footer-links {
    display:flex;
    align-items:center;
    gap:8px;
    list-style:none;
    padding:0;
    margin:0;
    flex-wrap:wrap;
}

.footer-links li + li::before {
    content:"·";
    margin: 0 8px 0 0;
    color: var(--gray-text-muted);
}
.footer-links a {
    color: var(--gray-text-muted);
    text-decoration:none;
}


.footer-links a:hover {
    color: var(--accent);
    text-decoration:underline;
}

.footer-links a.active {
    color: var(--accent);
    text-decoration:none;
}

.footer-nav {
    grid-area: nav;
}
/*
.footer-label {
    justify-self: end;
    align-self: end;
    white-space: nowrap;
}
*/
.project-links {
    grid-area: project;
}

.footer-icons {
    display: flex;
    justify-self: end;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-copy {
    grid-area: copy;
    line-height: 32px;
}

.footer-social {
    grid-area: social;
    display: contents;

}

.footer-icons a {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .18s ease;
}


.footer-icons a:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--bg-chip-pink);
}

.footer-icons .icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "nav"
            "icons"
            "project"
            "copy";
        text-align: center;

    }
/*
"nav"
"icons"
"copy";
*/

    .footer-links li + li::before {
        margin: 0 6px 0 0;
    }
    .footer-links {
        gap:6px;
        justify-content:center;
    }
/*
    .footer-label {
        display: none;
    }
*/
    .footer-icons {
        justify-self: center;
        justify-content: center;
    }

    .footer-copy {
        text-align: center;
        line-height: normal;
    }
}


/* SIDE ADS (desktop only) */
@media (min-width: 1540px){

    .side-content {
        display: block;
        position: fixed;
        top: 72px;
        width: 160px;
        z-index: 60;
        font-size: 0;
    }

    .side-content.is-stopped{
        position: absolute;
        top: auto;
    }

    /* pozicionuojam nuo centro – pritaikyta tavo .container max-width:1180px */
    .side-left {
        left: 50%;
        margin-left: calc(-590px - 20px - 160px);  /* -container/2 - gap - adWidth */
    }
    .side-right {
        left: 50%;
        margin-left: calc(590px + 20px);           /* +container/2 + gap */
    }
}

/* jei ekranas siauras – paslepiam, kad neliptų ant content */
@media (max-width: 1450px){
    .side-content { display:none !important; }
}


/*
 *   social
 */
.contact-link a{

    text-decoration: underline;
    color: var(--accent-link);
    text-underline-offset: 2px;

}

.contact-link a:hover {
    text-decoration: none;
}

.contact-social {
    display: flex;
    gap: 16px;
    padding: 8px 0 0;
}

.contact-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.contact-social .icon {
    width: 32px;
    height: 32px;
    opacity: 0.8;
    transition: opacity .15s ease;
}
.contact-social a:hover .icon {
    opacity: 1;
}

/* Bendras blokas media turiniui */
.media-unit {
    margin: 20px 0 30px;
}

/* Tik img viduje media-unit, kad neįtakotų kitų img tinklapyje */
.media-unit img {
    margin: 0 auto;
    width: 100%;       /* užima visą .container plotį */
    max-width: 100%;   /* neapribojam pikseliais */
    height: auto;
    display: block;
}


.media-unit--content {
    display: flex;
    background: var(--accent);
    color: #fff;

    line-height: 1.15;
    font-size: clamp(16px, 3vw, 24px);
    font-weight: 600;
    overflow: hidden;
}

/* abu blokai – centras per vidurį ir vienodas aukštis */
.media-unit--small,
.media-unit--larger {
    flex: 1;
    text-align: center;
    padding: clamp(14px, 2vw, 16px) 8px;
    flex-wrap: wrap;
    display: flex;
    align-items: baseline;
    justify-content: center;

}

/* spalvos atskirai */
.media-unit--small {
    background: #000;
}

.media-unit--larger {
    background: #C40000;
}

.media-unit--content small {
    font-size: clamp(14px, 3vw, 24px);
    font-weight: 400;
    padding: 0 5px;
}


/* RESPONSIVE */
@media (min-width: 901px) {
    .is-mobile { display: none; }

    .category-grid > .category-card:nth-child(n+5) {
        display: none;
    }
}



/* RESPONSIVE */
/* Tablet ≤900px */
@media (max-width: 900px) {
    .is-desktop { display: none; }
    .mobile-hidden {position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0;white-space:nowrap;}
    .hero-inner { grid-template-columns: 1fr; gap: 0; width: 100% }
    .hero-img {   height: 200px; }
    .hero-label { display: none }
    .hero-text {width: 95%;margin: 0 auto;}
    .hero-img-wrap {border-radius:0;border:0}
    p.hero-desc {
        opacity: 0.98; position: absolute;
        left: 0; right: 0; bottom: 0; margin: 0;
        padding: 8px 10px; line-height: 1.2;
        color: #fff;
        background: linear-gradient(
                to top,
                rgba(0,0,0,0.8),
                rgba(0,0,0,0.3)
        );
        z-index: 2;
    }
    .media-unit--content {
        font-size: clamp(17px, 3.5vw, 36px);
    }


    .home .header-wrap {
        top: 26px;
    }
    .primary-intro {
        position: sticky;
        top: 0;
    }

    /* Header: logo kairėje, dešinėje – lupa + burger */
    .search-box {
        display: none; /* mobile nebebandome kišti inputo į headerį */
    }

    .search-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;   /* pastumia lupą ir burgerį į dešinę */
    }

    .burger { display: flex;  }
    .search-box { flex: 1; }

    .home-seo {
        font-size: 12px;
    }
    .home-seo h2 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .product-hover {
        display: none !important;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-grid {
        display: flex;
        overflow-x: auto;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .category-grid::-webkit-scrollbar {
        display: none;
    }

    .category-card {
         scroll-snap-align: start;
    }
    .category-img-wrap {
        width: 180px;
    }

    .media-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .media-btn {
        width: 100%;
        text-align: center;
    }

    /* LATEST OFFERS – mobile: viena eilute su scroll’u, rodo ~1.5 korteles */

    .product-grid--scroll {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;

        scrollbar-width: none;       /* Firefox */
        -ms-overflow-style: none;    /* IE/Edge legacy */
    }
    .product-grid--scroll::-webkit-scrollbar {
        display: none;               /* Chrome/Safari */
    }

    .product-grid--scroll > .product-card {
        flex: 0 0 62%;               /* ~1.4–1.5 korteles matosi */
        max-width: 340px;            /* kad ant didesniu telefonu nebutu per platu */
        scroll-snap-align: start;
    }

    .home-latest .container {
        position: relative;
    }

    .home-latest .container::after {
        content: "";
        position: absolute;
        right: 0;
        top: 34px;              /* pasireguliuok pagal header auksti sekcijoje */
        bottom: 0;
        width: 34px;
        pointer-events: none;
        background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.35));
    }

}

/* Mobile ≤480px */
@media (max-width: 480px) {
    .logo { font-size: 20px; }
    .hero h1 { font-size: 18px; line-height: 22px; }
    .hero.empty-hero-inner  {padding-top: 12px}
    .hero.empty-hero-inner h1 {font-weight: 500}
    .hero p { font-size: 13px; }
    .section-header h2 { font-size: 16px; }
    .mobile-search-panel {top:51px}
    .home .mobile-search-panel { top: 77px; }
    .product-grid {
        /*grid-template-columns: repeat(1, minmax(0, 1fr)); */
        gap:10px;
    }
    .product-image-wrap {
        aspect-ratio: auto;
        height: 220px;
    }



}

@media (max-width: 480px) and (min-width: 361px) {

    .price-main {
        font-size: 16px;
    }

    .price-old {
        font-size: 14px;
    }

    .product-title a {
        padding: 0 8px;
        font-size: 14px;
    }
    /* BUTTONS */
    .product-actions {
        gap: 5px;
        padding: 8px;
    }
    .btn-secondary,
    .btn-visit {
        padding: 6px 0;
    }
}




@media (max-width: 360px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}