
.aladan-market{padding-top:20px!important}
.market-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0 0 16px}
.market-section-head h1,.market-section-head h2{font-size:24px;font-weight:800;line-height:1.3;margin:0;color:#18364c}
.market-section-head>a{font-size:14px;color:#087fa3;white-space:nowrap}
.market-category-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin:0 0 30px}
.market-category-grid .home-widget-categories-item{grid-row:auto!important;grid-column:auto!important;position:relative;display:flex!important;align-items:flex-start;width:auto!important;min-width:0!important;height:108px!important;min-height:0!important;margin:0!important;padding:13px!important;overflow:hidden;border:1px solid #e8eff1;border-radius:16px;background:#f1f7f8;transition:background .15s,border-color .15s}
.market-category-grid .home-widget-categories-item:nth-child(3n+2){background:#f3f6fb}
.market-category-grid .home-widget-categories-item:nth-child(3n){background:#f5f7ef}
.market-category-grid .home-widget-categories-item:hover{background:#e5f3f7;border-color:#b7dbe5}
.market-category-grid .home-widget-categories-item>div{position:relative;z-index:1;font-size:12px;font-weight:700;line-height:1.3;max-width:100%;color:#18364c;text-align:left}
.market-category-grid .home-widget-categories-item>img{position:absolute!important;width:65px!important;height:65px!important;object-fit:contain!important;right:6px!important;bottom:0!important;top:auto!important;left:auto!important;transform:none!important;margin:0!important}
.market-feed .container-item-grid{border-radius:16px;overflow:hidden;display:block}
.market-feed .container-item-images{height:auto!important;aspect-ratio:1/1;border-radius:16px;overflow:hidden;background:#f2f5f6}
.market-feed .container-item-images img{object-fit:cover}
.market-feed .container-item-grid-content{padding:10px 2px 20px}
.market-feed .container-item-grid-content-title{font-size:15px;line-height:1.4}
.market-feed .container-item-grid-content-prices{font-size:17px;font-weight:800}
.market-feed-controls{display:flex;flex-direction:column;align-items:center;min-height:96px;padding:22px 0 32px;gap:8px}
.market-feed-controls [hidden]{display:none!important}
.market-feed-controls p{margin:0;color:#687a86;font-size:14px}
@media(min-width:992px){.market-feed>.row{--bs-gutter-y:12px}}
@media(max-width:1199px) and (min-width:768px){.market-category-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:767px){
 .aladan-market{padding-top:12px!important}
 .market-section-head{gap:10px;margin-bottom:12px;align-items:center}
 .market-section-head h1,.market-section-head h2{font-size:19px}
 .market-section-head>a{font-size:12px}
 .market-category-grid{display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,100px);grid-template-columns:none;grid-auto-columns:126px;overflow-x:auto;overscroll-behavior-x:contain;gap:8px;padding-bottom:8px;margin-bottom:20px;scrollbar-width:thin}
 .market-category-grid .home-widget-categories-item{height:100px!important;padding:10px!important;border-radius:13px}
 .market-category-grid .home-widget-categories-item>div{font-size:11px}
 .market-category-grid .home-widget-categories-item>img{width:59px!important;height:59px!important}
 .market-feed .container-item-grid-content-title{font-size:13px}
 .market-feed .container-item-grid-content-prices{font-size:15px}
 .market-feed .container-item-grid-content{padding:8px 0 14px}
}

/* Wide category tiles: two initial rows, with the complete catalog behind disclosure. */
.market-category-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:0}
.market-category-grid .home-widget-categories-item{height:118px!important;padding:16px!important;border:0;border-radius:20px;background:#f3f5f6}
.market-category-grid .home-widget-categories-item:nth-child(3n+2){background:#f0f5f8}
.market-category-grid .home-widget-categories-item:nth-child(3n){background:#f3f6f3}
.market-category-grid .home-widget-categories-item>div{font-size:14px;font-weight:600;max-width:68%;line-height:1.3}
.market-category-grid .home-widget-categories-item>img{width:100px!important;height:100px!important;right:-3px!important;bottom:-8px!important}
.market-category-layout{margin-bottom:26px}
.market-category-disclosure>summary{list-style:none;width:fit-content;margin:12px auto 0;cursor:pointer;color:#087fa3;font-size:13px;font-weight:600;padding:5px 12px}
.market-category-disclosure>summary::-webkit-details-marker{display:none}
.market-category-disclosure[open]>summary{margin-bottom:12px}
.market-category-disclosure[open]>summary i{display:inline-block;transform:rotate(180deg)}
.market-category-extra{padding-top:4px}
@media(max-width:991px) and (min-width:768px){
 .market-category-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
 .market-category-grid .home-widget-categories-item{height:115px!important;padding:12px!important}
 .market-category-grid .home-widget-categories-item>div{font-size:12px;max-width:88%}
 .market-category-grid .home-widget-categories-item>img{width:80px!important;height:80px!important}
}
@media(max-width:767px){
 .market-category-grid{grid-template-columns:none;grid-template-rows:repeat(2,105px);grid-auto-columns:154px;grid-auto-flow:column;gap:8px;padding-bottom:6px}
 .market-category-grid .home-widget-categories-item{height:105px!important;padding:12px!important;border-radius:16px}
 .market-category-grid .home-widget-categories-item>div{font-size:12px;max-width:77%}
 .market-category-grid .home-widget-categories-item>img{width:80px!important;height:80px!important;bottom:-5px!important}
 .market-category-disclosure>summary{margin-top:8px}
 .market-category-layout{margin-bottom:20px}
}

/* HOME business categories: 16-column mosaic for first visible 10 cards */
@media (min-width: 1200px) {
 .home-business-categories{display:grid;grid-template-columns:repeat(16,minmax(0,1fr));gap:12px;margin-bottom:0}
 .home-business-categories .home-widget-categories-item{width:100%!important;min-width:0!important;max-width:none!important;height:132px!important;padding:18px!important;border:0;border-radius:22px;background:#f3f5f6}
 .home-business-categories .home-widget-categories-item:nth-child(3n+2){background:#f0f5f8}
 .home-business-categories .home-widget-categories-item:nth-child(3n){background:#f3f6f3}
 .home-business-categories .home-widget-categories-item>div{font-size:16px;font-weight:600;max-width:62%;line-height:1.25;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
 .home-business-categories .home-widget-categories-item>img{object-fit:contain!important;right:4px!important;bottom:-4px!important;top:auto!important;left:auto!important}
 .home-business-categories .home-widget-categories-item:nth-child(1){grid-column:span 4!important}
 .home-business-categories .home-widget-categories-item:nth-child(2){grid-column:span 4!important}
 .home-business-categories .home-widget-categories-item:nth-child(3){grid-column:span 3!important}
 .home-business-categories .home-widget-categories-item:nth-child(4){grid-column:span 3!important}
 .home-business-categories .home-widget-categories-item:nth-child(5){grid-column:span 2!important}
 .home-business-categories .home-widget-categories-item:nth-child(6){grid-column:span 2!important}
 .home-business-categories .home-widget-categories-item:nth-child(7){grid-column:span 3!important}
 .home-business-categories .home-widget-categories-item:nth-child(8){grid-column:span 4!important}
 .home-business-categories .home-widget-categories-item:nth-child(9){grid-column:span 3!important}
 .home-business-categories .home-widget-categories-item:nth-child(10){grid-column:span 4!important}
 .home-business-categories .home-widget-categories-item:nth-child(1)>img,
 .home-business-categories .home-widget-categories-item:nth-child(2)>img,
 .home-business-categories .home-widget-categories-item:nth-child(8)>img,
 .home-business-categories .home-widget-categories-item:nth-child(10)>img{width:clamp(92px,30%,112px)!important;height:clamp(92px,30%,112px)!important}
 .home-business-categories .home-widget-categories-item:nth-child(3)>img,
 .home-business-categories .home-widget-categories-item:nth-child(4)>img,
 .home-business-categories .home-widget-categories-item:nth-child(7)>img,
 .home-business-categories .home-widget-categories-item:nth-child(9)>img{width:clamp(78px,34%,96px)!important;height:clamp(78px,34%,96px)!important}
 .home-business-categories .home-widget-categories-item:nth-child(5)>img,
 .home-business-categories .home-widget-categories-item:nth-child(6)>img{width:clamp(64px,42%,82px)!important;height:clamp(64px,42%,82px)!important}
}
@media (min-width: 1280px) and (max-width: 1439px) {
 .home-business-categories{gap:11px}
 .home-business-categories .home-widget-categories-item{height:128px!important;padding:16px!important}
 .home-business-categories .home-widget-categories-item>div{font-size:15px;max-width:64%}
}
@media (min-width: 1200px) and (max-width: 1279px) {
 .home-business-categories{gap:10px}
 .home-business-categories .home-widget-categories-item{height:124px!important;padding:15px!important}
 .home-business-categories .home-widget-categories-item>div{font-size:14px;max-width:66%}
}
@media (min-width: 992px) and (max-width: 1199px) {
 .home-business-categories{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
 .home-business-categories .home-widget-categories-item{grid-column:auto!important;height:118px!important;padding:14px!important}
 .home-business-categories .home-widget-categories-item>div{font-size:13px;max-width:72%}
 .home-business-categories .home-widget-categories-item>img{width:84px!important;height:84px!important}
}
