/* Homepage composition adapted from the supplied visual reference. */
:root{--hp-blue:var(--color-primary);--hp-blue-dark:var(--color-primary-hover);--hp-ink:#172b49;--hp-muted:#78879d;--hp-line:#e5ebf3;--hp-pale:#f4f8fe;--hp-container:1200px}
.home-page{background:var(--color-bg);color:var(--color-text)}
.home-page,.home-page *{font-family:'Inter',var(--font-base)}
.home-page .user-actions{gap:13px}
.home-page .login-link,.home-page .user-welcome{font-size:12px;color:#33445e}
.home-page .btn-post-ad{background:var(--hp-blue);border-radius:6px;padding:10px 15px;color:#fff}
.home-page .btn-post-ad:hover{background:var(--hp-blue-dark)}
.home-page .logout-form{margin:0}
.home-page .logout-form button{background:none;border:0;cursor:pointer}
.home-page .search-section,.home-page .top-banner-ad{display:none}
.hp-container{width:min(var(--hp-container),calc(100% - 40px));margin-inline:auto}
.hp-hero{height:246px;position:relative;color:#fff;background:linear-gradient(90deg,rgba(14,35,60,.73),rgba(15,47,73,.35) 58%,rgba(12,51,73,.08)),url('https://images.unsplash.com/photo-1516483638261-f4dbaf036963?auto=format&fit=crop&w=2000&q=85') center 49%/cover no-repeat,url('../images/home-hero-bg.svg') center 52%/cover no-repeat}
.hp-hero-inner{height:100%;position:relative;padding-top:48px}
.hp-eyebrow{margin:0 0 8px;color:rgba(255,255,255,.78);font-size:9px;font-weight:800;letter-spacing:1.35px}
.hp-eyebrow-blue{color:#4986e7}
.hp-hero h1{font-size:clamp(30px,3.3vw,38px);line-height:1.05;letter-spacing:-.8px;margin:0 0 7px;font-weight:800}
.hp-hero-subtitle{margin:0;font-size:13px;color:rgba(255,255,255,.94)}
.hp-hero-note{position:absolute;right:2px;top:40px;width:110px;text-align:center;font-size:13px;line-height:1.25;font-weight:800;transform:rotate(-9deg);text-shadow:0 2px 8px #152a4880}
.hp-hero-note::after{content:"";display:block;width:72px;height:19px;margin:4px auto 0;border-bottom:2px solid #fff;border-radius:0 0 65% 40%;transform:rotate(-14deg)}
/* Позициониране на търсачката в hero секцията. Визуалният ѝ стил (панел, полета,
   бутон, отговорни правила) е централизиран в site-header.css — един източник за целия сайт. */
.hp-hero .hp-search-panel{position:absolute;left:0;bottom:30px;z-index:5;width:min(1120px,100%)}
.hp-category-ribbon{position:relative;z-index:6;margin-top:-20px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding:12px 10px;background:#fff;border:1px solid #e8edf4;border-radius:8px;box-shadow:0 2px 8px #1c375a08}
.hp-ribbon-item{min-width:0;display:flex;flex-direction:column;align-items:center;gap:6px;padding:4px 2px;color:#42536d;font-size:10px;font-weight:700;text-align:center;text-decoration:none}
.hp-ribbon-item:hover{color:var(--hp-blue)}
.hp-round-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:50%}
.hp-round-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hp-color-0{background:#fff0ed;color:#e8755f}.hp-color-1{background:#eaf2ff;color:#4682db}.hp-color-2{background:#e9f7ef;color:#43a46a}.hp-color-3{background:#fff2e7;color:#df9146}.hp-color-4{background:#f2edff;color:#8365d4}.hp-color-5{background:#e9f8f7;color:#399c9b}.hp-color-6{background:#fff7df;color:#bd9634}.hp-color-7{background:#ffedf1;color:#cc6c83}
.hp-color-gray{background:#eef1f5;color:#8491a3}
.hp-ribbon-item{border:0;background:transparent;cursor:pointer;font-family:inherit}
.hp-ribbon-item[hidden]{display:none}
.hp-ribbon-view-all .hp-round-icon{position:relative;border-radius:31% 69% 37% 63% / 58% 36% 64% 42%;background:linear-gradient(145deg,#345be8,#8e5ae8);color:#fff;box-shadow:0 5px 14px #5967dd38;transition:transform .35s cubic-bezier(.34,1.56,.64,1),border-radius .35s ease,box-shadow .35s ease}
.hp-ribbon-view-all .hp-round-icon::after{content:"";position:absolute;inset:4px;border:1px solid #ffffff9c;border-radius:inherit}
.hp-ribbon-view-all .hp-round-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7}
.hp-ribbon-view-all{grid-column:1/-1;flex-direction:row;justify-self:center;gap:10px;min-height:44px;padding:5px 16px;border:1px solid #e4e9f5;border-radius:8px;background:#fbfcff}
.hp-ribbon-view-all .hp-round-icon{width:34px;height:34px}
.hp-ribbon-view-all>span:last-child{font-size:10px}
.hp-ribbon-view-all:hover .hp-round-icon,.hp-ribbon-view-all:focus-visible .hp-round-icon{transform:scale(1.12) rotate(12deg);border-radius:50%;box-shadow:0 7px 18px #5967dd55}
.hp-ribbon-view-all[aria-expanded="true"] .hp-round-icon{transform:rotate(45deg);border-radius:50%}
.hp-page-content{display:grid;grid-template-columns:minmax(0,1fr) 256px;align-items:start;gap:18px;margin-top:17px;margin-bottom:30px}
.hp-main-column{min-width:0}
.hp-section-heading{min-height:30px;margin-bottom:10px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.hp-heading-title{display:flex;align-items:center;gap:8px}
.hp-heading-title>svg{width:17px;height:17px;fill:none;stroke:#e98b3e;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hp-section-heading h2{margin:0;font-size:16px;line-height:1.25;color:#1c2f4c;letter-spacing:-.2px}
.hp-text-link,.hp-view-all{display:inline-flex;align-items:center;gap:4px;color:var(--color-link);font-size:10px;font-weight:700;text-decoration:none;background:none;border:0;cursor:pointer;white-space:nowrap}
.hp-text-link svg,.hp-view-all svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hp-listings{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.hp-listing-card{min-width:0;overflow:hidden;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:var(--shadow-card);transition:box-shadow .18s,transform .18s}
.hp-listing-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px #213a5b14}
.hp-listing-image{height:128px;position:relative;background:#edf2f8}
.hp-listing-image>a{display:block;width:100%;height:100%}
.hp-listing-image img{width:100%;height:100%;object-fit:cover}
.hp-listing-image .ad-card-favorite-form,.hp-listing-image .ad-card-favorite-button{top:6px;right:6px}
.hp-listing-image .ad-card-favorite-button{width:32px;height:32px;min-width:32px!important;min-height:32px!important}
.hp-listing-image .ad-card-favorite-button svg{width:18px;height:18px;flex-basis:18px}
.hp-listing-body{padding:9px 9px 10px}
.hp-listing-title{display:-webkit-box;overflow:hidden;min-height:30px;color:var(--color-heading);font-size:10px;font-weight:400;line-height:1.4;text-decoration:none;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.hp-listing-title:hover{color:var(--color-primary)}
.hp-listing-price{margin:5px 0 7px;color:var(--color-price);font-size:17px;font-weight:800}
.hp-listing-meta{display:flex;flex-wrap:wrap;align-items:center;gap:5px 9px;min-height:16px;margin:0 0 5px;color:var(--color-muted);font-size:8.5px;line-height:1.35}
.hp-meta-item{display:inline-flex;align-items:center;gap:3px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hp-meta-item svg{width:11px;height:11px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7}
.hp-listing-location{display:flex;align-items:center;gap:4px;color:var(--color-muted);font-size:8.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hp-listing-location svg{width:12px;height:12px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7}
.hp-listing-location span{color:#b5beca}
.hp-empty-listings{grid-column:1/-1;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:22px;background:#fff;border:1px dashed #d8e1ed;border-radius:8px;color:#52637b;font-size:12px}
.hp-empty-listings strong{color:#1e304e;font-size:15px}
.hp-latest-section{margin-top:20px}
.hp-latest-note{color:#8491a3;font-size:9px}
.hp-latest-actions{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:14px}
.hp-load-more{min-height:42px;padding:0 20px;border:1px solid #c9daf2;border-radius:7px;background:#fff;color:#286dcc;font-size:10px;font-weight:800;cursor:pointer;transition:background .18s,border-color .18s,color .18s}
.hp-load-more:hover:not(:disabled){border-color:#347be0;background:#f2f7ff}
.hp-load-more:disabled{opacity:.65;cursor:wait}
.hp-load-more[hidden]{display:none}
.hp-load-status{min-height:12px;color:#74839a;font-size:9px}
.hp-latest-all{padding:2px 5px}
.hp-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 15px;border-radius:5px;font-size:11px;font-weight:700;text-decoration:none;transition:transform .18s,background .18s}
.hp-button:hover{transform:translateY(-1px)}
.hp-button-primary{background:var(--hp-blue);color:#fff}.hp-button-primary:hover{background:var(--hp-blue-dark)}
.hp-button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.hp-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:15px;padding:12px 5px;background:#fff;border:1px solid #e8edf4;border-radius:7px}
.hp-benefit{display:flex;align-items:center;gap:7px;min-width:0;padding:0 8px;border-right:1px solid #edf1f6}
.hp-benefit:last-child{border-right:0}
.hp-benefit-icon{width:28px;height:28px;flex:none;display:grid;place-items:center;border-radius:50%}
.hp-benefit-icon svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.hp-benefit-blue{background:#eaf2ff;color:#4880d4}.hp-benefit-orange{background:#fff1e5;color:#d98845}.hp-benefit-green{background:#e8f6ee;color:#419968}.hp-benefit-pink{background:#ffedf1;color:#c96c83}
.hp-benefit strong{display:block;margin-bottom:3px;color:#2b3c57;font-size:12px;line-height:1.25}
.hp-benefit p{margin:0;color:#74839a;font-size:10px;line-height:1.45}
.hp-all-categories{margin-top:21px;padding:14px;background:#fff;border:1px solid #e7edf4;border-radius:8px}
.hp-categories-heading{margin-bottom:12px}
.hp-categories-heading>div{display:flex;align-items:flex-start;flex-direction:column;gap:0}
.hp-categories-heading .hp-eyebrow{margin:0 0 3px;font-size:8px}
.hp-categories-heading h2{font-size:16px}
.hp-view-all{padding:7px 9px;border:1px solid #dce8fa;border-radius:5px;background:#f5f9ff}
.hp-view-all:hover{background:#eaf2ff}
.hp-view-all[aria-expanded="true"] svg{transform:rotate(90deg)}
.hp-category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px 8px}
.hp-category-card{--category-turn:8deg;min-width:0;min-height:0;aspect-ratio:1 / 1;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:8px 6px;border:1px solid #e5eaf2;border-radius:11px;background:#fff;color:#002f34;text-align:center;text-decoration:none;box-shadow:0 2px 7px #203b5510;transition:border-color .25s ease,background .25s ease,box-shadow .25s ease,transform .25s ease}
.hp-category-card[hidden]{display:none}
.hp-category-card:hover,.hp-category-card:focus-visible{color:#002f34;border-color:#cbdcf2;background:#fbfdff;box-shadow:0 8px 18px #203b551b;transform:translateY(-3px);outline:none}
.hp-category-picture{--category-tint:#e3f2fd;--category-hover:#90caf9;--category-turn:8deg;position:relative;isolation:isolate;width:min(100%,64px);height:auto;aspect-ratio:1 / .88;margin:0 auto;display:grid;place-items:center;border-radius:44% 56% 51% 49% / 52% 44% 56% 48%;background:var(--category-tint);transform-origin:center;transition:background .5s cubic-bezier(.34,1.56,.64,1),transform .5s cubic-bezier(.34,1.56,.64,1),border-radius .5s ease}
.hp-category-picture::before{content:"";position:absolute;z-index:-1;inset:6px;border:1px solid #ffffffc9;border-radius:inherit;opacity:.85;transition:inset .35s ease,border-color .35s ease}
.hp-category-picture svg{width:68%;height:68%;fill:none;stroke:#183c42;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;overflow:visible;filter:drop-shadow(0 1px 0 #ffffff59);transition:transform .3s ease}
.hp-category-card:hover .hp-category-picture,.hp-category-card:focus-visible .hp-category-picture{background:var(--category-hover);transform:scale(1.12) rotate(var(--category-turn));border-radius:50%}
.hp-category-card:hover .hp-category-picture::before,.hp-category-card:focus-visible .hp-category-picture::before{inset:4px;border-color:#fffffff2}
.hp-category-card:active .hp-category-picture{transform:scale(1.06) rotate(var(--category-turn))}
.hp-category-card:focus-visible .hp-category-picture{outline:2px solid #4e8ee8;outline-offset:3px}
.hp-cat-color-blue{--category-tint:#e3f2fd;--category-hover:#90caf9;--category-turn:8deg}
.hp-cat-color-gold{--category-tint:#fff3e0;--category-hover:#ffcc80;--category-turn:-8deg}
.hp-cat-color-mint{--category-tint:#e8f5e9;--category-hover:#a5d6a7;--category-turn:8deg}
.hp-cat-color-lilac{--category-tint:#ede7f6;--category-hover:#b39ddb;--category-turn:-6deg}
.hp-cat-color-pink{--category-tint:#fce4ec;--category-hover:#f48fb1;--category-turn:-10deg}
.hp-cat-color-aqua{--category-tint:#e0f7fa;--category-hover:#80deea;--category-turn:6deg}
.hp-cat-color-peach{--category-tint:#fff8e1;--category-hover:#ffe082;--category-turn:-6deg}
.hp-tint-0{background:linear-gradient(135deg,#eaf2ff,#fff)}.hp-tint-1{background:linear-gradient(135deg,#e7f7ee,#fff)}.hp-tint-2{background:linear-gradient(135deg,#fff0ed,#fff)}.hp-tint-3{background:linear-gradient(135deg,#f2edff,#fff)}.hp-tint-4{background:linear-gradient(135deg,#fff6e7,#fff)}.hp-tint-5{background:linear-gradient(135deg,#e9f8f7,#fff)}.hp-tint-6{background:linear-gradient(135deg,#ffedf1,#fff)}.hp-tint-7{background:linear-gradient(135deg,#eef4fb,#fff)}
.hp-category-card strong{display:-webkit-box;min-height:2.5em;max-width:170px;margin:0;color:inherit;font-size:11px;font-weight:600;line-height:1.25;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.hp-category-count{color:#718096;font-size:8px;line-height:1.25}
.hp-publish-banner{min-height:105px;margin-top:15px;padding:17px 19px;display:flex;align-items:center;justify-content:space-between;gap:14px;overflow:hidden;border-radius:7px;color:#fff;background:linear-gradient(110deg,#172b49,#244c78 65%,#3b79b2)}
.hp-publish-banner .hp-eyebrow{margin-bottom:5px;font-size:8px}
.hp-publish-banner h2{margin:0 0 4px;font-size:16px}
.hp-publish-banner p:last-child{margin:0;color:#d7e4f2;font-size:10px}
.hp-publish-banner .hp-button{flex:none}
.hp-sidebar{min-width:0;display:flex;flex-direction:column;gap:12px}
.hp-campaign-card{height:220px;position:relative;display:block;overflow:hidden;border:1px solid #dce3eb;border-radius:9px;background:#173a5c;color:#fff;text-decoration:none;box-shadow:0 3px 10px #18304b16;isolation:isolate}
.hp-campaign-card>img{position:absolute;z-index:-2;right:0;bottom:0;width:68%;height:100%;object-fit:cover;object-position:center}
.hp-campaign-card::after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#0b304f 0%,#0b304fed 27%,#0b304f9c 51%,#0b304f05 100%)}
.hp-campaign-card-home{height:220px;background:#284437}
.hp-campaign-card-home::after{background:linear-gradient(90deg,#153c39 0%,#153c39f2 31%,#153c3980 55%,#153c3900 100%)}
.hp-ad-label{position:absolute;left:14px;top:12px;padding:3px 6px;border:1px solid #ffffff5c;border-radius:4px;background:#122c42a8;color:#dbe9f6;font-size:7px;line-height:1;font-weight:700;letter-spacing:.5px}
.hp-campaign-copy{position:absolute;left:14px;top:39px;bottom:14px;display:flex;flex-direction:column;align-items:flex-start;width:59%;}
.hp-campaign-copy strong{max-width:100%;color:#fff;font-size:16px;line-height:1.22;font-weight:800;text-shadow:0 1px 5px #061b31a8;display:-webkit-box;overflow:hidden;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.hp-campaign-cta{display:inline-flex;align-items:center;justify-content:center;min-height:31px;margin-top:auto;padding:0 14px;border-radius:7px;background:var(--color-cta);color:#fff;font-size:10px;font-weight:800;box-shadow:0 3px 10px #071d3540;flex-shrink:0}
.hp-campaign-card:hover .hp-campaign-cta{background:var(--color-cta-hover)}
.hp-app-promo{position:relative;min-height:318px;overflow:hidden;padding:17px 15px 76px;border:1px solid #e3eaf3;border-radius:10px;background:linear-gradient(145deg,#f5f9ff,#edf4fd);color:#26354e;box-shadow:0 3px 10px #18304b0c}
.hp-app-copy{position:relative;z-index:2;width:64%;}
.hp-app-copy h2{margin:0 0 5px;font-size:14px;line-height:1.25;color:#24344e}
.hp-app-copy p{margin:0 0 12px;color:#627188;font-size:9px;line-height:1.45}
.hp-store-badges{display:grid;gap:7px;width:max-content;max-width:100%}
.hp-store-badge{height:37px;min-width:128px;display:flex;align-items:center;gap:7px;padding:4px 9px;border:1px solid #5b6575;border-radius:7px;background:#080a0d;color:white;box-shadow:0 2px 4px #17213330}
.hp-store-badge svg{width:20px;height:20px;flex:none;fill:#fff}
.hp-store-badge:nth-child(2) svg{fill:#34c979;stroke:#e3f5ff;stroke-width:.6}
.hp-store-badge span{display:flex;flex-direction:column;line-height:1.05}
.hp-store-badge small{font-size:6px;letter-spacing:.2px}
.hp-store-badge strong{font-size:12px;letter-spacing:-.3px}
.hp-app-phone{position:absolute;z-index:1;right:6px;top:73px;width:39%;height:170px;object-fit:cover;object-position:top center;border:4px solid #192334;border-bottom:0;border-radius:17px 17px 0 0;box-shadow:0 5px 15px #17263d30;transform:rotate(3deg);}
.hp-app-features{position:absolute;z-index:3;left:0;right:0;bottom:0;min-height:66px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#ffffffd9;border-top:1px solid #e2eaf4;backdrop-filter:blur(5px)}
.hp-app-features>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:7px 3px;text-align:center;color:#63738b;font-size:8px;line-height:1.25}
.hp-app-features>div+div{border-left:1px solid #e2eaf4}
.hp-app-features svg{width:16px;height:16px;fill:none;stroke:#1671e8;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.home-page .pre-footer-wrapper,.home-page footer{max-width:none}
@media(max-width:1100px){.hp-container{width:min(var(--hp-container),calc(100% - 32px))}.hp-page-content{grid-template-columns:minmax(0,1fr) 230px;gap:13px}.hp-listings{grid-template-columns:repeat(2,minmax(0,1fr))}.hp-listing-image{height:155px}.hp-category-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:950px){.hp-category-ribbon{grid-template-columns:repeat(5,minmax(0,1fr))}}
/* Търсачката се нарежда на два реда под 1000px — hero секцията се удължава, за да не се застъпва с текста. */
@media(max-width:1000px){.hp-hero{height:280px}}
@media(max-width:800px){.hp-nav-actions{gap:8px}.hp-hero{height:258px}.hp-hero-inner{padding-top:34px}.hp-hero-note{right:8px;top:34px;font-size:12px}.hp-hero .hp-search-panel{bottom:24px}.hp-category-ribbon{margin-top:-15px;gap:8px 3px}.hp-page-content{grid-template-columns:1fr;margin-top:15px}.hp-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.hp-campaign-card{height:200px}.hp-app-promo{grid-column:1/-1;min-height:305px}.hp-app-copy{width:58%}.hp-app-phone{right:10%;width:28%;height:175px}.hp-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:560px){.hp-container{width:calc(100% - 24px)}.hp-hero{height:290px;background-position:58% center}.hp-hero-inner{padding-top:27px}.hp-hero h1{max-width:340px;font-size:28px;line-height:1.13}.hp-hero-subtitle{max-width:285px;font-size:11px}.hp-hero-note{display:none}.hp-hero .hp-search-panel{bottom:12px}.hp-category-ribbon{margin-top:-12px;padding:9px 5px;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px 2px}.hp-ribbon-item{font-size:8px}.hp-round-icon{width:31px;height:31px}.hp-round-icon svg{width:18px;height:18px}.hp-page-content{margin-bottom:20px}.hp-section-heading h2{font-size:15px}.hp-listings{gap:8px}.hp-listing-image{height:auto;aspect-ratio:1.35}.hp-listing-body{padding:8px}.hp-listing-title{font-size:10px}.hp-listing-price{font-size:12px}.hp-listing-location{font-size:8px}.hp-benefits{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 0}.hp-benefit:nth-child(2){border-right:0}.hp-benefit:nth-child(3),.hp-benefit:nth-child(4){padding-top:8px;border-top:1px solid #edf1f6}.hp-benefit strong{font-size:10px}.hp-benefit p{font-size:9px}.hp-all-categories{padding:11px}.hp-category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.hp-category-card{padding:6px}.hp-category-picture{height:48px}.hp-category-picture svg{width:27px;height:27px}.hp-category-card strong{font-size:8px}.hp-category-count{font-size:7px}.hp-publish-banner{align-items:flex-start;flex-direction:column;padding:15px}.hp-sidebar{grid-template-columns:1fr}.hp-campaign-card{height:200px}.hp-app-promo{grid-column:auto;min-height:320px}.hp-app-copy{width:64%}.hp-app-phone{right:5%;width:38%;height:180px}}
@media(max-width:380px){.home-page .user-actions{gap:5px}.home-page .user-actions .login-link{font-size:10px}.home-page .btn-post-ad{font-size:10px;padding-inline:8px}.hp-listing-image{aspect-ratio:1.15}.hp-benefit{padding-inline:5px}.hp-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.hp-listing-card,.hp-category-card,.hp-category-picture,.hp-category-picture::before,.hp-round-icon,.hp-button{transition:none}}
@media(max-width:560px){.hp-latest-note{display:inline-flex}}
/* Match the six-column category illustration layout and its responsive breakpoints. */
.hp-category-card:nth-child(6n + 1) .hp-category-picture{--category-turn:8deg}
.hp-category-card:nth-child(6n + 2) .hp-category-picture{--category-turn:-8deg}
.hp-category-card:nth-child(6n + 3) .hp-category-picture{--category-turn:8deg}
.hp-category-card:nth-child(6n + 4) .hp-category-picture{--category-turn:6deg}
.hp-category-card:nth-child(6n + 5) .hp-category-picture{--category-turn:-6deg}
.hp-category-card:nth-child(6n) .hp-category-picture{--category-turn:10deg}
@media(max-width:950px){.hp-category-ribbon{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:560px){.hp-category-ribbon{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:380px){.hp-category-ribbon{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.hp-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 7px}.hp-category-card{padding:6px 4px}.hp-category-picture{width:min(100%,40px);height:auto;aspect-ratio:1 / .88}.hp-category-card strong{font-size:10px;min-height:2.5em}.hp-category-count{font-size:7px}}
/* Мобилна версия: категориите са 3 на ред на ВСИЧКИ телефони (≤620px),
   6 категории = 2 реда × 3; бутонът "Зареди всички" е пълна ширина отдолу.
   (По-старият ≤390px override с 2 колони е премахнат — не бивше 3 на ред
   на малки телефони.) */

/* Category ribbon mirrors the illustrated category-card hover treatment. */
.hp-category-ribbon{grid-template-columns:repeat(7,minmax(0,1fr))}
.hp-ribbon-extra-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
.hp-ribbon-extra-grid[hidden]{display:none}
.hp-round-icon{width:56px;height:56px;transition:background .5s cubic-bezier(.34,1.56,.64,1),transform .5s cubic-bezier(.34,1.56,.64,1),border-radius .5s ease,box-shadow .35s ease}
.hp-round-icon svg{width:31px;height:31px}
.hp-ribbon-item:not(.hp-ribbon-view-all) .hp-round-icon{position:relative;border-radius:44% 56% 51% 49% / 52% 44% 56% 48%}
.hp-ribbon-item:not(.hp-ribbon-view-all) .hp-round-icon::before{content:"";position:absolute;inset:5px;border:1px solid #ffffffc9;border-radius:inherit;opacity:.85;transition:inset .35s ease,border-color .35s ease}
.hp-ribbon-item:not(.hp-ribbon-view-all):hover .hp-round-icon,.hp-ribbon-item:not(.hp-ribbon-view-all):focus-visible .hp-round-icon{transform:scale(1.12) rotate(8deg);border-radius:50%;box-shadow:0 6px 15px #183c4220}
.hp-ribbon-item:not(.hp-ribbon-view-all):hover .hp-round-icon::before,.hp-ribbon-item:not(.hp-ribbon-view-all):focus-visible .hp-round-icon::before{inset:3px;border-color:#fffffff2}
.hp-ribbon-item:not(.hp-ribbon-view-all):focus-visible{outline:2px solid #4e8ee8;outline-offset:2px;border-radius:6px}
.hp-ribbon-view-all{grid-column:auto;flex-direction:column;justify-self:stretch;gap:6px;min-height:0;padding:4px 2px;border:0;border-radius:0;background:transparent}
.hp-ribbon-view-all .hp-round-icon{width:56px;height:56px}
.hp-ribbon-view-all>span:last-child{font-size:10px}
@media(max-width:950px){.hp-category-ribbon{grid-template-columns:repeat(4,minmax(0,1fr))}.hp-ribbon-extra-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* Мобилна версия: лентата с 6-те категории е по три на ред на ВСИЧКИ телефони
   (≤620px) — 6 категории = 2 реда × 3. По-старият ≤380px override с 2 колони
   е премахнат, за да няма раздвоение между лентата и мозаичната мрежа. */
@media(max-width:620px){.hp-category-ribbon{grid-template-columns:repeat(3,minmax(0,1fr))}.hp-ribbon-extra-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.hp-round-icon,.hp-ribbon-view-all .hp-round-icon{width:48px;height:48px}.hp-round-icon svg{width:28px;height:28px}}


/* Homepage browse controls and three-card discovery strip. */
.hp-category-load-all{grid-column:1/-1;min-height:42px;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;border:1px solid var(--color-primary-soft);border-radius:9px;background:linear-gradient(180deg,#fff,#f6f9fe);color:var(--color-primary);font:700 13px/1.3 'Inter',Arial,sans-serif;cursor:pointer;transition:background .2s,border-color .2s,transform .2s,box-shadow .2s}
.hp-category-load-all:hover,.hp-category-load-all:focus-visible{border-color:var(--color-primary);background:var(--color-primary-soft);box-shadow:0 5px 14px #0369a11a;transform:translateY(-1px);outline:none}
.hp-category-load-all svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.hp-category-load-all[aria-expanded="true"] svg{transform:rotate(180deg)}
.hp-promo-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}
.hp-promo-tile{position:relative;min-width:0;min-height:230px;overflow:hidden;display:flex;flex-direction:column;justify-content:center;padding:24px 22px;border-radius:18px;text-decoration:none}
.hp-promo-sell{align-items:flex-start;background:radial-gradient(ellipse at 100% 100%,#ccece0 0,transparent 44%),linear-gradient(135deg,#e3f4ec,#d8eee5);color:#153e38}
.hp-promo-top{width:100%;display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:30px}
.hp-promo-eyebrow{margin:0;color:#285a51;font-size:9px;font-weight:800;letter-spacing:1.2px;line-height:1.4}
.hp-promo-pill{flex:none;padding:9px 12px;border-radius:22px;background:var(--color-cta);color:#fff;font-size:11px;font-weight:800;text-decoration:none;box-shadow:0 4px 12px #ef444433;transition:background .2s,transform .2s}
.hp-promo-pill:hover{background:var(--color-cta-hover);transform:translateY(-1px)}
.hp-promo-sell h2,.hp-promo-nearby h2{margin:0 0 12px;font-size:clamp(19px,2vw,25px);line-height:1.15;letter-spacing:-.55px}
.hp-promo-sell>p{margin:0;color:#496d65;font-size:12px;line-height:1.5}
.hp-promo-arrow{position:absolute;right:22px;bottom:19px;width:40px;height:40px;display:grid;place-items:center;border:1px solid #86b5a5;border-radius:50%;color:#17493d;text-decoration:none;transition:background .2s,transform .2s}
.hp-promo-arrow svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hp-promo-arrow:hover{background:#ffffffa8;transform:translate(2px,-2px)}
.hp-promo-nearby{color:#fff;background:radial-gradient(circle at 68% 38%,#2b7164 0 2px,transparent 3px),radial-gradient(circle at 83% 62%,#2b7164 0 2px,transparent 3px),linear-gradient(135deg,#123f39,#164f46)}
.hp-promo-nearby::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.28;background-image:linear-gradient(#ffffff0b 1px,transparent 1px),linear-gradient(90deg,#ffffff0b 1px,transparent 1px);background-size:22px 22px}
.hp-promo-nearby .hp-promo-top{margin-bottom:28px}
.hp-promo-nearby .hp-promo-eyebrow{color:#b5dbd0}
.hp-promo-map{width:38px;height:38px;display:grid;place-items:center;border:1px solid #ffffff38;border-radius:12px;color:#d9eee7}
.hp-promo-map svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.hp-nearby-form{position:relative;z-index:1;max-width:100%;display:flex;align-items:center;gap:8px;margin-top:5px}
.hp-nearby-form label{color:#c9e5dc;font-size:11px}
.hp-nearby-form select{max-width:140px;padding:7px 23px 7px 9px;border:1px solid #ffffff37;border-radius:18px;background:#ffffff12;color:#fff;font:600 11px 'Inter',Arial,sans-serif}
.hp-nearby-form select option{color:#183c37;background:#fff}
.hp-nearby-form button{width:36px;height:36px;flex:none;display:grid;place-items:center;border:1px solid #ffffff5e;border-radius:50%;background:transparent;color:#fff;cursor:pointer;transition:background .2s,transform .2s}
.hp-nearby-form button:hover{background:#ffffff20;transform:translateX(2px)}
.hp-nearby-form button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hp-promo-ad{align-items:center;gap:8px;border:1px dashed #d1d9e3;background:linear-gradient(145deg,#fff,#f9fbfd);color:#33445b;text-align:center;transition:border-color .2s,box-shadow .2s,transform .2s}
.hp-promo-ad:hover{border-color:#90aed0;box-shadow:0 10px 26px #243b5912;transform:translateY(-2px)}
.hp-promo-ad .hp-ad-label{position:absolute;top:15px;right:16px;left:auto;padding:0;border:0;background:transparent;color:#8995a3;font-size:8px;letter-spacing:.8px}
.hp-ad-placeholder-icon{width:38px;height:38px;display:grid;place-items:center;border:1px solid #e2e8f0;border-radius:10px;background:#fff;color:#91a0b1}
.hp-ad-placeholder-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.hp-promo-ad strong{font-size:15px;font-weight:600}
.hp-promo-ad>span:not(.hp-ad-label):not(.hp-ad-placeholder-icon){color:#8794a3;font-size:11px}
.hp-promo-ad small{margin-top:7px;color:#4c78ad;font-size:10px}
.hp-promo-ad small b{margin-left:3px;font-size:14px}
@media(max-width:760px){.hp-promo-tiles{grid-template-columns:1fr}.hp-promo-tile{min-height:190px}}
@media(max-width:560px){.hp-promo-tiles{gap:10px;margin-top:14px}.hp-promo-tile{min-height:205px;padding:20px;border-radius:15px}.hp-promo-top{margin-bottom:25px}.hp-promo-sell h2,.hp-promo-nearby h2{font-size:22px}.hp-promo-arrow{right:17px;bottom:15px}.hp-nearby-form select{max-width:none;flex:1}}
@media(prefers-reduced-motion:reduce){.hp-category-load-all,.hp-category-load-all svg,.hp-promo-pill,.hp-promo-arrow,.hp-nearby-form button,.hp-promo-ad{transition:none}}

/* Follow-up fixes: category collapse, latest listings CTA and empty ad-slot design. */
.hp-latest-note{display:inline-flex;align-items:center;gap:4px;color:var(--color-link);font-weight:700;text-decoration:none;white-space:nowrap}
.hp-latest-note:hover,.hp-latest-note:focus-visible{color:var(--color-link-hover)}
.hp-latest-note svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hp-nearby-link{position:relative;z-index:1;display:inline-flex;align-items:center;gap:8px;margin-top:2px;color:#c9e5dc;font-size:12px;text-decoration:none}
.hp-nearby-link svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.hp-nearby-link:hover{color:#fff}.hp-nearby-link:hover svg{transform:translateX(3px)}
.hp-promo-ad{isolation:isolate;gap:9px;border:1px solid #e0e6f2;background:radial-gradient(circle at 88% 19%,#e9e7ff 0 15%,transparent 16%),radial-gradient(circle at 11% 89%,#dff5ee 0 18%,transparent 19%),linear-gradient(145deg,#fff 8%,#f6f8ff 100%);box-shadow:0 8px 24px #283d6010}
.hp-promo-ad::before{content:"";position:absolute;z-index:-1;inset:12px;border:1px solid #ffffffc9;border-radius:12px;pointer-events:none}
.hp-promo-ad::after{content:"";position:absolute;z-index:-1;top:25%;right:18%;width:8px;height:8px;border-radius:50%;background:#a79af2;box-shadow:-125px 100px 0 -2px #82c9b1,32px 93px 0 -3px #e7b669;opacity:.8}
.hp-promo-ad .hp-ad-label{top:19px;right:20px;z-index:1;padding:5px 8px;border:1px solid #e1e4f0;border-radius:20px;background:#ffffffc7;color:#7b8497;font-size:8px;letter-spacing:.8px}
.hp-ad-placeholder-icon{width:54px;height:54px;position:relative;border:1px solid #e0def5;border-radius:17px;background:linear-gradient(145deg,#fff,#eceaff);color:#7265c7;box-shadow:0 8px 18px #6960b51c}
.hp-ad-placeholder-icon svg{width:26px;height:26px;stroke-width:1.6}
.hp-ad-placeholder-icon i{position:absolute;right:-5px;bottom:-4px;width:17px;height:17px;border:3px solid #fff;border-radius:50%;background:#69c4a2}
.hp-promo-ad strong{position:relative;z-index:1;color:#26344d;font-size:16px}
.hp-promo-ad>span:not(.hp-ad-label):not(.hp-ad-placeholder-icon){color:#78869a}
.hp-promo-ad small{position:relative;z-index:1;display:inline-flex;align-items:center;gap:6px;margin-top:3px;padding:7px 10px;border:1px solid #e4e8f0;border-radius:20px;background:#ffffffb8;color:#61728a;font-size:9px}
.hp-promo-ad small b{color:#8975dc;font-size:12px}
@media(prefers-reduced-motion:reduce){.hp-nearby-link svg{transition:none}}

.hp-nearby-title{position:relative;z-index:1;color:inherit;text-decoration:none}.hp-nearby-title:hover{color:#fff}

/* Действията в темата следват глобалните :root токени (–color-primary / hover). */
.hp-load-more{border-color:var(--color-primary);background:var(--color-primary);color:#fff}
.hp-load-more:hover:not(:disabled){border-color:var(--color-primary-hover);background:var(--color-primary-hover);color:#fff}
.hp-latest-note{font-size:10px}

/* Latest-ad actions reuse the category-grid reveal control. */
.hp-latest-actions.hp-category-load-all{grid-column:auto;display:flex;flex-direction:column;align-items:stretch;gap:0;margin-top:14px;padding:10px 14px}
.hp-latest-actions .hp-load-more{width:100%;min-height:20px;padding:0;border:0;background:transparent;color:var(--color-primary);font:700 13px/1.3 'Inter',Arial,sans-serif}
.hp-latest-actions .hp-load-more:hover:not(:disabled){border:0;background:transparent;color:var(--color-primary-hover)}
.hp-latest-actions .hp-load-more:disabled{opacity:.65}
.hp-latest-actions .hp-load-status{width:100%;min-height:0;margin-top:4px;text-align:center;font-size:10px}
.hp-latest-actions .hp-load-status:empty{display:none}
.hp-latest-actions .hp-load-status a{display:inline-flex;align-items:center;justify-content:center;gap:8px;color:var(--color-primary);font:700 13px/1.3 'Inter',Arial,sans-serif;text-decoration:none}
.hp-latest-actions .hp-load-status a svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hp-latest-actions .hp-load-status a:hover,.hp-latest-actions .hp-load-status a:focus-visible{color:var(--color-primary-hover);text-decoration:underline}
.hp-latest-actions[hidden]{display:none}
.hp-text-link{font-weight:400}
.hp-latest-note{font-weight:400}

/* Homepage typography pass: keep supporting text readable across desktop and mobile. */
.hp-eyebrow{font-size:11px;line-height:1.45}
.hp-hero-subtitle{font-size:16px;line-height:1.5}
.hp-hero-note{font-size:14px;line-height:1.4}
.hp-ribbon-item,.hp-ribbon-view-all>span:last-child{font-size:12px}
.hp-section-heading h2,.hp-categories-heading h2{font-size:22px;line-height:1.3}
.hp-text-link,.hp-view-all{font-size:14px}
/* ТукИма brand pass за "Подбрани обяви" и "Най-нови обяви": по-едра типография + акценти от палитрата.
   Скоопирано с .home-page, за да надмогне listing-card-content.css, който се зарежда последен. */
.home-page .hp-listing-title{font-size:15px;line-height:1.4;min-height:42px;color:var(--color-heading)}
.home-page .hp-listing-title:hover,.home-page .hp-listing-title:focus-visible,.home-page .hp-listing-card:hover .hp-listing-title{color:var(--color-primary)}
.home-page .hp-listing-price{font-size:17px;color:var(--color-price)}
.home-page .hp-listing-meta,.home-page .hp-listing-location{font-size:12.5px;line-height:1.45;color:var(--color-muted)}
.home-page .hp-meta-item svg{width:13px;height:13px}
.home-page .hp-listing-location svg{width:14px;height:14px}
.home-page .hp-listing-body .ad-intent-badge{font-size:11px;background:#FFF3E7;color:#C2410C}
.hp-latest-note{font-size:14px}
.hp-load-more,.hp-latest-actions .hp-load-more{font-size:14px}
.hp-load-status,.hp-latest-actions .hp-load-status{font-size:12px}
.hp-button{font-size:13px}
.hp-benefit strong{font-size:15px;line-height:1.35}
.hp-benefit p{font-size:13px;line-height:1.5}
.hp-categories-heading .hp-eyebrow{font-size:11px}
.hp-category-card strong{font-size:13px;line-height:1.35}
.hp-category-count{font-size:11px}
.hp-ad-label{font-size:10px}
.hp-campaign-copy strong{font-size:18px;line-height:1.3}
.hp-campaign-cta{font-size:13px}
.hp-app-copy h2{font-size:18px}
.hp-app-copy p{font-size:13px;line-height:1.5}
.hp-store-badge small{font-size:9px}
.hp-store-badge strong{font-size:13px}
.hp-app-features>div{font-size:11px;line-height:1.4}
.hp-promo-eyebrow{font-size:11px;line-height:1.5}
.hp-promo-pill{font-size:13px}
.hp-promo-sell>p{font-size:14px}
.hp-nearby-form label,.hp-nearby-link{font-size:14px;line-height:1.45}
.hp-nearby-form select{font-size:13px}
.hp-promo-ad .hp-ad-label{font-size:10px}
.hp-promo-ad strong{font-size:18px}
.hp-promo-ad>span:not(.hp-ad-label):not(.hp-ad-placeholder-icon){font-size:13px}
.hp-promo-ad small{font-size:11px}
.hp-promo-ad small b{font-size:14px}
@media(max-width:800px){.hp-hero-note{font-size:13px}}
@media(max-width:560px){
  .hp-hero h1{font-size:29px}
  .hp-hero-subtitle{font-size:14px;line-height:1.45}
  .hp-ribbon-item,.hp-ribbon-view-all>span:last-child{font-size:10px}
  .hp-section-heading h2,.hp-categories-heading h2{font-size:20px}
  .home-page .hp-listing-title{font-size:14px;min-height:40px}
  .home-page .hp-listing-price{font-size:17px}
  .home-page .hp-listing-meta,.home-page .hp-listing-location{font-size:11.5px}
  .hp-benefit strong{font-size:12px}
  .hp-benefit p{font-size:11px}
  .hp-category-card strong{font-size:12px}
  .hp-category-count{font-size:10px}
  .hp-app-features>div{font-size:10px}
  .hp-promo-tile{font-size:14px}
  .hp-promo-eyebrow{font-size:10px}
  .hp-promo-ad .hp-ad-label{font-size:9px}
}

/* ТукИма brand акценти: линковете в двете секции следват единия --color-link токен. */

/* hp-latest-actions използва стандартния изглед на hp-category-load-all (base правила по-горе). */

/* Compact, predictable category ribbon on touch screens. */
@media(max-width:560px){
  .hp-category-ribbon{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 4px;padding:10px 7px}
  .hp-ribbon-item{min-height:76px;justify-content:flex-start;gap:6px;padding:5px 3px;font-size:11px;line-height:1.25}
  .hp-ribbon-item>span:last-child{display:-webkit-box;min-height:2.5em;max-width:100%;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere}
  .hp-round-icon,.hp-ribbon-view-all .hp-round-icon{width:46px;height:46px;flex:none}
  .hp-round-icon svg{width:26px;height:26px}
  .hp-ribbon-view-all{align-self:stretch;justify-self:stretch;min-height:76px;gap:6px;padding:5px 3px;border:0;background:transparent}
  .hp-ribbon-view-all>span:last-child{font-size:11px;line-height:1.25}
  .hp-ribbon-extra-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 4px}
  .hp-ribbon-extra{min-height:76px}
}
@media(max-width:360px){
  .hp-category-ribbon{gap:6px 2px;padding-inline:5px}
  .hp-ribbon-item{font-size:10px}
  .hp-round-icon,.hp-ribbon-view-all .hp-round-icon{width:42px;height:42px}
  .hp-round-icon svg{width:24px;height:24px}
}

/* Expanded ribbon: keep the collapse control tucked into the upper corner. */
.hp-ribbon-view-all .hp-round-icon{width:38px;height:38px}
.hp-ribbon-view-all .hp-round-icon svg{width:18px;height:18px}
.hp-category-ribbon.is-expanded{padding-top:62px}
.hp-category-ribbon.is-expanded .hp-ribbon-extra-grid{display:contents}
.hp-category-ribbon.is-expanded .hp-ribbon-extra-grid[hidden]{display:none}
.hp-category-ribbon.is-expanded .hp-ribbon-view-all{position:absolute;top:10px;right:12px;z-index:2;width:auto;min-height:34px;flex-direction:row;align-items:center;justify-self:auto;gap:7px;padding:3px 9px;border:1px solid #e4e9f5;border-radius:20px;background:#fbfcff;box-shadow:0 2px 8px #25395a0d}
.hp-category-ribbon.is-expanded .hp-ribbon-view-all .hp-round-icon{width:30px;height:30px;box-shadow:none}
.hp-category-ribbon.is-expanded .hp-ribbon-view-all .hp-round-icon svg{width:16px;height:16px}
.hp-category-ribbon.is-expanded .hp-ribbon-view-all>span:last-child{font-size:12px;line-height:1.2}
@media(max-width:560px){
  .hp-ribbon-view-all .hp-round-icon{width:34px;height:34px}
  .hp-ribbon-view-all .hp-round-icon svg{width:17px;height:17px}
  .hp-category-ribbon.is-expanded{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 4px;padding:62px 7px 10px}
  .hp-category-ribbon.is-expanded .hp-ribbon-item:not(.hp-ribbon-view-all),.hp-category-ribbon.is-expanded .hp-ribbon-extra{width:auto;min-height:82px;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px;padding:5px 2px;text-align:center}
  .hp-category-ribbon.is-expanded .hp-ribbon-item>span:last-child{display:-webkit-box;min-height:2.5em;max-width:100%;text-align:center;line-height:1.25;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere}
  .hp-category-ribbon.is-expanded .hp-round-icon,.hp-category-ribbon.is-expanded .hp-ribbon-view-all .hp-round-icon{width:42px;height:42px}
  .hp-category-ribbon.is-expanded .hp-round-icon svg{width:24px;height:24px}
  .hp-category-ribbon.is-expanded .hp-ribbon-extra-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 4px}
  .hp-category-ribbon.is-expanded .hp-ribbon-view-all{top:8px;right:8px;min-height:32px;gap:6px;padding:2px 7px}
  .hp-category-ribbon.is-expanded .hp-ribbon-view-all .hp-round-icon{width:26px;height:26px}
  .hp-category-ribbon.is-expanded .hp-ribbon-view-all .hp-round-icon svg{width:14px;height:14px}
  .hp-category-ribbon.is-expanded .hp-ribbon-view-all>span:last-child{font-size:11px}
}
