/* Hidden carrier rows must stay hidden even when product cards use display:grid. */
.service-page .db-product-row[hidden]{display:none!important}
@media(max-width:760px){
 .service-page .detail-panel,.service-page .detail-block,.service-page .social-ads-tiles{min-width:0;max-width:100%;box-sizing:border-box}
 .service-page .social-ads-tile{width:100%;max-width:100%;min-width:0;box-sizing:border-box;display:flex!important;gap:12px!important;padding:14px!important;align-items:center}
 .service-page .social-ads-tile .art{position:static!important;inset:auto!important;margin:0!important;transform:none!important;flex:0 0 82px!important;width:82px!important;height:76px!important;min-width:0;gap:6px!important}
 .service-page .social-ads-tile .brand-icon{flex-shrink:0;width:34px!important;height:34px!important;border-radius:10px!important}
 .service-page .social-ads-tile .brand-icon svg{width:23px!important;height:23px!important}
 .service-page .social-ads-tile .art.tiktok .brand-icon{width:58px!important;height:58px!important}
 .service-page .social-ads-tile .art.tiktok img{width:48px!important;height:48px!important;max-width:100%}
 .service-page .social-ads-copy{min-width:0!important;flex:1 1 0!important;white-space:normal!important;overflow-wrap:anywhere;word-break:normal}
 .service-page .social-ads-copy strong,.service-page .social-ads-copy small{display:block;max-width:100%;white-space:normal!important;overflow-wrap:anywhere;line-height:1.7}
 .service-page .social-ads-copy strong{font-size:16px!important}
 .service-page .social-ads-copy small{font-size:13px!important}
 .service-page .social-ads-tile>.arrow{flex:0 0 20px!important;width:20px!important;position:static!important;margin:0!important}
 .service-page .db-product-row{min-width:0;max-width:100%;box-sizing:border-box}
 .service-page .db-product-row .price-row-name{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
}

/* A real, separate badge row on mobile; desktop keeps the corner badge. */
.product-stock-lane{display:contents}
@media(max-width:760px){
 .service-page .db-product-row{display:flex!important;flex-direction:column!important;align-items:stretch!important}
 .service-page .db-product-row[hidden]{display:none!important}
 .service-page .db-product-row>.product-stock-lane{display:flex!important;align-items:center;justify-content:flex-start;box-sizing:border-box;min-height:36px;padding:10px 10px 2px;flex:0 0 auto;order:-1}
 .service-page .db-product-row>.product-stock-lane:empty{display:none!important}
 .service-page .product-stock-lane>.product-stock-label{position:static!important;inset:auto!important;transform:none!important;max-width:100%!important;margin:0!important;font-size:10px!important;line-height:15px!important;min-height:22px!important;padding:2px 7px!important}
 .service-page .db-product-row>.database-product-art{position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:84px!important;min-height:84px!important;box-sizing:border-box!important;padding:10px 12px!important;margin:0!important;flex:0 0 auto;transform:none!important;overflow:hidden}
 .service-page .db-product-row>.database-product-art img{position:static!important;inset:auto!important;display:block!important;width:auto!important;height:auto!important;max-height:58px!important;max-width:100%!important;margin:0!important;transform:none!important;object-fit:contain!important}
}

/* Larger product tiles with a clear action, preserving the separate stock lane. */
.service-page .price-row.db-product-row{min-height:400px!important;padding-bottom:18px!important}
.service-page .db-product-row>.product-order-now{display:block;box-sizing:border-box;width:calc(100% - 32px);justify-self:center;align-self:center;margin:16px 16px 0;padding:12px 16px;min-height:46px;border:0;border-radius:12px;background:#ff7911;color:#120b04;font-weight:700;font-size:16px;line-height:1.4;font-family:inherit;cursor:pointer;transition:background .15s,transform .15s}
.service-page .db-product-row>.product-order-now:hover{background:#ff952e;transform:translateY(-1px)}
.service-page .db-product-row>.product-order-now:focus-visible{outline:3px solid #ffdc68;outline-offset:3px}
.service-page .db-product-row>.product-order-now:disabled{background:#34363b;color:#aeb3be;cursor:not-allowed;transform:none}
@media(max-width:760px){
 .service-page .price-row.db-product-row{min-height:320px!important;padding-bottom:12px!important}
 .service-page .db-product-row>.product-order-now{margin:18px 10px 0;width:calc(100% - 20px);padding:10px 6px;font-size:14px;min-height:42px}
 .service-page .db-product-row>.database-price{margin-top:auto!important}
}

/* Keep content together instead of stretching the space above the price. */
.service-page .price-row.db-product-row{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:0!important;min-height:0!important;padding-bottom:14px!important}
.service-page .price-row.db-product-row>.price-row-name{margin:12px 0 6px!important;line-height:1.5}
.service-page .price-row.db-product-row>.product-quantity-label,
.service-page .price-row.db-product-row>.tiktok-coin-amount{margin:6px 0!important;line-height:1.5}
.service-page .price-row.db-product-row>.database-price{margin:10px 0 4px!important;line-height:1.5}
.service-page .price-row.db-product-row>.product-order-now{margin-top:14px!important;flex:0 0 auto}
@media(max-width:760px){
 .service-page .price-row.db-product-row>.price-row-name{margin:10px 0 5px!important}
 .service-page .price-row.db-product-row>.database-price{margin:8px 0 3px!important}
 .service-page .price-row.db-product-row>.product-order-now{margin-top:12px!important}
}

/* Filtering must win over every desktop and mobile card layout rule. */
.service-page .price-row.db-product-row[hidden]{display:none!important}
