/*
Theme Name: Universali
Version: 1.0.0
Description: Universali parduotuvės tema.
Author: Universali
*/
:root{--purple:#711bc1;--deep:#29123e;--pink:#b51bd3;--ink:#261b32;--muted:#74677e;--line:#eae3f0;--pale:#f7f3fb}*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.55}a{color:inherit;text-decoration:none}button,input{font:inherit}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #cd8cff;outline-offset:4px}.wrap{width:min(1240px,calc(100% - 48px));margin:auto}.topline{background:var(--deep);color:#eee0ff;font-size:12px;padding:9px 0}.topline .wrap{display:flex;justify-content:space-between}.head{display:flex;align-items:center;gap:38px;padding:25px 0}.brand{display:flex;gap:10px;align-items:center;font-size:30px;font-weight:800;letter-spacing:-1.5px;color:var(--deep)}.brand svg{width:48px;height:48px;color:var(--purple)}.brand span small{color:var(--purple);font-size:16px;letter-spacing:0}.search{display:flex;flex:1;border:1px solid #ddd1e9;border-radius:10px;overflow:hidden;background:#faf8fc}.search input{border:0;background:transparent;padding:13px 18px;min-width:0;flex:1}.search button{border:0;background:var(--purple);color:white;padding:0 23px;cursor:pointer}.headlinks{display:flex;gap:22px;font-size:14px;font-weight:600}.nav{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.nav .wrap{display:flex;gap:30px;padding:15px 0;font-size:14px;font-weight:600}.nav a:hover{color:var(--purple)}.hero{background:var(--pale);padding:55px 0 48px;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:70px;align-items:center}.eyebrow{text-transform:uppercase;letter-spacing:2px;color:var(--purple);font-size:12px;font-weight:800}.hero h1{font-size:clamp(38px,4.7vw,62px);line-height:1.07;letter-spacing:-2.5px;max-width:650px;margin:20px 0}.hero h1 em{font-style:normal;color:var(--purple)}.hero p{color:var(--muted);max-width:460px;font-size:17px}.cta{display:inline-flex;align-items:center;gap:22px;background:var(--purple);color:white;padding:14px 24px;border-radius:8px;font-weight:700;margin-top:16px}.cta:hover{background:var(--deep)}.hero-art{position:relative;padding:28px;background:linear-gradient(140deg,#54218a,#8723c8);border-radius:24px;min-height:310px;color:#fff;display:grid;grid-template-columns:1fr 1fr;gap:15px;transform:rotate(-2deg)}.arttile{background:#ffffff12;border:1px solid #ffffff30;border-radius:15px;padding:24px 18px;display:flex;flex-direction:column;justify-content:center;gap:15px;font-size:14px;font-weight:600}.arttile svg{width:52px;height:52px;stroke:#fff;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.arttile:nth-child(2){background:#ffffffed;color:var(--deep);transform:translateY(12px)}.arttile:nth-child(2) svg{stroke:var(--purple)}.arttile:nth-child(3){transform:translateY(-5px)}section.catalog{padding:52px 0}.sectionhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.sectionhead h2{font-size:28px;letter-spacing:-.8px;margin:0}.sectionhead a{color:var(--purple);font-size:14px;font-weight:700}.categories{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.cat{border:1px solid var(--line);border-radius:13px;padding:27px 22px;transition:.2s;background:#fff;min-height:165px}.cat:hover{border-color:var(--purple);transform:translateY(-3px);box-shadow:0 8px 25px #4310730b}.cat svg{width:36px;height:36px;fill:none;stroke:var(--purple);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;margin-bottom:20px}.cat b{display:block;font-size:16px}.cat span{font-size:12px;color:var(--muted)}.band{background:var(--pale);padding:28px 32px;border-radius:14px;display:flex;justify-content:space-between;align-items:center;gap:25px;margin:0 auto 50px}.band h3{margin:0 0 6px;font-size:22px}.band p{margin:0;color:var(--muted)}.footer{border-top:1px solid var(--line);padding:35px 0;color:var(--muted);font-size:13px}.footer .wrap{display:flex;justify-content:space-between;align-items:center;gap:20px}.footer .brand{font-size:23px}.footer .brand svg{width:36px;height:36px}.content{padding-top:38px;padding-bottom:55px;min-height:50vh}.woocommerce .button,.woocommerce button.button,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--purple);color:#fff;border-radius:7px}.woocommerce ul.products li.product{border:1px solid var(--line);padding:15px;border-radius:12px}.woocommerce ul.products li.product .price{color:var(--purple);font-weight:700}.woocommerce-breadcrumb{font-size:13px!important}.woocommerce .woocommerce-ordering select{padding:10px;border:1px solid var(--line);border-radius:6px}.woocommerce div.product p.price{color:var(--purple)}.woocommerce input.input-text,.woocommerce textarea{padding:10px;border:1px solid var(--line);border-radius:5px}@media(max-width:900px){.head{flex-wrap:wrap;gap:20px}.search{order:3;flex-basis:100%}.headlinks{margin-left:auto}.hero-grid{gap:30px}.categories{grid-template-columns:repeat(2,1fr)}.nav .wrap{gap:20px;overflow:auto;white-space:nowrap}.hero-art{min-height:280px;padding:16px}.arttile{padding:15px}}@media(max-width:600px){.wrap{width:calc(100% - 32px)}.hero-grid{grid-template-columns:1fr}.hero{padding:32px 0}.hero-art{display:none}.hero h1{font-size:43px}.topline .wrap span:last-child{display:none}.brand{font-size:27px}.headlinks{font-size:12px;gap:14px}.head{padding:20px 0}.categories{gap:12px}.cat{padding:20px 14px;min-height:150px}.sectionhead h2{font-size:24px}.band{display:block;padding:24px}.footer .wrap{align-items:flex-start;flex-direction:column}.sectionhead{gap:16px}section.catalog{padding:35px 0}}
/* Consistent catalog cards, including products with long supplier names. */
.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;align-items:stretch}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{float:none;width:auto!important;margin:0!important;display:flex;flex-direction:column;min-width:0}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1;min-width:0}
.woocommerce ul.products li.product a img{width:100%;height:220px;object-fit:contain;object-position:center;margin:0 0 18px;background:#fff}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px;line-height:1.5;height:4.5em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;padding:0;margin:0 0 16px}
.woocommerce ul.products li.product .price{margin-top:auto;margin-bottom:0;padding-top:8px;min-height:60px;font-size:18px}
.woocommerce ul.products li.product .button{margin-top:16px;text-align:center;line-height:1.4;padding:12px 8px}
@media(max-width:1000px){.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.woocommerce ul.products li.product a img{height:190px}}
@media(max-width:700px){.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.woocommerce ul.products li.product a img{height:160px}.woocommerce ul.products li.product{padding:12px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px}}
@media(max-width:360px){.woocommerce ul.products{grid-template-columns:1fr}}
.primary-nav{position:relative;z-index:50;background:white}.primary-nav .nav-inner{position:relative;display:flex;align-items:center;gap:42px;padding:0;overflow:visible;white-space:normal}.primary-nav .nav-inner>a,.catalog-menu>summary{padding:17px 0;display:block;font-size:15px;font-weight:700;cursor:pointer}.catalog-menu>summary{list-style:none;display:flex;align-items:center;gap:10px;color:var(--purple)}.catalog-menu>summary::-webkit-details-marker{display:none}.catalog-menu[open]>summary span{transform:rotate(180deg)}.mega-panel{position:absolute;left:0;right:0;top:100%;background:#fff;border:1px solid var(--line);border-top:3px solid var(--purple);border-radius:0 0 16px 16px;box-shadow:0 24px 45px #29123e24;max-height:72vh;overflow:auto}.mega-heading{padding:25px 30px 20px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);background:var(--pale)}.mega-heading h2{font-size:23px;letter-spacing:-.6px;margin:5px 0 0}.mega-heading>a,.mega-bottom>a{font-size:13px;color:var(--purple);font-weight:700}.mega-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 30px;padding:28px 30px}.mega-title{display:flex;justify-content:space-between;gap:10px;font-size:14px;font-weight:750;margin-bottom:8px}.mega-title span{color:var(--purple)}.mega-child{display:block;font-size:12px;color:var(--muted);font-weight:400;padding:3px 0}.mega-category a:hover{color:var(--purple);text-decoration:underline}.mega-bottom{display:flex;justify-content:space-between;padding:17px 30px;border-top:1px solid var(--line);font-size:12px;font-weight:400;color:var(--muted)}.content>article{max-width:850px}.content>article h1{font-size:38px;color:var(--deep)}.content>article p{font-size:18px;color:var(--muted)}@media(max-width:900px){.mega-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.primary-nav .nav-inner{gap:0;justify-content:space-between}.primary-nav .nav-inner>a,.catalog-menu>summary{font-size:13px;padding:15px 0}.mega-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:20px;gap:24px 18px}.mega-heading{padding:18px 20px;gap:15px}.mega-heading h2{font-size:19px}.mega-heading .eyebrow{font-size:9px;letter-spacing:1px}.mega-panel{max-height:65vh}.mega-bottom{padding:16px 20px;gap:15px}.mega-title{font-size:13px}.mega-heading>a{white-space:nowrap}}
.mega-title{align-items:center}.mega-icon{display:inline-flex;flex:0 0 28px;align-items:center;justify-content:center;width:28px;height:28px;background:#f7f0fd;border-radius:7px}.mega-icon svg{width:20px;height:20px;fill:none;stroke:var(--purple);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* Keep each icon attached to its own category label. */
.mega-title{justify-content:flex-start;gap:9px}.mega-title .mega-icon{order:-1;flex-shrink:0}.mega-category .mega-child{padding-left:37px}
