/* Readable controls shared by the catalog and both forms. */
input[type="number"]{appearance:textfield;-moz-appearance:textfield}
input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
select{appearance:none;-webkit-appearance:none;background-color:white;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:16px;padding-right:42px!important}
.field select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:16px}
.sort-label select,.price-currency-label select{background-color:white;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:14px;min-height:36px}
.field input,.field select{min-height:46px}.field textarea{font-size:15px;line-height:1.6;min-height:104px}
.field-help,.optional{font-size:13px;color:var(--muted);font-weight:400}.field-help{display:block;line-height:1.55;margin-top:8px}.optional{margin-left:6px}
.form-error{color:#9d2929;background:#fcf5f5;padding:10px 12px;font-size:14px;line-height:1.5;margin:9px 0 0;overflow-wrap:anywhere}
[aria-invalid="true"]{border-color:#9d2929!important}.form-primary{min-height:46px}.form-primary:disabled{opacity:.55;cursor:wait}.form-primary:disabled:hover{background:transparent}
dialog.offer-dialog{width:min(480px,calc(100vw - 32px));padding:36px;overflow-x:hidden}.offer-dialog .modal-title{font-size:26px;margin-right:20px}.offer-item-brand{font-size:15px;font-weight:700;margin:20px 0 5px}.offer-dialog .modal-sub{font-size:14px;line-height:1.6;margin-bottom:22px}.offer-current{display:flex;justify-content:space-between;gap:14px;font-size:14px;color:var(--muted);border-top:1px solid var(--line);padding:18px 0 24px}.offer-current strong{color:var(--ink);font-weight:600}.offer-amount-label{margin-bottom:8px}.amount-control{width:220px;max-width:100%;position:relative}.amount-control input{font-size:23px;line-height:1.4;width:100%;height:54px;border:1px solid #aaa;padding:10px 42px 10px 14px;background:white}.amount-control>span{position:absolute;right:15px;top:50%;transform:translateY(-50%);color:var(--muted);font-size:17px;pointer-events:none}.offer-discounts{display:flex;gap:9px;margin-top:12px}.offer-discounts button{border:1px solid var(--line);font-size:14px;padding:9px 16px;min-height:40px;transition:background-color 160ms ease,border-color 160ms ease}.offer-discounts button:hover,.offer-discounts button[aria-pressed="true"]{background:var(--wash);border-color:var(--ink);text-decoration:none}.offer-comment{margin-top:24px}.offer-dialog .form-primary{margin-top:20px}.offer-dialog .note{font-size:13px;line-height:1.65}
dialog.listing-dialog{width:min(840px,calc(100vw - 32px));padding:38px}.listing-dialog .form-grid{gap:22px 24px;align-items:start}.form-grid>.wide{grid-column:1/-1}.listing-dialog .field{min-width:0}.listing-dialog .note{line-height:1.65}.brand-picker{position:relative}.brand-suggestions{position:absolute;top:78px;left:0;right:0;background:white;border:1px solid #aaa;box-shadow:0 6px 16px #00000012;z-index:3;max-height:270px;overflow:auto;padding:5px}.brand-suggestions button{display:block;text-align:left;width:100%;padding:11px 10px;font-size:15px;line-height:1.4;min-height:42px}.brand-suggestions button:hover,.brand-suggestions button:focus,.brand-suggestions button[aria-selected="true"]{background:var(--wash);text-decoration:none;outline-offset:-2px}.brand-suggestion-empty{padding:12px;font-size:14px;line-height:1.5;color:var(--muted)}
.photo-picker{position:relative}.field .upload-input{position:absolute;width:1px;height:1px;min-height:0;margin:0;padding:0;overflow:hidden;clip-path:inset(50%);border:0}.photo-upload{display:flex;align-items:center;gap:16px;border:1px dashed #aaa;background:#fafafa;min-height:106px;padding:20px;margin-top:9px;cursor:pointer;transition:background-color 160ms ease,border-color 160ms ease}.photo-upload:hover{background:var(--wash);border-color:var(--ink)}.upload-input:focus-visible+.photo-upload{outline:2px solid var(--ink);outline-offset:3px}.upload-plus{font-size:27px;width:46px;height:46px;display:grid;place-items:center;flex-shrink:0;background:white;border:1px solid var(--line)}.photo-upload>span:not(.upload-plus){min-width:0}.photo-upload strong{font-size:15px;font-weight:600;display:block}.photo-upload small{display:block;font-size:13px;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}.photo-upload img{width:68px;height:74px;object-fit:contain;background:white;flex-shrink:0}.photo-status{font-size:13px;color:var(--muted);line-height:1.5;margin-top:7px}.photo-status:empty{display:none}
.main-nav{overflow-x:auto;scrollbar-width:thin}.footer-links{flex-wrap:wrap;row-gap:15px}.seller-line{height:32px;gap:7px}.seller-avatar{width:22px;height:22px}.seller-name{max-width:calc(100% - 62px)}.seller-country{flex-shrink:0}.product-price{flex-wrap:wrap}.product-meta{padding-top:13px}.product-brand-row{min-height:25px;align-items:baseline}.brand-option{gap:8px}.brand-option-identity{min-width:0}.brand-option>small{font-size:13px}.brand-option .brand-name{width:auto}.size-grid button{min-height:36px}.search{height:44px}.header-main{gap:28px}.product-image .heart{width:34px;height:34px}.sort-label{display:flex;align-items:center;gap:5px}.sort-label select{max-width:210px;margin-left:0}.condition-hint{font-size:13px;line-height:1.6}.price-currency-label{gap:8px}.item-related-card p{flex-wrap:wrap}.item-summary{top:20px}.item-action-note{max-width:none}.item-related-name{line-height:1.6}
@media(min-width:1151px){.market-layout{grid-template-columns:230px minmax(0,1fr)}}
@media(min-width:761px) and (max-width:1150px){.market-layout{grid-template-columns:210px minmax(0,1fr)}}
@media(max-width:760px){.header-main{gap:16px}.search{height:44px}.search input{font-size:15px}.search button{font-size:13px}.main-nav{gap:23px}.product-grid{gap:28px 13px}.product-brand-row h3{font-size:14px;line-height:1.4}.product-size{font-size:12px}.product-name{font-size:13px;line-height:1.6}.product-price strong{font-size:16px}.product-price>span{font-size:12px}.seller-name{font-size:11px}.seller-country{font-size:10px}.seller-avatar{font-size:10px;width:20px;height:20px}.seller-line{gap:5px}.seller-name{max-width:calc(100% - 52px)}.page-heading{gap:12px}.save-search{font-size:12px}.save-search span{font-size:18px}.sort-label{font-size:0;gap:0}.sort-label select{font-size:13px;max-width:190px}.mobile-filter-button{font-size:14px}.filter-chip{font-size:13px}.field input,.field select,.field textarea{font-size:16px}.listing-dialog .form-grid{grid-template-columns:1fr;gap:20px}.listing-dialog .field,.listing-dialog .wide{grid-column:1/-1}.brand-suggestions{top:74px}.footer-links{gap:16px}.currency{margin-left:0}.item-size-condition{gap:12px;flex-wrap:wrap}.item-share{font-size:13px}.item-related-card>div{font-size:14px}.item-related-card>div>span{font-size:12px}.item-related-name{font-size:13px}.item-related-card p{font-size:16px}.item-related-card p>span{font-size:12px}.photo-upload{padding:16px;gap:12px}.item-action-note{font-size:13px}}
@media(max-width:480px){dialog.offer-dialog,dialog.listing-dialog{padding:32px 22px 24px}.offer-dialog .modal-title{font-size:24px}.listing-dialog .modal-title{font-size:26px}.offer-current{padding-bottom:20px}.photo-upload{min-height:100px}.upload-plus{width:38px;height:40px}.photo-upload strong{font-size:14px}}

.brand-suggestions{overscroll-behavior:contain}

/* Navigation and category state use weight and an active marker, never hover underlines. */
button:hover,a:hover{text-decoration:none}
.main-nav button.active{font-weight:700}
.category-list button.vintage-filter{margin-top:5px}

/* Readiness is recalculated from the form and the prepared photograph. */
#listingSubmit{background:var(--wash);border-color:var(--line);color:var(--muted);transition:background-color 180ms ease,border-color 180ms ease,color 180ms ease}
#listingSubmit:hover{background:#ededed}
#listingSubmit.is-ready{background:#222;border-color:#222;color:#fff}
#listingSubmit.is-ready:hover{background:#333;border-color:#333}
#listingSubmit:disabled{background:var(--wash);border-color:var(--line);color:var(--muted)}
.gallery-chevron{display:block;width:19px;height:19px;margin:auto}

.required-mark{display:inline-block;margin-left:4px;font-size:13px;color:var(--muted)}.required-note{font-size:13px;color:var(--muted);margin:-10px 0 20px}#listingSubmit:disabled{opacity:1;cursor:not-allowed}#listingSubmit:disabled:active{transform:none}
