/* AlgiBazar store page header — own design (Mobile Fit 0.2.0). Dokan store pages only. */
.dokan-single-store-header.is-panel{background:#fff!important;color:#0f172a!important;border:1px solid #e2e8f0;border-radius:22px!important;box-shadow:0 12px 32px rgba(15,23,42,.08);overflow:hidden;margin-bottom:1.5rem!important;padding:0!important}
.dokan-single-store-header>.wp-block-columns{flex-direction:column-reverse!important;gap:0!important;margin:0!important}
.dokan-single-store-header,.dokan-single-store-header *{box-sizing:border-box}
.dokan-single-store-header>.wp-block-columns>.wp-block-column{flex-basis:auto!important;width:100%!important;max-width:100%!important;min-width:0}
/* Cover */
.dokan-single-store-header .wp-block-dokan-store-banner{margin:0;height:220px;background:linear-gradient(135deg,#0b3b8c 0%,#205cc8 55%,#22b8cf 100%);position:relative}
.dokan-single-store-header .wp-block-dokan-store-banner__image{width:100%!important;height:220px!important;object-fit:cover;display:block}
.dokan-single-store-header .wp-block-dokan-store-banner__image[src*="default-store-banner"]{opacity:0}
.dokan-single-store-header .wp-block-dokan-store-banner:after{content:"";position:absolute;inset:auto 0 0 0;height:60px;background:linear-gradient(transparent,rgba(0,0,0,.18))}
/* Info area */
.dokan-single-store-header>.wp-block-columns>.wp-block-column:first-child{padding:0 24px 22px!important;position:relative}
.dokan-single-store-header .wp-block-dokan-store-avatar{margin:-58px 0 10px;width:112px;height:112px;border-radius:50%;background:#fff;padding:5px;box-shadow:0 8px 22px rgba(15,23,42,.16);position:relative;z-index:1}
.dokan-single-store-header .wp-block-dokan-store-avatar__image{width:102px!important;height:102px!important;border-radius:50%;object-fit:cover;display:block}
.dokan-single-store-header .wp-block-dokan-store-name{color:#0f172a!important;font-size:clamp(22px,5.4vw,30px)!important;font-weight:800;line-height:1.2;margin:0 0 4px!important;letter-spacing:-.01em}
.dokan-single-store-header .ab-owner-inline{display:block;margin-top:4px;font-size:14px;font-weight:500;color:#64748b}
.dokan-single-store-header .ab-owner-inline a{color:#205cc8!important;text-decoration:none;font-weight:600}
.dokan-single-store-header .dokan-store-info{list-style:none!important;margin:12px 0 0!important;padding:0!important;display:flex;flex-wrap:wrap;gap:8px 18px;color:#334155!important;font-size:14px}
.dokan-single-store-header .dokan-store-info>li{margin:0!important;padding:0!important;display:flex;align-items:center;gap:7px;color:#334155!important;line-height:1.4}
.dokan-single-store-header .dokan-store-info>li>i{color:#205cc8!important;width:16px;text-align:center}
.dokan-single-store-header .dokan-store-info a{color:#0f172a!important;text-decoration:none;font-weight:600}
.dokan-single-store-header .dokan-store-rating{color:#64748b!important}
.dokan-single-store-header .dokan-store-rating i{color:#f59e0b!important}
/* Pickup card: keep entrance + directions, hide repeated name/address/phone */
.dokan-single-store-header .dokan-store-info>li:has(.ab-card){flex-basis:100%}
main .dokan-single-store-header .dokan-store-info li .ab-card{width:100%;max-width:100%;background:#f8fafc!important;border:1px solid #e2e8f0!important;border-radius:14px!important;padding:10px 14px!important;margin:4px 0 0!important;display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;color:#334155!important;box-shadow:none!important}
.dokan-single-store-header .ab-card>strong,.dokan-single-store-header .ab-card>p:nth-of-type(-n+2){display:none!important}
.dokan-single-store-header .ab-card p{margin:0!important;color:#334155!important;font-size:14px}
main .dokan-single-store-header .dokan-store-info li .ab-card a[href]{margin-left:auto;background:#205cc8!important;color:#fff!important;border-radius:999px!important;padding:8px 16px!important;display:inline-block;font-weight:600;font-size:13px;text-decoration:none!important;white-space:nowrap}
/* Trust badges */
.dokan-single-store-header .sfm4u-sf-trust{flex-basis:100%;display:flex!important;flex-wrap:wrap;gap:8px!important;margin:6px 0 0!important}
.dokan-single-store-header .sfm4u-sf-trust span{background:#f1f5f9!important;border:1px solid #e2e8f0!important;color:#0f172a!important;border-radius:999px!important;padding:6px 12px!important;font-size:13px!important;line-height:1.3;font-weight:500}
.dokan-single-store-header .sfm4u-sf-trust .sfm4u-sf-badge{background:linear-gradient(135deg,#111827,#1f2937)!important;color:#fde68a!important;border:1px solid #c9a227!important;font-weight:700!important;flex-basis:100%;text-align:center;letter-spacing:.02em}
/* Tabs under header */
.dokan-store-tabs .dokan-store-tab-list{display:flex;gap:8px;overflow-x:auto;padding:2px 0 6px;scrollbar-width:none}
.dokan-store-tabs .dokan-store-tab a{display:block;border:1px solid #e2e8f0;border-radius:999px;padding:8px 16px;background:#fff;color:#0f172a;text-decoration:none;white-space:nowrap;font-weight:600}
.dokan-store-tabs .dokan-store-tab.is-active a{background:#205cc8;border-color:#205cc8;color:#fff}
@media (min-width:768px){
  .dokan-single-store-header .wp-block-dokan-store-banner,.dokan-single-store-header .wp-block-dokan-store-banner__image{height:260px!important}
  .dokan-single-store-header>.wp-block-columns>.wp-block-column:first-child{padding:0 36px 28px!important}
  .dokan-single-store-header .wp-block-dokan-store-avatar{margin-top:-70px;width:136px;height:136px}
  .dokan-single-store-header .wp-block-dokan-store-avatar__image{width:126px!important;height:126px!important}
  .dokan-single-store-header .sfm4u-sf-trust .sfm4u-sf-badge{flex-basis:auto}
}
@media (max-width:600px){
  .dokan-single-store-header.is-panel{border-radius:18px!important}
  .dokan-single-store-header .wp-block-dokan-store-banner,.dokan-single-store-header .wp-block-dokan-store-banner__image{height:150px!important}
  .dokan-single-store-header>.wp-block-columns>.wp-block-column:first-child{padding:0 16px 18px!important}
  .dokan-single-store-header .wp-block-dokan-store-avatar{margin-top:-48px;width:96px;height:96px}
  .dokan-single-store-header .wp-block-dokan-store-avatar__image{width:86px!important;height:86px!important}
  .dokan-single-store-header .dokan-store-info{flex-direction:column;gap:8px}
  .dokan-single-store-header .dokan-store-info .ab-card a[href]{margin-left:0}
}
