.seller-storefront { background: #f5f5f2; }
.seller-platform-bar { border-bottom: 1px solid #e1e3dc; background: #fff; }
.seller-platform-bar > div { display: flex; align-items: center; gap: 18px; min-height: 62px; padding-block: 12px; }
.seller-platform-bar img { display: block; width: 140px; height: auto; }
.seller-platform-bar span { font-size: 12px; color: #677064; }
.seller-platform-bar a:last-child { margin-left: auto; font-size: 13px; }
.seller-storefront-hero { margin: 28px 0 24px; overflow: hidden; border: 1px solid #dde1d9; border-radius: 18px; background: #fff; box-shadow: 0 8px 32px #25362306; }
.seller-storefront-cover { height: clamp(130px, 22vw, 280px); background: radial-gradient(ellipse at 12% 130%, color-mix(in srgb, var(--seller-accent) 45%, transparent), transparent 60%), linear-gradient(115deg, color-mix(in srgb, var(--seller-accent) 10%, #f5f6f2), color-mix(in srgb, var(--seller-accent) 35%, #e4e7df)); }
.seller-storefront-cover img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.seller-storefront-identity { display: flex; align-items: center; gap: 24px; padding: 26px 32px; }
.seller-storefront-logo, .seller-storefront-initial { flex: 0 0 112px; width: 112px; height: 112px; border-radius: 14px; border: 1px solid #e3e5df; background: #fff; object-fit: contain; padding: 8px; }
.seller-storefront-initial { display: grid; place-items: center; background: var(--seller-accent); color: var(--seller-accent-ink); font-size: 48px; font-weight: 750; }
.seller-storefront-identity > div { min-width: 0; }
.seller-storefront-identity h1 { font-size: clamp(24px, 3vw, 38px); line-height: 1.16; margin: 6px 0 10px; letter-spacing: -.035em; overflow-wrap: anywhere; }
.seller-storefront-identity p { margin: 0; max-width: 700px; overflow-wrap: anywhere; }
.seller-storefront-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .13em; color: #606b5e; }
.seller-storefront-edit { margin-left: auto; flex-shrink: 0; font-size: 12px; }
.seller-storefront-nav { display: flex; gap: 8px; border-top: 1px solid #e7e9e3; padding: 10px 26px; }
.seller-storefront-nav a { padding: 10px 18px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; color: #4d5749; }
.seller-storefront-nav a[aria-current=page], .seller-storefront .button:not(.light) { background: var(--seller-accent); color: var(--seller-accent-ink); }
.seller-storefront a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.seller-storefront .form-grid { margin-bottom: 24px; }
.seller-listing-total { margin: 0 0 16px; color: #606b5e; }
.seller-storefront-page { padding: 32px; min-height: 260px; }
.seller-storefront-page h2 { margin: 0 0 22px; }
.seller-storefront-prose { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.85; max-width: 850px; }
.seller-storefront-page > .button { margin-top: 28px; }
.seller-storefront-contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.seller-storefront-contacts dt { font-size: 12px; color: #626d5d; margin-bottom: 6px; }
.seller-storefront-contacts dd { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.seller-storefront-address, .seller-storefront-save { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.seller-storefront-address > div { display: grid; gap: 7px; min-width: 0; overflow-wrap: anywhere; }
.seller-storefront-editor label { display: grid; gap: 6px; }
.seller-storefront-editor label.check { display: flex; align-items: center; }
.seller-storefront-editor h2 { margin-bottom: 6px; }
.seller-storefront-editor input[type=color] { width: 100%; max-width: 160px; min-height: 46px; padding: 4px; }
.seller-storefront-editor input[type=file] { width: 100%; font-size: 13px; }
.seller-storefront-upload-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.seller-storefront-upload-preview { width: 100%; max-height: 200px; object-fit: contain; border: 1px solid #dce2d7; border-radius: 10px; padding: 8px; background: #fff; }
.seller-storefront-cover { height: auto; aspect-ratio: 18 / 5; }
.seller-storefront-links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 12px; font-size: 13px; color: #606b5e; }
.seller-storefront-links a { font-weight: 600; }
.seller-image-editor { min-width: 0; align-content: start; }
.seller-crop-preview { position: relative; width: 100%; overflow: hidden; border-radius: 10px; background-color: #fff; background-image: repeating-conic-gradient(#e9ede6 0% 25%, transparent 0% 50%); background-size: 20px 20px; cursor: grab; touch-action: none; user-select: none; }
.seller-crop-preview-logo { aspect-ratio: 1; max-width: 320px; }
.seller-crop-preview-cover { aspect-ratio: 18 / 5; }
.seller-crop-preview img { position: absolute; max-width: none; max-height: none; object-fit: contain; pointer-events: none; }
.seller-crop-preview:active { cursor: grabbing; }
.seller-crop-controls { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 14px; }
.seller-crop-controls legend { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.seller-crop-controls p { margin: 0; }
.seller-crop-controls input[type=range] { width: 100%; min-height: 32px; padding: 0; accent-color: #385832; }
.seller-crop-controls output { font-size: 12px; color: #606b5e; }
.seller-crop-controls .button { justify-self: start; }
.seller-image-editor [hidden] { display: none !important; }
@media (max-width: 640px) {
    .seller-platform-bar > div { gap: 12px; }
    .seller-platform-bar span { display: none; }
    .seller-platform-bar a:last-child { font-size: 12px; }
    .seller-storefront-hero { margin-top: 18px; border-radius: 12px; }
    .seller-storefront-identity { flex-wrap: wrap; align-items: flex-start; gap: 14px; padding: 20px 16px; }
    .seller-storefront-identity > div { flex: 1 1 150px; }
    .seller-storefront-logo, .seller-storefront-initial { width: 72px; height: 72px; flex-basis: 72px; font-size: 32px; }
    .seller-storefront-edit { margin: 0; flex-basis: 100%; }
    .seller-storefront-nav { padding: 8px; gap: 4px; }
    .seller-storefront-nav a { flex: 1; text-align: center; padding: 10px 8px; font-size: 13px; }
    .seller-storefront-contacts, .seller-storefront-upload-grid { grid-template-columns: minmax(0, 1fr); }
    .seller-storefront-page { padding: 22px 18px; }
    .seller-storefront-save, .seller-storefront-address { align-items: stretch; flex-direction: column; }
}

.seller-reviews-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 390px), 1fr)); gap: 24px; align-items: start; margin-block: 24px; }
.seller-review-section { min-width: 0; padding: clamp(18px, 3vw, 30px); }
.seller-review-section h2 { margin: 0 0 16px; }
.seller-review-section .muted { font-size: 13px; line-height: 1.6; }
.seller-review-score { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.seller-review-score strong { font-size: 36px; letter-spacing: -.04em; }
.seller-review-score > span:not(.rating-stars) { color: #646b60; font-size: 13px; }
.seller-review { border-top: 1px solid #e0e4dc; padding: 22px 0; }
.seller-review-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.seller-review-heading > span { color: #7b5218; white-space: nowrap; }
.seller-review-heading strong, .seller-google-author { min-width: 0; overflow-wrap: anywhere; }
.seller-review-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; }
.seller-review-form { border-top: 1px solid #e0e4dc; padding-top: 24px; }
.seller-review-form label { display: grid; gap: 6px; }
.seller-review-form form + form { margin-top: 12px; }
.seller-google-reviews { border: 1px solid #ccd7e5; background: #fbfcff; }
.seller-google-author { display: flex; align-items: center; gap: 10px; }
.seller-google-author img { border-radius: 50%; flex-shrink: 0; }
.google-maps-attribution { display: block; height: 18px; width: auto; margin: 10px 10px 5px; }

/* Public storefront shell, including profiles without custom branding. */
.seller-site { min-height: 100dvh; display: flex; flex-direction: column; }
.seller-site-main { flex: 1; }
.seller-platform-actions { margin-left: auto; display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 12px 20px; }
.seller-platform-actions a { font-size: 13px; color: #303c31; text-decoration: none; }
.seller-platform-bar .seller-platform-actions a:last-child { margin-left: 0; }
.seller-platform-account { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 650; }
.seller-platform-account > span:last-child { max-width: 190px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #303c31; font-size: 13px; }
.seller-platform-bar .seller-account-avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #edf1e9; color: #3e5738; font-weight: 700; }
.seller-platform-login { border: 1px solid #d7ded1; border-radius: 8px; padding: 8px 16px; font-weight: 600; }
.seller-site-footer { margin-top: 48px; padding: 38px 0 0; background: #edf0e9; border-top: 1px solid #dce2d6; color: #303c31; }
.seller-footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 48px; padding-bottom: 30px; }
.seller-footer-brand img { width: 160px; height: auto; display: block; }
.seller-footer-brand p { max-width: 300px; margin: 18px 0 0; color: #586451; font-size: 13px; line-height: 1.8; }
.seller-footer-grid nav { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.seller-footer-grid h2 { margin: 0 0 3px; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; color: #303c31; }
.seller-site-footer a { color: #465340; font-size: 13px; text-decoration: none; }
.seller-site-footer a:hover, .seller-platform-actions a:hover { text-decoration: underline; }
.seller-footer-bottom { border-top: 1px solid #d5ddcf; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-block: 20px; font-size: 12px; color: #586451; }
.seller-footer-bottom nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.seller-footer-bottom a { font-size: 12px; }
.rating-stars { display: inline-flex; align-items: center; gap: 3px; line-height: 1; font-size: 21px; vertical-align: middle; white-space: nowrap; }
.rating-star { position: relative; color: #d2d6ce; display: inline-block; }
.rating-star > span { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: #af7100; }
.seller-review-score { align-items: center; }
.seller-review-score .rating-stars { font-size: 25px; }
.seller-review-heading .rating-stars { flex-shrink: 0; }
.seller-review-form .seller-rating-picker { margin: 0; padding: 0; border: 0; min-width: 0; }
.seller-rating-picker legend { padding: 0; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.seller-rating-options { display: inline-flex; gap: 6px; }
.seller-review-form .seller-rating-option { position: relative; display: grid; place-items: center; width: 46px; height: 48px; border: 1px solid #dce2d6; border-radius: 9px; background: #fff; cursor: pointer; }
.seller-rating-option > input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seller-rating-option > span { font-size: 32px; line-height: 1; color: #cdd3c7; pointer-events: none; }
.seller-rating-option:has(input:checked) > span, .seller-rating-option:has(~ .seller-rating-option input:checked) > span { color: #af7100; }
.seller-rating-option:has(input:checked) { border-color: #af7100; background: #fff9ec; }
.seller-rating-option:hover { background: #fff9ec; border-color: #af7100; }
.seller-rating-option:has(input:focus-visible) { outline: 2px solid #385832; outline-offset: 3px; }
@media (max-width: 640px) {
    .seller-platform-inner { flex-wrap: wrap; }
    .seller-platform-bar .seller-platform-caption { display: none; }
    .seller-platform-bar .seller-platform-account > span { display: inline-block; }
    .seller-platform-bar .seller-platform-account .seller-account-avatar { display: grid; }
    .seller-platform-account > span:last-child { max-width: 130px; }
    .seller-platform-actions { gap: 8px 12px; }
    .seller-platform-browse { display: none; }
    .seller-platform-brand { flex-shrink: 0; }
    .seller-platform-bar img { width: 115px; }
    .seller-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
    .seller-footer-brand { grid-column: 1 / -1; }
    .seller-footer-brand p { max-width: 340px; }
    .seller-site-footer { margin-top: 30px; padding-top: 28px; }
    .seller-footer-bottom { align-items: flex-start; flex-direction: column; }
}
