/* Bakım Sepeti v1.50 — isolated home-page header layout. No checkout changes. */
@media (min-width:1200px) {
  body.med-store .med-header .med-header-row {
    max-width:1640px; width:calc(100% - 56px); padding:0;
    display:grid; grid-template-columns:180px minmax(300px,1fr) max-content;
    align-items:center; column-gap:clamp(14px,1.6vw,28px);
    justify-content:initial; min-height:92px; height:auto;
  }
  body.med-store .med-header-row .logo {min-width:0;}
  body.med-store .med-header-row .med-search {
    width:100%; max-width:740px; min-width:0;
    justify-self:center; margin:0; flex:initial;
  }
  body.med-store .med-header-row .med-customer-actions {
    display:flex; flex-wrap:nowrap; justify-content:flex-end;
    justify-self:end; width:max-content; max-width:none;
    min-width:0; margin:0!important; gap:8px;
  }
  body.med-store .med-header-row .med-customer-actions a {padding:10px 10px; min-width:0;}
}
@media (min-width:761px) and (max-width:1199px) {
  body.med-store .med-header .med-header-row {
    max-width:none; width:100%; padding:12px 22px;
    display:grid; grid-template-columns:minmax(155px,1fr) max-content;
    gap:10px 16px; min-height:0; height:auto;
  }
  body.med-store .med-header-row .logo {grid-column:1; grid-row:1;}
  body.med-store .med-header-row .med-customer-actions {
    grid-column:2; grid-row:1; justify-content:flex-end;
    margin:0!important; max-width:none; flex-wrap:nowrap; gap:8px;
  }
  body.med-store .med-header-row .med-search {
    grid-column:1 / -1; grid-row:2;
    width:100%; max-width:none; min-width:0; margin:0;
  }
}
@media (max-width:760px) {
  body.med-store .med-header .med-header-row {
    display:flex; flex-direction:column; align-items:stretch; gap:11px;
    height:auto; width:100%; max-width:none; padding:12px 14px;
  }
  body.med-store .med-header-row .logo {align-self:center; order:1;}
  body.med-store .med-header-row .med-search {
    order:2; flex:0 0 auto; width:100%; min-width:0; max-width:none;
    margin:0; padding:0;
  }
  body.med-store .med-header-row .med-customer-actions {
    order:3; display:flex; flex-wrap:nowrap; justify-content:space-between;
    width:100%; max-width:100%; margin:0!important; gap:6px;
  }
  body.med-store .med-header-row .med-customer-actions a {
    min-width:0; flex:1 1 auto; padding:8px 5px;
    font-size:11px; gap:5px; white-space:nowrap;
  }
  body.med-store .med-header-row .med-customer-actions .med-ui-icon {width:17px;height:17px;}
}
@media (max-width:420px) {
  body.med-store .med-header-row .med-customer-actions a {font-size:10px; gap:3px; padding:8px 3px;}
  body.med-store .med-header-row .med-customer-actions .med-ui-icon {width:15px;height:15px;}
}
