/* BAZARCO PRO 380.8.3.4.2.1.19
 * Platform logo/favicon uploads, natural-ratio header identity,
 * four-card storefront offers, and centered finite homepage feeds.
 */

/* A real wordmark keeps its intrinsic ratio. The canvas never crops, stretches,
 * translates, or inherits the historical cover rule from first-paint CSS. */
.market-header .brand.premium-brand.platform-brand-v3808342116.identity-logo-only{
  min-height:68px!important;
  width:min(100%,290px)!important;
  max-width:290px!important;
  padding:4px 10px!important;
  justify-content:center!important;
  overflow:visible!important;
}
.market-header .brand.premium-brand.platform-brand-v3808342116.identity-logo-only .brand-mark.platform-brand-mark-v3808342116{
  flex:0 1 270px!important;
  flex-basis:270px!important;
  width:min(100%,270px)!important;
  min-width:0!important;
  max-width:270px!important;
  height:62px!important;
  min-height:62px!important;
  max-height:62px!important;
  margin:0 auto!important;
  padding:4px 8px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
.market-header .brand.premium-brand.platform-brand-v3808342116.identity-logo-only .brand-mark.platform-brand-mark-v3808342116 img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  max-width:100%!important;
  max-height:100%!important;
  margin:auto!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
  clip-path:none!important;
  border-radius:0!important;
}
.market-header .brand.premium-brand.platform-brand-v3808342116.identity-name-logo .brand-mark.platform-brand-mark-v3808342116{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
}
.market-header .brand.premium-brand.platform-brand-v3808342116.identity-name-logo .brand-mark.platform-brand-mark-v3808342116 img{
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
}
@media(max-width:520px){
  .market-header .brand.premium-brand.platform-brand-v3808342116.identity-logo-only{
    width:min(100%,240px)!important;
    max-width:240px!important;
    min-height:58px!important;
  }
  .market-header .brand.premium-brand.platform-brand-v3808342116.identity-logo-only .brand-mark.platform-brand-mark-v3808342116{
    flex-basis:220px!important;
    width:min(100%,220px)!important;
    max-width:220px!important;
    height:52px!important;
    min-height:52px!important;
    max-height:52px!important;
  }
}

/* Admin-owned files: compact previews, clear upload priority and safe removal. */
.platform-brand-assets-v3808342119{
  padding:18px!important;
  border:1px solid #bfdbfe!important;
  border-radius:24px!important;
  background:linear-gradient(135deg,#f8fbff,#eef6ff)!important;
  box-sizing:border-box!important;
}
.platform-brand-assets-v3808342119>header{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:16px!important;
  margin-bottom:14px!important;
}
.platform-brand-assets-v3808342119>header span{
  display:block!important;
  color:#2563eb!important;
  font-size:11px!important;
  font-weight:1000!important;
  letter-spacing:.04em!important;
}
.platform-brand-assets-v3808342119>header h3{margin:4px 0!important;color:#0f172a!important;font-size:21px!important}
.platform-brand-assets-v3808342119>header p{margin:0!important;color:#64748b!important;font-size:12px!important;font-weight:800!important;line-height:1.7!important}
.platform-brand-assets-v3808342119>header>b{
  flex:0 0 auto!important;
  padding:7px 10px!important;
  border:1px solid #bbf7d0!important;
  border-radius:999px!important;
  background:#f0fdf4!important;
  color:#166534!important;
  font-size:11px!important;
}
.platform-brand-assets-grid-v3808342119{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
}
.platform-brand-asset-card-v3808342119{
  min-width:0!important;
  padding:15px!important;
  display:grid!important;
  grid-template-columns:112px minmax(0,1fr)!important;
  gap:11px 14px!important;
  align-items:center!important;
  border:1px solid #dbeafe!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 12px 30px rgba(15,23,42,.045)!important;
}
.platform-brand-asset-card-v3808342119>div>b{display:block!important;color:#0f172a!important;font-size:16px!important}
.platform-brand-asset-card-v3808342119>div>small{display:block!important;margin-top:5px!important;color:#64748b!important;font-weight:800!important;line-height:1.65!important}
.platform-brand-asset-preview-v3808342119{
  width:112px!important;
  height:68px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid #dbeafe!important;
  border-radius:15px!important;
  background:linear-gradient(135deg,#0f2f74,#6d28d9)!important;
  overflow:hidden!important;
  color:#fff!important;
  font-size:28px!important;
}
.platform-brand-asset-preview-v3808342119.is-favicon{width:68px!important;justify-self:center!important}
.platform-brand-asset-preview-v3808342119 img{display:block!important;width:auto!important;height:auto!important;max-width:94%!important;max-height:88%!important;object-fit:contain!important}
.platform-brand-asset-preview-v3808342119.is-favicon img{width:52px!important;height:52px!important;max-width:52px!important;max-height:52px!important;border-radius:12px!important}
.platform-brand-asset-card-v3808342119>label{grid-column:1/-1!important;margin:0!important}
.platform-upload-field-v3808342119{
  padding:11px 12px!important;
  border:1px dashed #93c5fd!important;
  border-radius:14px!important;
  background:#eff6ff!important;
  color:#1d4ed8!important;
}
.platform-upload-field-v3808342119 input[type=file]{display:block!important;width:100%!important;margin-top:7px!important;padding:8px!important;background:#fff!important}
.platform-remove-asset-v3808342119{display:flex!important;align-items:center!important;gap:8px!important;color:#9f1239!important;font-size:12px!important}
.platform-remove-asset-v3808342119 input{width:18px!important;height:18px!important;margin:0!important}
.platform-brand-assets-note-v3808342119{margin:13px 0 0!important;color:#475569!important;font-size:12px!important;font-weight:850!important;line-height:1.75!important}
@media(max-width:900px){
  .platform-brand-assets-grid-v3808342119{grid-template-columns:1fr!important}
}
@media(max-width:560px){
  .platform-brand-assets-v3808342119>header{display:grid!important}
  .platform-brand-assets-v3808342119>header>b{width:max-content!important}
  .platform-brand-asset-card-v3808342119{grid-template-columns:82px minmax(0,1fr)!important;padding:12px!important}
  .platform-brand-asset-preview-v3808342119{width:82px!important;height:58px!important}
  .platform-brand-asset-preview-v3808342119.is-favicon{width:58px!important;height:58px!important}
  .platform-brand-asset-preview-v3808342119.is-favicon img{width:46px!important;height:46px!important}
}

/* Store offers use the same professional catalog density: four readable cards
 * on a wide desktop, then 3/2/1 without forcing five cramped columns. */
#tab-offers.storefront-offers-four-card-authority-v3808342119>.container{
  width:min(96vw,1600px)!important;
  max-width:1600px!important;
  margin-inline:auto!important;
}
#tab-offers.storefront-offers-four-card-authority-v3808342119 .storefront-offers-grid-v3808342119{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:20px!important;
  justify-content:stretch!important;
  justify-items:stretch!important;
  align-items:stretch!important;
  width:100%!important;
  max-width:none!important;
}
#tab-offers.storefront-offers-four-card-authority-v3808342119 .storefront-offers-grid-v3808342119>.product-card-pro{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:100%!important;
  margin:0!important;
}
#tab-offers.storefront-offers-four-card-authority-v3808342119 .storefront-offers-grid-v3808342119>.empty{grid-column:1/-1!important}
@media(max-width:1320px){
  #tab-offers.storefront-offers-four-card-authority-v3808342119 .storefront-offers-grid-v3808342119{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:980px){
  #tab-offers.storefront-offers-four-card-authority-v3808342119 .storefront-offers-grid-v3808342119{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
}
@media(max-width:680px){
  #tab-offers.storefront-offers-four-card-authority-v3808342119>.container{width:100%!important;padding-inline:10px!important}
  #tab-offers.storefront-offers-four-card-authority-v3808342119 .storefront-offers-grid-v3808342119{grid-template-columns:minmax(0,min(100%,470px))!important;justify-content:center!important;gap:18px!important}
}

/* The feed is finite and content-sized. Flex wrapping is intentional here:
 * unlike a fixed CSS grid it centers a partial final row without stretching
 * two real offers into six fake-looking columns. */
body.view-home .home-product-feed-v380834219 .home-product-feed-grid-v380834219{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  align-items:stretch!important;
  align-content:flex-start!important;
  min-height:0!important;
  height:auto!important;
  gap:18px 14px!important;
  padding:22px 24px 24px!important;
}
body.view-home .home-product-feed-v380834219 .home-product-feed-grid-v380834219>.home-compact-product-card-v38083421{
  flex:0 1 calc((100% - 70px)/6)!important;
  width:calc((100% - 70px)/6)!important;
  min-width:0!important;
  max-width:260px!important;
  height:auto!important;
  align-self:stretch!important;
}
body.view-home .home-product-feed-v380834219 .home-product-feed-grid-v380834219>.empty{
  flex:1 1 100%!important;
  width:100%!important;
  max-width:none!important;
}
body.view-home .home-product-feed-skeletons-v380834219[hidden],
body.view-home .home-product-feed-controls-v380834219 [hidden]{display:none!important}
body.view-home .home-product-feed-controls-v380834219{
  min-height:0!important;
  height:auto!important;
  padding-top:13px!important;
}
body.view-home .home-product-feed-end-v380834219{margin-bottom:0!important}
body.view-home .home-daily-deals-section-v380834211,
body.view-home .home-product-discovery-section-v380834219{min-height:0!important}
@media(max-width:1180px){
  body.view-home .home-product-feed-v380834219 .home-product-feed-grid-v380834219>.home-compact-product-card-v38083421{flex-basis:calc((100% - 56px)/5)!important;width:calc((100% - 56px)/5)!important}
}
@media(max-width:980px){
  body.view-home .home-product-feed-v380834219 .home-product-feed-grid-v380834219>.home-compact-product-card-v38083421{flex-basis:calc((100% - 42px)/4)!important;width:calc((100% - 42px)/4)!important}
}
@media(max-width:780px){
  body.view-home .home-product-feed-v380834219 .home-product-feed-grid-v380834219{gap:16px 12px!important;padding:20px 14px!important}
  body.view-home .home-product-feed-v380834219 .home-product-feed-grid-v380834219>.home-compact-product-card-v38083421{flex-basis:calc((100% - 12px)/2)!important;width:calc((100% - 12px)/2)!important;max-width:360px!important}
}
@media(max-width:620px){
  body.marketak-responsive-v18952858.view-home .home-product-feed-v380834219 .home-product-feed-grid-v380834219{
    width:calc(100% + 32px)!important;
    max-width:none!important;
    margin-inline:-16px!important;
    padding:22px 12px 16px!important;
    gap:20px!important;
  }
  body.marketak-responsive-v18952858.view-home .home-product-feed-v380834219 .home-product-feed-grid-v380834219>.home-compact-product-card-v38083421{
    flex:0 1 min(100%,470px)!important;
    width:min(100%,470px)!important;
    max-width:470px!important;
  }
}

html[data-marketak-theme="dark"] .platform-brand-assets-v3808342119,
html[data-marketak-theme="dark"] .platform-brand-asset-card-v3808342119{background:linear-gradient(145deg,#0b1628,#111c31)!important;border-color:rgba(96,165,250,.34)!important}
html[data-marketak-theme="dark"] .platform-brand-assets-v3808342119 :is(h3,b),
html[data-marketak-theme="dark"] .platform-brand-asset-card-v3808342119 :is(label,input){color:#f8fbff!important}
html[data-marketak-theme="dark"] .platform-brand-assets-v3808342119 :is(p,small){color:#cbd5e1!important}
