/* Common sizing for shared surfaces. Keep touch targets stable when copy wraps. */
body {--suya-gutter:clamp(14px,3vw,40px);--suya-touch:44px}
img,video {max-inline-size:100%}
body :is(h1,h2,h3,p,label,summary,.tile-info,.list-row,.panel-item) {overflow-wrap:break-word}
body :is(.button,.sb-button,.text-link,.tabs>a,.recovery-actions>a) {gap:7px;white-space:normal}
body :is(.button,.sb-button) {min-block-size:var(--suya-touch);line-height:1.25;text-align:center}
body :is(.button,.sb-button,.text-link,summary) svg {flex-shrink:0}
body :is(.round,.product-photo>.heart,.workspace-menu-trigger) {min-inline-size:var(--suya-touch);min-block-size:var(--suya-touch);flex-shrink:0}
body :is(.fields,.checkout-delivery,.account-card,.dash-card,.form-page,.section-head,.list-row) {min-inline-size:0}
body :is(.fields,.checkout-delivery) :is(input:not([type=checkbox],[type=radio]),textarea,select) {min-inline-size:0;max-inline-size:100%;min-block-size:var(--suya-touch)}
body :is(.tabs,.recovery-actions,.account-actions,.s-product-subactions,.brand-actions) {flex-wrap:wrap;gap:8px}
body :is(.s-product-subactions,.brand-related,.brand-actions) a {min-block-size:var(--suya-touch);display:inline-flex;align-items:center}
body .section-head {flex-wrap:wrap;align-items:center;gap:8px 14px}
body .section-head>* {min-inline-size:0}
body .section-head :is(h1,h2,h3) {margin-block:0}
body .list-row {gap:8px 12px}
body .list-row>div {min-inline-size:0}
body .list-row small {white-space:normal}
body :is(.brand-questions,.public-questions,.website-faq,.s-store-details,.s-product-policies) details>summary {padding:12px 15px;line-height:1.4}
body :is(.brand-questions,.public-questions,.website-faq,.s-store-details,.s-product-policies) details[open]>p {margin:10px 15px 14px;line-height:1.6}
body .product-specs {margin:10px 0 12px}
body .product-specs p {line-height:1.55;color:#4d4552}
body dialog {max-inline-size:calc(100% - 2 * var(--suya-gutter));max-block-size:calc(100dvh - 2 * var(--suya-gutter));overflow:auto;overscroll-behavior:contain}
body[data-surface] #panel {inline-size:min(480px,calc(100% - 2 * var(--suya-gutter)));padding:clamp(14px,3vw,24px);max-block-size:calc(100dvh - 2 * var(--suya-gutter))}
body .panel-head {gap:10px;margin-block-end:13px;align-items:center}
body .panel-head h2 {margin:0}
body .panel-item {display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:10px;align-items:center;min-block-size:63px;padding-block:8px}
body .panel-item:not(:has(>img)) {grid-template-columns:minmax(0,1fr) auto}
body .panel-item img {inline-size:54px;block-size:54px;object-fit:cover;border-radius:10px}
body .panel-item button {min-block-size:44px;padding:6px 10px}
body .panel-item p {margin:4px 0 0;line-height:1.35}
body .panel-total {margin-block:12px}
body .panel-checkout {inline-size:100%}
body .brand .suya-mark,body .market-logo .suya-mark {flex:none;object-fit:contain}
body .market-utilities .main-save-label {display:none}
body .market-utilities [data-account-short] {max-inline-size:none;white-space:nowrap}
body .collection-pickup {padding:clamp(14px,3vw,24px);margin-block:18px;border:1px solid #e6e2ee;background:white;border-radius:18px}
body .collection-pickup h2 {font-size:clamp(19px,3vw,24px);margin:0}
body .collection-pickup [data-pickup-total] {font-variant-numeric:tabular-nums;font-weight:700}
body .pickup-choice {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 14px;padding:14px 0;border-top:1px solid #e8e8f0;align-items:center}
body .pickup-choice p {margin:0;grid-column:1;color:#595864;font-size:14px}
body .pickup-choice button {grid-column:2;grid-row:1/3;min-width:0}
body .s-product-canvas {min-width:0}
body .s-variant-buttons {flex-wrap:wrap;column-gap:7px;row-gap:6px}
body .s-variant-buttons button {min-height:44px;padding:6px 12px;line-height:1.2;border-radius:999px}
body .store-language-options {min-width:140px;max-width:calc(100vw - 32px)}
body .product-seller {max-inline-size:100%}
body .seller-product-name b {min-width:0}
body .workspace-menu nav a {min-width:0;gap:7px}
body .workspace-menu nav a svg {flex:none}
@media(max-width:760px){
  body[data-surface=consumer] .market-dock {
    left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));
    bottom:max(8px,env(safe-area-inset-bottom));height:58px;
    display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding:4px;gap:0;
  }
  body[data-surface=consumer] .market-dock+.market-utilities {
    position:fixed;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;
    width:calc((100vw - max(8px,env(safe-area-inset-left)) - max(8px,env(safe-area-inset-right)) - 8px) / 3);
    right:calc(max(8px,env(safe-area-inset-right)) + 4px);
    bottom:calc(max(8px,env(safe-area-inset-bottom)) + 4px);
    height:50px;
  }
  body[data-surface=consumer] :is(.market-dock,.market-utilities) :is(button,a) {
    inline-size:100%;min-inline-size:0;height:48px;border-radius:14px;
    flex-direction:column;gap:3px;white-space:nowrap;
  }
  body[data-surface=consumer] :is(.market-dock,.market-utilities) :is(button,a) svg {width:19px;height:19px}
  body[data-surface=consumer] .market-dock a[aria-label="Made in Africa"] {display:none}
  body[data-surface=consumer] :is(.market-dock,.market-utilities) :is(button,a)>span {display:block;font-size:10px;font-weight:680;line-height:1;max-width:100%;overflow:hidden;text-overflow:ellipsis}
  body[data-surface=consumer] .main-save-label {font-size:10px}
  body[data-surface=consumer] .market-dock i {right:5px;top:4px;max-width:26px}
  body[data-surface=consumer]>.s-main {padding-bottom:9px}
  body[data-surface=consumer] .shop-slide-copy {max-inline-size:calc(100% - 30px)}
  body[data-surface=consumer] .shop-slide-copy :is(h1,h2) {font-size:clamp(29px,8.5vw,43px);line-height:1.02}
  body[data-surface=consumer] .market-search input {font-size:16px}
  body[data-surface=consumer] .shop-inner-header .market-search input {font-size:16px}
  body[data-surface] #panel {max-block-size:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 20px)}
  body[data-view=workspace] .workspace-heading .button {font-size:12px}
  body .merchant-order-summary {display:flex;flex-wrap:wrap;justify-content:flex-start}
  body .brand-feature-hero h1,body .seller-hero h1 {max-width:100%}
  body .s-store-logo {min-width:0}
  body .s-store-logo span {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
@media(max-width:380px){
  body[data-surface=consumer] .market-search input {font-size:14px}
  body[data-surface=consumer] .shop-inner-header .market-search input {font-size:14px}
  body .panel-item {grid-template-columns:42px minmax(0,1fr) auto;gap:6px}
  body .panel-item img {inline-size:42px;block-size:42px}
  body[data-view=workspace] .seller-product-name .metric-icon {display:none!important}
  body[data-view=workspace] .seller-product-head,body[data-view=workspace] .seller-products li>a {grid-template-columns:minmax(74px,1.3fr) minmax(36px,.65fr) minmax(42px,.75fr) auto}
}
@media(max-width:760px){
  body[data-surface=consumer] .market-dock+.market-utilities {
    width:calc((100% - max(8px,env(safe-area-inset-left)) - max(8px,env(safe-area-inset-right)) - 10px) / 3);
    right:calc(max(8px,env(safe-area-inset-right)) + 5px);
  }
  body[data-surface=consumer] .s-product-gallery {margin:0;min-width:0}
  body[data-surface=consumer] .s-product-copy .s-purchase-actions {
    position:static;
    inset:auto;
    width:100%;
    margin:10px 0;
    padding:0;
    background:none;
    border:0;
    box-shadow:none;
    backdrop-filter:none;
  }
  body[data-surface=consumer] .s-product-copy .s-purchase-actions .button {min-height:48px;font-size:14px;border-radius:24px}
  body[data-surface=consumer] .s-product-copy h1 {max-width:100%}
}
body .product-help-links {display:flex;flex-wrap:wrap;gap:3px 12px;padding-inline:15px}
/* One responsive navigation system, without overlapping fixed search and dock layers. */
body[data-surface=consumer] .market-desktop-links {display:flex;align-items:center;gap:clamp(10px,1.25vw,20px);white-space:nowrap}
body[data-surface=consumer] .market-desktop-links a {font-size:14px;font-weight:650;min-height:44px;display:flex;align-items:center}
body[data-surface=consumer] .market-header-start {gap:clamp(14px,2vw,30px)}
body[data-surface=consumer] .market-utility-top {gap:6px;white-space:nowrap}
body[data-surface=consumer] .market-sign-in {max-width:120px;overflow:hidden;text-overflow:ellipsis}
body[data-surface=consumer] .market-sign-in span {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body[data-surface=consumer] .market-desktop-action {display:grid;place-items:center;border:0;background:white}
body[data-surface=consumer] :is(.market-header,.shop-inner-header) .market-search {position:relative;inset:auto;transform:none;flex:1;width:auto;max-width:520px;min-width:160px;box-shadow:0 2px 12px #15132410}
body[data-surface=consumer] .shop-inner-header .market-search>.s-search-results {top:calc(100% + 8px);bottom:auto}
body[data-surface=consumer] .market-dock {width:56px;min-height:0}
body[data-surface=consumer] .market-dock .market-me {flex-direction:column;gap:1px}
body[data-surface=consumer] .market-dock .market-me span {display:block;font-size:10px;white-space:nowrap}
body .consumer-footer {grid-template-columns:repeat(5,minmax(0,1fr));gap:24px}
body .consumer-footer .footer-brand {grid-column:1/-1}
body .consumer-footer nav a {min-block-size:36px;line-height:1.35}
body .event-feature-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
body .event-feature-grid article {padding:20px;background:white;border-radius:20px;min-width:0}
body .event-feature-grid img {width:100%;aspect-ratio:3/2;object-fit:cover;height:auto;border-radius:14px}
body .event-feature-grid article h2 {margin:14px 0 8px}
body .event-feature-grid article p {margin:0 0 14px;line-height:1.5}
body .event-calendar-card {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 16px;padding:18px;border:1px solid #e8e8f0;border-radius:16px;margin-block:10px;text-decoration:none;color:inherit}
body .event-calendar-card :is(h3,p,span) {grid-column:1;margin:0}
body .event-calendar-card svg {grid-column:2;grid-row:1/4;align-self:center}
body .market-directory-page {max-width:1120px;margin:auto;padding-block:24px}
body .maker-directory-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(230px,100%),1fr));gap:14px;margin-block:24px}
body .maker-directory-grid article {background:white;border:1px solid #e8e8f0;border-radius:16px;min-width:0;padding:18px;display:grid;gap:10px;align-content:start}
body .maker-directory-grid article h2 {font-size:20px;margin:0}
body .maker-directory-grid article p {margin:0;font-size:14px;line-height:1.45;color:#595864}
body .maker-directory-grid article a {min-height:44px;align-items:center;display:flex}
body .maker-directory-grid article img {aspect-ratio:4/3;width:100%;height:auto;object-fit:cover;border-radius:12px}
body .maker-directory-grid .button {justify-content:center}
body .market-home-links {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0 36px}
body .market-home-links article {display:flex;flex-direction:column;align-items:flex-start;gap:10px;background:white;border-radius:20px;padding:clamp(18px,2.5vw,30px);min-width:0}
body .market-home-links article h2 {font-size:clamp(22px,2.3vw,34px);margin:0;line-height:1.12}
body .market-home-links article p {margin:0;line-height:1.5}
body .market-home-links article a {margin-top:auto}
body .market-directory-page .recovery-search {max-width:680px;margin:24px 0 28px;display:grid;gap:10px}
body .market-directory-page .recovery-search label {display:grid;gap:8px;margin:0;font-size:14px;font-weight:600}
body .market-directory-page .recovery-search label:last-child {max-width:320px;margin-top:6px}
body .market-directory-page .recovery-search select {width:100%;min-height:48px;box-sizing:border-box}
body .market-directory-page .recovery-search .button {min-height:48px;justify-content:center}
body .public-page :is(h2,h3) {line-height:1.16}
body .public-page .public-sections {gap:clamp(16px,3vw,30px)}
body .shop-slide-copy .hero-secondary {margin-left:6px}
body .brand-questions details>summary::marker,body .public-questions details>summary::marker {content:''}
body .public-questions details>summary {display:flex;justify-content:space-between;align-items:center;gap:16px;cursor:pointer;list-style:none;min-height:48px}
body .public-questions details>summary::after {content:'+';font-size:22px;font-weight:400;flex:none;color:inherit}
body .public-questions details[open]>summary::after {content:'−'}
body .brand-tool-directory li a {min-height:44px;align-items:center;gap:12px}
body .s-product-copy .s-product-description {font-size:15px;line-height:1.6;color:#42414b}
body .s-product-copy .product-specs p {font-size:14px;line-height:1.6}
body .sb-auth :is(.sb-small-note,.hint) {font-size:13px!important;line-height:1.5;color:#585566!important}
body .sb-auth .fields label {font-size:14px}
body .sb-auth .fields :is(input,select,textarea) {font-size:16px}
body .sb-auth .fields .optional {font-size:12px}
body .seller-header .s-business-label {font-size:12px}
@media(min-width:761px) and (max-width:1150px){
  body[data-surface=consumer] .market-header {height:auto;min-height:104px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 16px}
  body[data-surface=consumer] .market-header-start {grid-column:1;grid-row:1}
  body[data-surface=consumer] .market-utility-top {grid-column:2;grid-row:1}
  body[data-surface=consumer] :is(.market-header,.shop-inner-header) .market-search {grid-column:1/-1;grid-row:2;max-width:none;min-width:0}
  body .consumer-footer {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  body[data-surface=consumer] .market-desktop-links,body[data-surface=consumer] .market-utility-top {display:none}
  body[data-surface=consumer] :is(.market-header,.shop-inner-header) .market-search {position:absolute;inset:47px 12px auto;width:auto;max-width:none;min-width:0;transform:none}
  body[data-surface=consumer] .market-dock {width:auto;height:60px;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;top:auto;transform:none;padding:4px;bottom:max(8px,env(safe-area-inset-bottom));z-index:44}
  body[data-surface=consumer] .market-dock :is(a,button) {height:50px;min-height:44px;justify-content:center;align-items:center;gap:4px}
  body[data-surface=consumer] .market-dock .market-me {gap:4px}
  body[data-surface=consumer] .market-dock .market-me span {font-size:10px}
  body[data-surface=consumer] .market-dock a[aria-current=page] svg {fill:none}
  body[data-surface=consumer] .market-dock+.market-utilities {display:none}
  body[data-surface=consumer]>.s-footer {padding-bottom:calc(82px + env(safe-area-inset-bottom))}
  body .consumer-footer {grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}
  body .consumer-footer nav a {min-height:44px}
  body .event-feature-grid {grid-template-columns:1fr;gap:14px}
  body .market-home-links {grid-template-columns:1fr;gap:12px}
  body .market-directory-page {padding-block:14px}
  body .public-hero>div {padding:24px 20px}
  body .public-hero h1 {font-size:clamp(32px,8vw,49px);line-height:1.06}
  body .public-sections section {min-width:0}
  body .shop-slide-copy .hero-secondary {margin-left:0;margin-top:5px}
  body[data-surface=consumer] .shop-slide-copy {bottom:39px}
  body .brand-feature-hero h1,body .seller-hero h1 {font-size:clamp(32px,8.5vw,48px);line-height:1.05}
  body .form-page {padding-inline:clamp(12px,3vw,20px)}
}
@media(max-width:760px){
  body[data-surface] #panel {
    inset:auto 0 max(10px,env(safe-area-inset-bottom));
    margin:0 auto;
  }
}
