.mas-wrap { width: min(1392px, calc(100% - 64px)); margin-inline: auto; }
.mas-logo-box { display: block; position: relative; width: min(215px, 100%); height: 70px; overflow: hidden; }
.mas-logo-box img { position: absolute; inset: 50% auto auto 0; width: 100% !important; max-width: none !important; height: auto !important; transform: translateY(-48%); }
.mobil_header .mas-logo-box { width: min(180px, 100%); height: 57px; }
body.mas-shell, body.mas-guide { background: #f5f2ed; color: #201e1b; }
.mas-shell a:focus-visible, .mas-guide a:focus-visible, .mas-wrap button:focus-visible, .consent-actions button:focus-visible { outline: 2px solid #a51b16; outline-offset: 3px; }
.mas-shell .mobil_header, .mas-shell header.visible-lg { background: #fff; }
.mas-shell .mobil_header { border-top: 2px solid #bf241e; }
.mas-hero { position: relative; isolation: isolate; background: #191715; overflow: hidden; color: #fffaf2; min-height: clamp(225px, 30vw, 390px); }
.mas-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 78% 55%; transform-origin: 77% 52%; animation: mas-pan 13s ease-in-out alternate infinite; }
.mas-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #151311ab, #1513113d 55%, transparent 80%); }
.mas-hero.is-paused img { animation-play-state: paused; }
@keyframes mas-pan { from { transform: scale(1.025); } to { transform: scale(1.095); } }
.mas-hero .mas-wrap { position: relative; padding: clamp(34px, 5vw, 60px) 0 66px; }
.mas-hero h1 { font: 900 clamp(46px, 6.7vw, 98px)/.94 Arial, sans-serif; letter-spacing: -.075em; margin: 0; color: #fffaf2; }
.mas-hero h1 em { font-style: normal; color: #ff6555; }
.mas-hero p { margin: 12px 0 0; font-size: 16px; color: #f5e6da; }
.mas-motion { position: absolute; right: 0; bottom: 43px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #fff8; color: #fff; background: #1c1917cf; }
.mas-discovery { position: relative; margin-top: -29px; }
.mas-actions { display: grid; grid-template-columns: minmax(0, 1fr) 255px; gap: 10px; }
.mas-search, .mas-sell-link { border: 1px solid #ded8cf; border-radius: 8px; box-shadow: 0 8px 22px #2d211420; }
.mas-search { min-width: 0; padding: 0 13px 10px; background: #fffdf9; }
.mas-search-modes { display: flex; gap: 14px; margin-bottom: 6px; }
.mas-search-modes button { padding: 8px 0 6px; border: 0; border-bottom: 2px solid transparent; background: none; color: #635d55; font-weight: 700; }
.mas-search-modes button[aria-pressed=true] { border-color: #bf241e; color: #201e1b; }
.mas-search-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
.mas-search-line label { min-width: 0; margin: 0; padding: 3px 8px; border: 1px solid #ded8cf; border-radius: 5px; font-size: 11px; }
.mas-search-line input { display: block; width: 100%; border: 0; margin: 1px 0 0; background: transparent; font-size: 16px; }
.mas-search-button { padding: 0 13px; min-height: 44px; border: 0; border-radius: 5px; background: #b0221c; color: #fff; font-weight: 750; }
.mas-sell-link { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 12px; background: #ffcc57; color: #251b0c !important; text-decoration: none !important; }
.mas-sell-link small { display: block; font-weight: 650; }
.mas-sell-link strong { display: block; color: inherit; font: 800 21px/1.15 Arial,sans-serif; margin-top: 4px; }
.mas-link-arrow { display: grid; place-items: center; flex: 0 0 39px; aspect-ratio: 1; border-radius: 4px; background: #302315; color: white; font-size: 21px; }
.mas-categories { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 9px; margin: 13px 0 0; }
.mas-cat { position: relative; display: flex; align-items: flex-end; min-height: 100px; overflow: hidden; border-radius: 7px; background: #2c211e; color: white !important; text-decoration: none !important; }
.mas-cat::before { content: ""; position: absolute; inset: 0; background-image: url('categories.jpg'); background-size: 300% 200%; background-position: var(--tile-x,0%) var(--tile-y,0%); transition: transform .2s; }
.mas-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,#171311b8,transparent 70%); }
.mas-cat:hover::before { transform: scale(1.04); }
.mas-cat span { z-index: 1; padding: 8px; font-size: clamp(11px, 2vw, 16px); font-weight: 760; line-height: 1.1; overflow-wrap: anywhere; }
.mas-cat-electric { --tile-x:50%; } .mas-cat-atv { --tile-x:100%; } .mas-cat-bike { --tile-y:100%; } .mas-cat-gear { --tile-x:50%; --tile-y:100%; }
.mas-home .mas-discovery + .container { max-width: 1392px; width: min(1392px, calc(100% - 64px)); padding: 0; }
.mas-home .mas-native-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 11px; margin: 0; }
.mas-home .mas-native-grid::before, .mas-home .mas-native-grid::after, .mas-home .mas-native-grid > .clearfix { display: none !important; }
.mas-home .mas-native-grid > .mas-live-card { float: none; width: auto; min-width: 0; padding: 0; }
.mas-live-card[hidden], .mas-motion[hidden], .consent-banner[hidden] { display: none !important; }
.mas-home .mas-live-card .liste { border: 1px solid #ded8cf; border-radius: 8px; background: #fffdf9; overflow: hidden; margin: 0; height: 100%; }
.mas-home .mas-live-card .r_ust { position: relative; display: block; height: auto; }
.mas-home .mas-live-card .r_ust img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.mas-home .mas-live-card h3 { margin: 10px; font-size: 14px; min-height: 2.5em; overflow-wrap: anywhere; }
.mas-home .mas-live-card .il_ilce { margin: 8px 10px; }
.mas-live-price { display: block; margin: 9px 10px 0; font: 800 clamp(14px,2vw,24px)/1.12 Arial,sans-serif; overflow-wrap: anywhere; }
.mas-home [data-mas-promotion] .mas-native-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.mas-home [data-mas-promotion=urgent] .mas-live-card .liste { background:#581c18; color:#fff4ec; border-color:#7d2621; }
.mas-home [data-mas-promotion=showcase] .mas-live-card .liste { background:#fff2d5; color:#332713; border-color:#caac66; }
.mas-home [data-mas-promotion] .mas-live-card h3 a { color: inherit; }
.mas-home [data-mas-promotion] .r_ust img { aspect-ratio: 2.25; }
.mas-promo-tag { position:absolute; left:8px; top:8px; z-index:1; padding:5px 8px; border-radius:4px; background:#8b2019; color:#fff; font-weight:700; }
[data-mas-promotion=showcase] .mas-promo-tag { color:#302315; background:#ffcc57; }
.mas-promotion-controls { display: flex; gap: 5px; justify-content:flex-end; margin-bottom: 5px; }
.mas-promotion-controls button { min-width: 38px; min-height: 38px; background:#fffdf9; border:1px solid #b6a99a; border-radius:5px; color:#201e1b; }
.mas-shell .sayfa .content, .mas-shell .yazi .content, .mas-policy article { background: #fffdf9; color:#251f1b; border:1px solid #ded8cf; border-radius:12px; padding:clamp(14px,3vw,35px); overflow-wrap:anywhere; line-height:1.65; }
.mas-shell .sayfa .content table, .mas-shell .yazi .content table { max-width:100%; }
.mas-shell .sayfa .content img, .mas-shell .yazi img { max-width:100%; height:auto; }
.mas-table-box { max-width:100%; overflow:auto; }
.mas-policy { max-width: 100ch; padding-block: 30px; }
.mas-policy article { margin: 14px 0; }
.mas-guide .ts-logo { background:#fff; }
.mas-guide .ts-logo img.logo-image:not(.logo-image-dark) { width: 170px; height: 59px; object-fit: cover; object-position: center 48%; }
.mas-guide .ts-logo .logo-image-dark { display: none !important; }
.mas-guide .main .post-title, .mas-guide .main .entry-title { letter-spacing:-.025em; }
.mas-guide .main article { background:#fffdf9; border-radius:9px; }
.mas-guide .main .entry-content { overflow-wrap:anywhere; }
.mas-guide .main .entry-content table { display:block; max-width:100%; overflow:auto; }
.mas-footer { margin-top: 30px; padding: 21px 0 0; border-top: 1px solid #ded8cf; background:#eae4da; color: #201e1b; }
.mas-footer a { color:#514a42 !important; overflow-wrap:anywhere; }
.mas-footer a:hover { text-decoration:underline !important; }
.mas-footer-brand,.mas-footer-end { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap: 9px 16px; }
.mas-footer-nav { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:16px 20px; padding-block: 12px 20px; }
.mas-footer-nav h2 { font:750 15px/1.25 Arial,sans-serif; color:#201e1b; margin:0 0 6px; }
.mas-footer-nav ul { margin:0; padding:0; list-style:none; }
.mas-footer-nav a { display:block; padding:5px 0; font-size:13px; }
.mas-footer-end { border-top: 1px solid #cfc4b8; min-height:46px; font-size:13px; }
.mas-footer-end button { padding:5px 0; border:0; background:none; color:#231d19; text-decoration:underline; }
@media(max-width:850px) { .mas-home .mas-native-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } .mas-footer-nav { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:650px) {
    .mas-wrap,.mas-home .mas-discovery + .container { width:calc(100% - 24px); }
    .mas-logo-box { height:50px; width:min(164px,100%); }
    .mas-hero > img { object-position:85% 52%; }
    .mas-hero .mas-wrap { padding:32px 0 45px; }
    .mas-hero p { font-size:13px; }
    .mas-motion { bottom:24px; }
    .mas-discovery { margin-top:-15px; }
    .mas-actions { grid-template-columns:minmax(0,1fr); }
    .mas-categories { gap:4px; }
    .mas-cat { min-height:66px; }
    .mas-cat span { padding:5px 3px; }
    .mas-home .mas-native-grid, .mas-footer-nav { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .mas-home [data-mas-promotion=urgent] .mas-native-grid { grid-template-columns:minmax(0,1fr); }
}
@media(prefers-reduced-motion:reduce) { .mas-hero > img { animation:none; } .mas-cat::before { transition:none; } }

/* Cookie controls */
.consent-banner, .consent-dialog { color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 44px #221c1a36; }
.consent-banner { position: fixed; z-index: 10020; inset: auto 16px max(14px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px 24px; width: min(860px, calc(100% - 32px)); margin-inline: auto; padding: 14px 16px; border-top: 3px solid var(--brand); }
.consent-banner strong { font-size: 1rem; }
.consent-banner p, .consent-dialog p { margin-top: 4px; color: var(--muted); line-height: 1.45; font-size: .84rem; }
.consent-banner a, .consent-dialog a { color: #a51b16; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.consent-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.consent-banner .consent-actions { flex: 0 0 auto; }
.consent-actions button, .consent-dialog-head button { min-height: 44px; padding: 5px 9px; border: 1px solid #a69c90; border-radius: 6px; background: var(--white); font-size: .82rem; font-weight: 750; }
.consent-actions button:hover, .consent-dialog-head button:hover { background: #eee6dc; }
.consent-dialog { width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: clamp(12px, 4vw, 24px); overflow: auto; }
.consent-dialog::backdrop { background: #1513119c; }
.consent-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.consent-dialog-head h2 { font-size: clamp(1.28rem, 5vw, 1.9rem); line-height: 1.1; letter-spacing: -.035em; }
.consent-dialog-head button { width: 44px; font-size: 1.35rem; }
.consent-option { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.consent-option span { font-size: .76rem; color: var(--muted); text-align: end; }
.consent-option input { width: 23px; height: 23px; flex: 0 0 auto; margin: 5px; accent-color: var(--brand); }
.consent-dialog .consent-actions { margin-top: 13px; }

:root { --ink:#201e1b; --white:#fffdf9; --line:#ded8cf; --muted:#635d55; --brand:#bf241e; }
.mas-form-notice { font-size:13px; margin:0 0 10px; }
@media(max-width:720px) { .consent-banner { display:grid; } }

/* PHP page styles */

.mas-on-light { background:#fffdf9; border-radius:8px; margin:0 0 12px; max-width:100%; }
.mas-shell .auth-page { background:#f5f2ed; }
.mas-shell .auth-brand { background:linear-gradient(120deg,#1b1916,#442821); }
.mas-shell .auth-card { border:1px solid #ded8cf; background:#fffdf9; }
.mas-shell .auth-card input:not([type=checkbox]):not([type=radio]) { font-size:16px; }
.mas-shell .auth-submit { background:#b0221c; }
.mas-shell .auth-form-panel { min-width:0; }
.mas-detail .mas-specs { background:#fffdf9; border:1px solid #ded8cf; border-radius:8px; }
.mas-detail #genis_gorsel { width:100%; object-fit:contain; }
.mas-catalog .satir_link { cursor:pointer; }
.mas-catalog .filtre_sm_hide .form-control { min-height:40px; }
.mas-catalog .filtre_sm_hide { padding:12px; border:1px solid #ded8cf; border-radius:8px; background:#fffdf9; }
.mas-mobile-guide { display:block; margin:0 0 5px 3px; font-size:11px; font-weight:700; color:#8e201b; }
#benzer-ilanlar .panel-body .row { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin:0; }
#benzer-ilanlar .panel-body .row:before,#benzer-ilanlar .panel-body .row:after { display:none; }
#benzer-ilanlar .mas-related-card { float:none; width:auto; min-width:0; padding:0; }
#benzer-ilanlar .mas-related-card .benzer-kart { height:100%; }
@media(max-width:520px) {
    #benzer-ilanlar .panel-body { padding:7px; }
    #benzer-ilanlar .panel-body .row { gap:4px; }
    #benzer-ilanlar .mas-related-card .benzer-img { height:clamp(45px,16vw,85px); }
    #benzer-ilanlar .mas-related-card .benzer-bilgi { padding:4px; overflow-wrap:anywhere; }
    #benzer-ilanlar .mas-related-card .benzer-baslik { font-size:10px; }
    #benzer-ilanlar .mas-related-card .benzer-fiyat { font-size:10px; }
}

.mas-home #html_kod-36, .mas-home #html_kod-38, .mas-home #mobil_slider-129,
.mas-home .mobil_ara, .mas-home header form:has(#ara_input) { display:none !important; }
.mas-shell .mas-auth-title { color:#201e1b; font:800 clamp(23px,5vw,30px)/1.05 Arial,sans-serif; margin:0 0 8px; }
@media(max-width:650px) {
    .mas-categories { grid-template-columns:1.16fr repeat(4,minmax(0,1fr)); }
    .mas-cat span { white-space:nowrap; font-size:clamp(9px,2.7vw,13px); }
}
@media(max-width:360px) { .mobil_header .mas-logo-box { width:min(160px,100%); height:52px; } }
