:root{--truvano-purple:#7059E5;--bs-primary:#7059E5}
.btn-primary{--bs-btn-bg:#7059E5;--bs-btn-border-color:#7059E5;--bs-btn-hover-bg:#533cc4;--bs-btn-hover-border-color:#533cc4}
.btn-outline-primary{--bs-btn-color:#7059E5;--bs-btn-border-color:#7059E5;--bs-btn-hover-bg:#7059E5;--bs-btn-hover-border-color:#7059E5}
main,.marketplace-page,.marketplace-page .row>*{min-width:0;max-width:100%}
.truvano-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 10px;width:100%;min-width:0}
.truvano-category-tile{display:flex;min-width:0;flex-direction:column;gap:6px;text-align:center;text-decoration:none;color:var(--text-primary,#171c35);font-size:11px;font-weight:600;line-height:1.25}
.truvano-category-tile[hidden]{display:none}
.truvano-category-tile>span:last-child{min-height:28px;overflow-wrap:anywhere}
.truvano-category-picture{display:grid;place-items:center;aspect-ratio:1;width:100%;border-radius:14px;background:#f0ebff;padding:5px}
.truvano-category-tile:nth-child(4n+2) .truvano-category-picture{background:#ffeef1}
.truvano-category-tile:nth-child(4n+3) .truvano-category-picture{background:#fff5e8}
.truvano-category-tile:nth-child(4n) .truvano-category-picture{background:#eaf6f3}
.truvano-category-picture img{width:100%;height:100%;max-height:100%;object-fit:contain;min-width:0}
.personalized-listings,.market-home-section,.recommendation-row,.market-home-row{min-width:0;max-width:100%}
.recommendation-row{grid-auto-columns:minmax(144px,180px)}
.listing-card,.listing-card-list,.market-home-card{min-width:0;max-width:100%;height:100%}
.listing-card .card-body,.listing-card-list .card-body,.market-home-card__body{min-width:0;overflow-wrap:anywhere}
.listing-card img.card-img-top{width:100%;max-width:100%;aspect-ratio:14/11;object-fit:cover;height:auto!important}
.marketplace-page #latestListings,.marketplace-page #featuredListings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
.marketplace-page #latestListings>.col,.marketplace-page #featuredListings>.col{width:auto;padding:0;min-width:0;max-width:100%}
.auth-card{border-radius:22px!important;border:1px solid #ece8fa!important;box-shadow:0 12px 40px #7059e50a!important}
.auth-card h1,.auth-card .auth-title{color:#7059E5}
.auth-card .form-control{border-radius:10px;min-height:48px;border-color:#e5e3ee}
.auth-card .btn{border-radius:10px;min-height:44px}
@media(min-width:768px){.truvano-category-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}.truvano-category-tile{font-size:13px}.marketplace-page #latestListings,.marketplace-page #featuredListings{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1200px){.truvano-category-grid{grid-template-columns:repeat(8,minmax(0,1fr))}.marketplace-page #latestListings,.marketplace-page #featuredListings{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:767px){
 .navbar>.container-fluid{gap:8px;padding:10px 12px!important;flex-wrap:wrap}
 .navbar>.container-fluid>.col-4{width:auto;min-width:0;flex:1 1 110px}
 .navbar>.container-fluid>.col-8{width:auto;flex:0 0 auto}
 .navbar-brand{margin-right:0}.navbar-brand img{height:28px;width:auto}.navbar-logo-text{font-size:1.1rem!important}
 .navbar .dropdown-menu{max-width:calc(100vw - 24px)}
 .marketplace-page>.row{margin:0}.marketplace-page>.row>[class*=col-]{padding:0}
 .marketplace-page .listing-card.d-flex.flex-row{flex-direction:column!important}
 .marketplace-page .listing-card.d-flex.flex-row img{width:100%;height:auto;aspect-ratio:14/11}
 .marketplace-page .card-body{padding:10px}.listing-item-title{font-size:13px}
 .market-banner-slide{min-height:170px!important;border-radius:16px!important}.market-banner-copy h2{font-size:1.2rem!important}.market-banner-overlay{padding:18px!important}
 .market-quick-actions{gap:8px!important;margin-bottom:16px!important}.market-action-card{padding:10px!important;font-size:11px!important}
 .market-home-section__header{padding:12px!important}.market-home-section__header h2{font-size:17px!important}
 .market-search-panel{min-width:0}.market-search-panel input{min-width:0;width:100%}
}
@media(max-width:339px){.truvano-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

.truvano-auth{background:#fbfaff!important}

@media(max-width:767px){
 .market-banner-carousel{display:flex;flex-direction:column;margin-top:8px}
 .market-search-overlay{position:relative;order:-1;left:auto;right:auto;bottom:auto;margin-bottom:12px}
 .market-search-panel{box-shadow:none;border-color:#e6e1f5;min-height:42px}
 .market-search-field{height:36px}.market-search-submit{height:36px!important;width:40px!important}
 .market-quick-actions{display:none}
 .market-banner-copy p{display:none}.market-banner-copy .btn{padding:7px 16px!important;font-size:12px}
 .market-banner-copy{max-width:75%}.market-banner-overlay{background:linear-gradient(90deg,#281055b0,#28105510)}
 #shop-categories{margin-top:0!important}.mobile-nav-item{position:relative}.mobile-nav-badge{position:absolute;top:4px;right:18%;border-radius:50%;background:#ef4444;color:white;padding:1px 5px;font-size:10px}
 .truvano-auth .auth-container{padding:20px 16px!important}.truvano-auth .auth-card{padding:24px!important}
}

.truvano-auth .auth-header{background:transparent;color:#182035;padding:28px 24px 12px}
.truvano-auth .auth-header .auth-title{font-size:22px;color:#7059E5}.truvano-auth .auth-subtitle{color:#64748b}
.truvano-auth .auth-logo,.truvano-auth .auth-header:before{display:none}

.truvano-auth .registration-container{max-width:460px}
.truvano-auth .registration-card{border:1px solid #ece8fa;border-radius:22px;box-shadow:0 12px 40px #7059e50a}
.truvano-auth .registration-header,.truvano-auth .registration-header.vendor{background:white;color:#7059E5;padding:24px 20px 12px}
.truvano-auth .registration-title{font-size:23px;color:#7059E5}.truvano-auth .registration-subtitle{color:#64748b;font-size:13px}
.truvano-auth .registration-header:before,.truvano-auth .registration-icon{display:none}
.truvano-auth .registration-body{padding:20px}
.truvano-auth .form-section,.truvano-auth .vendor .form-section{padding:0;background:transparent;border:0;margin-bottom:20px}
.truvano-auth .section-title{font-size:12px;margin-bottom:12px;color:#64748b}
.truvano-auth .form-floating{margin-bottom:14px}.truvano-auth .form-floating>.form-control,.truvano-auth .form-floating>.form-select{height:52px;min-height:52px;font-size:14px}
.truvano-auth .form-floating>label{padding:14px 12px;font-size:13px}
.truvano-auth .btn-registration,.truvano-auth .btn-registration.vendor{background:#7059E5;border-color:#7059E5;border-radius:10px;padding:13px}
.truvano-auth .registration-links{padding:16px;background:transparent;font-size:13px}
.truvano-auth .file-upload-area{padding:16px}.truvano-auth .registration-steps{padding:12px}

@media(max-width:767px){.marketplace-page .col-lg-2 .card{position:static!important}.marketplace-page #latestListings>.col-12{grid-column:1/-1}}
