/* Popup keeps its accessible top-right close control and primary CTA. */
.ys-promotion-dialog .ys-promotion-dismiss{display:none!important}
/* Desktop H3: preserve the whole artwork instead of squeezing it beside copy. */
@media(min-width:701px){
 body.ys-visitor71 .ys-promotions-tiles{align-items:stretch}
 body.ys-visitor71 .ys-promotions-tiles .ys-promotion{display:flex;flex-direction:column;align-items:stretch;background:#fff}
 body.ys-visitor71 .ys-promotions-tiles .ys-promotion picture{display:block;width:100%;height:auto;min-height:0;flex:none}
 body.ys-visitor71 .ys-promotions-tiles .ys-promotion picture img{display:block;width:100%;height:auto;object-fit:contain}
 body.ys-visitor71 .ys-promotions-tiles .ys-promotion-copy{display:flex;flex-direction:column;align-items:flex-start;flex:1;width:100%;box-sizing:border-box;padding:16px 18px;gap:8px}
 body.ys-visitor71 .ys-promotions-tiles .ys-promotion-copy h2{font-size:21px;line-height:1.25;margin:0;overflow-wrap:anywhere}
 body.ys-visitor71 .ys-promotions-tiles .ys-promotion-copy p{font-size:14px;line-height:1.5;margin:0 0 4px}
 body.ys-visitor71 .ys-promotions-tiles .ys-promotion-copy .button{margin-top:auto}
}
@media(max-width:700px){
 /* Keep page width finite; horizontal product/category scrolling stays local. */
 html:has(body.ys-store-page){overflow-x:clip}
 body.ys-store-page{width:100%;max-width:100%;overflow-x:clip}
 body.ys-store-page #main,body.ys-store-page .ys-store,body.ys-store-page .ys-store-category-section,
 body.ys-store-page #ys-store-products,body.ys-store-page .ys-store-toolbar,
 body.ys-store-page .ys-promotions,body.ys-store-page [data-promo-slide],body.ys-store-page .ys-promotion-slides{min-width:0;max-width:100%;box-sizing:border-box}
 body.ys-store-page .ys-store-grid{min-width:0;max-width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}
 body.ys-store-page .ys-store-grid.ys-store-row{display:grid;grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:minmax(0,78%)!important;width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;box-sizing:border-box}
 body.ys-store-page .ys-store-categories{width:100%;min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;box-sizing:border-box}
 body.ys-store-page .ys-store-card,body.ys-store-page .ys-store-card-copy{min-width:0;max-width:100%;box-sizing:border-box}
 body.ys-store-page .ys-store img{max-width:100%}
 body.ys-store-page .ys-store-toolbar{flex-wrap:wrap}
 body.ys-store-page .ys-store-toolbar form{min-width:0;max-width:100%;flex-wrap:wrap}
 body.ys-store-page .ys-store-toolbar select{min-width:0;max-width:100%}
 body.ys-store-page .ys-store-search{width:100%;min-width:0;box-sizing:border-box}
 body.ys-store-page .ys-store-search input{width:0;min-width:0;flex:1}
 /* Shared mobile header, including logged-in pages using the same shell. */
 body.ys-visitor71 .ys71-header,body.ys-visitor71 .ys71-header *{box-sizing:border-box}
 body.ys-visitor71 .ys71-header{max-width:100%;min-width:0}
 body.ys-visitor71 .ys71-header .container{width:calc(100% - 20px);max-width:calc(100% - 20px);margin-inline:auto}
 body.ys-visitor71 .ys71-header .ys71-reach{display:grid!important;grid-template-columns:minmax(0,1fr) max-content;gap:4px 6px;min-height:38px;padding-block:5px;flex-wrap:nowrap}
 body.ys-visitor71 .ys71-header .ys73-announcement{min-width:0;gap:4px;padding:0;border:0;white-space:nowrap;font-size:clamp(8px,2.45vw,12px);line-height:1.2}
 body.ys-visitor71 .ys71-header .ys73-announcement>.ys-icon{width:14px;height:14px;flex:none}
 body.ys-visitor71 .ys71-header .ys73-statistics{grid-column:2;grid-row:1;display:flex;gap:5px;min-width:0}
 body.ys-visitor71 .ys71-header .ys73-statistics>span{padding-left:5px;white-space:nowrap}
 body.ys-visitor71 .ys71-header .ys73-statistics strong{font-size:11px}
 body.ys-visitor71 .ys71-header .ys73-statistics small{font-size:7px;margin-top:1px}
 body.ys-visitor71 .ys71-header .ys73-ticker{grid-column:1/-1;grid-row:2;min-width:0;max-width:100%}
 body.ys-visitor71 .ys71-header .ys73-ticker:empty{display:none}
 body.ys-visitor71 .ys71-header .ys73-ticker .ys-live-ticker{font-size:9px;min-height:0;line-height:1.3}
 body.ys-visitor71 .ys71-header .ys73-ticker .ys-live-ticker strong{font-size:9px}
 body.ys-visitor71 .ys71-header .ys71-brandrow{display:grid!important;grid-template-columns:minmax(64px,1fr) max-content;gap:8px 5px;padding-block:9px;min-height:0}
 body.ys-visitor71 .ys71-header .ys73-brand{grid-column:1;grid-row:1;display:block;min-width:0;width:100%;max-width:150px;flex:initial}
 body.ys-visitor71 .ys71-header .ys71-logo{display:block;width:100%;max-width:100%;height:auto}
 body.ys-visitor71 .ys71-header .ys71-account{grid-column:2;grid-row:1;display:flex!important;flex-wrap:nowrap!important;gap:4px;margin:0!important;min-width:0;font-size:10px}
 body.ys-visitor71 .ys71-header .ys71-account>a,body.ys-visitor71 .ys71-header .ys71-account>a.button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:6px 5px!important;white-space:nowrap;font-size:clamp(9px,2.6vw,12px)!important;line-height:1.2;border-radius:7px}
 body.ys-visitor71 .ys71-header .ys71-cart{gap:3px!important}
 body.ys-visitor71 .ys71-header .ys71-cart>.ys-icon{width:14px;height:14px;flex:none}
 /* Full cart count/total remains in DOM and accessible; compact label is visual only. */
 body.ys-visitor71 .ys71-header .ys71-cart-fragment{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 body.ys-visitor71 .ys71-header .ys71-cart::after{content:'Sepetim';font-size:inherit}
 body.ys-visitor71 .ys71-header .ys71-location{grid-column:1/-1;grid-row:2;order:initial;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%;min-width:0;margin:0;min-height:40px}
 body.ys-visitor71 .ys71-header .ys73-location-choice{display:flex;justify-content:center;min-width:0;gap:5px;padding:8px 5px;font-size:11px;white-space:nowrap}
 body.ys-visitor71 .ys71-header .ys73-location-choice small{display:none}
 body.ys-visitor71 .ys71-header [data-ys79-region]{min-width:0;overflow:hidden;text-overflow:ellipsis}
 body.ys-visitor71 .ys71-header .ys73-location-choice>.ys-icon:first-child{width:19px;height:19px;flex:none}
 body.ys-visitor71 .ys71-header .ys71-location [data-ys-nearby]{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;width:100%;font-size:11px;padding:8px 5px;white-space:nowrap}
 body.ys-visitor71 .ys71-header .ys71-menu{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:0!important;padding-block:4px!important;min-height:0}
 body.ys-visitor71 .ys71-header .ys71-menu>a{grid-column:span 2;display:flex;flex-direction:column;gap:6px!important;min-width:0;padding:9px 2px!important;font-size:clamp(9px,2.8vw,13px)!important;white-space:nowrap;border:0}
 body.ys-visitor71 .ys71-header .ys71-menu>a:nth-child(n+4){grid-column:span 3;border-top:1px solid #eceee7}
 body.ys-visitor71 .ys71-header .ys71-menu>a>.ys-icon{width:23px;height:23px;flex:none}
 body.ys-visitor71 .ys71-header .ys71-searchrow{display:flex;flex-wrap:wrap;gap:6px;padding-block:8px;min-height:0}
 body.ys-visitor71 .ys71-header .ys71-searchrow>.button{flex:1;justify-content:center;min-width:0;padding:8px 5px;font-size:11px;gap:5px}
 body.ys-visitor71 .ys71-header .ys71-searchrow form{flex:1 0 100%;width:100%;min-width:0;max-width:100%;margin:0}
 body.ys-visitor71 .ys71-header .ys71-searchrow form input{width:0;min-width:0;flex:1;font-size:12px}
 body.ys-visitor71 .ys71-header .ys71-searchrow form button{flex:none;padding-inline:14px}
 body.ys-visitor71 .ys71-header .ys71-join{display:none}
}

/* Promotion dialogs use viewport positioning independently of theme dialogs. */
html body dialog.ys-promotion-dialog{
 position:fixed!important;inset:0!important;margin:auto!important;
 transform:none!important;translate:none!important;
 width:min(430px,calc(100vw - 24px))!important;
 min-width:0!important;max-width:calc(100vw - 24px)!important;
 height:fit-content!important;max-height:calc(100vh - 24px)!important;
 max-height:calc(100dvh - 24px)!important;
 padding:0!important;box-sizing:border-box!important;
 overflow:auto;overscroll-behavior:contain;
}
html body dialog.ys-promotion-dialog:not([open]){display:none!important}
html body dialog.ys-promotion-dialog .ys-promotion{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
html body dialog.ys-promotion-dialog picture{display:block;width:100%;height:auto;min-height:0}
html body dialog.ys-promotion-dialog picture img{display:block;width:100%;max-width:100%;height:auto;object-fit:contain}
html body dialog.ys-promotion-dialog .ys-promotion-copy{width:100%;padding:20px;box-sizing:border-box;overflow-wrap:anywhere}
html body dialog.ys-promotion-dialog .ys-promotion-close{position:sticky;top:8px;float:right;margin:8px 8px -44px 0;right:8px;z-index:5;flex-shrink:0;width:36px;height:36px;padding:0;line-height:36px}
